summaryrefslogtreecommitdiffstats
path: root/formula/Library_for.mk
Commit message (Collapse)AuthorAgeFilesLines
* normalize resource locale ctor construction mechanismsCaolán McNamara2017-08-021-1/+0
| | | | | | | | | | | | make them all the same and share std::locales more various OModuleClient, etc, classes go away Change-Id: I7e3ff01a69332eeacd22e3078f66a60318de62d5 Reviewed-on: https://gerrit.libreoffice.org/40634 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* migrate to boost::gettextCaolán McNamara2017-07-211-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * all .ui files go from <interface> to <interface domain="MODULE"> e.g. vcl * all .src files go away and the english source strings folded into the .hrc as NC_("context", "source string") * ResMgr is dropped in favour of std::locale imbued by boost::locale::generator pointed at matching MODULE .mo files * UIConfig translations are folded into the module .mo, so e.g. UIConfig_cui goes from l10n target to normal one, so the res/lang.zips of UI files go away * translation via Translation::get(hrc-define-key, imbued-std::locale) * python can now be translated with its inbuilt gettext support (we keep the name strings.hrc there to keep finding the .hrc file uniform) so magic numbers can go away there * java and starbasic components can be translated via the pre-existing css.resource.StringResourceWithLocation mechanism * en-US res files go away, their strings are now the .hrc keys in the source code * remaining .res files are replaced by .mo files * in .res/.ui-lang-zip files, the old scheme missing translations of strings results in inserting the english original so something can be found, now the standard fallback of using the english original from the source key is used, so partial translations shrink dramatically in size * extract .hrc strings with hrcex which backs onto xgettext -C --add-comments --keyword=NC_:1c,2 --from-code=UTF-8 --no-wrap * extract .ui strings with uiex which backs onto xgettext --add-comments --no-wrap * qtz for gettext translations is generated at runtime as ascii-ified crc32 of content + "|" + msgid * [API CHANGE] remove deprecated binary .res resouce loader related uno apis com::sun::star::resource::OfficeResourceLoader com::sun::star::resource::XResourceBundleLoader com::sun::star::resource::XResourceBundle when translating strings via uno apis com.sun.star.resource.StringResourceWithLocation can continue to be used Change-Id: Ia2594a2672b7301d9c3421fdf31b6cfe7f3f8d0a
* gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky2017-04-211-1/+0
| | | | | | | | | Uwinapi is discontinued. Change-Id: I063b4d0d8fab2d60de168e960a63b8181158ac01 Reviewed-on: https://gerrit.libreoffice.org/23198 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
* add a SAL_RAND_REPEATABLE for repeatable random numsCaolán McNamara2015-07-101-1/+0
| | | | | | merge the formula and comphelper ones together Change-Id: I2e7e2cdb176afc6982e384fa1e007da5b914e6f0
* Make the RAND() and RANDBETWEEN() Calc functions non-random when requestedTor Lillqvist2015-01-201-0/+1
| | | | | | | | | | | | | | | We don't want such a mode to affect other uses of randomness, though. Thus use a separate random number generator object for these two functions, and use a fixed seed for it if the SC_RAND_REPEATABLE environment variable is set. As RAND() is implemented in sc, and RANDBETWEEN() is implemented in scaddins, it was a bit hard to figure out where to add the new functions needed, without having to over-engineer things with UNO. (This functionality is totally Calc-specific, but neither sc nor scaddins has any public (non-UNO) API.) Caolan suggested the formula module, which seems like a good enough place to me. Change-Id: I4b0cb327392e51a18bce28478af91b0174d6b726
* Make some methods non-inline, and hide #include <tools/debug.hxx>.Kohei Yoshida2014-11-251-0/+1
| | | | | | This header is also included all over sc. Change-Id: I4b8092c83a40bdeefd0781046125746ca8d35c9a
* gbuild: add gb_Library_use_restargetMichael Stahl2013-09-221-2/+1
| | | | Change-Id: Ic0a2fd3c1adeb55ec27f6a2eb4709be598120fba
* Initial cut on vector formula ref tokens. Not used yet.Kohei Yoshida2013-04-301-0/+1
| | | | Change-Id: I4b28c269759bc01bfc94cfdd6a1c651d03d829c7
* 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-1/+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>
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-221-22/+4
|
* new module i18nlangtagEike Rathke2013-04-051-1/+1
| | | | | | | | | | | 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
* gbuild: do not copy boost headers aroundMichael Stahl2013-01-261-0/+2
| | | | | | | | | - do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
* AllSettings with LanguageTagEike Rathke2012-11-221-0/+1
| | | | Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
* gbuild: invert handling of standard system libraries:Michael Stahl2012-09-281-2/+0
| | | | | | | Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
* gbuild: replace direct gb_STDLIBS use with ...Michael Stahl2012-09-281-1/+2
| | | | | | ... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
* gbuild: split uwinapi out of gb_STDLIBSMichael Stahl2012-09-281-0/+1
| | | | Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
* add more runtime deps on resource files for unit-testsMatúš Kukan2012-08-211-0/+4
| | | | Change-Id: Id9bbb2bbcafe335eada3f36ae103a9074a56848f
* targetted improvement of UNO API includes / usageMichael Meeks2012-07-021-4/+1
|
* LinkTarget.mk: remove gb_LinkTarget_add_package_headersMichael Stahl2012-04-081-1/+1
|
* gbuild: "use" vs. "add":Michael Stahl2012-04-081-2/+2
| | | | | | | | | Naming convention for gbuild methods: - "add" is used for stuff that is logically a part of the target (i.e. not registered at the Module, but defined in the target's makefile) - "use" is used for stuff that is logically a different target (i.e. it is registered at the Module, has it's own makefile, may be in a different module than the target)
* gbuild: get rid of realpath in gb_Foo_set_includeMatúš Kukan2012-03-101-1/+1
|
* fdo#39491 -I$(OUTDIR)/inc is set in SOLARINCMatúš Kukan2012-02-101-1/+0
|
* normalize Red Hat, Inc. spellings, and bump to latest templateCaolán McNamara2011-12-061-5/+4
|
* remove pch from the include listNorbert Thiebaud2011-11-271-1/+0
|
* remove pre-compiled header support in gbuild and gbuildified moduleNorbert Thiebaud2011-11-271-2/+0
|
* prefer makefile-gmake-mode to plain makefile-modeTakeshi Abe2011-08-101-1/+1
|
* Add consistent Emacs and vim mode linesTor Lillqvist2011-07-301-1/+2
|
* resyncing to masterBjoern Michaelsen2011-07-211-1/+5
|\
| * remove all traces of offuh from makefilesDavid Tardon2011-06-171-1/+5
| |
* | gnumake4: postmerge fixes in formulaBjoern Michaelsen2011-06-211-2/+1
|/
* gbuildize formulaDavid Tardon2011-04-211-0/+72