summaryrefslogtreecommitdiffstats
path: root/xmlscript
Commit message (Collapse)AuthorAgeFilesLines
* cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann2014-02-2615-370/+370
| | | | Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
* Remove visual noise from xmlscriptAlexander Wilms2014-02-261-1/+1
| | | | | | | Change-Id: Id984fe846f28eba50f0fd480dca235482d150dd9 Reviewed-on: https://gerrit.libreoffice.org/8347 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Remove unneccessary commentsAlexander Wilms2014-02-231-1/+1
| | | | | | | Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* coverity#984352 Uninitialized scalar fieldCaolán McNamara2014-02-181-0/+2
| | | | Change-Id: I871fcd02f461c798520a033217e14b3caa78876e
* fdo#54938 Convert oox, sc, vcl, svtools... to cppu::supportsServiceAlexandre Vicenzi2014-02-061-14/+8
| | | | | | | Change-Id: I6268bc57417d53b9810c81071fbcd604e2a19507 Reviewed-on: https://gerrit.libreoffice.org/7886 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
* bool improvementsStephan Bergmann2014-01-282-3/+3
| | | | Change-Id: I6caec041ce671aeeb9de86ea620774fb2e28f765
* Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann2013-12-171-2/+2
| | | | Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
* Remove unnecessary use of OUString constructor in + expressionsNoel Grandin2013-12-171-1/+1
| | | | | | | | | Convert code like aFilename = OUString::number(nFilePostfixCount) + OUString(".bmp"); to aFilename = OUString::number(nFilePostfixCount) + ".bmp"; Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50
* xmlscript: include <> for external includesNorbert Thiebaud2013-11-117-17/+17
| | | | Change-Id: I3921f93a5ec2d043ed25d7569297131c020c4e83
* gbuild: set Package default target to INSTDIRMichael Stahl2013-10-281-2/+0
| | | | Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
* fdo#54938: Adapt supportsService implementations..Marcos Paulo de Souza2013-10-222-17/+4
| | | | | | | | | to cppu::supportsService Change-Id: I0b03d3910f094f2183bf9859db9d5bcaf35d1f14 Reviewed-on: https://gerrit.libreoffice.org/6370 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* CID#1103755 unint membersCaolán McNamara2013-10-191-2/+4
| | | | Change-Id: Ic6961e3f18aed2f271f80c69d17a5c34a0c9fa8e
* sal_Bool to boolTakeshi Abe2013-09-254-13/+13
| | | | Change-Id: I390b6b0d8e1c143a0d2e8f4f0a1ec80c2924942c
* Try to fix cross-compilationTor Lillqvist2013-09-231-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
* Towards a working instdir for Mac OS XStephan Bergmann2013-09-111-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
* finish deprecation of O(U)String::valueOf()Luboš Luňák2013-08-213-17/+40
| | | | | | | Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
* Further work on the "Mac-like app structure" optionTor Lillqvist2013-08-181-1/+1
| | | | | | | Lots of stuff still either ended up in the wrong place, or was looked up from the wrong place, or both. Fix most cases. Change-Id: I06ebbce207c219f3cd82b4387dd9b3fdb83420d4
* Use subfolder names from <config_folders.h>Tor Lillqvist2013-08-181-1/+3
| | | | | | | | Change all instances of hardcoded "program", "share" etc subfolder names to use those from <config_folders.h> instead. In normal builds, the end result will not change. Change-Id: I91c95cd8e482818be67307e889ae6df887763f53
* fdo#57950: Remove some chained appends in xmlscriptJelle van der Waa2013-08-162-43/+9
| | | | | | | Change-Id: I7061f59077a75b879ad42179b839894747f5ba5b Reviewed-on: https://gerrit.libreoffice.org/5377 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
* fdo#62475 removed pointless commentsJelle van der Waa2013-08-1223-703/+125
| | | | | | | Change-Id: I13e7eedaa5f0f116bd01834fc6db576c39350163 Reviewed-on: https://gerrit.libreoffice.org/5348 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
* Adapt Dialog XML import/export codeLionel Elie Mamane2013-08-056-12/+116
| | | | | | | | | to: commit 8ee69b0ba13f74d1515fac71df92947eb6328ab1 fdo#67235 adapt form control code to time nanosecond API change, step 3. Change-Id: I57b549c9c1379154173bb50463171a60ce35ca0c
* Mark as constTakeshi Abe2013-07-221-1/+1
| | | | Change-Id: I2746b92b1360c3c181879a81f653c44ef609f351
* use static LanguageTag::convertTo...() for standalone conversionsEike Rathke2013-07-131-1/+1
| | | | | | | | If no LanguageTag instance is at hand use the static methods to convert between BCP 47 string, Locale and MS-LangID instead of creating temporary instances. Change-Id: I9597f768078eb81c840e84a5db5617f26bb7dc09
* write bcp47 format-locale if necessary and read bothEike Rathke2013-07-123-15/+24
| | | | Change-Id: I82cfdd8652d1c86b701ccb0b913928c860a360d2
* Introduce O[U]String::toUInt32Stephan Bergmann2013-06-132-2/+2
| | | | | | | | | | | | | | | ...which has become necessary since bd60d41176da540b01d7583cfe00637431967f39 "Handle oveflow in O(U)String::toInt() functions" reduces values in the range (SAL_MAX_INT32 .. SAL_MAX_UINT32] to zero, but some calls of toInt32(16) relied on getting a correct (unsigned) value for the whole input range ["0" .. "FFFFFFFF"] (see libreoffice-4-1 commit 9bf6c83367cedb7be81bf67f30d2147d26c7a8c3 "Revert overflow checks in O[U]String::toInt{32,64} again"). Audited all uses of toInt32/64 with non-decimal radix. (There is still a TODO comment in oox/source/helper/attributelist.cxx, and stoc/source/typeconv/convert.cxx will still need some love and test code.) Change-Id: Iadaca1c0e41dab553687d0ce41c20c10cd657a95
* remove unused componentcontext.hxx includesNoel Grandin2013-06-053-3/+1
| | | | Change-Id: I598926b72c5540b472f9607e2f3df134a8c50048
* fdo#46808, Convert various comphelper::ComponentContextNoel Grandin2013-06-051-4/+3
| | | | | | ..to regular XComponenContext Change-Id: I08f9092ae818db5c1e37880625b83607c860680b
* fdo#46808, Convert awt::UnoControlDialog to new styleNoel Grandin2013-05-281-14/+10
| | | | Change-Id: I9a5256c8dbacda60167403b4e26900588943a9b2
* Revert "fdo#46808, Convert awt::UnoControlDialogModel to new style"Stephan Bergmann2013-05-251-12/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 6c61b20a8d4a6dcac28801cde82a211fb7e30654. As discussed at <http://lists.freedesktop.org/archives/libreoffice/2013-May/052449.html> "Re: fdo#46808, Convert awt::UnoControlDialogModel to new style problem" why the odd change in 2e2a4827ce6708f0e8677dba9cc92e1479a44086 "scripting: get CreateUnoDialog() work again" appears to fix things again: The problem is that the implementation of the css.awt.UnoControlDialogModel involves UNO aggregation (IMPL_CREATE_INSTANCE_WITH_GEOMETRY(UnoControlDialogModel) in toolkit/soruce/helper/registerservices.cxx creating a OGeometryControlModel<UnoControlDialogModel> instance that aggregates a UnoControlDialogModel instance). That means that queryInterface can return a reference to something that is technically a different object, and that's what's happening here, and explains why calling setPropertyValue in two different ways on what logically appears to be a single object can end up calling two different implementations (of two different physical objects). (UNO aggregation is known to be broken and should not be used. Nevertheless, there's still code that does---code that is a horrible mess and hard to clean up.) That all this worked as intended in the past is just sheer luck, but any way of substantially touching it is asking for trouble. I'm going to revert 6c61b20a8d4a6dcac28801cde82a211fb7e30654 again. I wasn't able to revert without also reverting be50ad28f5bbdaeff527f646481ce263843c2401 "fdo#46808, Convert awt::XUnoControlDialog to new style," as the two were tightly dependant. Also reverts all the follow-up fixes cb4b6dde8fda2a5848e11063028bf44d72f85431 "-Werror,-Wuninitialized" (sans the const-ness fix in UpdateHandler::insertControlModel), 697a007c61b9cabceb9767fad87cd5822b300452 "Fix exception specifications," 2ce6828bbbf6ba181bb2276adeec279e74151ef6 "fix awt::UnoControlModelDialog crash," and 2e2a4827ce6708f0e8677dba9cc92e1479a44086 "scripting: get CreateUnoDialog() work again." Conflicts: basctl/source/dlged/dlged.cxx filter/source/t602/t602filter.cxx xmlscript/test/imexp.cxx Change-Id: I5d133468062f3ca36300db52fbd699be1ac72998
* fix for linkingNoel Grandin2013-05-211-0/+1
| | | | | | | caused by my commit 863d38fbfa4fb4861e476828c46410602100919e "move DBG_UNHANDLED_EXCEPTION out of line" Change-Id: Idfd84d987ba9151ba476ce0516a9e5fbdb2003ec
* fdo#46808, Clean up old usages of ExtToolkitNoel Grandin2013-05-211-1/+2
| | | | | | | | This service no longer exists in LO, and no-one seems to know what this service was, so convert it to use the awt::Toolkit service, since that service returns the interface the code expects. Change-Id: I761effbd49a9a3a15ec9c8716c72d4220a3e987e
* fdo#46808, Convert awt::XUnoControlDialog to new styleNoel Grandin2013-05-211-14/+10
| | | | Change-Id: I40d2e2ddd92186a2ba22ebfbdda8367391e8d355
* fdo#46808, Convert awt::UnoControlDialogModel to new styleNoel Grandin2013-05-211-3/+3
| | | | Change-Id: I4b912034ef3f4855b87d6d6f18ff13bd1ecc8f72
* install xmlscript DTDs using filelistDavid Tardon2013-05-041-4/+8
| | | | Change-Id: Ie773f7af8823534e9d4834733b4852cb9ad314ae
* gbuild: drop empty use_packages callsDavid Tardon2013-04-241-3/+0
| | | | | | | Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f Reviewed-on: https://gerrit.libreoffice.org/3503 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* gbuild: drop uses of removed packagesDavid Tardon2013-04-241-2/+0
| | | | | | | Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* execute move of global headersBjoern Michaelsen2013-04-238-459/+0
| | | | | | | see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
* separate inc and dtd packages in xmlscript for global header moveBjoern Michaelsen2013-04-163-7/+18
| | | | Change-Id: I3e00e33d4e684b18d4e30e115db69fbface76982
* fdo#43157 - Clean up OSL_ASSERTRadu Ioan2013-04-088-84/+67
| | | | | | | | - replaced osl_trace with sal_info - added new log areas to log-area.dox Change-Id: I41444e90a22bad7d04d3827914d4d793b3601304 Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-079-52/+45
| | | | | | | | 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
* Remove uses of rtl::OUString::compareToAscii(asciiStr, maxLength)Stephan Bergmann2013-03-201-1/+1
| | | | | | | ...which is a confusing overload with unexpectedly different semantics from the one-parameter form. In preparation of marking it as deprecated. Change-Id: I4f176995546ae583fc570d770647ffc315eecc75
* avoid Wundef for various FIXME, FEATURE_NOT_DONE_YET and what notLuboš Luňák2013-03-182-2/+2
| | | | Change-Id: I8e409ba63d32dca9a1c7f09d143165d1d702d642
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-3/+0
|
* make use of startsWith()Thomas Arnhold2013-03-081-1/+1
| | | | | | | Change-Id: Ie70097de550ddd1cddc6714f8f86f9723cb36679 Reviewed-on: https://gerrit.libreoffice.org/2599 Tested-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
* remove all d.lstMichael Stahl2013-02-281-0/+0
| | | | Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
* loplugin: unused variablesThomas Arnhold2013-02-251-1/+0
| | | | Change-Id: I07b82471f0f32e9e894d4eb392beedeafc6be0c7
* loplugin: unused variablesThomas Arnhold2013-02-241-1/+0
| | | | Change-Id: I7fc203900256839e679bf73b717d121fedc42087
* fdo#46808, Adapt document::XMLOasisBasicImporter UNO service to new styleNoel Grandin2013-02-121-6/+4
| | | | Change-Id: Ic494847cf56c7661474d2a096dccc675780c9ce1
* fdo#46808, Adapt document::XML*BasicExporter UNO services to new styleNoel Grandin2013-02-111-6/+4
| | | | | | | | The services are document::XMLBasicExporter document::XMLOasisBasicExporter Change-Id: Ifd93e5735cae94d34904d79769cdb3edf587fe43
* fdo#46808, Adapt document::GraphicObjectResolver UNO service to new styleNoel Grandin2013-01-281-9/+5
| | | | | | The services already existed, it just did not have an IDL file Change-Id: I245f78c165dbfde11a981efd7033c5c282f4e8ad