summaryrefslogtreecommitdiff
path: root/desktop
AgeCommit message (Collapse)AuthorFilesLines
2015-10-09tdf#94829: Splash screen sets invalid XSizeHintsJulien Nabet1-0/+4
Change-Id: I70b86624b4d34eb6cb8f2efee0305539f6689335 Reviewed-on: https://gerrit.libreoffice.org/19219 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> (cherry picked from commit a614568c4356fe37ba132972e6f3649d606e2c9a) Reviewed-on: https://gerrit.libreoffice.org/19273 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-07-07LOK: Cleanup absolutizing of URLs.Jan Holesovsky1-10/+27
Thanks to Stephan Bergmann. Change-Id: I22aa3bb827db28bce3eabebb9b8c514663fad860 Reviewed-on: https://gerrit.libreoffice.org/16795 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-07-03LOK: Don't try to absolutize URL's.Jan Holesovsky1-5/+10
Based on a patch by Henry Castro. Change-Id: Ia7aca20feb8f6095adf7dfe510ed78b1e9882740 Reviewed-on: https://gerrit.libreoffice.org/16743 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-06-30Partially revert "svx, canvas, desktop: gb_OBJCXXFLAGS are not needed at all"Andras Timar1-0/+10
This reverts commit 601d7d38628bf93218fba15249c4654ae24e7396. desktop and svx need these flags in case of OS X sandboxing Change-Id: Ib811aa53bc2d71839961cdcea0dd4836ebdbc38c (cherry picked from commit 57117cf52d4c91029cbabf852d1f82c386ac1d75) Reviewed-on: https://gerrit.libreoffice.org/16572 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-06-23rendercontext: Mass fix of using the wrong size.Jan Holesovsky2-2/+2
In the paints, we must use the size of the Window for the computations, not of the RenderContext - the RenderContext can be much bigger than the Window in the double-buffering case. Fixes for example the list boxes, and many others. Change-Id: I4c7607569f88b2d097587140858d0862e54b5ea6 Reviewed-on: https://gerrit.libreoffice.org/16421 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-06-22LOK: return used format in Document::getTextSelection()Miklos Vajna1-3/+14
This allows requesting text/html, with falling back to plain text if necessary. Conflicts: libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx Reviewed-on: https://gerrit.libreoffice.org/16377 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org> (cherry picked from commit af7cbebd8eed82b81e00e6c2e0dc6c2c467ad8e2) Change-Id: Ie6d4e0e173311ba018553043b6a869abf193bf6f
2015-06-18LOK: add lok::Document::getTextSelection()Miklos Vajna1-0/+19
I.e. the copy part of copy&paste. Only the Writer bits for now. Change-Id: Ia003e76e3b234735f472cdef125514f9771d8640 (cherry picked from commit cfc4375158ee174e8dcb4df319b82c0bdd6f31cc)
2015-06-15Don't let root run unopkg without --shared or --bundled optionKatarina Behrens1-4/+22
with the exception of -h|--help. It only makes sense to run unopkg with root priviledges if adding, deleting etc. extensions system-wide for all users (i.e with --shared or --bundled switch). In all other cases it only messes up access rights to extensions, so prevent that. Fusion of 723e099972c16458a and 9444ffc93a3335ee3f Change-Id: Ifa273a4d66b85d9d7ed7e8e22036ccc821507fd2 Reviewed-on: https://gerrit.libreoffice.org/16293 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-06-06Apply new VclPtr clang plugin to catch potential problems.Noel Grandin1-1/+1
Omit the plugin, and sw's FrameControlsManager for now. Change-Id: Ifb98a2e6e03a9d099efc1668305b96bd9142ca5f Reviewed-on: https://gerrit.libreoffice.org/16117 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-06-04Build time option --disable-extension-updateKatarina Behrens2-2/+11
to disable the possibility to update installed extensions Change-Id: Ifdee0f3b13ee3e2bcb288c8ded98cb9805a6e55a Reviewed-on: https://gerrit.libreoffice.org/16059 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-04tdf#91529 hopefully fixes the issue by painting immediatelyTomaž Vajngerl1-5/+14
Change-Id: I0c97e489150cd65d1ab1dbff4ee9f1699f89ac2e (cherry picked from commit aca61aa5ffa4fab458d03e469b569c50952ed077)
2015-05-29convert constants in include/vcl/settings.hxx to scoped enumsNoel Grandin1-5/+5
Change-Id: I2a110c017f13eca6ddbd70ef3ed195d24adef0a3 Reviewed-on: https://gerrit.libreoffice.org/15828 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com> Signed-off-by: Jan Holesovsky <kendy@collabora.com>
2015-05-29SvxSearchItem: add m_nStartPoint{X,Y}Miklos Vajna1-0/+2
The idea is that if you have your cursor at the begining of a Writer document, and you scroll down a lot, then search, then it's annoying that search jumps back to the start of the document for the first hit. Add an optional way to provide what is the starting point of such a search, so we can have "when nothing is selected, then search from the top left corner of the visible area". No UI yet to enable this, but available via the UNO API. Change-Id: Ibcf3a5f2eeba1372b1dfe8474081e6591a6e0134 (cherry picked from commit 1dc60bc9e99304c58007bfd5a964ff3f78480106)
2015-05-28Rewrite all calls like Dialog(params).Execute()Philippe Jung1-2/+2
Replace all calls looking like ADialog(some params).Execute() by ScopedVclPtrInstance<ADialog>::Create(some parms)->Execute() Change-Id: I0b6f0a9ea5ef0a749ffa30ce131e9dc989604639 Reviewed-on: https://gerrit.libreoffice.org/15915 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-05-26Audit all PostUserEvent calls and instrument for VclPtr.Michael Meeks2-5/+5
Hold a reference on the VclPtr while we're waiting for the UserEvent. Change-Id: I55c2671ca12eb14761c6a7dffd551af71547ecbd
2015-05-20convert TEXT_DRAW constants to scoped enumNoel Grandin1-2/+2
Change-Id: Ic0f7f8fa236bb478b3598ae3fd3c1b30ebbf1a01
2015-05-18Remove include stdio (part2)Julien Nabet1-2/+2
Change-Id: Iae58d107d8df1c543a165086fb2b7c288e7121dd Reviewed-on: https://gerrit.libreoffice.org/15775 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2015-05-16refactor desktop classes to use RenderContextTomaž Vajngerl3-138/+133
Change-Id: I2338733e76968aeb69a57c60edd9d04d29e8321c
2015-05-12Fixup my earlier quoting fix.Thorsten Behrens1-1/+1
Change-Id: I9a7afb28e09f7f8aa577e180f647839d67964bdf
2015-05-12Switch VclBuilder constructors to use VclPtr.Michael Meeks3-5/+3
Change-Id: Id35a86eb52bbde6ca09a5e61a0b1a79b23be8faf
2015-05-11Add some quoting to shell scripts.Thorsten Behrens4-19/+19
I'd be surprised if the places given want globs and word splitting... Change-Id: I0eb9f2d39ac43479ee06a2477ba309a8e1944d20
2015-05-11Revert "Switch VclBuilder constructors to use VclPtr."Michael Meeks3-3/+3
Behaves oddly; not ready yet. This reverts commit 9f016bd69422bdfb4cf7c4f5e57356eb98db2d8c. Change-Id: I30d746eac29d1dbe78d3072b10d2e22c051e3f4e
2015-05-11Improve exception messageStephan Bergmann1-2/+2
Change-Id: Idce206e0ddebbc9398297f15999579a71f9401c9
2015-05-11Switch VclBuilder constructors to use VclPtr.Michael Meeks3-3/+3
Change-Id: Id35a86eb52bbde6ca09a5e61a0b1a79b23be8faf
2015-05-11convert COMMAND_ constants to scoped enumNoel Grandin1-1/+1
Change-Id: I88e67f89dbbab0646e8f106dfeb32c6ee1bb0b95 Reviewed-on: https://gerrit.libreoffice.org/15671 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-10NOINSTANCE is implied now in IMPL_STATIC_LINK...Stephan Bergmann2-5/+5
Change-Id: Ifb032457d6c1b279c4183282ef2b271c706dd71a
2015-05-09tdf#91052 - more macros for 'make' constructors.Michael Meeks3-5/+8
Change-Id: Id05266810760f73db2daba10d1efa14aa9f88dd9
2015-05-09coverity#1257113 Uninitialized pointer fieldCaolán McNamara1-2/+3
Change-Id: If1454e643bba38a0bffd0e14a28045dc5e544d11
2015-05-08lopluign:staticmethods: Handle DECL_LINKStephan Bergmann2-4/+4
Change-Id: Ib27854a8470f3ff5b208cb949a7bd02f2a86c969
2015-05-08read_percent returns ProgressStatus, not sal_BoolStephan Bergmann1-1/+1
Change-Id: I6e1c1f88b28db2728b2f29ea47c3e86ef8983697
2015-05-06Nah, the Android NDK we use doesn't have std::to_string()Tor Lillqvist1-3/+1
So do the verbose OUString::number().toUtf8().getStr() dance. Change-Id: Ied5f6c3ec936544f0f36eeafd07f9496e9061373
2015-05-06Include <string>Tor Lillqvist1-0/+2
Hoping to fix the Android compilation. Change-Id: Ibb476edebc6b2da040af8c8db04efa39882c5bf0
2015-05-06Add support for progress bar callbacks to LibreOfficeKitTor Lillqvist1-2/+43
The libsofficeapp and LibreOfficeKit API bits. Change-Id: I4efe9880dfa4e0387f05b50e64b5eaee448e0925
2015-05-06cleanup DIALOG_NO_PARENT, follow on to tdf#91090Noel Grandin3-8/+6
remove the DIALOG_NO_PARENT abomination and replace it with a flags parameter Change-Id: I71b7dc46c619f2db56af6d4dc2c17daf0a2c8534 Reviewed-on: https://gerrit.libreoffice.org/15645 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-05-06tdf#91090 - avoid de-referencing DIALOG_NO_PARENT (-1)Michael Meeks2-14/+16
Change-Id: I1032054765013a43744a7be548e892fc973a40ce
2015-05-05loplugin:staticmethodsNoel Grandin2-2/+2
Change-Id: I4d19f868a618cb135aa7a949222972dc35b47d2a
2015-05-05Use typed Idle::SetIdleHdl LinkStephan Bergmann2-8/+4
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
2015-05-05Use typed Timer::SetTimeoutHdl LinkStephan Bergmann2-3/+2
Change-Id: Iaaf0c93e5b28c0f7dbe4f02eda8beeae30708100
2015-05-04Use gb_Module_add_check_targets to add CppunitTestStephan Bergmann1-1/+4
Change-Id: I6a8689408141035aaf5cc87838c65eb4b9bc71d3
2015-05-04Enable desktop/qa/deployment_misc/test_dp_version.cxxStephan Bergmann2-0/+24
Change-Id: I6d41aecfb1b41bf3d9e8fac6d63ae9874283e3a3
2015-04-30Gradually typed LinkStephan Bergmann6-13/+13
Turn the Link class into a template abstracting over the link's argument and return types, but provide default template arguments that keep the generic, unsafe "void* in, sal_IntPtr out" behvior. That way, individual uses of the Link class can be updated over time. All the related macros are duplicated with ..._TYPED counterparts, that additionally take the RetType (except for LINK_TYPED, which manages to infer the relevant types from the supplied Member). (It would have been attractive to change the "untyped" LinkStubs from taking a void* to a properly typed ArgType parameter, too, but that would cause -fsanitize=function to flag uses of "untyped" Link::Call.) Change-Id: I3b0140378bad99abbf240140ebb4a46a05d2d2f8
2015-04-29desktop: pJSON may be 0 in jsonToPropertyValues()Miklos Vajna1-17/+20
Change-Id: I1ed9a4e1f1ecabf48ed3edb7cf6623261e2f4570
2015-04-29Fix for gcc 4.6.3Juergen Funk1-1/+1
with out the class-define gcc -> "error: a class-key must be used when declaring a friend" Change-Id: I6384d9b37a9105db2af9e6c65cd02a56c4169abe Reviewed-on: https://gerrit.libreoffice.org/15568 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-04-29Remove unnecessary STATIC_LINK macroStephan Bergmann1-2/+2
Change-Id: I4788824667c8e0d1d4e0717b7ae7737bb0fd2c90
2015-04-29fix dubious casts post VclPtr-ingCaolán McNamara2-4/+14
Change-Id: I6269eacb7ed1eb5ebd03a9a1b549a3e25e5f00c3
2015-04-29replace Paint calls to Invalidate + fix compilationTomaž Vajngerl1-3/+3
Change-Id: Id716c47d56922ab6ce0c3adb3d426ea814980674
2015-04-29mass rewrite Paint(Rect&) to Paint(RenderContext&, Rect&)Tomaž Vajngerl3-4/+4
Change-Id: Ia1667246064d11827dbd149def15e5bf08b119b8
2015-04-28Merge remote-tracking branch 'origin/feature/vclptr'Michael Meeks21-231/+365
Resolve several thousand lines of conflicts. Conflicts: accessibility/source/extended/accessiblelistbox.cxx accessibility/source/standard/vclxaccessiblecombobox.cxx accessibility/source/standard/vclxaccessibledropdowncombobox.cxx accessibility/source/standard/vclxaccessibledropdownlistbox.cxx accessibility/source/standard/vclxaccessiblelistbox.cxx accessibility/source/standard/vclxaccessibletextfield.cxx basctl/source/basicide/basidesh.cxx cui/source/inc/chardlg.hxx cui/source/tabpages/tpbitmap.cxx dbaccess/source/ui/dlg/UserAdmin.cxx dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx extensions/source/propctrlr/propertyeditor.hxx extensions/source/scanner/sanedlg.cxx filter/source/pdf/impdialog.cxx include/sfx2/mgetempl.hxx include/sfx2/sidebar/SidebarToolBox.hxx include/sfx2/viewsh.hxx include/svtools/brwbox.hxx include/svtools/filectrl.hxx include/svtools/scrwin.hxx include/svx/dlgctrl.hxx include/svx/sidebar/Popup.hxx include/svx/sidebar/PopupContainer.hxx include/svx/sidebar/PopupControl.hxx include/svx/sidebar/SidebarDialControl.hxx include/svx/sidebar/ValueSetWithTextControl.hxx sc/source/ui/condformat/condformatdlgentry.cxx sc/source/ui/navipi/navipi.cxx sc/source/ui/sidebar/CellBorderStyleControl.hxx sd/source/ui/animations/CustomAnimationDialog.cxx sd/source/ui/inc/DrawViewShell.hxx sd/source/ui/inc/Ruler.hxx sd/source/ui/inc/SlideSorter.hxx sd/source/ui/inc/ViewTabBar.hxx sd/source/ui/inc/Window.hxx sd/source/ui/inc/morphdlg.hxx sd/source/ui/inc/sdpreslt.hxx sd/source/ui/sidebar/CurrentMasterPagesSelector.hxx sd/source/ui/sidebar/LayoutMenu.hxx sd/source/ui/sidebar/MasterPagesSelector.hxx sd/source/ui/sidebar/NavigatorWrapper.hxx sd/source/ui/sidebar/PanelBase.hxx sd/source/ui/sidebar/RecentMasterPagesSelector.cxx sd/source/ui/sidebar/RecentMasterPagesSelector.hxx sd/source/ui/slideshow/showwindow.hxx sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx sd/source/ui/slidesorter/view/SlsLayeredDevice.hxx sd/source/ui/view/ViewShellBase.cxx sd/source/ui/view/drviewsa.cxx sfx2/source/appl/fileobj.hxx sfx2/source/appl/opengrf.cxx sfx2/source/control/thumbnailviewacc.hxx sfx2/source/dialog/securitypage.cxx sfx2/source/dialog/templdlg.cxx sfx2/source/doc/docinsert.cxx sfx2/source/doc/guisaveas.cxx sfx2/source/inc/alienwarn.hxx sfx2/source/sidebar/Deck.cxx sfx2/source/sidebar/Deck.hxx sfx2/source/sidebar/DeckTitleBar.cxx sfx2/source/sidebar/DeckTitleBar.hxx sfx2/source/sidebar/MenuButton.cxx sfx2/source/sidebar/MenuButton.hxx sfx2/source/sidebar/Panel.cxx sfx2/source/sidebar/Panel.hxx sfx2/source/sidebar/PanelTitleBar.hxx sfx2/source/sidebar/SidebarDockingWindow.hxx sfx2/source/sidebar/SidebarToolBox.cxx sfx2/source/sidebar/TabBar.hxx sfx2/source/sidebar/TabItem.cxx sfx2/source/sidebar/TabItem.hxx sfx2/source/sidebar/TitleBar.hxx sfx2/source/toolbox/imgmgr.cxx starmath/inc/edit.hxx starmath/inc/smmod.hxx starmath/qa/cppunit/test_starmath.cxx starmath/source/edit.cxx starmath/source/smmod.cxx svtools/source/brwbox/brwbox1.cxx svtools/source/brwbox/datwin.hxx svtools/source/contnr/fileview.cxx svtools/source/contnr/simptabl.cxx svtools/source/control/filectrl.cxx svtools/source/control/valueimp.hxx svx/inc/GalleryControl.hxx svx/source/dialog/dlgctrl.cxx svx/source/dialog/swframeexample.cxx svx/source/fmcomp/fmgridif.cxx svx/source/gallery2/GalleryControl.cxx svx/source/sidebar/EmptyPanel.hxx svx/source/sidebar/area/AreaPropertyPanel.hxx svx/source/sidebar/area/AreaTransparencyGradientControl.hxx svx/source/sidebar/graphic/GraphicPropertyPanel.hxx svx/source/sidebar/insert/InsertPropertyPanel.cxx svx/source/sidebar/insert/InsertPropertyPanel.hxx svx/source/sidebar/line/LinePropertyPanel.hxx svx/source/sidebar/line/LineWidthControl.cxx svx/source/sidebar/line/LineWidthControl.hxx svx/source/sidebar/line/LineWidthValueSet.hxx svx/source/sidebar/paragraph/ParaPropertyPanel.hxx svx/source/sidebar/possize/SidebarDialControl.cxx svx/source/sidebar/text/TextCharacterSpacingPopup.hxx svx/source/sidebar/text/TextPropertyPanel.hxx svx/source/sidebar/tools/PopupContainer.cxx svx/source/sidebar/tools/PopupControl.cxx svx/source/sidebar/tools/ValueSetWithTextControl.cxx svx/source/svdraw/svdfmtf.hxx svx/source/svdraw/svdibrow.cxx svx/source/tbxctrls/colrctrl.cxx svx/source/tbxctrls/tbcontrl.cxx sw/source/ui/dbui/mmaddressblockpage.cxx sw/source/ui/dialog/uiregionsw.cxx sw/source/ui/index/cnttab.cxx sw/source/uibase/inc/drpcps.hxx sw/source/uibase/sidebar/PageColumnControl.hxx sw/source/uibase/sidebar/PageMarginControl.hxx sw/source/uibase/sidebar/PageOrientationControl.hxx sw/source/uibase/sidebar/PagePropertyPanel.hxx sw/source/uibase/sidebar/PageSizeControl.hxx sw/source/uibase/uiview/view2.cxx sw/source/uibase/utlui/navipi.cxx vcl/inc/svdata.hxx vcl/source/control/combobox.cxx vcl/source/control/lstbox.cxx vcl/source/window/dockwin.cxx vcl/source/window/winproc.cxx Change-Id: I056cf3026ff17d65cca0b6e6588bda4a88fa8d95
2015-04-28Rephrase comparisons between bool and sal_BoolStephan Bergmann1-1/+1
...to cater for forthcoming loplugin:implicitboolconversion improvements Change-Id: I801b6b73648715448198d582a087cc834f6e20c8
2015-04-27More loplugin:simplifyboolStephan Bergmann6-7/+7
Change-Id: If4b4f706152876e8b5631343fc7e39eeaa04964b