summaryrefslogtreecommitdiff
path: root/framework
AgeCommit message (Collapse)Author
2012-08-29fdo#36149: Do not display error dialogs while showing a menuStephan Bergmann
...it apparently leads to crashes, but is probably not good from a usability perspective anyway (as the menu closes again when the dialog appears/is operated on by the user). For now, just disable the Java specific interaction handler here; might make sense to address this more generally though (there's framework::QuietInteraction btw). Change-Id: I6ae303c0084549b5339d219e158cdb89e5a6b331 (cherry picked from commit 9cfc64c66ff9e0f0251a006f039bf4e26a63147a) Reviewed-on: https://gerrit.libreoffice.org/504 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2012-08-16sync cell context menu & edit menu 'PasteSpecial' entries for calc fdo#46250Noel Power
calc application specifically handles PasteSpecial so no need to set the state of the menu entry to enabled always ( for calc at least ) Change-Id: Iaf13dd825f0cbdcf9f455db07d727753fae90868 Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-08-13Related fdo#51252: No more prereg, no more unopkg syncStephan Bergmann
Now that 5c47e5f63a79a9e72ec4a100786b1bbf65137ed4 "fdo#51252 Disable copying share/prereg/bundled to avoid startup crashes" removed the use of share/prereg, there is no longer need to generate it in the first place (by calling "unopkg sync" at build or installation time), and so no need for the "unopkg sync" sub- command, either. This also allows to simplify some of the jvmfwk code that was only there so that "unopkg sync" (which can require a JVM) can work in "hostile" environments (during build and installation). Conflicts: setup_native/prj/d.lst Change-Id: I52657384f4561bf27948ba4f0f88f4498e90987f Signed-off-by: Andras Timar <atimar@suse.com>
2012-07-11Revert "attempt fix of hang on base close, due to solarmutex deadlock on join"Michael Stahl
This reverts commit 5b2cb23c429e1be1099008473770c634ce96c969. That did not fix the bug (fdo#47021), but apparently it does cause problems, such as the failure of the sfx2 DocumentEvents test (that doesn't crash any more since 228a3f8b9f279e80917968d9780e822a1d684ada); without the SolarMutexReleaser the test doesn't fail for me. (cherry picked from commit a1d493fad210fdae74b7bbc9dba3b2aa62c10963) Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-07-06update hardcoded borders according to the new Start Center imagesIvan Timofeev
Change-Id: I23174caacf26c37b4d63b7374c3a2a4a8d4124c3 (cherry picked from commit 180a67252ef9076ad5ddcc69b5dd8e1bace67913)
2012-07-04Remove duplication of License/Credits informationStefan Knorr (astron)
A bit differently this time around: + remove Credits menu item from menu + remove License button from the About dialog Conflicts: cui/source/dialogs/about.cxx Change-Id: I07c1e115aa209ef1d69458f5b188d73caaae4294
2012-06-22use generic names rather than specific algorithm names when scalingLuboš Luňák
The Lanczos scaling is of very good quality, but it's rather slow, which can be very noticeable with large images, so it's not a very good default for everything. And in general, it's not good to refer to a specific algorithm when all one usually wants is fast/default/best. Some of these changes are a bit of a guess between default/best, but the general logic is that best should be used only for images that won't be large or where the possible waiting does not matter. Conflicts: svtools/source/graphic/grfmgr2.cxx Change-Id: I53765507ecb7ed167890f6dd05e73fe53ffd0231
2012-06-08fdo#42405: remove this, nowadays MenuItemAllowed disables menu entriesIvan Timofeev
since c4461665bd030a555a8b7ffa5bd6717cfb787b9d m_bCanBeCustomized = false will lead to toolbar locking, but we don't want this, indeed. Change-Id: I42f16a017c7f1cf6e8321c7fe26c027ec79c7953 (cherry picked from commit 3768e71344a298d8e7ac07fb38a97ccf58f83a10)
2012-06-08fdo#35972: toolbarmanager must be aware of changes in SvtMiscOptionsIvan Timofeev
Change-Id: Ie6e3036e83b5ea859e2c73df47629eb79791a52c (cherry picked from commit 1829efaf9f5d9af9d51b01d273c7b6c60970b05d)
2012-06-06fdo#50651: update layout after toolbar destructionIvan Timofeev
plus update confusing comments Change-Id: I9bdab918566548b576fd22389492216fc4aff7df
2012-06-06Check if the system window has a close handler, and if yes, call it.Kohei Yoshida
This allows the close event in the preview window to be handled in a custom fashion, instead of having it call the normal "close window" command. Change-Id: Id324c4f5c96d0222bf82caa8029aa1c724262c32
2012-06-05extra trailing NUL char in stringCaolán McNamara
This began life as ::rtl::OUString::createFromAscii which stops at the first NULL terminator. So drop the \0 to get the same results Change-Id: I7d9abbff2a6e6131ef5e7208e05cfd13178418cb (cherry picked from commit 0665c3e52b0b0053c3d622d3fa975d4234801bdd) Signed-off-by: Caolán McNamara <caolanm@redhat.com>
2012-06-05start centre: Solid color fits the new artwork better.Jan Holesovsky
Change-Id: Iee1e599ab9bcf7b6b26efb72b609309d7ba4e13d
2012-06-05Use BMP_SCALE_LANCZOS instead of BMP_SCALE_INTERPOLATE.Jan Holesovsky
Where we explicitly ask for better quality, use BMP_SCALE_LANCZOS, instead of BMP_SCALE_INTERPOLATE. Change-Id: I28ddf3290204532a8660e09ee9ab0949b6ce1c73
2012-06-05assume for all menus we reserve space for checkboxesCaolán McNamara
so menus have consistent whitespace at left regardless of containing checkboxes/radiobutton entries. Its nasty to have menus "suddenly" appear without whitespace as submenus of ones with whitespace. This is a logical consequence of MENU_FLAG_SHOWCHECKIMAGES always set (in the absence of SetMenuFlags where usage has generally dropped MENU_FLAG_SHOWCHECKIMAGES accidentally) Change-Id: I9501381b91415131eff5143a0c88142221530fb6
2012-06-04fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin
Update calls to factories to use new ::create methods Change-Id: I01d4417820f52718836c92faf3c2fae0dc96b30d Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-02targeted string re-workNorbert Thiebaud
Change-Id: I48ca4f57f97f49fe344a7d4aab079f23765d2679
2012-06-02targeted string re-workNorbert Thiebaud
Change-Id: I120b321166bb078b44d8b9894a1f906e9c6a611f
2012-06-02targeted string re-workNorbert Thiebaud
Change-Id: I2cded25cc1d63a02a14633e2de4c6f37662feb25
2012-06-02targeted string re-workNorbert Thiebaud
Change-Id: I3276836b76b69f04de38c2d36ae04b60c49d4873
2012-06-01nuke unused namespaceTakeshi Abe
Change-Id: Ic00cdfce4172af0a2f0aa1aa33ef5e386d407976
2012-05-31targetted misc. minor cppcheck cleanups reversionMichael Meeks
Change-Id: Ic7f91c035d3e7f0e792d2e9ab217e1fc4ebcf697
2012-05-301) Don't pass filter name and 2) pass module name when opening file.Kohei Yoshida
Passing the filter name bypasses the type detection, which is bad. Also, the module name is needed in order for the type detection to intelligently decide which app to open in case the file format type is generic, i.e. .html, .xml, .txt etc. Change-Id: If18f649b32e79fae58af088362b0b5f11adc8eb3
2012-05-31nuke unused typedefTakeshi Abe
Change-Id: I8848d0e687c3b19be1a8bc1f41c2a0c94e13bbbf
2012-05-30Bin a bunch of pointless commentsTor Lillqvist
Change-Id: Ic428010ce8c07a1265fef6f0fcfa594501cb9267
2012-05-29targetted SAL_N_ELEMENTS reversion.Michael Meeks
Change-Id: I30be93ccaeb1f9fd17cbe9e3ed3165e094810b2e
2012-05-25language status bar control: Don't set radio buttons for some entries.Jan Holesovsky
There are entries in the popup menu that are not supposed to be radio buttons, like More... ;-) Change-Id: Ic7986a668522901a244d35eda7e9cfbe0133f37e
2012-05-24removed unused const char[]Takeshi Abe
Change-Id: Ia5f26c13e7bae42685230769fa86b52703eb2f7e
2012-05-18removed unused const rtl::OUStringTakeshi Abe
Change-Id: If02be864f958de96ae1c54fe575b1828410390b1
2012-05-16remove unneeded include of boost/bind.hppCaolán McNamara
Change-Id: I5a254459a491b9547530d8e312260dceed21f25c
2012-05-15Mode (r/o vs r/w) changes can affect title, tooStephan Bergmann
Change-Id: I69ecb9fa157c706c90132e7801def2253529158d
2012-05-14removed unused static rtl::OUStringTakeshi Abe
Change-Id: I5a097beaaeb30214ed6071bba1297e551291922b
2012-05-14convert GetComment family to rtl::OUStringCaolán McNamara
Change-Id: I563ab83a24ca4f839892548b350486e83dd071d3
2012-05-10Reduce broadcasting noise on initial title computationStephan Bergmann
...otherwise, SfxBaseModel::getTitle calls itself recursively until TitleHelper::m_sTitle has converged. Change-Id: I90577d1c2e4275ff2187d6531a1ca61e8355819b
2012-05-04resolved fdo#46160 query model only once whether it is a previewEike Rathke
Query a frame's model only once whether it is a preview model, instead of doing it for each toolbar and menubar and statusbar and progressbar. Each call via SfxBaseModel::getArgs() results in SfxObjectShell::GetVisArea() that at least in Calc determines how far visible attributes extend, with several toolbars requested on each cell edit. getArgs() calls GetVisArea() still too many times when loading a document even if the caller doesn't evaluate the WinExtent property, this is an opportunity for further optimization.
2012-05-04fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CASTThomas Arnhold
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
2012-04-30make ResId::toString a non-static memberCaolán McNamara
Change-Id: I756c0a19bea7b1cc0e290d9f382a04d655819bfb
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen
this removes dmake completely out of the build for migrated modules build.pl now assumes modules to be gbuild, unless there is a prj/dmake file Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-21Replace css macro with namespace for nicer namespacingThomas Arnhold
2012-04-14Simplify the construction of the '>>' menu.Jan Holesovsky
2012-04-12fdo#34392 recompute column widths after font scale change in startcenterGábor Stefanik
2012-04-12offapi: remove obsolete XInplaceLayout (2nd try)Thomas Arnhold
This is related to 10e580c57b907420e8c6d816325445a40a720e4a
2012-04-11Bin pointless "added by shizhoubo" style commentsTor Lillqvist
2012-04-11fdo#38276: Improve the ">>" toolbar overflow menuIain Billett
2012-04-09s/pathes/paths/Tor Lillqvist
2012-04-09s/pathes/paths/Tor Lillqvist
2012-04-09add package deps for resourcesDavid Tardon
2012-04-08Replaced a few equal calls with ==Szabolcs Dezsi
2012-04-08LinkTarget.mk: remove gb_LinkTarget_add_package_headersMichael Stahl
2012-04-08gbuild: "use" vs. "add":Michael Stahl
Naming convention for gbuild methods: - "add" is used for stuff that is logically a part of the target (i.e. not registered at the Module, but defined in the target's makefile) - "use" is used for stuff that is logically a different target (i.e. it is registered at the Module, has it's own makefile, may be in a different module than the target)