summaryrefslogtreecommitdiff
path: root/vcl/osx
AgeCommit message (Collapse)Author
2015-04-28loplugin:vclwidgets (best guess)Stephan Bergmann
Change-Id: I682a0970fd667eacda781e799a941a11593ade90
2015-04-28loplugin:simplifyboolStephan Bergmann
Change-Id: I5eb7cef0d98c4c2db99c90170ce17b677e6d5b45
2015-04-28Merge remote-tracking branch 'origin/feature/vclptr'Michael Meeks
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-28allow a different notebook tab font than the rest of the uiCaolán McNamara
Change-Id: Ia41276033c1f656217bc3ae929faab001db36ca4
2015-04-24loplugin:simplifyboolStephan Bergmann
Change-Id: I8276e8b356ff26241613de64bcd90b5dbcd92f29
2015-04-24Build and warning fixes, Mac, Win, Linux.Michael Meeks
Change-Id: I8a8420f96c512e031ba3cde499523b71341dfa94
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-15tdf#71278 Revert both the previous cursor commit and the commit it fixedMatthew Francis
The original commit was based on a misunderstanding. In fact, the call to GetSalData()->getCursor() at the end of AquaSalFrame::getCurrentCursor() already handles POINTER_NULL correctly, or at least in the same way as on other platforms. The cursor in presentation mode disappears after 10 seconds - if this is to be changed, it should be changed for all platforms. Reverts: commit 58a3a99efec9d4bcb4ab61c41bf2feb707c8e1ef Author: Matthew Francis <mjay.francis@gmail.com> Date: Sun Apr 12 23:10:58 2015 +0800 tdf#71278 Set an invisible cursor rather than hiding the cursor commit 8d351c59d4393aa37ab38139b3a741f15a49dbfe Author: jorendc <joren.libreoffice@telenet.be> Date: Sun Apr 14 00:33:19 2013 +0200 fdo#31082 cursor visible during impress presentation Change-Id: Ie40882661dc1a2f4857027ff04393874042e04ec Reviewed-on: https://gerrit.libreoffice.org/15316 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-04-15tdf#71278 Set an invisible cursor rather than hiding the cursorMatthew Francis
Change-Id: I5ecfa01ab444148aa8d13d04f78db1c6c131a4df Reviewed-on: https://gerrit.libreoffice.org/15269 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-04-10vclptr: switch printers away from boost_shared.Michael Meeks
Also continue to move to extended toolkit/ API. Change-Id: Ibd4337b014ee096c84d0ad4435e2c5de1b258afe
2015-04-09Change tools::Time::GetSystemTicks to sal_uInt64Stephan Bergmann
...as follow-up clean-up after 71fefe1dc2bcda3a4cc18d71e1acaf161cc059f2 "Change 'blink times' to be of type sal_uInt64 and thus consistent with Timer::Get/SetTimeout since 9c7016b5b530ca212b1275f44f9e2fc0527109ee 'Scheduler: Changed uLong to uInt32/uInt64.'" Transitively meant to change quite a number of further time-related places from sal_uLong/sal_uIntPtr to consistently use sal_uInt64. Change-Id: I38eb493943906356138bf58eb098d2f54a3dee34 Reviewed-on: https://gerrit.libreoffice.org/15214 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-04-09NSAppKitVersionNumber is always greater than NSAppKitVersionNumber10_7Robert Antoni Buj Gelonch
Change-Id: I9e2b9388c5df1b3a5fc0b2deb570b6f63e59b8eb Reviewed-on: https://gerrit.libreoffice.org/14637 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-04-02loplugin:redundantcastStephan Bergmann
Change-Id: I6095d1209f2339387e8562074daa32779089a018
2015-04-02loplugin:staticmethodsNoel Grandin
Change-Id: Ibf0c73ac17ec19ed672f66907db47057920babca
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann
Change-Id: I3269d005634c66929e092d6a8fb33d71819b6971
2015-03-30Introduce vcl::IsWindowSystemAvailable()Tor Lillqvist
Change-Id: I6e3f804833db7487ddf7ba75c43d15017dcbe1ba
2015-03-29loplugin:cstylecastStephan Bergmann
Change-Id: I999ec56219a7d9a9dc8c1e9310cc74dccd0ac099
2015-03-27fix OSX build after my StandardButtonType changes - part2Noel Grandin
Change-Id: Ifb5d85866d35cdd1c4150ea841194ee5ca8a496e
2015-03-27fix OSX build after my StandardButtonType changesNoel Grandin
Change-Id: I2a2e8094aba0d227a9b60902133092cc33f1f586
2015-03-10Avoid calls on null mpSalTimer on OS XStephan Bergmann
all three addressed places hit frequently now during "make check", likely related to recent changes to timer/idle code? Change-Id: I75963c707807c29db7865b11f9ed532b779765d8
2015-03-06Timer/Idle: adapted inherited funktionsTobias Madl
Change-Id: I7714a4638b03d020820b276028c0819ef054fa26
2015-03-06Idle: Removed VCL_IDLE_PRIORITY_ prefix of enumTobias Madl
Change-Id: I12290bed7e4f298ab90393b8de6e2b6e7061e53f
2015-02-06fix mac buildCaolán McNamara
Change-Id: Ic98ada6d0bca124194cea24a1ed30d30a1c0a85e
2015-02-05Remove uses of deprecated salhelper/refobj.hxxStephan Bergmann
Change-Id: Ibf4a2ed99024568b2d370b22919e3a25c43c6fbf
2015-02-04make idle timers actually activate only when idleLuboš Luňák
Without this, they can activate after any call to the event processing, so they may activate in cases such as when updating progressbar while loading a document, or on repeated user input (so things like showing spellchecking get updated when the app is busy redrawing). This change makes idle timers activate only when there's nothing more for the event loop to process. It's a bit of a question if this doesn't break something that happens to expect idle timers to be not-really-idle timers, but oh well. No change for non-X11 platforms, as there's I don't know how to check the event queues. Change-Id: I074a88f2f5eeb4b456a11916a0ec2ad6f54dfbab
2015-01-22Why is Objective C such an ill-specified mess?Stephan Bergmann
Change-Id: I2a6b4ba10d303a6a4ce5bc4582e68a73c2ae331e
2015-01-22loplugin:cstylecast (MACOSX)Stephan Bergmann
Change-Id: Ia4c8920ce2ce44286c5042d4b5dbeaa41fe355cc
2015-01-17forgot the Win and OSX backendMarkus Mohrhard
Change-Id: I1aa12c89cbddd83febac733f68904cda6b91f0a9
2015-01-15Resolves: fdo#32664 pass keyboard media keys through to the OSCaolán McNamara
if we didn't make use of them. Change-Id: Iee1c2fef5966a614b068c832bf8c6b51973b4c8a
2015-01-07fdo#84938: convert VCL_INPUT_ #defines to 'enum class'Noel Grandin
Change-Id: I155e45f58974a2b946c4a7703b350bcbfbad342e
2015-01-07fdo#84938: convert INDICATOR_ #defines to 'enum class'Noel Grandin
and replace SalIndicatorState, it serves the same purpose Change-Id: I618b8946b8e2527883eecb13060b2256abc505b6
2015-01-06vcl: reset OpenGLContext(s) when yielding the last SolarMutex.Michael Meeks
This should make OpenGL thread-safe to allow multiple threads to render using VCL's OpenGL backend, and fix misc. associated driver horrors, will give some performance cost for tight Yield loops. Change-Id: Ib23702262fd9f0925a5ed8c642d0a26e92136b37
2015-01-06fdo#84938: convert CTRL_STATE_ #defines to 'enum class'Noel Grandin
Change-Id: I1451180d258315a310a048b27510b4b58fa9145c
2015-01-04vcl/osx boost::unordered_map->std::unordered_mapCaolán McNamara
Change-Id: I00dabf3307734e319a8187df111e1065ea383524
2015-01-01get rid of obsolete code for 32-bit targetsDouglas Mencken
fixes vcl/osx/a11ywrapper.mm:1037: error: ambiguous overload for 'operator<<' (operand types are 'std::basic_ostream<char>' and 'CGPoint') Change-Id: Iabf9a1e795c9fe89ff5d6ff379aa6a18dd7dbf65
2014-12-22-Werror,-WshadowStephan Bergmann
Change-Id: I0e9ff9efd685f17e45ada29fc2bd6134229b28c7
2014-12-18vcl: Use appropriate OUString functions on string constantsStephan Bergmann
Change-Id: I010146e9b7181d0cc704a26ae1d373794cf6facb
2014-12-10loplugin:cstylecastStephan Bergmann
Change-Id: I9bfd611ef5451b936f2b7b4dda6dd8ede23832a4
2014-12-09changed inherited timers to idleTobias Madl
Change-Id: I1d70d4d2fe8573d0f120f2a1ece83f504d5efde5
2014-12-04Older Mac apparently need a reinterpret_cast hereStephan Bergmann
Change-Id: I7de7fa410d0d88ca786bda481ca06456d84de86d
2014-12-04vcl (Mac): loplugin:cstylecastStephan Bergmann
Change-Id: Ic46623380f026a8dfcc74c895db35a06bcea1ead
2014-12-02prefer `if (s)' to `if (nil != s)' for objective-cDouglas Mencken
in objc, explicit comparison with nil isn't necessary and can produce errors like: comparison between distinct pointer types (...) and 'objc_object*' lacks a cast upd: thanks Norbert Thiebaud for suggestion ``hitChild is a Reference so hitChild = nil was !hitChild.is() right?'' Change-Id: I105be50e5a37bb63e360622e590ec4916fa8a84f Reviewed-on: https://gerrit.libreoffice.org/11891 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-12-01fdo#84938: replace EVENT_ constants with enumTobias Madl
Change-Id: I8275832d8dae43b374bddd48520d11592e9a6a1f Reviewed-on: https://gerrit.libreoffice.org/13134 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-26Silence Mac OS X 10.9/10.10 deprecations for nowStephan Bergmann
Change-Id: Ie63ed8f6f66a7641ad872f93d76efb962333cec9
2014-11-20[Accessibility] Make the sidebar a bit accessibleNiklas Johansson
The accessibility of the sidebar is heavily built on PANEL's. Since A11y on mac ignored panels it did not pan out well. Also the title was removed from AXGroupRole but is needed to announce the different panels of the sidebar. This might have some unwanted effects on other parts of LibreOffice since a lot of things are built up from AccessibleRole::PANEL. Change-Id: I095d26b3c89e2c0403d3267baa53f3bec5e07662 Reviewed-on: https://gerrit.libreoffice.org/12985 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl
Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
2014-11-14fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava
Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-06rename KEY_MODTYPE to KEY_MODIFIERS_MASKNoel Grandin
Change-Id: I7948988e4fd89bf94a98afee15298cd33e2a4d06
2014-10-31convert COMMAND_WHEEL constants to an enumNoel Grandin
Change-Id: I413d821a984ab556bd19c52704c04de6d828f699