Commit graph

325715 commits

Author SHA1 Message Date
Stephan Bergmann
1728ab7125 Remove dependency of climaker on registry format
See the comment in climaker_app.cxx main about room for improvement.

Change-Id: I11cc2f62c9d42269d5c96253198ee4e730496e75
2013-04-29 13:35:53 +02:00
Stephan Bergmann
411524d10a Typos
Change-Id: I2ff65979a9da7da12ad6ac97dc090898913a2e8c
2013-04-29 13:35:30 +02:00
Caolán McNamara
20452aa248 adapt code to use snap object dialog .ui conversion
Change-Id: I181c87f8406f095bd4dc499b47d91081f58aaf59
2013-04-29 12:28:45 +01:00
Caolán McNamara
15b52e7f39 Updated core
Project: help  7584ed08efd8e9cea733a782544a1e1eeb48433f
2013-04-29 11:28:35 +00:00
Matúš Kukan
4d9767d0b2 urelibs: break cyclic dependency; treat regcompare as build tool
Build tools do not link against merged libraries but individual small
ones we need for this (gb_BUILD_HELPER_LIBS).

Change-Id: Ia765e11a93ed05d126334a3e146fb88e368954ac
2013-04-29 13:17:34 +02:00
Manal Alhassoun
93f2256f49 New Snap Object Widget .ui
Change-Id: I801f4af269efcea91bc3bafbfc9e0b9033488f2d
Reviewed-on: https://gerrit.libreoffice.org/3645
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2013-04-29 11:17:13 +00:00
Stephan Bergmann
55225176b6 Unused include
Change-Id: If6caa7abed25ce95f1c62f9673619426eb49b5a8
2013-04-29 13:05:51 +02:00
Stephan Bergmann
23a87a8622 Remove some obsolete makefile.mk
Change-Id: I47f1a72fac3e6678b5dfe880f2f189ffc436333b
2013-04-29 13:05:51 +02:00
David Tardon
44aaee3d42 use normal rights for dictionaries
IMHO there is no reason why they should be 0444. I have found no
explanation for it, either in the commit that introduced the bundled
dictionaries or in the related bug.

Change-Id: Ia42218a0d579ced5f17248a092eab2c61cb9005f
2013-04-29 13:00:36 +02:00
David Tardon
97aa4a6044 filelists should honor USE_INTERNAL_RIGHTS flag
Change-Id: I3edbae98c9bb51899e5592fae1cfe9f3632ad535
2013-04-29 12:46:53 +02:00
Khaled Hosny
c559b13b80 [harfbuzz] Re-enable text justification
It turned out that ApplyDXArray() is need to apply advance width
adjustments after justification, so we can't just bypass it.

So I just copied GenericSalLayout::ApplyDXArray() and stripped it of
ICUism so it does not break with HarfBuzz, but I had to make
m_GlyphItems non-private, so I'm not sure this is the right approach.

Change-Id: I66d647c3590fdf912c39d0cf23ac72bcc7ca72c9
2013-04-29 12:45:41 +02:00
Khaled Hosny
ca0b580e2a [harfbuzz] Fix shaping across text runs
The 3rd parameter to hb_buffer_add_utf() should be the length of the
whole text not the current run, so that HarfBuzz can take the context
into account when shaping.

Change-Id: I9e4e928d40078c3e3667cfdb6d8f24bf6e58263d
2013-04-29 12:45:40 +02:00
Khaled Hosny
1f7d7d0f32 [harfbuzz] Fix text width calculation for real
No more second guessing if text width, we know that information already,
so pass it around instead of trying to re-create it.

Change-Id: I19faacbc309d38753c3c9f7214dfa0bf59cc66b5
2013-04-29 12:45:40 +02:00
Khaled Hosny
2e302f18ef [harfbuzz] Follow variable naming conventions
Not that I'm a fan of Hungarian notation, but for the sake of
consistency. Fix some placement of opening braces along the way.

Change-Id: Id6ea758fd438a4040e7451430a0f3a166efdec43
2013-04-29 12:45:40 +02:00
Khaled Hosny
8f748ce03b [harfbuzz] Check for SAL_USE_HARFBUZZ in one place
Change-Id: I78efebb576dffa8d39e98283feb9aab2186b5a39
2013-04-29 12:45:39 +02:00
Khaled Hosny
9cd7f7aded [harfbuzz] Fix text width calculation
GenericSalLayout::GetTextWidth() uses GlyphItem's mnNewWidth when
calculating text width, and though this seems logical (it is after all
the actual with the glyph is contributing to the all over advance
width), it results in shorter width calculation whenever glyph width
adjustment is involved, no idea why!

The #ifdef is there so that the ICU code path is not changed in anyway,
but all of this should be merged into GenericSalLayout when ICU is
gone.

Change-Id: I7cbde1675b78e87c142513eb52a13ee5fdc60617
2013-04-29 12:45:39 +02:00
Khaled Hosny
fc893070c9 [harfbuzz] Don't change the returned positions
Use local variables instead of altering the returned glyph positions
array, looks more cleaner this way.

Change-Id: Ibbcced57777010bd045668a99d7beb0618abe226
2013-04-29 12:45:39 +02:00
Khaled Hosny
827b63a7a4 [harfbuzz] Correctly apply glyph positions
X and Y offsets should only affect the position of the current glyph,
not any subsequent ones.

Change-Id: I9dd1576cbdbb36b70f1898dc52702c02c4e851af
2013-04-29 12:45:38 +02:00
Khaled Hosny
d225318ead [harfbuzz] Correctly apply RTL width adjustments
It turns out it is GenericSalLayout::ApplyDXArray() that is messing with
glyph advance widths trying to recalculate them. It is very old code (it
has been there since ICU were introduced back in 2002), but whatever
issue it is fixing, HarfBuzz does not need it.

Change-Id: I5c896d3f318e2f17d135f9eea599b917e04ed592
2013-04-29 12:45:38 +02:00
Caolán McNamara
2b21f71065 convert new user index dialog to .ui format
Change-Id: I7943c7e388b1cb73311d666ff600a31ac70c2838
2013-04-29 11:40:57 +01:00
Caolán McNamara
6a035215ea convert new user index dialog to .ui format
Change-Id: I459f847a67282bd1e3dc914e25a39815a6e177a0
2013-04-29 11:40:57 +01:00
Caolán McNamara
e6efaf7953 set mnemonic widgets for new bibliography author widgets
Change-Id: Id6c566ada50bd4d6f4043bbff25114e7872b7cc8
2013-04-29 11:40:56 +01:00
Caolán McNamara
9be05608f6 Updated core
Project: help  0021ca3f232ca48538685fc75e70616d5e12c407
2013-04-29 10:40:51 +00:00
Adam Co
becb244b49 Fixing Indentation RTL bug
Change-Id: Ie8c3d30cb28afb97d4ded4ac67241ed18ab9e50c
Reviewed-on: https://gerrit.libreoffice.org/3651
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2013-04-29 10:28:19 +00:00
Caolán McNamara
b191f53860 convert create author entry dialog to .ui format
Change-Id: Ia36b42be8f5caa93937e870467c95f47439d9c9e
2013-04-29 11:01:08 +01:00
Caolán McNamara
09f51181ce Updated core
Project: help  53c7b09224a3206cc72f65a4001b32e912ca5a45
2013-04-29 10:01:00 +00:00
Stephan Bergmann
4e95dc3ff6 Unused include
Change-Id: I79c5b123abf671d51deadd56644271124420ce64
2013-04-29 11:29:16 +02:00
abdulmajeed ahmed
5a8a57703c fdo#63592 Solve context numerical problem when changing text direction
when you change the text direction it should update the numerical type but it dosen't.
this patch will get you out of edit mode before changing text direction and after finish the change it will get you in again

Change-Id: I5598fd9dab823c738a812537743695ec88690a24
Reviewed-on: https://gerrit.libreoffice.org/3629
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2013-04-29 09:29:04 +00:00
Aurimas Fišeras
bc54a6c41d Update pch
Change-Id: I25140e854458186c7f66aba1baeabd5fadb3e162
Reviewed-on: https://gerrit.libreoffice.org/3655
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2013-04-29 09:16:12 +00:00
Norbert Thiebaud
73def9ced7 move to MPLv2 and remove my name from the header itself
Change-Id: I1961da149ed350131e19233bd5694ae8b6fe65ba
2013-04-29 04:13:36 -05:00
Caolán McNamara
f0596516b9 Resolves: fdo#51556 allow tab traversing into the conditional formatting list
Change-Id: Ie08a7312df0d42efc3697089cf766ceeefd623b0
2013-04-29 10:09:15 +01:00
Stephan Bergmann
93b5786930 ...and update TODO comment
Change-Id: I04d9988ab2035ec2d68fac19f506a6b461e4d257
2013-04-29 10:50:17 +02:00
Stephan Bergmann
b993c5591e RuntimeException missing from exception specification for UNO method
...which lead to std::unoexpected from sw/PythonTest_sw_python.

Change-Id: I94bdbbe131a7c65c363f7aa66e8d8df7bd531449
2013-04-29 10:44:59 +02:00
Stephan Bergmann
1c2862e8d1 Remove residue of undocumented "edition" feature
...whereby some branding could be orverridden with information from a program/edition/
directory.

Change-Id: I7f9324678b09bc8069775dfcbda97be8e0618a91
2013-04-29 10:27:29 +02:00
Wol
8ad743ca8d pgsql-sdbc: conninfo keywords as static table instead of series of "else if"
New keywords can now simply be added to a static array rather than
adding a new "else if" blocks for each keyword.

Change-Id: Ib581b3e834a57e0dfa9d139bcb4ae7a0a52a5472
2013-04-29 10:20:32 +02:00
Miklos Vajna
13a0477250 SwTxtSizeInfo ctor: take a pointer, not a reference
The ctor later will turn that reference to a pointer anyway, but the old
code made it easy to pass a String, get it implicitly converted to
OUString, and then we took the address of the temporary OUString, later
resulting in accessing already freed memory. Instead, take an OUString
pointer, and then the compiler will warn about a String* -> OUString*
conversion. Adapt one remaining caller accordingly.

Change-Id: I4084dea1d245f0c8919d6afe47c5f391729f6eaf
2013-04-29 10:19:51 +02:00
Caolán McNamara
9069a4a477 convert drop down field dialog to .ui
Change-Id: If629068fee488abbad9704b8300e59ea4c5c8605
2013-04-29 09:04:44 +01:00
Sameer Deshmukh
7653d04179 fdo#61060 - Freezing now marks spreadsheet as unsaved.
Change-Id: I0b479500938e185fb6d163837b29e6e36e823260
Reviewed-on: https://gerrit.libreoffice.org/3641
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2013-04-29 07:02:38 +00:00
Gokul
40ef445db6 UpdateTableShape() is called when we call SetAttrToSelectedCells method
IMO Calling this method again is not required. The If Blocks returns
false when User Clicks "Cancel" Button in "Format Cell" Widget,
IMO on Cancel Their is no need to Update the table. And on Ok
SetAttrToSelectedCells method is called which inturn calls
UpdateTableShape() method.

Change-Id: I2bb0bb616cc978717a1494e01f257631aadd613c
Reviewed-on: https://gerrit.libreoffice.org/3391
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2013-04-29 06:46:37 +00:00
navin patidar
706e3b8e43 fdo#63546: set appropriate alignment when wrt direction of cells is changed.
Iterate over all selected cells, set appropriate alignment based on
current writing direction and alignment of the cell.

Don’t change alignment when cell is center aligned or justified.
and if alignment is right or left, change it respective to writing direction.

Change-Id: Ie98a46af97236ab4303d030f11bd167939dde32b
Reviewed-on: https://gerrit.libreoffice.org/3549
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2013-04-29 06:09:27 +00:00
Marcos Paulo de Souza
1cd9b5d859 fdo#60949: Remove UNOLIBS_OOO
By removing the last two libs: nullcanvas and directx5canvas.

directx5canvas seems to be dead and nullcanvas don't have entries in scp2.

Change-Id: Ib8fc1da123f8374fb83192f14db730638213f564
Reviewed-on: https://gerrit.libreoffice.org/3626
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-29 04:19:34 +00:00
Chris Sherlock
e986d3e396 fdo#39468 Translation and cleanup
Cleanup of source code:
- translated German to English
- removed useless comment decorations
- removed commented out code
- some reformatting of code

Change-Id: I71d5fdab8226d61bda9ac906bb82176dc11cafd2
Reviewed-on: https://gerrit.libreoffice.org/3643
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-29 04:15:58 +00:00
Markus Mohrhard
e81d0c400c change order to allow validation of chart part
My simple test file is finally valid but is still now shown in Excel.
There must be another bug in our exporter.

Change-Id: Ib55e5b32edc3a556e9081b3008df539275dc289b
2013-04-29 00:15:01 +02:00
Markus Mohrhard
3812e99e93 another validation error with OOXML chart export
c:characters does not have an attribute val. The value has to be written
out as normal string.

Change-Id: Icd2c4034918bd223d0c8082a7d137e1ce79a9cfe
2013-04-29 00:15:01 +02:00
Markus Mohrhard
672398d84d order of element matters in OOXML export
this fixes one validation error with documents containing charts

Change-Id: I879963484b1cc00322e8c79bf77dfbbf91869587
2013-04-29 00:15:01 +02:00
Markus Mohrhard
33671ee413 export for error bars to OOXML, fdo#62312
This does not work yet as we have several validation errors in our
exported OOXML chart doc. I have to clean them up before the documents
are accepted by Excel.

Change-Id: I0bba64a9c6cab489199c8e6f04158fea7b953d0a
2013-04-29 00:15:00 +02:00
Markus Mohrhard
3ba4b5a907 remove this property temporarily until I understand the exception
Change-Id: I74a4dfcebd61ca1b6befa9f49214e4155ce0bd34
2013-04-29 00:15:00 +02:00
Markus Mohrhard
4e3e171262 use boost::scoped_ptr and direct values
Change-Id: I70be33bc4843a19a24ce2fcb0cda094684557c04
2013-04-29 00:15:00 +02:00
Julien Nabet
14a96e28c9 fdo#63197: convert osxres
Change-Id: I969217263fdda3e61b38dc16f0a9251b745de885
Reviewed-on: https://gerrit.libreoffice.org/3652
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-28 18:23:10 +00:00
Julien Nabet
9c4f99287c fdo#63197: convert liblangtag_data
Change-Id: I0727b800c715962a88e256b30046c9e13d6bd2a9
Reviewed-on: https://gerrit.libreoffice.org/3650
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-28 14:51:26 +00:00