Commit graph

316805 commits

Author SHA1 Message Date
Kohei Yoshida
12e4634c59 Separate method to launch xml source dialog.
Change-Id: Iac7898d695cd7659f44944d6615a91d4e2b6a52e
2012-11-28 13:28:19 -05:00
Kohei Yoshida
e51254d933 Add new slot ID for 'Manage XML Source' menu entry.
Plus unwind the mess of slot ID collision between sc and svx.

Change-Id: Iad236e50f58160d85c997d6f8f6dfce405fd82bb
2012-11-28 13:28:19 -05:00
Tor Lillqvist
8a961ac111 OUString::trim() does not modify in-place
Change-Id: I522e579253d3b59bcc72010bfbb5d09d9f558fa1
2012-11-28 20:23:23 +02:00
Tor Lillqvist
625e173aaf OUString::replace() does not replace in-place
Change-Id: I5a1d713ee8e9c913adad57b7d8fb0597f96a2db4
2012-11-28 20:08:20 +02:00
Michael Stahl
802619d745 odk: adapt to removal of modules test, util.logging
Change-Id: I824e9fd5477a734843b5c021a30bf6bad7734dfe
2012-11-28 19:03:59 +01:00
Rob Snelders
7226672d4b rename the URL for feedback to something more positive
Change-Id: Iea248eeb3c3eacf9b0f123daa52516f5c1f0259c
2012-11-28 18:50:59 +01:00
Eike Rathke
66308dd049 changes to Congolese locales
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-28 18:34:41 +01:00
Jeremy Brown
c69221a2f1 Add/modify locales & language list entries for Congolese languages
Change-Id: I9f65022cee5dc0201ab45192b3731115ba50f27d
2012-11-28 18:34:41 +01:00
Markus Mohrhard
5dcf5e9b88 cache calls to Date::SYSTEM
Change-Id: Iccdfeb45519dfc7e1373bf1303ecfc0c83f4cbc0
2012-11-28 18:08:33 +01:00
Laurent Godard
03949c8720 fdo#49704 add split cells menu entry in calc popup
Change-Id: Ia4f80cba29f30d4c684de6f78d8831513afa445c
2012-11-28 18:08:32 +01:00
Alexander Wilms
90edd84687 Updated icons 2012-11-28 17:08:03 +01:00
Jan Holesovsky
69c6ba9514 Update the Python checks for cross-compiling.
Change-Id: I1066c9108fd31682bd238df50bdf1cab0a05d3ec
2012-11-28 17:04:20 +01:00
Jan Holesovsky
332bd4296e MinGW: Bundle also the libpoppler-*.dll
Change-Id: I181e408e7bc585d93fbeb2ce76a32bc350845c91
2012-11-28 17:04:20 +01:00
Jan Holesovsky
264cf8bffa Windows: Draw line between the bottom toolbar(s) and viewshell too.
But do _not_ draw such a line for the vertical toolbars, it looks
distracting.

Change-Id: Icc1083c8c69f26740b5999b11214ee60078ea218
2012-11-28 17:04:20 +01:00
Michael Stahl
6111068d52 testtools: add com.sun.star.test.performance.XPerformanceTest ...
... back, which was removed from udkapi in
771914ab14.

Change-Id: I266f2d4fd01dc01a839f5c608ec8c45be76165c0
2012-11-28 16:56:16 +01:00
Michael Stahl
76324b3509 ridljar etc.: javamaker invocations must rm -r targetdir
... because otherwise types that have been removed from the input rdb
still end up in the resulting jar file.

Change-Id: Ia73ecffcc9d831f2627ac0fcc5f57acf1f52a799
2012-11-28 16:56:16 +01:00
Miklos Vajna
d9e14c63e3 sdremote: add rules to localize the apk
Change-Id: Ib2034d7ce27ce9d9d9f0d325ea403fb48aeb796d
2012-11-28 16:54:11 +01:00
Matúš Kukan
3eb4e090a1 fix name of liborcus tarball
Change-Id: I170543c8730b11540abb37485df0d984d2628809
2012-11-28 16:35:59 +01:00
Matúš Kukan
0af5247416 sysui: remove some unused stuff
Change-Id: I6d18017311013f3bb63451c4b6f59f82f02f918a
2012-11-28 16:33:01 +01:00
Matúš Kukan
33a6f88180 bin --enable-oxygenoffice; it does nothing
Change-Id: Ibac9b92f5833253d6485009e0ea8ea11f2b8ed91
2012-11-28 16:33:00 +01:00
Takeshi Abe
4db2a6f682 sal_Bool to bool
Change-Id: I7b00701ed44bb747a3f85e1638f0f82c1ee15299
2012-11-29 00:26:36 +09:00
Caolán McNamara
150e32777c Resolves: fdo#57640 we really want to *titlecase* the initial character
http://srfi.schemers.org/srfi-13/mail-archive/msg00046.html summarizes well..
"
- Titlecase <> uppercase
  Unicode defines three kinds of case mapping: lowercase, uppercase, and
  titlecase. The difference between uppercasing and titlecasing a character
  or character sequence can be seen in compound characters (that is,
  a single character that represents a compount of two characters).

  For example, in Unicode, character U+01F3 is LATIN SMALL LETTER DZ.  (Let us
  write this compound character using ASCII as "dz".) This character
  uppercases to character U+01F1, LATIN CAPITAL LETTER DZ.  (Which is
  basically "DZ".) But it titlecases to to character U+01F2, LATIN CAPITAL
  LETTER D WITH SMALL LETTER Z. (Which we can write "Dz".)

      character	uppercase titlecase
      --------- --------- ---------
      dz	DZ	  Dz
"

See TestCharacterClassification::testTitleCase for titlecase regression
tests.

Change-Id: I198379832d1910632bb6358149a5276b68d7c6eb
2012-11-28 15:12:35 +00:00
Caolán McNamara
6541e4474d we want the fingerprints and config file all in the one dir
Change-Id: I86f6bedf1b0f171dca3ce5b34e8c34796f9f7edf
2012-11-28 15:12:35 +00:00
Kohei Yoshida
29714cdc5a New place to specify the tarball name.
Change-Id: Ia0fd46ae58bb2ae58e8ad9bdb16e1e948659492b
2012-11-28 10:08:48 -05:00
Kohei Yoshida
89288d6e4f This is now struct, not class.
Change-Id: I36bceeb27ff03e09f78c794cdefb4093d94b23b9
2012-11-28 10:01:52 -05:00
Kohei Yoshida
e3ee369076 Remove patches that are no longer needed.
Per feedback from David T. the patch author.

Change-Id: I6adae0a70926f6e402ba1f7680806e6c6097616e
2012-11-28 10:01:33 -05:00
Kohei Yoshida
edf0652d87 Fix various build breaks.
Change-Id: Ie33a4a02f9820e0d52ca3f17c6b410ebe1e6e8f0
2012-11-28 10:01:32 -05:00
Kohei Yoshida
62d7eb4700 Finally merge SvViewData and SvViewDataEntry.
Change-Id: Ic85e2a239990aeaa017eaef95ea25487dd1ec968
2012-11-28 10:01:32 -05:00
Kohei Yoshida
8369a21642 Use std::vector over c-style pointer array.
Change-Id: I91ab1fb269070deb8389cf4e8473a223c1bbca1d
2012-11-28 10:01:32 -05:00
Kohei Yoshida
c391ebbf8c Make SvViewDataItem a struct, with only one public data member...
Change-Id: Ib6b710f87fcdfe465fb78a397100f82da11b3611
2012-11-28 10:01:32 -05:00
Kohei Yoshida
22040a74cc sal_Bool to bool.
Change-Id: I63bff9f8ba19e8f037edf29bc82555b8c6e77d1e
2012-11-28 10:01:31 -05:00
Kohei Yoshida
591e284d3b Deliver this new header file.
Change-Id: I71c4ec404acfef12cc2a9bf0fc9c0e98bf45cb2d
2012-11-28 10:01:31 -05:00
Kohei Yoshida
80ee754ca1 Move SvViewDataEntry and SvViewDataItem into these files too.
Change-Id: Ib25e7b4ff692804e4e4b617ffba228c4b2cae1db
2012-11-28 10:01:31 -05:00
Kohei Yoshida
cf9b196bf8 Make these methods non-inline.
Change-Id: Ifa0a78213edbdf997985bf89bc769219223feab9
2012-11-28 10:01:31 -05:00
Kohei Yoshida
0ce2977569 Extract SvViewData into separate header/source files.
I'll merge it with SvViewDataEntry next...

Change-Id: I542732213f52a3efafaa059dd46668888d4c20f1
2012-11-28 10:01:31 -05:00
Kohei Yoshida
3bf14d2983 Hide this, and don't expose method definitions of exported class.
Change-Id: I52ff833c9b552f4593dedf771f6370bdeedf2b7d
2012-11-28 10:01:30 -05:00
Kohei Yoshida
3f662c726d Get it to build on Windows with liborcus gnumeric bits enabled.
Now scfilt must statically link zlib because gnumeric uses gzip
compression.

Change-Id: I79c527d381d3c2f9bccdf091ff2b0799efee4700
2012-11-28 10:01:30 -05:00
Kohei Yoshida
337efa331a orcus from master now has a new interface.
Change-Id: I1d03d5dd2b12cdc1eab2d599199c333d49d306b8
2012-11-28 10:01:07 -05:00
Kohei Yoshida
d2691d7cce Temporarily disable patches that don't apply.
Change-Id: I77cd13301fb4ab98ba1ded49e5b4aa1f3974c8e1
2012-11-28 10:01:07 -05:00
Kohei Yoshida
d7636ee3d3 This one has been upstreamed.
Change-Id: I1f55575b07cfc3cddd27b3d42ab354405f13fa60
2012-11-28 10:00:47 -05:00
Kohei Yoshida
2ef1f2cad1 Update liborcus package to (pre-release) 0.3.0.
This is not the official 0.3.0 release.

Change-Id: I1d097ed30ea6c1835ac10d6be77e45a644449497
2012-11-28 10:00:46 -05:00
Noel Power
c4e649f0cd Sync draw object to calc grid for better alignment when zooming
There can be some serious rounding errors involved when calculating where to
draw the grid lines for the various row heights in a document. This can be
especially true for a document that has many different row heights.
This results in draw objects appearing to move relative to the grid line at
different zoom levels.  This patch attempts to fix this problem adjusting
the position of the shapes as they are drawn to ensure their position
relative to grid appears to be stable.  We do this by translating the position
of the shape to the corrosponding position of it's cell anchor. Of course not
all shapes are cell anchored and in this case we position the shape relative
a temporary synthesized cell anchor.
The patch essentially does the following

a) calculates the offset to be applied for each shape at the current zoom level
to ensure that the shape will be drawn relative to the correct cell grid
   see drwlayer.cxx, drawview.cxx & gridwin3.cxx, svdobj.[ch]xx
b) apply the offset in the drawing layer for each of the different drawing
primitives see svx/source/sdr/contact/*
c) making sure the position and size of the newly created shape ( at any zoom
level ) are still as expected when zoom level is changed.
   see. sc/source/ui/drawfunc/fuco*.cxx &
d) making sure that overlays and handles are displayed at the correct position
      see svx/source/svdraw/*

it could also be that a full blown transform might be needed to additionally
scale the object ( to ensure that the edges of the object stay stable relative
to ajacent grid lines ) If necessary we could do that in a later step.

Change-Id: I02232f8ba192d58dbf96b80adf66c281cd0f65e8
2012-11-28 14:50:25 +00:00
Andras Timar
24c0e7ed99 Updated core
Project: translations  e1891b8f9c50ca687723f1afc13fbef209475875
null
gerrit test

Change-Id: If486af2d74b30d41834321f69fe248c2771be943
Reviewed-on: https://gerrit.libreoffice.org/1189
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2012-11-28 14:35:21 +00:00
Caolán McNamara
736200cdbb get orcus to build on RHEL-5
Change-Id: Ic18aa0eb1b48d57db81acd0d3d38ed33e3d71534
2012-11-28 14:20:54 +00:00
Markus Mohrhard
4d4ce88667 prevent some nasty ScRangeList->ScRange->ScRangeList conversion
Change-Id: I9dac82ffeed920ce39aab16d89a91e2f9083908b
2012-11-28 15:14:36 +01:00
Markus Mohrhard
a9b7b4ab6b use the correct flag to remove notes
Change-Id: Ib7713cace98c732e9fbcc4e9689ca223544d5e4c
2012-11-28 15:14:35 +01:00
Markus Mohrhard
381fe610a2 workaround Excel bug when importing OOXML documents
Change-Id: Ifc3b56d081b1318a0e201cb6cd7fd85ce2dc2534
2012-11-28 15:14:35 +01:00
Stephan Bergmann
79bc947773 warning C4701: potentially uninitialized local variable 'fVal' used
Change-Id: I412ab50b7c6e7cf6e32a42fb92cdbab513f42dce
2012-11-28 15:03:38 +01:00
Norbert Thiebaud
2048151000 add SAL_WARN_UNUSED_RESULT in OString and OUString where appropriate
String used to do some operation by modifying itself
whereas OUString never does that and when a modificaiton is needed
it create a new copy.

so it is very easy when one convert String code to OUString code to
miss stuff like

sString.ToUpperCase()

which need to be converted into

sString = sString.toAsciiUpperCase()

and not
sString.toAsciiUpperCase()

This patch make the compiler generate a warning in that later _wrong_ case

Change-Id: I4a9c0b4c7d0b75ad8850ac23b86e8508a334f5fe
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-11-28 15:02:07 +01:00
Stephan Bergmann
04c79bcbbc Clean up previous rtl::OUStringBuffer changes
The OUString assignment operator is less transactional than it could be, but is
also not necessasry, as OUStringBuffer has a non-explicit conversion constructor
from OUString.

Added some missing @since tags.

Change-Id: I830be93fde78422c5a7eff9437b53e2d2d70933a
2012-11-28 15:02:06 +01:00