summaryrefslogtreecommitdiff
path: root/padmin
AgeCommit message (Collapse)AuthorFilesLines
2013-11-11convert OUString compareToAscii == 0 to equalsAsciiNoel Grandin1-1/+1
Convert code like aStr.compareToAscii("XXX") == 0 to aStr.equalsAscii("XXX") which is both easier to read and faster. Change-Id: I448abf58f2fa0e7715dba53f8e8825ca0587c83f
2013-11-11convert OUString !compareToAscii to equalsAsciiNoel Grandin1-1/+1
Convert code like if( ! aStr.compareToAscii("XXX") ) to if( aStr.equalsAscii("XXX") ) which is both clearer and faster. Change-Id: I267511bccab52f5225b291acbfa4e388b5a5302b
2013-11-11convert OUString 0==compareToAscii to equalsAsciiNoel Grandin1-1/+1
Convert code like: 0 == aStr.compareToAscii("XXX") to aStr.equalsAscii("XXX") which is both clearer and faster. Change-Id: I2e906d7d38494db38eb292702fadb781b1251e07
2013-11-11remove unnecessary use of OUString constructorNoel Grandin1-6/+6
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-10-28gbuild: set Package default target to INSTDIRMichael Stahl1-2/+0
Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist1-1/+1
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-20drop unnecessary tools/string includesCaolán McNamara2-2/+2
Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
2013-10-01convert padmin module from String to OUStringNoel Grandin15-135/+135
Change-Id: I1533ceef08ac3e330604115e0831fb01477aa958
2013-09-30Related: fdo#38838 remove UniString::SearchAsciiCaolán McNamara1-3/+4
Change-Id: Icb7850aaabe59f96ea26a665a8d25617b2741d68
2013-09-27Related: fdo#38838 remove UniString::SearchBackwardCaolán McNamara4-9/+10
Change-Id: Ia474ee07b1bd411eae8cd1ddd55c4fa83dbd5f47
2013-09-25Start hacking --enable-canonical-installation-tree-structure back into shapeTor Lillqvist1-1/+1
Had been totaly broken by the recent changes. (Which is fine, it is just an experimental hack anyway, I am not sure whether it will ever be used in anger. Just a pet peeve of mine, I dislike seeing libraries, configuration files, resources etc mixed together in one "program" folder, especially on OS X, where the convention is to have app-specific dylibs and frameworks in "Frameworks", and resource files in "Resources". But this is not any requirement as such; there are apps in the Mac App Store that blatantly "break" this convention.) Basically, replace uses of gb_PROGRAMDIRNAME and gb_Package_PROGRAMDIRNAME with more specific LIBO_FOO_FOLDER, which for normal builds all expand to the same "program" anyway. Change-Id: I16c2b3351caa00e251e229aafbccb8346042d3c1
2013-09-25Related: fdo#38838 remove UniString::EqualsIgnoreCaseAsciiCaolán McNamara1-2/+2
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
2013-09-23Try to fix cross-compilationTor Lillqvist1-1/+1
Add more FOO_FOR_BUILD variables and some gb_Foo_for_build functions. Get rid of gb_INSTROOT and gb_DEVINSTALLROOT, just use INSTROOT. Change-Id: Iee531b02d14fae41edb68ad589a5dec829a60255
2013-09-11Towards a working instdir for Mac OS XStephan Bergmann1-1/+1
Introduced gb_INSTROOT, which is the same as $(INSTDIR) except for Mac OS X, where it is $(INSTDIR)/LibreOffice.app/Contents. Most stuff ends up there (so most occurrences of $(INSTDIR) have been replaced with $(gb_INSTROOT)), but SDK- related stuff goes to $(INSTDIR)/$(gb_Package_SDKDIRNAME). (And GeneratedPackage needed to be made more flexible, to allow for packages that go into either of those two places.) For Android and iOS, gb_INSTROOT probably still needs to be set. The most obvious missing thing yet to make instdir work for Mac OS X is the instdir/*/LibreOffice.app/Contents/ure/ vs. instdir/*/LibreOffice.app/Contents/ure-link/ split. Change-Id: I4478edd27b14c92c96d92d5169bdca3ec50d78f5
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák3-6/+6
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-12convert vcl/ppdparser.hxx from String to OUStringNoel Grandin2-5/+5
Change-Id: I8a95a98e5cc92e5bedb4813411afc86cc438fdad
2013-08-12XubString->OUStringCaolán McNamara1-8/+8
Change-Id: I04c7da143425a9d8cc4fae155ad45a469df953c1
2013-06-28always call setDeferredProperties for dialog get/set titleCaolán McNamara1-2/+0
Change-Id: I57f9cc8fbdb9d2a304c346e03893fa55d6a61bd5
2013-05-29fdo#60724 change spelling error REMOVEABLE -> REMOVABLE IIThomas Arnhold3-3/+3
Change-Id: I0057b9174af6a83f3fde0e27c3a91a4aeca95873 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-05-22AppendAscii cleanupRicardo Montania1-2/+6
Change-Id: I7398272de0bd340ebfb5f31b314d32fcff007eec Reviewed-on: https://gerrit.libreoffice.org/3974 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-05-17add some bordersCaolán McNamara1-2/+2
Change-Id: I54660a200b76fbc9e7fc2ad1d7a595b8f8eb8b6a
2013-05-16replace %s in printer settings dialog with printernameCaolán McNamara1-13/+9
Change-Id: I9594d929316b917b47b40324e3e6666043ddc1fe
2013-05-16Remove code associated with psprint::CompatMetricOverride serviceNoel Grandin1-1/+1
We don't actually have any implementations of this service. This service was introduced by commit 01cf481111436df2cc3f01d1c57cc4348fc037ef Author: Kurt Zenker <kz@openoffice.org> Date: Wed Jun 20 09:07:44 2007 +0000 INTEGRATION: CWS compmetric (1.77.2); FILE MERGED 2007/05/09 16:27:46 pl 1.77.2.2: #146890# algorithm is needed 2007/05/09 12:13:59 pl 1.77.2.1: #146890# backwards compatibility service for metrics Michael Stahl seems to think it was a Sun-internal hack introduced for a specific customer. Change-Id: I1b27778f827504c2adb0e27e8d7c0f0dedcaf940 Reviewed-on: https://gerrit.libreoffice.org/3824 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-05-15String.AppendAscii DropRicardo Montania4-18/+12
Signed-off-by: Luboš Luňák <l.lunak@suse.cz> https://gerrit.libreoffice.org/#/c/3892/ Change-Id: I12175a81f0a74546b5e00633176f204b9a3fb35c
2013-05-10More gb_PROGRAMDIRNAME clean upStephan Bergmann1-1/+1
Change-Id: I5af86e15bcb8958a680e7309f13d7a865f29d7a9
2013-05-07officecfg: remove Package_cppheaderMichael Stahl1-1/+4
Instead include generated headers directly from workdir. Change-Id: I9d2bcc07175d2bbc16d3cc548c2245e7a4fb0c65
2013-04-23padmin: let Package deliver to $INSTDIRMichael Stahl2-3/+6
Change-Id: I824179f2040df917544c253712eb3afe19ec9fb1
2013-04-11rename UI to UIConfigDavid Tardon2-3/+3
I plan to use it to deliver all */uiconfig files, not just .ui, as a preliminary step to get rid of postprocess/packconfig. Change-Id: Ie7b4434b2f247165e3ab69a4d0c193418720a149 Reviewed-on: https://gerrit.libreoffice.org/3225 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák12-76/+63
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-05new module i18nlangtagEike Rathke2-2/+2
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-03-29ResMgr with LanguageTagEike Rathke1-8/+4
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
2013-03-28Remove RTL_CONSTASCII_(U)STRINGPARAM in padminChr. Rossmanith3-24/+20
Change-Id: Icdf78be74a1ce82de50772e9424dbc172f355484
2013-03-27-Wunused-macrosStephan Bergmann1-2/+0
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-19further OUString cleanupThomas Arnhold1-1/+1
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold1-1/+1
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-15various .ui fixes caught by linter toolJack Leigh2-0/+2
Change-Id: Ic92ddc9550b33358a3bb0458b31a23f2c32fd46f Reviewed-on: https://gerrit.libreoffice.org/2763 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-03-15various efforts to consistently apply HIG rulesCaolán McNamara1-6/+2
Change-Id: I786227d89cc441990d6bdce0acf872a73be51a7c
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks1-3/+0
2013-03-14fix the non-intuitive OUString::replaceFirst() usageLuboš Luňák1-10/+10
Change-Id: I98ffe293dbdc900f702d63ee3d3d58dec27b9f7e
2013-03-12Len() != isEmpty()Caolán McNamara1-1/+1
Change-Id: I249c0cd072c51c07fddac730791468952a0757af
2013-03-12Len() != isEmpty()Caolán McNamara1-4/+4
Change-Id: Ia8ba54ec3a99e7d72a6c97fa4082f9e605b6575c
2013-03-12Len() != isEmpty()Caolán McNamara1-1/+1
Change-Id: I42151d1f406ad43fae3c720c5c2663789a23cf8e
2013-03-12Len() != isEmpty()Caolán McNamara1-2/+2
Change-Id: I56e29f20b4c4eaf73b98c1190040629ca36066e4
2013-03-12fdo#38838: Replaced some String with OUStringelixir6-100/+95
Change-Id: I1a5f4acb22db42173f4489655f5e702c4cee7c1c Reviewed-on: https://gerrit.libreoffice.org/2675 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-11use startsWith() instead of compareToAscii()Thomas Arnhold3-11/+11
brain damage... Change-Id: I4dc63c7346f724eded9ac7b82cda25c2bb60beff
2013-03-08fdo#60691 add modelines to *.src and *.hrc filesBorim4-0/+12
use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
2013-03-06fdo#60148 Clean up warnings from the Clang compiler pluginnccuong1-2/+0
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671 loplugin: clean warnings: unused variables, incorrect indentation and log area. Reviewed-on: https://gerrit.libreoffice.org/2544 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-03-04doubled includesThomas Arnhold1-2/+0
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
2013-02-28remove all d.lstMichael Stahl1-0/+0
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-01-26gbuild: remove various pointless calls that don't add anythingMichael Stahl1-4/+0
Change-Id: I7eccac4fa8890c2873c6bbd7f8f5bf5b0dd006d2