Commit Graph
42 Commits
Author SHA1 Message Date
Michael Weghorn 5ba0ccb296 [API CHANGE] Drop ColorPicker, AsynchronousColorPicker
The unpublished com::sun::star::cui::ColorPicker and
com::sun::star::cui::AsynchronousColorPicker UNO services
were previously used to be able to use ColorPickerDialog
(implemented in cui) from svtools.

That's no longer the case since

    commit 0905c23676
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Fri Jun 13 18:27:09 2025 +0200

        Stop using UNO abstraction for color picker

, so drop the now unused services and the ColorPicker
class that implemented them.

Change-Id: I9264707df57e46192a393f6736257c413e5d9831
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186538
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2025-06-16 15:37:30 +02:00
Noel Grandin 47bfbbdb73 Create an UNO service to do the cui symbol lookup in vcl
which means I can remove one usage of gb_Library_set_plugin_for, which
is blocking linking the cui module into --enable-mergelibs=more

Change-Id: Ic6cd48377627f94747037c7247a1cd398738b390
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163820
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-02-25 14:45:55 +01:00
Stephan Bergmann 2cda7933d1 tdf#155543 Get back com.sun.star.cui.AsynchronousColorPicker service impl
901360967d "Combine
com.sun.star.cui.[Asynchronous]ColorPicker implementation decls" had assumed
that:

"f54ccf09a5073b6e544c976da68de0c9fc0bdf6c "Make Custom Color Picker dialog
async" had added the additional com.sun.star.cui.AsyncColorPicker implementation
entry (later renamed to com.sun.star.cui.AsynchronousColorPicker) for the same
actual C++ implementation, presumably out of confusion.  (The implementation
name "com.sun.star.cui.AsynchronousColorPicker" appears to not be mentioned
anywhere else than in this .component file, so it shouldn't matter to drop it.)"

But turns out that things are even more confused there than I'd initially
thought they would be:  The names com.sun.star.cui.ColorPicker and
com.sun.star.cui.AsynchronousColorPicker are actually UNOIDL service names as
declared in offapi/com/sun/star/cui/[Asynchronous]ColorPicker.idl.  And the
implemenation is accessed via css::cui::ColorPicker::createWithParent and
css::cui::AsynchronousColorPicker::createWithParent in
svtools/source/dialogs/colrdlg.cxx.  Which, in the past, happened to work,
because creating a service X also looks for registered implementation names X,
if it does not find a registered implemenation that advertises service name X.
For com.sun.star.cui.AsynchronousColorPicker it happened to work until I removed
that implemenation name from cui/util/cui.component...

A minimal fix for that mess is to make that implementation also advertise the
com.sun.star.cui.AsynchronousColorPicker service name (the
com.sun.star.cui.ColorPicker service name is still found, unconventionally, via
the implementation name).  Whether the two additional service names
com.sun.star.ui.dialogs.ColorPicker and
com.sun.star.ui.dialogs.AsynchronousColorPicker are relevant in any way I don't
know---just leave them alone for now.

Change-Id: I37f4fd5b45b97ab27275cd377921063d6e0cc096
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152418
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-05-31 13:51:38 +02:00
Stephan Bergmann 901360967d Combine com.sun.star.cui.[Asynchronous]ColorPicker implementation decls
f54ccf09a5 "Make Custom Color Picker dialog async"
had added the additional com.sun.star.cui.AsyncColorPicker implementation entry
(later renamed to com.sun.star.cui.AsynchronousColorPicker) for the same actual
C++ implementation, presumably out of confusion.  (The implementation name
"com.sun.star.cui.AsynchronousColorPicker" appears to not be mentioned anywhere
else than in this .component file, so it shouldn't matter to drop it.)

Change-Id: I80cc4f474d71493fb5bc125d9137595184cc6e96
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150644
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-04-21 08:07:06 +02:00
Szymon Kłos b4d1bed49e Rename AsyncColorPicker -> AsynchronousColorPicker
Change-Id: If26865ea063df3052e6ba61642fe36f5a1a47929
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120735
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2021-08-27 17:22:42 +02:00
Szymon Kłos f54ccf09a5 Make Custom Color Picker dialog async
- now supports also XAsynchronousExecutableDialog
- inherits from SfxDialogController to attach correct LOKNotifier

Change-Id: Ic21db4057b8087d74a437b1c8ec95408ade5264d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119012
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120670
Tested-by: Jenkins
2021-08-19 10:02:15 +02:00
Noel Grandin 29c5e1ccbe cui,cppcanvas: create instances with uno constructors
See tdf#74608 for motivation

Change-Id: Id603bc26f95d3da86b8c7360a7bde8eee97049ad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98141
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-07-06 12:25:13 +02:00
Stephan Bergmann 9ed364774c Adapt all (non-extension, SharedLibrary) .components to environment="..."
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17 11:06:00 +01:00
Matúš Kukan 46a470a2ca cui: remove unused .map file
Change-Id: Ib7a040c48d8f35e8bd68a30e7b5219a7499ec8da
2013-11-04 17:52:14 +01:00
Andras Timar 5acf58bbde remove obsolete hidother.src files
Change-Id: Ieb30afd81d16d184e0276ce7699b848f26a00013
2013-02-06 14:51:42 +01:00
Caolán McNamara 06773ff739 move color options .ui to right place and adapt code
Change-Id: I645775bcec9993a2d8fd4b5ea67197ad3b2a9e03
2013-01-31 11:30:48 +00:00
Caolán McNamara aa4ef13a51 move color scheme options .ui to right place and adapt code
a side effect of this painfully tricky rework is that we recover an apparently
long lost initial "ON" column in tools->options->appearance

Change-Id: I262feae14e9f8a21f46103e35256687e66a13c7c
2013-01-29 21:48:32 +00:00
Caolán McNamara e2250ec113 remove unused hids
Change-Id: Iab2d62506c3985bd3f32e8140057ec136cfd3395
2013-01-25 16:55:57 +00:00
Caolán McNamara ad1e2d087b split out pick single and outline numbering page to cui and adapt code
we can share the pickbulletpage .ui with these ones

Change-Id: Ieaf2c8f2257bfdb36423dc363729b58b465cb250
2013-01-07 16:17:51 +00:00
Caolán McNamara 396a3e7c7b adapt spelling dialog to use .ui
Change-Id: I51fdb40378253780cd15127f0c79eda54dce15f0
2012-12-29 18:02:26 +00:00
Caolán McNamara 3f7f957e68 convert macro dialog to .ui format
Change-Id: I5c832f3eaa6aefe2d652173289ef306e8743d4e0
2012-11-08 13:26:56 +00:00
Caolán McNamara 79b9cd76f8 convert run macro to .ui
Change-Id: I4e83afa3d164ba0ae8640f4b5f2712b88c1e305f
2012-10-31 14:16:54 +00:00
Michael Meeks 015b29b74a re-base on ALv2 code. Includes:
clarify Option->Language UI option
    Patch contributed by Herbert Duerr
    http://svn.apache.org/viewvc?view=revision&revision=1173991

    cws mba34issues01: #i117712#: fix several resource errors introduced
    by IAccessible2 implementation
    Patch contributed by Mathias Bauer
    http://svn.apache.org/viewvc?view=revision&revision=1173991

    cws mba34issues01: #i117709#: add missing string resource
    Patch contributed by Mathias Bauer
    http://svn.apache.org/viewvc?view=revision&revision=1172348

    cws mba34issues01: #i117716#: fix missing resources my removing unused code
    Patch contributed by Mathias Bauer
    http://svn.apache.org/viewvc?view=revision&revision=1172345

    re-add Crystal, Tango, Oxygen icon theme listings.

    correct method signature
    Patch contributed by Jean-Louis 'Hans' Fuchs
    http://svn.apache.org/viewvc?view=revision&revision=1306725

    i#119063 - correct serf integration
    Patch contributed by Oliver-Rainer Wittmann
    http://svn.apache.org/viewvc?view=revision&revision=1300521

    i#119036 - adapt serf integration
           -- use transfer-encoding 'chunked' on HTTPS
           -- switch transfer-encoding between 'chunked' and none on 413 HTTP status code
           -- refactoring
           -- improve user experience of certification dialog - only shown once
    Patch contributed by Oliver-Rainer Wittmann
    http://svn.apache.org/viewvc?view=revision&revision=1299727

    118569: Use whole certification chain for verification.
    Patch contributed by Andre Fischer
    http://svn.apache.org/viewvc?view=revision&revision=1295493

    serf integration: improve credential input handling
    Patch contributed by Oliver-Rainer Wittmann
    http://svn.apache.org/viewvc?view=revision&revision=1294557

    warning-free ucb/source/ucp/webdav
    Patch contributed by Pavel Janik
    http://svn.apache.org/viewvc?view=revision&revision=1294086

    some refactoring to PROPPATCH and PROPFIND requests
    Patch contributed by Oliver-Rainer Wittmann
    http://svn.apache.org/viewvc?view=revision&revision=1293281

    i#118569: Replace neon with serf
    Patch contributed by Oliver-Rainer Wittmann
    http://svn.apache.org/viewvc?view=revision&revision=1292832
    http://svn.apache.org/viewvc?view=revision&revision=1292794

    remove OS/2 conditionals for now.

    re-enable webdav unit tests.
2012-10-04 20:16:37 +01:00
Tor Lillqvist a8ea2a4236 Use prefix
Change-Id: Id3d3df7869f6efb548ae44c3a6cac23dc1e21774
2012-10-01 21:54:58 +03:00
Michael Meeks b6db3e3acc re-base on ALv2 code.
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21 13:11:06 +01:00
Matus Kukan d98ac11f39 Remove component_getImplementationEnvironment 2011-07-12 11:27:22 +02:00
Christian Lippka 6522f7374f New color picker dialog for all applications.
Replaces the old color picker with a new one.
Demo: http://www.youtube.com/watch?v=rPu6EmIxkIM
2011-05-06 17:52:11 +02:00
David Tardon e56b27252d gbuildize cui 2011-04-16 14:31:36 +02:00
Norbert Thiebaud e73dde5fb4 Finally, gut the vos module out of the build 2010-10-25 19:55:29 -05:00
Tor Lillqvist a00b455f9b Workaround for default_images symlink problem on Cygwin 2010-09-18 10:06:58 +03:00
obo cb6e6415ba CWS-TOOLING: integrate CWS fwk143 2010-06-22 11:08:42 +02:00
Thomas Lange [tl] fcfd7ac61b cws tl78: #i112304# missing help ids added 2010-06-14 12:49:00 +02:00
Carsten Driesner 61dffc0372 fwk143: #i104704# Hyperlink dialog needs its own HID to be accessible by the testtool 2010-06-11 15:48:17 +02:00
sb 87ec9c993b sb118: merged in DEV300_m72 2010-02-25 12:46:45 +01:00
Vladimir Glazunov 97412488d9 CWS-TOOLING: integrate CWS changefileheader2 2010-02-17 10:32:35 +01:00
Vladimir Glazunov 19640eccf6 CWS-TOOLING: integrate CWS cbosdo01 2010-02-16 18:29:26 +01:00
Jens-Heiner Rechtien 36de66bdf0 changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
sb 27bb69577e sb118: #i108776# changed addsym.awk to also export STLport num_put symbols, and simplified it by requiring that first section is labeled UDK_3_0_0; adapted map files accordingly, replacing many individual ones with solenv/src templates 2010-01-29 17:01:54 +01:00
Cédric Bosdonnat 3666f79fb4 cbosdo01: merge with DEV300_m69 2010-01-12 14:54:42 +01:00
Mathias Bauer 062389b010 #i107450#: build all other modules with new editeng lib 2010-01-08 18:32:51 +01:00
Mathias Bauer 06c61003fa #i107706#: liquidate goodies module 2009-12-15 21:55:40 +01:00
Mathias Bauer 053a20463d some forgotten code cleanup 2009-12-11 12:50:06 +01:00
Mathias Bauer 2622c31725 re-added HID for macro headertablistbox 2009-11-09 14:18:39 +01:00
Mathias Bauer 6bc8ffaeac lost HID 2009-11-05 12:13:18 +01:00
mb93783 af8010c794 #i106432#, #i103496#: some fixes found while building on more platforms 2009-11-04 15:39:48 +01:00
Mathias Bauer acaa9c4bff #i106421#: cleanup of help ids 2009-11-04 10:53:36 +01:00
Mathias Bauer d32b3a714f #i106421#: move svx/source/cui to cui 2009-10-31 00:36:06 +01:00