Commit graph

1917 commits

Author SHA1 Message Date
Michael Stahl
d85b7f1548 move tools/table.hxx to binfilter 2012-04-18 17:55:06 +02:00
Takeshi Abe
b1bee56af9 calling GetChar() only once suffices 2012-04-18 00:24:17 +09:00
Takeshi Abe
f00d60997e replaced String by rtl::OUString 2012-04-18 00:24:17 +09:00
Takeshi Abe
0432c53149 removed useless static data 2012-04-17 05:15:07 +09:00
Takeshi Abe
f4137c8e45 removed unused defines 2012-04-17 05:15:06 +09:00
Julien Nabet
8bfee2c0eb Resolves: fdo#48368 CRASH closing IDE 2012-04-16 21:16:47 +02:00
Caolán McNamara
41e055112e String::CreateFromInt32->rtl::OUString::valueOf 2012-04-11 12:06:23 +01:00
David Tardon
6de7392829 add package deps for resources 2012-04-09 10:09:23 +02:00
Julien Nabet
39ba666f80 Fix "Same expression..." reported by cppcheck 2012-04-08 22:20:20 +02:00
Michael Stahl
c923f7d2c2 gbuild: "use" vs. "add":
Naming convention for gbuild methods:
- "add" is used for stuff that is logically a part of the target
  (i.e. not registered at the Module, but defined in the target's makefile)
- "use" is used for stuff that is logically a different target
  (i.e. it is registered at the Module, has it's own makefile, may be
  in a different module than the target)
2012-04-08 01:05:52 +02:00
Szabolcs Dezsi
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
Szabolcs Dezsi
8a01ee6243 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 14:30:05 +02:00
Noel Grandin
9ef0b8e3aa Convert tools/table.hxx to std::set in EditorWindow class in basctl module 2012-04-02 23:18:19 +02:00
Noel Grandin
e5a916eeee Convert tools/table.hxx usage to std::set in Calendar class in svtools module
Also change the API slightly, removing GetSelectedData(int index) and replacing
it with GetLastSelectedDate(), since the only usage of GetSelectedData in
the codebase only needed to get the last date.
2012-04-02 23:15:20 +02:00
Markus Mohrhard
da2c7a91ad add missing tools/table.hxx include 2012-03-29 21:22:00 +02:00
Matúš Kukan
f64d58e3e1 more dependencies and include paths 2012-03-27 01:48:56 +02:00
Caolán McNamara
e443216ce2 readUnicodeString can just return the string
seeing as no-one checks the return value, we don't need
the intermediate temporary string
2012-03-26 12:18:09 +01:00
Fridrich Štrba
0a8596dd8e Revert "fix debug build"
This reverts commit 0589dd3fb5.

Given the find above, this assert will never be triggered anyway
2012-03-22 14:47:06 +01:00
Fridrich Štrba
0589dd3fb5 fix debug build 2012-03-22 09:23:15 +01:00
Stephan Bergmann
a603634f35 Fixed previous commit for --enable-dbgutil mode 2012-03-22 08:12:08 +01:00
Noel Grandin
000bb6af72 Convert tools/table.hxx usage to std::map in Basic IDE module 2012-03-22 06:39:52 +01:00
Caolán McNamara
8550b42a1d remove extra string casts 2012-03-20 12:57:31 +00:00
Stephan Bergmann
6e67c03dc0 Enable -Wnon-virtual-dtor for GCC 4.6
...which has the necessary features to support it.

Change a lot of classes to either contain a protected non-virtual dtor
(which is backwards compatible, so even works for cppumaker-generated
UNO headers) or a public virtual one.

cppuhelper/propertysetmixin.hxx still needs to disable the warning, as
the relevant class has a non-virtual dtor but friends, which would still
cause GCC to warn.

Includes a patch for libcmis, intended to be upstreamed.
2012-03-14 13:32:02 +01:00
Luboš Luňák
3f765e5bb2 replace usage of OUString::replace*AsciiL() with string literal overloads 2012-03-12 13:35:57 +01:00
Tomcsik Bence
0e8eb19a53 Object Catalog pane in Basic IDE
Object Catalog was a floating window. It has been converted to a fixed
pane on the right hand side of the editor window. While it is a
BasicDockingWindow, at the moment it is not possible to undock, move,
or resize it. Also, the Object Catalog toolbar button does not show
the visibility status of the pane, ideally it should look pressed, when
the Object Catalog pane is visible. Another missing feature is that
the Object Catalog pane cannot be switched on together with the
dialog editor.
2012-03-11 21:49:13 +01:00
Matúš Kukan
84b3f7b345 gbuild: get rid of realpath in gb_Foo_set_include 2012-03-10 21:23:20 +01:00
Stephan Bergmann
bd205223ec New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problem
...see ebe26f72e9 "WaE: 'unused' attribute ignored when parsing type"
for the problem.
2012-03-01 18:00:32 +01:00
Tomcsik Bence
491592015b implement scrolling with mouse in Object Catalog dialog
I edited out the ObjectTreeListBox class because BasicTreeListBox
contains the scroll function and all the other functions that the
ObjectTreeListBox uses.
2012-03-01 13:35:11 +01:00
Tomcsik Bence
4022a834b5 Object Catalog button now toggles display of the dialog
TODO: implement a toggle toolbar button that shows the toggle state
2012-03-01 13:35:10 +01:00
Tomcsik Bence
efd4db1e6b make button label and dialog title consistent (Object Catalog) 2012-03-01 13:35:10 +01:00
Tor Lillqvist
c16bc82637 s/interpreters/scripting/ 2012-02-27 16:51:56 +02:00
Tor Lillqvist
4c737b6470 Decouple disabling of scripting (BASIC &co) from OS being iOS 2012-02-27 10:06:22 +02:00
Takeshi Abe
03591233c1 Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
to equalsIgnoreAsciiCaseAscii("...")
2012-02-18 23:19:41 +09:00
Stephan Bergmann
9ab0b38e95 Various string function clean up
Added:
* rtl::OString::matchL
* rtl::OString::endsWith
* rtl::OString::endsWithL
* rtl::OString::indexOfL
* rtl::OString::replaceFirst
* rtl::OString::replaceAll
* rtl::OString::getToken
* rtl::OUString::endsWith
* rtl::OUString::replaceFirst
* rtl::OUString::replaceFirstAsciiL
* rtl::OUString::replaceFirstAsciiLAsciiL
* rtl::OUString::replaceAll
* rtl::OUString::replaceAllAsciiL
* rtl::OUString::replaceAllAsciiLAsciiL
* rtl::OUString::getToken
plus underlying C functions where necessary

Deprecated:
* comphelper::string::remove
* comphelper::string::getToken

Removed:
* comphelper::string::searchAndReplaceAsciiL
* comphelper::string::searchAndReplaceAllAsciiWithAscii
* comphelper::string::searchAndReplaceAsciiI
* comphelper::string::replace
* comphelper::string::matchL
* comphelper::string::matchIgnoreAsciiCaseL
* comphelper::string::indexOfL

Also fixed some apparent misuses of RTL_CONSTASCII_USTRINGPARAM ->
RTL_CONSTASCII_STRINGPARAM.
2012-02-15 15:41:09 +01:00
Tomcsik Bence
1f0784d2b8 Wrong size of 'Remove watch' button at Basic IDE. fdo#44237
This patch resize the nVirtToolBoxHeight in WatchWindow::WatchWindow if
the aRemoveWatchButton plus some space is higher than nVirtToolBoxHeight. So
the aRemoveWatchButton doesn't go into aHeaderBar.
2012-02-13 22:52:43 +01:00
Josh Heidenreich
223cca46ed Added READMEs for modules which used to be in components 2012-02-08 07:46:57 +01:00
Takeshi Abe
254f372b01 Use defined utility BASIC_DLL()/BASIC_MOD() 2012-02-07 00:31:29 +09:00
Takeshi Abe
baf5ffc7c0 Removed dead code 2012-02-07 00:31:28 +09:00
Norbert Thiebaud
c857dff7fc switch to include-based build rather than sourced-based build 2012-02-05 19:34:05 -06:00
Tor Lillqvist
6ab3556b44 Do Package_xml also for iOS so that packimages doesn't fail 2012-02-02 18:12:02 +02:00
Stephan Bergmann
6fca59d9c2 Simplify code by making getProcessComponentContext() implicit. 2012-01-31 17:26:57 +01:00
Korrawit Pruegsanusak
a1275f841a use SAL_CALL - fix bulid in msvc 2012-01-30 11:41:52 +00:00
Stephan Bergmann
e8bb827571 Fixed cppheader.xsl nillable treatment.
* cppheader.xsl had initially been written under the false assumption that a
missing oor:nillable attribute defaults to "false" instead of "true".  That has
been fixed.
* As a result, many places that use the new simplified officecfg/*.hxx headers
broke as they did not expect value types to be wrapped boost::optional.  To keep
the code simple, I decided to change all occurrences in
officecfg/registry/schema/ of properties that specify a default <value> and do
not explicitly specify oor:nillable="true" to oor:nillable="false".  Strictly
speaking, this is an incompatible change, but in many cases it should be what
was intended, anyway.
* Some places that use the new simplified officecfg/*.hxx headers still had to
be adapted to boost::optional wrapping.
* This showed that unotools/configuration.hxx did not yet work for those wrapped
properties and needed fixing, too.
2012-01-30 12:27:47 +01:00
Tor Lillqvist
81cf9f5099 Bypass building BASIC and scripting related modules for iOS
Any LO-based app distributed through the App Store can't have
scripting or extendability anyway.

Sure, this will break the build elsewhere because of missing headers.
No big deal, I will take care of that eventually. It isn't as if there
would anybody else building for iOS anyway, as far as I know. If there
is, please make yourself heard.
2012-01-27 22:43:58 +02:00
Takeshi Abe
bb51e8e72b Deleting a null pointer is safe 2012-01-26 03:03:08 +09:00
Stephan Bergmann
a2195b2dc3 Replace SourceViewConfig with (simplified) direct configuration access. 2012-01-25 18:18:52 +01:00
Marcel Metz
f9e6d195db Replaced diagnore ENSURE_OR_BREAK with regular code. 2012-01-23 23:28:46 +01:00
Ivan Timofeev
924d0bdd47 add the "Send Feedback..." help menu item 2012-01-23 12:37:07 +01:00
August Sodora
90e983df7b Use a smart pointer here instead 2012-01-20 20:47:54 -05:00
August Sodora
e0d20cbd0b valgrind: Fix memory leak 2012-01-20 20:47:54 -05:00