summaryrefslogtreecommitdiff
path: root/rsc/source/rscpp/cppdef.h
AgeCommit message (Collapse)AuthorFilesLines
2017-07-21migrate to boost::gettextCaolán McNamara1-178/+0
* 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
2017-06-26Translate German comments and debug strings (leftovers in r... dirs)Johnny_M1-2/+4
Translates all (leftovers) found using a custom regex, in directories not shown by /bin/find-german-comments and beginning with "r". Additionally: - Translates test strings in /registry/test/testregcpp.cxx Change-Id: I9fda72a3d1830268c4eb83d67ee7a95e38c31c0d Reviewed-on: https://gerrit.libreoffice.org/39210 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-05-01rsc - remove obsolete FILE_LOCAL macros.erdemdemirkapi1-9/+0
Change-Id: I92c19459646eaceffe87ef0f002c988595f221c5 Reviewed-on: https://gerrit.libreoffice.org/24549 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2014-10-04we really do not care about ebcdic do we ?Norbert Thiebaud1-4/+0
Change-Id: I1a2d8628fc2b1fe21e77019f12dc2a8adab877ed
2014-09-19rsc: remove support for DECUSNoel Grandin1-4/+0
and consequently unused define "nomacargs" Change-Id: Ica5da9cf03ad63bf07b3385995ebf420ffb28089
2014-09-19rsc: remove unused OLD_PREPROCESSORNoel Grandin1-66/+0
and consequently unused OK_DOLLAR OK_CONCAT COMMENT_INVISIBLE STRING_FORMAL Change-Id: I801b98be8a2fc04b7568fabff9aad486356a69c9
2014-09-19rsc: remove VAX supportNoel Grandin1-7/+0
Change-Id: Ib3928c5f26d191d5ba184599edaa2e08668b16f5
2014-09-19rsc: remove PDP supportNoel Grandin1-3/+0
Change-Id: I06ad5702aed280bc1e19743246167e1d6fd1af95
2014-09-19rsc: remove 68000 supportNoel Grandin1-11/+0
Change-Id: Ib72dc8800bbc91905445d838657e50dfcc021b40
2014-09-19rsc: remove ONYX supportNoel Grandin1-6/+0
Change-Id: Ia6707ec17bf46b582dc344541857324976408833
2014-09-19rsc: remove LATTICE supportNoel Grandin1-10/+0
Change-Id: I904a6ec522ae4a97eefebf1f1ec6554e8e66747d
2014-09-19rsc: remove RT11 supportNoel Grandin1-10/+0
Change-Id: I9e9899c330868eb51b717d49ea901f15005692db
2014-09-19rsc: remove RSX supportNoel Grandin1-11/+0
Change-Id: I8b4e33ef6dd0c8e3af17fc358feab655e263de0f
2014-09-19rsc: remove VMS supportNoel Grandin1-12/+1
Change-Id: I20e8cc7014c140b6e7996ac51fc2d4c8030e2264
2014-06-06fixincludeguards: fix include guardsThomas Arnhold1-0/+5
Change-Id: Ie6e8d4272b0b1d0d2ce93bcbc2e818a9eac1a56b Reviewed-on: https://gerrit.libreoffice.org/9629 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2012-06-25re-base on ALv2 code.Michael Meeks1-23/+14
2011-11-25BIG_ENDIAN was never setFrançois Tigeot1-11/+0
Remove its conditional code
2011-03-11Some cleaningThomas Arnhold1-7/+2
2010-10-28add modelines to .h and .c files as wellCaolán McNamara1-0/+2
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien1-4/+1
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2008-04-11INTEGRATION: CWS changefileheader (1.8.68); FILE MERGEDRüdiger Timm1-23/+18
2008/03/31 13:16:00 rt 1.8.68.1: #i87441# Change license header to LPGL v3.
2006-07-20INTEGRATION: CWS localisation13 (1.7.36); FILE MERGEDKurt Zenker1-3/+3
2006/07/11 12:25:59 ihi 1.7.36.1: #i67223# rscpp dies caused by too small token buffer
2005-09-08INTEGRATION: CWS ooo19126 (1.6.10); FILE MERGEDRüdiger Timm1-47/+21
2005/09/05 18:47:02 rt 1.6.10.1: #i54170# Change license header: remove SISSL
2005-06-30#i51392# buffer size overflow caused by huge define blocksIvo Hinkelmann1-3/+3
2003-04-15INTEGRATION: CWS dbgmacros1 (1.3.2.1.12); FILE MERGEDVladimir Glazounov1-14/+2
2003/04/09 12:06:51 kso 1.3.2.1.12.1: #108413# - debug macro unification.
2003-03-26MWS_SRX644: migrate branch mws_srx644 -> HEADJens-Heiner Rechtien1-6/+2
2002-11-01#104536# allow longer macro namesPhilipp Lohmann1-3/+3
2001-06-28Enhanced buffer for macro expansion #87136#Nils Fuhrmann1-3/+3
2001-04-18Moved from rscpp to rscNils Fuhrmann1-0/+396