282 Commits

Author SHA1 Message Date
Maxim Monastirsky
53be223421 Convert MENU_BROWSER_DEFAULTCONTEXT to xml
Change-Id: If59ecb4ea92d9daf423aef870e79248f5bc93e6d
2017-02-01 16:44:29 +02:00
Maxim Monastirsky
420e80dfd7 Convert RID_MENU_APP_NEW to xml
Achieved by using GenericPopupToolbarController for the
associated toolbar button.

Change-Id: I406ff40e0c80d6db903de5629088d35487ab6416
2016-10-27 11:05:38 +03:00
Caolán McNamara
07f1a39509 (nearly) nothing uses GetUniqueId anymore, so remove it.
The odd one out is the usage in Formula, which attempts
to restore focus to a particular window identified by
an unique id. In this case restore focus by keeping a VclPtr
to the desired window.

Change-Id: I1dc335325c109d75745c6bba2e12662e6ae50638
2016-05-25 14:24:20 +01:00
Michael Stahl
c567c0cf44 dbaccess: replace boost::bind with C++11 lambdas
Change-Id: I468f9c7af9c8c8189c51790e0301dd8c60a9f83c
2016-05-12 11:08:25 +02:00
Jochen Nitschke
c664b27505 tdf#94306 remove unused boost dependencies
remove <boost/noncopyable.hpp> in pch and
remove boost from makefile if it was the only boost entry.

Change-Id: Icb945ae59c137571f4f63807601738eea5c3e831
Reviewed-on: https://gerrit.libreoffice.org/24061
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-04-13 19:47:09 +00:00
Stephan Bergmann
9576cf9c3f Avoid reserved identifiers
Change-Id: I15609fb6b11606d865d8817f4a63ba8816f7384e
2016-04-12 20:03:46 +02:00
Jochen Nitschke
ef97576056 tdf#97525 vcl: make DeletionListener internal
move include/vcl/impdel.hxx to vcl/inc/
include impdel.hxx in salframe.hxx
remove vcl/impdel.hxx includes in pch
add missing <list> includes

Change-Id: Id146363b2e20ce0238542929c26a83efb1e8c4bd
Reviewed-on: https://gerrit.libreoffice.org/23664
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-31 11:20:55 +00:00
Chris Sherlock
01aa78cf08 vcl: cmdevt.[hc]xx -> commandevent.[hc]xx
Change-Id: I77b30f28ae5a6fad360d7cada9acfaa9c324408b
Reviewed-on: https://gerrit.libreoffice.org/22216
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-02-08 21:41:17 +00:00
Chris Sherlock
249e3d6d19 vcl: split exception types from input types
Having them in the file apptypes.hxx isn't necessary helpful, IMO so
I've split the types into inputtypes.hxx and exceptiontypes.hxx

Change-Id: I89a1ff168c3ae276b2f5486669d4ec2dda062d57
2016-02-06 12:55:43 +11:00
Noel Grandin
98c343604d boost::hash->std::hash
Change-Id: If4d1e4071995f07212fad958b0226d5824d168f8
Reviewed-on: https://gerrit.libreoffice.org/21989
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-02 09:20:47 +00:00
Noel Grandin
5805be0b34 boost::mem_fn->std::mem_fn in dbaccess
Change-Id: I9156e106d12b670e94bab899a4f67a35701ae5ac
2016-02-01 10:13:30 +02:00
Caolán McNamara
e9a2e0460e OSL_THIS_FUNC is a rip-off of BOOST_CURRENT_FUNCTION so we can use that
as a direct drop in I guess

Change-Id: I3add63f1459f4e659019bd6db54da2f5431958ce
Reviewed-on: https://gerrit.libreoffice.org/21941
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-01-31 12:29:07 +00:00
Tor Lillqvist
a643222794 No need for a separate <vcl/graph.h>
Change-Id: I962544005b5d408f7c044a02eefe09b87d8a81fe
2015-12-11 19:11:01 +02:00
Ashod Nakashian
06116bd15b Fast PCH generator and optimized PCH files
Ported update_pch.sh to Python with improved performance
and features. The new script is invoked from the same
update_pch.sh which calls it for each library in
parallel, although it can be invoked directly.

The ported script (update_pch) updates all PCH files
in ~15 seconds where the old script took ~4500 seconds.
In addition, the new script supports 3-tiered headers
(system, module, and local) and is very flexible to
support other improvement. It has a per-library
optimal configuration settings that can be updated
using another new scripts (update_pch_autotune.sh)
which finds optimal per-PCH settings.

PCH files have been generated using the new scripts
which builds significantly faster (2-3x, depending
on module and configuration) and the intermediate
binaries are noticably smaller (by several GBs).

The new script stamps each generated PCH file with
the command that generated it to make it trivial
for users to update them, and also adds the command
to invoke another script (update_pch_bisect) that
helps find missing headers or conflicting headers
that may break the build after updating the PCH.

Finally update_pch has built-in unit-tests for
makefile parsing and other core functionality.

Change-Id: Ib933b50e50374d7e2e7e3e95ba8799b0cc8a27fa
Reviewed-on: https://gerrit.libreoffice.org/19965
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-15 20:31:35 +00:00
Stephan Bergmann
a12c083cad Some follow-up #include clean-up
Change-Id: I4e91748701becfc92a379a490c08e9c7950007e3
2015-09-18 07:51:35 +02:00
Caolán McNamara
ddc2809202 boost->std
Change-Id: Idfbcfa1e5ba7bff92e98693c33c4b33a6beda08f
2015-09-17 14:12:07 +01:00
Daniel Robertson
7339c360ef tdf92459 replace select1st/2nd in dbaccess
Replace all uses of deprecated features in the o3tl with lambda
expressions in dbaccess.

Change-Id: I865bb5db5257e985a0eed0110874d6b29892fcfb
Reviewed-on: https://gerrit.libreoffice.org/17483
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-03 06:48:14 +00:00
Takeshi Abe
0980095619 Replace boost::scoped_array<T> with std::unique_ptr<T[]>
This may reduce some degree of dependency on boost.
Done by running a script like:

git grep -l '#include  *.boost/scoped_array.hpp.' \
 | xargs sed -i -e 's@#include  *.boost/scoped_array.hpp.@#include <memory>@'
git grep -l '\(boost::\)\?scoped_array<\([^<>]*\)>' \
 | xargs sed -i -e 's/\(boost::\)\?scoped_array<\([^<>]*\)>/std::unique_ptr<\2[]>/'

... and then killing duplicate or unnecessary includes,
while changing manually
m_xOutlineStylesCandidates in xmloff/source/text/txtimp.cxx,
extensions/source/ole/unoconversionutilities.hxx, and
extensions/source/ole/oleobjw.cxx.

Change-Id: I3955ed3ad99b94499a7bd0e6e3a09078771f9bfd
Reviewed-on: https://gerrit.libreoffice.org/16289
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-06-17 15:50:45 +00:00
Ashod Nakashian
de68bb8514 Updated all precompiled headers.
Change-Id: I955c8ac4dbe002d23531df7eb10fb4444d6b5157
Reviewed-on: https://gerrit.libreoffice.org/14292
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-05 10:46:33 +00:00
Noel Grandin
45ec1d9b56 brute-force find-and-remove of unused #define constants.
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
2015-01-08 10:39:36 +02:00
Caolán McNamara
fd1372ba8b boost::unordered_map->std::unordered_map
you can get debug stl this way

Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
2015-01-02 16:14:36 +00:00
Caolán McNamara
10bae418f8 convert user details page to .ui
Change-Id: Id8ad4a013fb5049452bbad502da828db94ce7d47
2014-08-15 10:58:31 +01:00
Thomas Arnhold
7cc627ff79 update_pch
Change-Id: Ic1dae7aac2f4367b4196ba3128c0aea9be1fbbda
2014-08-13 10:10:33 +02:00
Caolán McNamara
55a639f6b3 convert backup page to .ui
Change-Id: Id9a90001153fdaad51a00b68f38b1298195c5646
2014-07-21 17:10:37 +01:00
Caolán McNamara
263039f30b drop unused helpid
Change-Id: I609d1de30ad6e99f664d0a0fb853ea06a581e85e
2014-07-02 09:53:31 +01:00
Caolán McNamara
0dc13e9c06 tweak things to allow switching between small and large toolbar icons
Change-Id: Ife4da4c6f4acc3b3f9fde18cdfc09635cf9b6776
2014-06-10 13:23:35 +01:00
Thomas Arnhold
13b2519800 update_pch: add a bunch of pch files
connectivity: 3m52s ->  2m47s
 cppcanvas:      28s ->    13s
 cppuhelper:     20s ->    14s
 dbaccess:     2m38s ->  2m01s
 hwpfilter:      16s ->    13s
 sot:            21s ->    16s

Change-Id: I49286bfe6be73dd1b861be632b95e17a99e82f8a
2014-06-04 21:18:40 +02:00
Thomas Arnhold
3db8d606d5 hrc and src files: squeeze multiple newlines
for i in `find . -name *.src -or -name *.hrc`; do FILE=$(cat -s "$i"); echo "$FILE" > "$i"; done

Change-Id: I2bac5ad3e1eb3c566e5c867ccf45893a19e1561e
2014-05-19 20:04:22 +02:00
Caolán McNamara
9959534635 convert copy table page to .ui
Change-Id: Id537486dcaf0d3c6ab850a9fb50cef3d995ad51f
2014-05-13 13:39:26 +01:00
Thomas Arnhold
35e9897aec update_pch: add dba
3m32s -> 2m43s

Change-Id: I67f3d05fad90ca06754e8305387171f52b3d7095
2014-05-11 01:55:42 +02:00
Caolán McNamara
ad26e7b2ed convert apply columns page to .ui format
Change-Id: I14f12809d2e78a184ed53d6d9cee81d5f4e79ae6
2014-05-09 16:29:14 +01:00
Thomas Arnhold
702f9c5176 huge hrc and src file cleanup
* mostly fallout from ui conversion
* some completely unused defines from src files
* lots of unused HID ids

Change-Id: I976561205798db3d06ee139de6223f638e58f47a
Reviewed-on: https://gerrit.libreoffice.org/9142
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
2014-04-23 22:49:57 +00:00
Thomas Arnhold
8f7a1111ab update_pch
Change-Id: I099bff66a7796a5cf18e37e445467bdfb33de602
2014-04-14 20:21:10 +02:00
Caolán McNamara
a9dc79b35d convert sql exception dialog to .ui
Change-Id: I57878f8c9fcae09e3904c4e316ffa6277625b960
2014-04-01 13:10:50 +01:00
Caolán McNamara
6dae22bd43 convert user admin password dialog to .ui
Change-Id: Ia94c3b27b80d8c58e287ae588a5f6a40fb64fa38
2014-04-01 12:29:45 +01:00
Caolán McNamara
dca7bd06ca convert relation dialog to .ui format
Change-Id: I5c3fce06cbcd9ce46e85f66fb06369155d514efe
2014-03-13 16:24:15 +00:00
Caolán McNamara
07579ec100 convert query join dialog to .ui format
Change-Id: I1de2bb1d171e23a42834e20040ade92822901876
2014-03-13 16:24:15 +00:00
Caolán McNamara
5667ca1417 convert add relationships dialog to .ui
Change-Id: I984ff7e4fca6e7cd3529e921383bca4e6f2a464e
2014-02-10 16:09:26 +00:00
Caolán McNamara
24a00c43c2 convert database save as dialog to .ui
Change-Id: Ifc8d43930ecbd3ccd67147cd891260555976dc0d
2014-02-04 12:01:20 +00:00
Caolán McNamara
be88126e80 convert query filter dialog to .ui
Change-Id: I53cbe7e73ad68d478f9dece990c3b87ce55f5f34
2014-02-04 09:20:59 +00:00
Matúš Kukan
19e16083c6 Introduce com.sun.star.ui.theModuleUIConfigurationManagerSupplier singleton.
Change-Id: I7b503e5d49865c9ff287bf72eaff1995ce871790
2014-01-30 10:48:25 +01:00
Caolán McNamara
2bf00a5738 convert user admin dialog to .ui
Change-Id: Iee1a8b5f1fac024fb5983063f032b344e5814fbc
2014-01-29 14:44:20 +00:00
Caolán McNamara
17c97fb837 convert generated values page to .ui
Change-Id: I1193183c593f316550799dd20d8350b86e761436
2014-01-29 14:11:40 +00:00
Caolán McNamara
6459d7beb1 convert special settings page to .ui
Change-Id: Ic69f35f4bd6c27bffa407c6d6c5046c66ca1173a
2014-01-29 13:37:58 +00:00
Caolán McNamara
744c6ac9ae convert database properties dialog .to ui
Change-Id: I63c046f1637248e274698dbe13130124669e0712
2014-01-29 10:57:21 +00:00
Matúš Kukan
ba8413d262 Introduce com.sun.star.frame.theUICommandDescription singleton.
Change-Id: Ic88cca3722d555ba48d7da8c176556fa1ff90650
2014-01-28 18:52:22 +01:00
Caolán McNamara
800857bcbb convert dbwizard final page to .ui
Change-Id: Ib31810170574e46b84a9847b25585fee791d630d
2014-01-24 11:05:46 +00:00
Caolán McNamara
5c72a213c7 convert table filter page to .ui
Change-Id: I7bfb7698e2a5303b492766fba564c7b9033bcc52
2014-01-21 14:55:46 +00:00
Caolán McNamara
85f1c4a2cb convert advanced db settings dialog to .ui format
Change-Id: Ia3152b7cc5edd89f37c78841e10bb5feacc6fc12
2014-01-20 16:38:42 +00:00
Caolán McNamara
e976829658 convert sort options dialog to .ui
Change-Id: Ic110c6d2fb1f1fc28344c119eaa1b61d0ba81e6b
2014-01-09 09:29:35 +00:00