320111 Commits

Author SHA1 Message Date
Andras Timar
67b8c0339e fdo#41737 syntax highlighting of Basic code examples in offline help
Change-Id: I7dc5b189e98a0351bac0eab28c1161b5893f5ef1
2013-02-13 10:19:21 +01:00
Andras Timar
fb1f3db03d String to OUString
Change-Id: Ibb0b1808532622ffb2dfc55d533428f6d72b890c
2013-02-13 10:19:20 +01:00
Andras Timar
d25486b5a9 remove rtl:: prefix
Change-Id: I6b2c51c57a98046e30b2782dd2565ee02345379d
2013-02-13 10:19:18 +01:00
Andras Timar
6e4fd7ba9f use u_isalpha() from ICU instead of home-grown solution
plus German comments were translated

Change-Id: Id9ff5d4835e4ea224c9e6232a1762822aa833d37
2013-02-13 10:19:17 +01:00
Andras Timar
4ab3d5bb6f WaE: warning C4101: 'ex' : unreferenced local variable
Change-Id: I99a66ac3af8e391b5feaeafbb3abd63dcdd2bb2b
2013-02-13 10:19:15 +01:00
Dávid Vastag
d06c698b79 Basic code syntaxhighlighting added to LibreOffice help
Change-Id: Id47172d0386e7aa28d82178f04b5f626f0c441fe
2013-02-13 10:19:14 +01:00
Andras Timar
089a9afc95 Updated core
Project: help  4d7b72491649f33d115f687f5deee58bd9619ca4
2013-02-13 09:17:18 +00:00
Luboš Luňák
fad1cce4d2 update pch headers, broken by 1aaf9a9 2013-02-13 09:46:22 +01:00
Norbert Thiebaud
2d3eec5929 Makefile.in, make sure that the git hooks are set
git hooks used to be set by virtue of calling ./g clone
but recent changes means that ./g is not always called
these day, so it is possible to end-up with no hooks.

Change-Id: I630066ee0e2961b93ddfbf177eb4e5fc09505911
2013-02-13 02:46:00 -06:00
David Tardon
e462a30d03 fdo#34558 don't crash on undoing text frame removal
Change-Id: I48b95c6c0cbfb2f4c4b09cc90b254b96de40b3e9
2013-02-13 09:06:23 +01:00
Tor Lillqvist
ea264f0c81 Ah, manually adding computers is for non-Bluetooth ones
So yeah, need to keep this feature. Spell Wi-Fi correctly, and mention Wi-Fi
in the menu button.

Change-Id: I4cd6f0689a6ff9647f355d4b1404be84ec0c0138
2013-02-13 09:26:42 +02:00
Tor Lillqvist
056968fae7 Use consistent terminology
Why "Choose a Computer" but "Add Server"? Let's always call them "computers"
in the UI.

And in fact I think the feature to add a computer manually is kinda pointless;
is it too much to ask people to have their machines discoverable? I doubt
keeping a computer not discoverable through Bluetooth thwarts a determined
attacker from finding it anyway. (I am not saying that just finding it would
mean compromising it.)

Change-Id: Ib8041a8a793d84bee24587adac582c5fad03d1be
2013-02-13 09:20:48 +02:00
Tor Lillqvist
b48bde463a Don't bother with unnamed computers
Change-Id: I4e912cab7ab252ef4c118fe63b02931eecd986aa
2013-02-13 08:43:49 +02:00
Kohei Yoshida
6a4edb3446 bnc#802350: Cell validation is not a special (cell) content.
Cell validation is stored as cell attributes which are stored with
columns not with cells.  When HasSpecialContent() is true, it flags
the *cell* not empty, which in turns causes AddTextAndValueCell to
iterate over every single cell position for all repeated columns
and rows.  That can very very slow when the number of repeated rows
is very high.

Since cell validation is stored with columns, skipping empty cells
even when they have cell validation settings set won't cause any
issues, and all cell validation settings are imported correctly even
after this change.

With the test document I have (confidential), this change alone reduces
the load time from 30 seconds to 0.3 seconds.

Change-Id: I84fa4cec50172ccd02eca1042c8fafb93d1cfc73
2013-02-12 23:29:29 -05:00
Tor Lillqvist
871712ad62 Don't return from the CommunicationService.run() method
This fixes connecting to one computer after connecting to another failed.

Change-Id: I5b13d186d32690a91e4290c81c8d2e12a0a1f2be
2013-02-13 02:14:58 +02:00
Tor Lillqvist
307913304a Do display the computer name in the dialog when connection failed
The latestInstance lifecycle and mName initialisation was borked.

Change-Id: If7ef8a15fdc297e0fe6e401399a3b94dcd8d08c5
2013-02-13 02:14:58 +02:00
Tor Lillqvist
2244bb1467 Add comments, logging, empty lines
Change-Id: Ife81ec74b36f71782997219e36ac926ea429c297
2013-02-13 02:14:57 +02:00
Julien Nabet
b3729421ae Some cppcheck cleaning
Change-Id: I3d515fabc272e5c14f2e2779da1c43f92514f290
2013-02-13 00:00:47 +01:00
Julien Nabet
8803b1faf5 Return the real result of the test
Change-Id: I05d4b62a32a44a7d174d7fa19f7814d45dab22b2
2013-02-13 00:00:47 +01:00
Tor Lillqvist
5e037cef38 Simplify and fix management of the server lists
The existing code in refreshLists() was somewhat hard to understand, and it
actually crashed (if uncommented-out). Now it simply empties the maps and view
lists and then rebuilds them.

The visible end result, at least for me, is that I no longer get duplicate
servers in the list...

Change-Id: I1543292e219e666e7dcbc68473f40a11e2eb3381
2013-02-13 00:46:02 +02:00
Tor Lillqvist
0d18ec16be Emacs and vim mode line tweaks
These files are Java, not C++. Add empty line before the vim mode line.

Change-Id: Ia94d18e9995ecfbbbfd1c9e6a4d2ce4e8ffb95f3
2013-02-12 23:25:37 +02:00
Tor Lillqvist
ab0bbe53ae Just use default colours until proven they don't work;)
After 5adefb21244ca57b95e9f8df6ec18880438201bf the "computer" names on the
main ("Choose a Computer") dialog (which probably isn't the right term) were
invisible for me on my Android 4.1 device at least. Very light grey on white,
or something like that. Let's try with default colours and then if that
doesn't work *slowly* modify the colours one item by one.

Change-Id: I9ae2ee8232cfa85eee4aba0fbcf69b8c245a1ad6
2013-02-12 23:25:37 +02:00
Tor Lillqvist
47f6db6469 Use android.util.Log instead of printing to System.out
Change-Id: I314066086827d283938c6f402733da3f801ad55b
2013-02-12 23:25:37 +02:00
Julien Nabet
56f4d7dc9d Some cppcheck cleaning
Change-Id: I8609949377181f8edb30ac07b2791cfcd079fc7d
2013-02-12 21:24:25 +01:00
Kohei Yoshida
1aaf9a9b36 Renamed hard-to-remember 8-char headers in editeng.
Change-Id: If255802082890e1b1b4c5197a791fa79a011773e
2013-02-12 15:15:06 -05:00
Michael Stahl
e31807c830 fdo#60668: filter out fieldmark chars from Index entries:
SwTxtNode::GetExpandTxt must filter out all dummy characters used to
represent fields, footnotes, field marks, etc.

Change-Id: Ie5ae2a82da9a6618bb451efabfd38769c495cc93
2013-02-12 19:52:08 +01:00
Kohei Yoshida
55b39ff42e Remove excessive inclusion of cell.hxx from other headers.
In favor of forward delaration and/or inclusion of more specialized
headers.

Change-Id: I75f727cc50228b8958b60173ce14e5ce1fb7e6f7
2013-02-12 13:06:31 -05:00
Andras Timar
226d9f55cb Updated core
Project: help  a5cae6c3e83ddae0b26fac30cf95378d2a5882a3
2013-02-12 17:38:37 +00:00
Kohei Yoshida
f1eba4c718 Add prefix 'm' for ScEditCell's data members.
Since I'm modifying the header....

Change-Id: I7cb44335a46dbc185e1a717304c221e5bb6fcb3c
2013-02-12 12:33:00 -05:00
Kohei Yoshida
1ed3387aad Made similar change to SetData() of ScEditCell.
Change-Id: Ie1475eb19a4ad41e5eac1ca00419a1af5c207b12
2013-02-12 12:33:00 -05:00
Kohei Yoshida
0585322e70 Go through all ScEditCell instantiations and fix memory leaks.
Changed the signature of the constructor (one that clones the text object)
to take a reference instead of a pointer, to smoke out the callers that
use this constructor.  Went through all its callers and made changes to
either 1) pass ownership to the cell instance (if the text object uses
the SfxItemPool instance returned from ScDocument::GetEditPool()), or 2)
pass as const reference to make it clear that the instance will get cloned.

Change-Id: I669e066d4739536bf8d3b356186503dcdfa303b0
2013-02-12 12:33:00 -05:00
Kohei Yoshida
117b3a13b8 Avoid unnecessary cloning of text object when instantiating ScEditCell.
This alone cuts about 3 seconds off of the total import time with the
test document from fdo#54638.

Change-Id: I3be3229532b9e982f03565fd3fb630f70f2bce03
2013-02-12 12:32:59 -05:00
Andras Timar
36e30d9772 Updated core
Project: help  0ba3d9a4202cd6418c4007a89e8c5fa73f0c9f05
2013-02-12 16:42:23 +00:00
Jan Holesovsky
283ad1f83f Fix typo to make --enable-online-update build again. 2013-02-12 17:33:13 +01:00
Miklos Vajna
e2f9ed24b6 cui: kill RTL_CONSTASCII_USTRINGPARAM in macros
Change-Id: I4d6b7760f9c6901c5c42070bedc8fbbec79215d0
2013-02-12 17:16:34 +01:00
Miklos Vajna
d884f8f65c SwFrmDlg: initial gradient background UI
Change-Id: I7d8612d6b2d3eb2262ed148153a0c249bcb36599
2013-02-12 16:38:39 +01:00
Julien Nabet
88be7d32f3 Simplify this
Change-Id: I341f4a74062e78f6a4d23ca24d635c6a95fb90cb
2013-02-12 16:31:28 +01:00
Julien Nabet
6842be374c It's better to use fclose on a not null handle
Change-Id: I609270e269a0905818d6a2b4f44cb9a034099346
2013-02-12 16:31:28 +01:00
Julien Nabet
5a68d2cbe2 Fix member variables not initialized in constructor
Change-Id: I17275e7e17f76da967d2fa798f5ee88b50fd6d72
Reviewed-on: https://gerrit.libreoffice.org/2121
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-02-12 15:30:01 +00:00
Tor Lillqvist
646dc01ea1 Use the remote control same service name on Windows, too
Change-Id: I45ecc4a745722cc6bf1f5017429a3e532200bf03
2013-02-12 17:17:46 +02:00
Cédric Bosdonnat
12ea70362f CMIS: proxy was setin to ":-1" is no proxy is defined in the UI
Don't output the port number if that one is not valid.
2013-02-12 16:12:47 +01:00
Julien Nabet
0c1a37e603 Some cppcheck cleaning
Change-Id: I74ff9d8d116ebfe9ebc302c79a3763eda9c1250f
2013-02-12 16:08:44 +01:00
Julien Nabet
df98a644a2 Fix duplicate conditions
It was like this since initial commit in 2000-09-18

Change-Id: I83c73fcd4ec564770502f00c6301d5e405dc6c62
2013-02-12 16:08:44 +01:00
Takeshi Abe
3ea4060c5d sal_Bool to bool
Change-Id: I248912310658aec789f89f9dba0821b7ec86163d
2013-02-13 00:03:37 +09:00
Stephan Bergmann
1b0109aeda Undefined UpdateRequiredDialog::selectEntry
Change-Id: I7319b4bc276a38cf94aa90934529835ac38f57fa
2013-02-12 15:58:49 +01:00
Stephan Bergmann
4a6c72e3b1 Clean up EXTENSION_LISTBOX_ENTRY_NOTFOUND
Change-Id: Ie491835b854bf59694a20c4f94e2333b72142d08
2013-02-12 15:58:49 +01:00
Michael Stahl
cbc722733b fdo#60092: fix STL regression in SwInsertDBColAutoPilot::DataToDoc
(regression from f7d681dc34e60eb8532403079d007ca1250f4941)

Change-Id: Ida92854efe6ddffffb8fe10e5ef1f42c53747f40
2013-02-12 15:03:40 +01:00
Julien Nabet
2ce2fafa1b Some cppcheck cleaning
Change-Id: Idb380dbb7470dbdb371778ba0c486392cc55380e
2013-02-12 14:48:04 +01:00
Julien Nabet
2bfccd1489 Remove commented lines
Change-Id: Iaf07d9f4bc0a133c1127d93bf635b6653fe1479a
2013-02-12 14:48:04 +01:00
Tor Lillqvist
cbac061416 Use a more descriptive name for the Impress Remote Control Bluetooth service
No point in using a generic "Serial Port" name, or describe it as a "COM Port"
(eek). The remote control app doesn't check what the service name is
anyway. (It probably should?)

Change-Id: I6098110e8c4f62e20c38cf7e6b2071f00dd00515
2013-02-12 15:40:20 +02:00