summaryrefslogtreecommitdiff
path: root/svtools
AgeCommit message (Collapse)Author
2012-12-03fixup numbering in positionBjoern Michaelsen
2012-12-03Clarify need for solar mutexStephan Bergmann
Change-Id: Ica3430e75c91ccf4861fce660c45b90c5584fb9a
2012-12-03move base check for bibliography to sfx2Bjoern Michaelsen
- in the libbiblio component the frame is already created, and a frame that is loading is vetoing a terminate - thus move check to sfx2 - use the fancy svtools::RestartDialog Change-Id: I500aaeac44d52969575f50f6b79d0c07a08c977e Reviewed-on: https://gerrit.libreoffice.org/1207 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2012-11-30add Sidama (sid) languageAndras Timar
Change-Id: I7c7fb38d7df5aecda8e81443aa7045479e0efceb
2012-11-30shake out unused option instancesCaolán McNamara
Change-Id: I2a7ac1ed79455f28f2ba2043b9183a77c63e68ab
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens
This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-30fdo#46808, use service constructor for i18n::CollatorNoel Grandin
Change-Id: I15a360723e335345aad09e73fcb0f6815ed9e0d4
2012-11-30Fix Windows build with VS2010: forward declaration not enoughFridrich Štrba
Change-Id: Ic1b6673dd85caf5f340974cde09c104a5a13b395
2012-11-29Let's make it so that selected = highlighted + logically selected.Kohei Yoshida
Being selected but not highlighted makes no sense. This way, an entry can be highlighted without being selected, but can never be selected without being highlighted. Change-Id: I6c469a1d2cf0df79c2e5e4ff4120af5efd5f6103
2012-11-29Introduce a 'highlighted' state which differs from a 'selected' state.Kohei Yoshida
And use that to only highlight child entries which should logically be treated as not-selected but should have the same appearance as the selected entries. A 'selected' state is logically registered as 'selected' as well as visually. A 'highlighted' state should only appear as if it's selected but logically it's treated the same way as non-selected entry. Change-Id: Ic4bc6923c7678044cf552194ad9865371465c614
2012-11-29I didn't mean to check this in....Kohei Yoshida
Change-Id: I39738ca7fef022a1c9c728cdcd3fa10429a05564
2012-11-29Use bitfield for better readability.Kohei Yoshida
Change-Id: Iaa254703be5f798e749eaccfa3b7136e26054b65
2012-11-29Remove unused method & remove header include by using forward declaration.Kohei Yoshida
Also, SvViewDataEntry has lost one friend. Change-Id: Icf6d4127de38fed485cd260edae97748b1f78ede
2012-11-29Now we can officially hide these flag values.Kohei Yoshida
Change-Id: Ia203700da59e6962112889404f12041ea8648e19
2012-11-29More on removing direct access to tree entry's view flags.Kohei Yoshida
It turns out that this flag value was used only to check for expanded/ collapsed status, in which case, substituting it with one boolean should suffice. Change-Id: I2071ec83613d2206643db8681bebcfab7d1213a3
2012-11-29Avoid direct use of flag value.Kohei Yoshida
Change-Id: I4279c352a990b2ffda482e9c69b63b18b3c13dc9
2012-11-29Pass pointer to view data entry to Paint() instead of its raw flag value.Kohei Yoshida
We need to hide these flags away. Change-Id: I112003a88a92174f5012b3356ba261a039eeccc1
2012-11-29API CHANGE a11y unpublishing and add/removeListener rename.Thorsten Behrens
The a11y API has never really been picked up by tools vendors, let's not tie ourselves up here for no good reason. This unpublishes all css::accessibility, and dependend API. With that, we can change the rather unfortunately-named add/ removeEventListener to be add/removeAccessibleEventListener, thus not conflicting with the XComponent methods of the same name. Change-Id: I595598c3a8e46415f80b2780f333333174865fe4
2012-11-29button placement consistencyCaolán McNamara
Change-Id: I0f0b5ee875062123e9da4c740e82350f0250cd79
2012-11-29Resolves: fdo#44664 Provide a way to set the default print job format.Caolán McNamara
a) In the print dialog you can temporarily override the default print job format for a single print job b) In the printer options dialog you can override the default print job format for a single printer c) Under tools->options->print you can override the default print job format for all printers. Tidy up the restart dialog in passing Change-Id: Ibea94bab6a79c3590dbf34583013db4e2ac06f45
2012-11-28Try to reduce direct access/manipulation of the flag value.Kohei Yoshida
Change-Id: I252c1ad55099a821d3c1fec3c64255c4f26a0396
2012-11-28Get it to build after the rebase.Kohei Yoshida
Change-Id: I86bc4fb6aa4158f0efc3ab765841abcea9063693
2012-11-28changes to Congolese localesEike Rathke
Changes to commit a81a9109ed43e0b3880c9bd88e58f2b21065226b The ..._CONGO identifier and "... (Congo)" resource string changes are only to match the current convention that if a locale is not of the default country of a language we mention the country. This helps in case we later add the other locale of a language. Having two Lang-IDs then with different sublanguage and adding the ISO locales is good practice. For axk-CG it should be LANGUAGE_USER_YAKA_CONGO instead of LANGUAGE_USER_AKA and the resource string should be "Aka (Congo)", because it is not the default axk-CF (Central African Republic), see http://www.ethnologue.com/show_language.asp?code=axk For kng-CG it should be LANGUAGE_USER_KIKONGO_CONGO instead of LANGUAGE_USER_KIKONGO and the resource string should be "Kikongo (Congo)", because it is not the default kng-CD (Democratic Republic of the Congo), see http://www.ethnologue.com/show_language.asp?code=kng However, changed name to Koongo instead of Kikongo because that is the default name even for Congo, see http://www.ethnologue.com/show_language.asp?code=kng, and used LANGUAGE_USER_KOONGO_CONGO instead. For njy-CG it should be LANGUAGE_USER_NJYEM_CONGO instead of LANGUAGE_USER_NJYEM and the resource string should be "Njyem (Congo)", because it is not the default njy-CM (Cameroon), see http://www.ethnologue.com/show_language.asp?code=njy For puu-CG it should be LANGUAGE_USER_PUNU_CONGO instead of LANGUAGE_USER_PUNU and the resource string should be "Punu (Congo)", because it is not the default puu-GA (Gabon), see http://www.ethnologue.com/show_language.asp?code=puu For yom-CG it should be LANGUAGE_USER_YOMBE_CONGO instead of LANGUAGE_USER_YOMBE and the resource string should be "Yombe (Congo)", because it is not the default yom-CD (Democratic Republic of the Congo), see http://www.ethnologue.com/show_language.asp?code=yom For each of these ..._CONGO lang-IDs introduced the default ID and made the ..._CONGO ID with sublanguage 0x20, adapted corresponding IDs in *.xml files. All IDs in those *_CG.xml files needed to be corrected anyway as they all had a replaceTo="[$CFA-63A]" copied from sg_CF.xml, the ID needs to match that of the LangID instead. As all LC_FORMAT element section were identical, made them refer to kng_CG instead of having duplicated copies, same for LC_CURRENCY. Removed the executable permission bits from *_CG.xml files. Change-Id: Iae06af5fbf19e3a3c83a4f4b4dcb857213df629e
2012-11-28Add/modify locales & language list entries for Congolese languagesJeremy Brown
Change-Id: I9f65022cee5dc0201ab45192b3731115ba50f27d
2012-11-28This is now struct, not class.Kohei Yoshida
Change-Id: I36bceeb27ff03e09f78c794cdefb4093d94b23b9
2012-11-28Finally merge SvViewData and SvViewDataEntry.Kohei Yoshida
Change-Id: Ic85e2a239990aeaa017eaef95ea25487dd1ec968
2012-11-28Use std::vector over c-style pointer array.Kohei Yoshida
Change-Id: I91ab1fb269070deb8389cf4e8473a223c1bbca1d
2012-11-28Make SvViewDataItem a struct, with only one public data member...Kohei Yoshida
Change-Id: Ib6b710f87fcdfe465fb78a397100f82da11b3611
2012-11-28sal_Bool to bool.Kohei Yoshida
Change-Id: I63bff9f8ba19e8f037edf29bc82555b8c6e77d1e
2012-11-28Deliver this new header file.Kohei Yoshida
Change-Id: I71c4ec404acfef12cc2a9bf0fc9c0e98bf45cb2d
2012-11-28Move SvViewDataEntry and SvViewDataItem into these files too.Kohei Yoshida
Change-Id: Ib25e7b4ff692804e4e4b617ffba228c4b2cae1db
2012-11-28Make these methods non-inline.Kohei Yoshida
Change-Id: Ifa0a78213edbdf997985bf89bc769219223feab9
2012-11-28Extract SvViewData into separate header/source files.Kohei Yoshida
I'll merge it with SvViewDataEntry next... Change-Id: I542732213f52a3efafaa059dd46668888d4c20f1
2012-11-28Hide this, and don't expose method definitions of exported class.Kohei Yoshida
Change-Id: I52ff833c9b552f4593dedf771f6370bdeedf2b7d
2012-11-28fdo#46808, use service constructor for ucb::SortedDynamicResultSetFactoryNoel Grandin
Change-Id: I8eefa129a481e47659d488cbe57f9624d3cdb19e
2012-11-27remove legacy String svl's Put*Entry family of function and convert usersNorbert Thiebaud
Change-Id: Iebf4017ce4c2c48389716eac1bbf7f386ac7a296
2012-11-27String=>OUString in svl's inettype and fall-outNorbert Thiebaud
Change-Id: I7d64d117183738b86d1869ed629d73675de9c679
2012-11-27String->OUString in svl urifilter and restrictedpathsNorbert Thiebaud
Change-Id: If11b8752c3aa21554c3ee06de07d63639695e284
2012-11-27Introduce a Restart dialog that allows to automatically restart LOStephan Bergmann
...instead of just telling the user to restart manually. The one existing dialog (duplicated into svtools and cui) that got replaced by this is the dialog asking to restart when the choice of JVM changed. There are more similar dialogs that would benefit from replacing them, like RID_SVX_MSGBOX_OPTIONS_RESTART (cui/source/options/optjava.src), but that one is called when closing a dialog nested within the Options dialog, and calling OfficeRestartManger.requestRestart in such a nested situation still leads to a crash. The design idea is that when more similar dialogs are replaced, restartdialog.ui contains a list of hidden GtkLables with the appropriate prose why a restart is required in the given case, and restartdialog.hxx's RestartReason enum contains corresponding values that will show exactly one of those GtkLables. The new svtools/uiconfig/ui/restartdialog.ui is probably still pretty rough and could benefit from some UX love. Change-Id: Id939188ee22f24301a8a3598b83afb31339bded5
2012-11-26Sprinkle some DISABLE_EXPORT, saves 100K of code in an Android view-only appTor Lillqvist
Change-Id: I1b2840dcd11e38253f3620421b8774b8e0c21cf3
2012-11-23some i18n wrappers with LanguageTagEike Rathke
Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d
2012-11-22get rid of unnecessary LocaleDataWrapper temporary instancesEike Rathke
Change-Id: I17d9a502565d445b0eab9ef6e9123661850292b7
2012-11-22AllSettings with LanguageTagEike Rathke
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
2012-11-22convert users of XDocumentInfo to XDocumentPropertiesMichael Stahl
Change-Id: I10f395f90d554d0ec26fe9f2654ae839e21c7ee5
2012-11-22seekrel(-6) + read(4) into discard + seekrel(2) == noopCaolán McNamara
seek backwards 6 bytes read a 4 byte value into a variable that's never used seek forward 2 bytes Change-Id: I1e3ac7606dedb394c571e4589b34cfe050a28fc8
2012-11-22loplugin: unused Point aPos0 and Rectangle aRectCaolán McNamara
Change-Id: Ib0960cca6141ac28958c80aa8d716a98abef1f8d
2012-11-22Do not overlap FT_DOCTEMPLATE_LINK, BTN_DOCTEMPLATE_PACKAGEStephan Bergmann
Change-Id: I6edcd6641dbcd62ceb49f5b975eea6a40a47f6ab
2012-11-21initialize nCheckPos before passing it, undefined to SvNumberFormatterMichael Meeks
Change-Id: I8e80de82354ed0adf66b39175a5c9b993c541821
2012-11-21obtain LanguageTag from SvtSysLocaleEike Rathke
Change-Id: Iaee25f1d92349704eaae45e6582d31dfa718ddcb
2012-11-21dropped dead code from svgEnrico Weigelt, metux ITS
Change-Id: I73244d54f182f44c08a942dee95ff11b53a24f5a Reviewed-on: https://gerrit.libreoffice.org/1078 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>