summaryrefslogtreecommitdiff
path: root/solenv/qa
ModeNameSize
d---------python78logplain
3' class='logmsg'> * 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-26loplugin:oncevar in sfx2Noel Grandin Change-Id: I9aadcb9a12ef9b0c3f93ea255f2542e51d31fbf7 Reviewed-on: https://gerrit.libreoffice.org/39242 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> 2017-04-26remove sfx2 bitmaps from .src filesCaolán McNamara Change-Id: Ibc4261af5f479badd281211e467d2c7b524af3f3 2017-03-31tdf#82580 tools: rename Rectangle to tools::RectangleMiklos Vajna Mostly generated using make check COMPILER_EXTERNAL_TOOL=1 CCACHE_PREFIX=clang-rename-wrapper RENAME_ARGS="-qualified-name=Rectangle -new-name=tools::Rectangle" Except some modules have their own foo::tools namespace, so there have to use ::tools::Rectangle. This commit just moves the class from the global namespace, it does not update pre/postwin.h yet. Change-Id: I42b2de3c6f769fcf28cfe086f98eb31e42a305f2 Reviewed-on: https://gerrit.libreoffice.org/35923 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org> 2017-02-28new loplugin unoanyNoel Grandin Change-Id: I5d6c4a67cb2a09e7cd5bd620c6b262d188701b89 Reviewed-on: https://gerrit.libreoffice.org/34714 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2017-01-19sfx2: load BitmapEx resources instead of Image onesCaolán McNamara Change-Id: I9c5a0f1b23eadf15fee3ff78e5061474214fcc35 2016-12-05convert FSysStyle to o3tl::typed_flagsNoel Grandin Change-Id: I58a63a0e6f619442f21827064644ecd8ca57b8ff 2016-12-05convert DecodeMechanism to scoped enumNoel Grandin Change-Id: I5c56634b1bca8e37fa73d02d2428645301b6c547 2016-10-07sfx2: resolve "enum ApplicationType" conflict...Michael Stahl ... with windows.h by putting our enum into a namespace, and while we're at it convert it to enum class etc. Change-Id: I804cd82565e77e6ab9a9d3a529f1ea43379fe0be 2016-07-05Template Manager: Merge local view and abstract viewAkshay Deep Change-Id: I789ca15f04d27c1fe1422ff1a81746004b627977 Reviewed-on: https://gerrit.libreoffice.org/26890 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> 2016-05-31Remove inline renaming of title in ThumbnailViewItemAkshay Deep Change-Id: I8fa2cae3390dd1576aab531bc826b8bb5985eaf9 Reviewed-on: https://gerrit.libreoffice.org/25645 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> 2016-05-04tdf#82160 Reset mouse pointer if doc loading failedMaxim Monastirsky Change-Id: Ib05226345c4b83d9190839de5cc04068ce1879d8 2016-02-05Fix typosAndrea Gelmini Change-Id: Ice72f8d9971e15dd6ef365e64cd567b8581a92d3 Reviewed-on: https://gerrit.libreoffice.org/21797 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> 2015-12-11tdf#69977: uno::Sequence is expensiveNoel Grandin when used as a mutable data-structure. Plain std::vector halves the time taken to display the chart dialog Create a class to represent the std::vector we are going to be passing around, and move some of the utility methods into it to make the code prettier. Also create an optimised append(&&) method for the common case of appending small temporaries. Change-Id: I7f5b43fb4a8a84e40e6a52fcb7e9f974091b4485 2015-12-07tdf#74834 Expert Configuration option to disable thumbnails in StartCenterPierre Sauter If Office::Common::History::RecentDocsThumbnail is set to false, no new thumbnails will be created and stored to registrymodifications.xcu. Existing thumbnails in registrymodifications.xcu or the documents will not be read and displayed. Change-Id: If9527aa0d336a6b77b4c9bb0cc09143ffa1725d8 Reviewed-on: https://gerrit.libreoffice.org/20338 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> 2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann Change-Id: I7213b49b09ddcb00841aa5f63343baeab0e65fa4 2015-11-05use uno::Reference::set method instead of assignmentNoel Grandin Change-Id: Id9e7621ca7170d6cc80d8ce14f155ce564691ec0 2015-05-25Audit all PostUserEvent calls and instrument for VclPtr.Michael Meeks Hold a reference on the VclPtr while we're waiting for the UserEvent. Change-Id: I55c2671ca12eb14761c6a7dffd551af71547ecbd 2015-05-22convert POINTER constants to scoped enumNoel Grandin Change-Id: Iea29ce5fd6c620535197d3ca8538335078430e19 Reviewed-on: https://gerrit.libreoffice.org/15825 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com> 2015-04-29Remove unnecessary STATIC_LINK macroStephan Bergmann Change-Id: I4788824667c8e0d1d4e0717b7ae7737bb0fd2c90 2015-04-02Change INetProtocol enumerators to CamelCaseStephan Bergmann ...to avoid clashes with macros and poor warnings about hiding global FILE Change-Id: I444e8b958f029201b228937e088efabc4b6d3050 2015-04-02Change INetProtocol to scoped enumerationStephan Bergmann ...and fix o3tl::enumarray::operator [] const overload Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b 2015-01-16Provide thumbnail size via constructor for RecentDocsViewItemTomaž Vajngerl Change-Id: Ic206ebff28683da2b1daf23039820c2184788595 2014-11-17fdo#85478 Avoid destroying bitmaps after VCL is shut downMatthew J. Francis Change-Id: I1ece738e7f60b6bbbdc802339f8b9deec9396e1b Reviewed-on: https://gerrit.libreoffice.org/12469 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2014-05-14Revert "startcenter: react on mouse down instead"Maxim Monastirsky This reverts commit 1a2a961c1e7cdef648c28e211433e8de6e8a831b. As suggested by Kendy, opening with a single click by mouse up is more natural. We need to find a better solution for the bug mentioned in the above commit. 2014-05-05startcenter: react on mouse down insteadMaxim Monastirsky There is a good reason for that: File lists of some file pickers handle double click event on mouse down. So if a start center thumbnail is exactly behind the file on which the user double- clicked, it will receive the mouse up event, and will also open. Change-Id: I9fc9ceff0874d0486d5b568c9b35143c8d8aabf8 2014-04-27Fix one more ambiguity errorZolnai Tamás Change-Id: I123f536b4dcfd34932d639ebe287ef993b90fddb 2014-04-27Fix ambiguity errorZolnai Tamás Change-Id: I228393b1e41d5f7d6dc0e24e0bbc21a46952287d 2014-04-27startcenter: Add possibility to selectively remove recent documents.Jan Holesovsky Change-Id: Id0c20de6dc3375e64dd3dbef34dcd6eb77f02340 2014-02-04startcenter: fdo#72469: Thumbnails also for other file types than ODF.Jan Holesovsky Change-Id: If905b2f3e51adf7e64df9385ede74368acd11771 2014-01-10fdo#72947 Startcenter: handle file urls and non-file urls on a different wayZolnai Tamás Thanks Stephan Bergmann for the idea. Change-Id: Ifdde1b7eaaefd30a176c47385bc9bfec48d5b86c 2014-01-10fdo#72947 Startcenter: display more userfriendly file urls in tooltipsZolnai Tamás Use INetURLObject to get a readable url (it displayes special characters too). It is a side effect that 'file:///' prefix disappear which seems a good thing. Plus some cleanup: remove second INetURLObject. Change-Id: I4aab5e2546ae70e5a3d85b12e26e021bfa244999 2014-01-09Set PAPER_SCREEN_4_3 values back and use it as it wasZolnai Tamás It breaks things. Change-Id: Ia28391aed27051e5f6a7e0996f30b23c46eb8269 2014-01-09Startcenter: use SCREEN_4_3 as default paper for presentationsZolnai Tamás Remove static to able to construct items with different paper info. Fix SCREEN_4_3 width and height values and use it for presentations. Change-Id: Ifba44675f6126ebfccf26f53f226214bed92352c 2013-12-13startcenter: Tooltip should show the full URL.Jan Holesovsky Change-Id: Ia8e071ebe00fb8c72973614077e778aef55fb1ab 2013-12-13fdo#72650: Get thumbnails only from the local documents.Jan Holesovsky No point in connecting to eg. ftp to get a thumbnail ;-) Change-Id: I017c59196c294242366f2254eeacd9056455c1bc 2013-12-13Small cleanup of initialization.Jan Holesovsky Change-Id: I62c0479414ab6748039498e1bc2b3bc9d7c4ef05 2013-12-13startcenter: Make the default icons appear as on a piece of paper.Jan Holesovsky So that the frame around the picture is similar to the previews; otherwise looks disturbing. Change-Id: Ie7f973e15c29a34c0f368b5e0f5a152d5cead39f 2013-09-18Resolves: fdo#69444 cursor keys don't move between recent used docsCaolán McNamara because each item is identified by an id, but that isn't set on the recent used so it stays stuck on the first one. change the ctor of the base element to require an id to be passed to it and adjust all the good code and then use the index+1 of the recently used elements as the id. Change-Id: I1e5978ddedbd4718923ef72d67598158d5ba8ee7 2013-08-13startcenter: Improve thumbnails in RecentDocsViewKrisztian Pinter Change-Id: Ib33e20996267f3e178079174fde014aa28638fcf 2013-07-20startcenter: Add RecentDocsView for displaying thumbnails for recent docsKrisztian Pinter Change-Id: I6d9bb87a6ee28d62ee012e6807d1c5a4f3219e27