summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Replace deprecated boost::optional::reset(val) with operator =Mike Kaganski2018-11-1032-121/+90
| | | | | | | Change-Id: I7340a561e0df0c781fd834388deb4b9f83800f9b Reviewed-on: https://gerrit.libreoffice.org/63221 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
* Tabbed NB: sync home/text tabandreas kainz2018-11-104-4/+17
| | | | | | | Change-Id: I1d13f22325679f17ddef231991ecb0e199f00c50 Reviewed-on: https://gerrit.libreoffice.org/63223 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
* Fix typosAndrea Gelmini2018-11-103-3/+3
| | | | | | | Change-Id: I94fe979fde236111b72b0b445ee2566177a3f0e3 Reviewed-on: https://gerrit.libreoffice.org/63226 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Update git submodulesAndrea Gelmini2018-11-101-0/+0
| | | | | | | | | | * Update helpcontent2 from branch 'master' - Fix typo Change-Id: I89f596c5d4ee95cc48ee52507bbce9ed4eb0085a Reviewed-on: https://gerrit.libreoffice.org/63225 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Make sidebar paragraph panel outline toolbox focusableJim Raykowski2018-11-101-1/+1
| | | | | | | Change-Id: Id538fc081ea563f2c257c061812263ae33c7af52 Reviewed-on: https://gerrit.libreoffice.org/62971 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
* tdf#45904: Remove/disable obsolete _XNamed testsJens Carl2018-11-105-144/+0
| | | | | | | | | | The _XNamed tests are already written in C++ since commit bbfddc1b3b673fe2bd25c2c382ca95cd8f6f28a8 for ScNamedRangeObj. Change-Id: Ief17cea92c8b2ee42ef44da35f7a02ca07b099b6 Reviewed-on: https://gerrit.libreoffice.org/63224 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
* Don't bother setting LC_ALL, LC_CTYPE, and LANG on iOSTor Lillqvist2018-11-101-0/+2
| | | | | | | | | | An iOS app might itself, for testing and debugging purposes, look for LANG in the environment (potentially passed to it by Xcode; the OS does not set such an environment variable). It is confusing if that then gets set during the execution of core code back to a device's default. Change-Id: I9dcf44090aed84b55fd4240bda2562026cd8dacb
* Test ENABLE_FUZZERS with #if, not #ifdefTor Lillqvist2018-11-101-2/+2
| | | | Change-Id: If3efa54c5d0ce7ffee3bf3f4ecb1de5ff7e4267d
* No updateSettings() in AquaSalGraphicsTor Lillqvist2018-11-091-1/+2
| | | | | | | | | | | | Just ifdef out the call of it for now. This is a temporary solution, we presumably do want dialogs to be "themed" appropriately for the iOS app. Change-Id: I0b14bd59ecc13037c9ff2a286405a5020081f1d5 Reviewed-on: https://gerrit.libreoffice.org/63112 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com> (cherry picked from commit 237042b8c34f44d78972c8ec01fb3c140a6ce0a6)
* Don't build the CustomWidgetDraw code for iOS for nowTor Lillqvist2018-11-091-2/+2
| | | | Change-Id: I7c1500f8e5e1a1f25cbb9cd41d897a37c1402f5b
* mysqlc: fix return value of XResultSet::nextTamas Bunth2018-11-092-1/+7
| | | | | | | Change-Id: I59e4803a5d9b01062eb0eaca0bf65d28298bd3e4 Reviewed-on: https://gerrit.libreoffice.org/63121 Tested-by: Jenkins Reviewed-by: Tamás Bunth <btomi96@gmail.com>
* Update git submodulesOlivier Hallot2018-11-091-0/+0
| | | | | | | | | | * Update helpcontent2 from branch 'master' - tdf#119269 Font Features Help page Change-Id: I72f23c891dda9dda8f7d42b72aa370285abd7a41 Reviewed-on: https://gerrit.libreoffice.org/63205 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Update git submodulesIlmari Lauhakangas2018-11-091-0/+0
| | | | | | | | | | | | | * Update helpcontent2 from branch 'master' - tdf#119415 change from fuse.js to fuzzysort.js Tied the index listing to the current module. Fuzzysort.js is MIT licensed. Change-Id: I5d95cc1870a1856089217846ed0af572abc882d7 Reviewed-on: https://gerrit.libreoffice.org/63203 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Fix sd toolbar manager lock underflowsJan-Marek Glogowski2018-11-093-19/+22
| | | | | | | | | | | | | | | | Regressions from commit 45519023aa44 ("Resolves: tdf#119997 toolbar layout unlock doesn't refresh ui"), commit c5977a89c28b ("Resolves: tdf#96451 do magic to enable embedded chart sidebar only for chart") and commit faed29cac93f ("for now show chart sidebar"). It also adds an assert for the underflow, as nobody cared for the underflow warnings since some years. Change-Id: I86bb093987f084c85a7b640a846dfe0aefea9e48 Reviewed-on: https://gerrit.libreoffice.org/63204 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
* custom widgets: Use only with LibreOfficeKit.Jan Holesovsky2018-11-092-4/+3
| | | | Change-Id: I9f8f25ee72e93fdf575312b6b0c5d32be9ea45cc
* Resolves: tdf#120895 new ParamClass::ReferenceOrRefArray, tdf#58874 relatedEike Rathke2018-11-098-36/+76
| | | | | | | | | | | | | Too many side conditions are possible with implicit array of references in array mode. Propagate new ReferenceOrRefArray parameter class to indicate the preferred return type for arguments to functions whose parameters explicitly handle array of references. Change-Id: I1f01266495c2ef1941ffe0cb7c2e0a5ae0bb7e69 Reviewed-on: https://gerrit.libreoffice.org/63201 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
* custom widgets: Fix various warnings.Jan Holesovsky2018-11-094-5/+5
| | | | Change-Id: I5d657fa4d6f63b93ad3775a5641d08c6e0f3a615
* LOK: custom widgets: simplify and correct colorsAshod Nakashian2018-11-091-33/+0
| | | | | | Also remove macroni. Change-Id: I0b2914e9f0e2aba9d8ca10338b515b598126e315
* LOK: custom widgets: reduce theme plugin API surfaceAshod Nakashian2018-11-095-103/+32
| | | | Change-Id: I89dcf5a102be19fd1bc314a89538a121522f4a43
* LOK: custom widgets: reduce Color into an int to reduce API surfaceAshod Nakashian2018-11-093-93/+89
| | | | Change-Id: Ib1afbb0b5647048f24d4ea6f9859b76328568dac
* LOK: custom widgets: check size of API structuresAshod Nakashian2018-11-092-2/+6
| | | | Change-Id: Iff50f7aeb471870230e9e822657deed6aefad268
* LOK: custom widgets: No need for SAL_DLLPUBLIC_RTTI here any more.Jan Holesovsky2018-11-091-4/+0
| | | | Change-Id: I7cae61e1fa9cf74b98627d557890fd41047421df
* LOK: custom widgets: convert WidgetThemeLibrary to POD for ABI compatibilityAshod Nakashian2018-11-091-37/+33
| | | | Change-Id: Ibc425d8e630460547d66723ccabeaf4ac29d2719
* LOK: custom themes: isolate LO internals headers from theme pluginAshod Nakashian2018-11-095-8/+416
| | | | Change-Id: Ic189aecf092b9cffd800e410d2d6e88016c43052
* lok: custom widgets: render editbox bordersAshod Nakashian2018-11-092-3/+14
| | | | Change-Id: I1962a4a1397363b1c15e49d57b0bbcc9c232ce30
* custom widgets: rework colors and cleanupAshod Nakashian2018-11-091-4/+4
| | | | | | | | | | | | | Use ColorData for custom widget themes to make it more readable and consistent. Renamed and split out colors to be more accurately named and representative of how they are used. Fixed a number of inconsistencies in how colors were used across widgets. Change-Id: I1cbb5f19223bd55107379b049beccaf1de4e26b2
* LOK: custom widgets: don't clobber the custom colorsAshod Nakashian2018-11-091-2/+3
| | | | | | | | | The old logic threw away the result of updateSettings by applying the styles saved and modified after calling it, which lost all the custom colors thereby breaking custom-widgets and themeing altogether. Change-Id: Ic3750f145b67cd6a379f3b628a10c213a31656e7
* LOK: custom widgets: support custom menu colorsAshod Nakashian2018-11-092-5/+20
| | | | Change-Id: Icd6367fa40f9655cd58816461f0d2fca6f6932e2
* custom widgets: correct focus colors and render button-up in listboxesAshod Nakashian2018-11-091-8/+5
| | | | Change-Id: I70f46f94747f468a2bb79f8baa4576e4460bef31
* custom widgets: comment unused params. to avoid compile warningsTomaž Vajngerl2018-11-091-15/+15
| | | | Change-Id: I45b7ffdce2d470ed2f30b5408d8d861deb00514a
* custom widgets: setup style setting in the widget libraryTomaž Vajngerl2018-11-099-2/+133
| | | | | | | | | | Some theme colors are set using the style settings, which are implemented by each backend to correspond to the system theme. For custom widgets these need to also be set by the library itself. This commit adds the ground work and sets some of the colors for windows backgrounds. Change-Id: Ia65b1605b2b7bef7f01ff1feff2e7470479e626a
* custom widgets: draw fixed line widgetTomaž Vajngerl2018-11-092-1/+5
| | | | Change-Id: Icb8cfbe09caf5cbfcf1d3f461c297c052056250d
* custom widgets: differentiate stock and non-stock buttonsTomaž Vajngerl2018-11-092-0/+5
| | | | Change-Id: I05f01058d7886dacec3b00dcf31313aea3939164
* vcl: mark stock buttons and transfer this to NWF on drawingTomaž Vajngerl2018-11-094-5/+28
| | | | | | | | | | Stock buttons like OK/Cancel/Help need sometimes to be drawn differently than just another button. For this we need to mark such push buttons as "stock" when building them from a glade file and transfer this information down to the NWF backend when drawing the widget. Change-Id: I131657f026a731208db47f4c8220622c8aabb464
* custom widgets: editbox - draw focus rectangleTomaž Vajngerl2018-11-091-0/+9
| | | | Change-Id: I5d038d165d5ff08a07d24906f6a7cc2d6176f1ac
* custom widgets: return early when the widget lib is not availableTomaž Vajngerl2018-11-091-2/+4
| | | | Change-Id: I1d740b4a3840f73015f34bd2143663a919db2956
* custom widgets: enable anti-aliasing when drawing widgetsTomaž Vajngerl2018-11-091-1/+6
| | | | Change-Id: I050d8534cacdee63109158dbc150d9d13b43fe5e
* custom widgets: get the region from the lib. + custom tab widthTomaž Vajngerl2018-11-092-8/+13
| | | | | | | | | | This implements getting the region rectangle from the widget library so it is possible to redefine the size of the widgets if needed. Additionally increase a tab width which are too small by default. Change-Id: If662c44e02631715efd137ecbfc4a5770fa9f6ab
* custom widgets: add Toolbar widgetTomaž Vajngerl2018-11-092-1/+5
| | | | Change-Id: Ia4efe711c07213f2edf472602c5b2acc81876906
* custom widgets: add List widget - ListNode, ListWidgetTomaž Vajngerl2018-11-092-3/+17
| | | | | | also added ListNet as noop Change-Id: I033f908a8fc9ce9ec4b3d202e1299f7c0a9cad6c
* custom widgets: add Progress widgetTomaž Vajngerl2018-11-092-1/+6
| | | | Change-Id: I573a6c28f5ddb538ca3b0abf15197695fc113802
* vcl: simplify ControlDrawParameters construction, add nValueTomaž Vajngerl2018-11-092-10/+9
| | | | | | | | | Don't require eButtonValue as a constructor parameter as it mostly isn't necessary and required. In addition add nValue instance variable. Change-Id: I927714f715fce1549d87cec633330a0dc313f569
* custom widgets: add Slider widgetTomaž Vajngerl2018-11-092-1/+24
| | | | Change-Id: Ie2192edfcfc49a1953059c5947b8ea7bb03a3c7d
* vcl: make slider ask if native drawing is supportedTomaž Vajngerl2018-11-091-20/+24
| | | | | | | Slider drawing didn't we ask if native drawing is supported using IsNativeControlSupported method. Change-Id: I0672114337516ff763fd710d949ab6a982db2992
* custom widgets: add Tab widgetsTomaž Vajngerl2018-11-092-4/+20
| | | | Change-Id: If9acc47b9a7751858d3394741e3984b3c2a49936
* custom widgets: draw ListBox widgetTomaž Vajngerl2018-11-092-1/+5
| | | | Change-Id: I1a3b709fdc4fb21fc4ad22542ff669c98b13487d
* custom widgets: first round of basic widgets with cairoTomaž Vajngerl2018-11-092-50/+145
| | | | | | | | | | | - Radiobutton - Checkbox - Combobox - Editbox - Spinbox - Scrollbar Change-Id: I46bd2753a7c1806f4cd4583455e76c77494225b4
* Support drawing custom widgets in headless backendTomaž Vajngerl2018-11-094-23/+80
| | | | | | ..and fallback the headless dawing also in gtk3 where needed Change-Id: Ic5da8fa7a04089342db8e2f334ced69691a15217
* lokit: Draw dialogs without using a MetaFileTomaž Vajngerl2018-11-091-0/+77
| | | | | | | | | | | A native widgets aren't part of a VCL metafile so they are ignored when the metafile is replayed. When drawing a dialog to a custom device, the first draw goes to the metafile, which is then replayed to the final device, but no native widgets get drawn. This commit changes this behavior for LOKit where it draws without using the intermediate VCL metafile. Change-Id: I823db30c8bceb83830c6c993d4238b39e1331c09
* custom widgets: Custom Widget ThemesTomaž Vajngerl2018-11-098-17/+440
| | | | Change-Id: I7ec57d18fe99f906aeb6dbb40d0d30c2ac8b51c4