Commit Graph

133 Commits

Author SHA1 Message Date
Gergo Mocsi
61ee2598b1 GSOC work, code complete option, menu entry fixes
Menu entry is added under View->Enable Code Completition when in Experimental mode.
Fixed the call of funtion SbModule::GetCodeCompleteDataFromParse() to be called only when code completition is enabled.
Replaced the occurences of SvtMiscOptions to CodeCompleteOptions.

Change-Id: If0520123ab5f612d7d24fb98f8e9bf6881af76cb
2013-09-02 18:16:47 +02:00
Gergo Mocsi
3ce1f554de GSOC work menu entry + code fix
Fixed the definition of GLOB_KEY, NOT_FOUND from const to static const.
Added a new menu entry for code completition under View->Enable Code Completition.

Change-Id: If8ac25ee43a7ba780ccdee2e5e909777115a1f27
2013-09-02 18:16:47 +02:00
Luboš Luňák
64b993e046 finish deprecation of O(U)String::valueOf()
Compiler plugin to replace with matching number(), boolean() or OUString ctor,
ran it, few manual tweaks, mark as really deprecated.

Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-21 15:10:35 +02:00
Caolán McNamara
5efc15f000 reduce use of UniString from ResID ctor
Change-Id: I8d7619e7807ff2d400ec5c7fd181375130245728
2013-07-28 16:45:48 +01:00
Marcos Paulo de Souza
0f200cc30e fdo#63154: Change Min/Max/Abs for std::min/max/abs
Now all these usages were removed from LO.

Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6
Reviewed-on: https://gerrit.libreoffice.org/3326
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-20 11:09:54 +00:00
Chr. Rossmanith
b3c914ffff Use OUString in basctl(basicide)
Change-Id: I176088d3d33f02a1721e4027571a1f22dc6bd986
Reviewed-on: https://gerrit.libreoffice.org/3116
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2013-03-30 21:37:07 +00:00
Chr. Rossmanith
91c1161dd9 Use OUString and sal_Int32 in GetTextWidth()
Change-Id: I0b3cdbe8576300d098027cc98d7dff841d148f18
Reviewed-on: https://gerrit.libreoffice.org/3097
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
2013-03-28 13:48:02 +00:00
Ricardo Montania
9c281fda84 String::AppendAscii cleanup
Change-Id: I3c1ff291488b7747e143982aa7ea95169175c2c2
Reviewed-on: https://gerrit.libreoffice.org/2914
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-22 17:17:18 +00:00
Thomas Arnhold
1bda31ac13 loplugin: unused variables
aErrorText usage was commented out since 2000.

Change-Id: Ic4d81c2d48e59a36e2f4280ceb36ea8148b9dc9d
2013-02-25 03:14:00 +01:00
Noel Grandin
4b51374a70 fdo#46808, Adapt ui::dialogs::FilePicker UNO service to new style
Change-Id: I1cafbfc53994e5d74241042dbd1d292ddbda67d5
2013-02-12 10:14:45 +02:00
Jean-Noël Rouvignac
e13a3d566e fdo#38838 Some removal/replacement of the String/UniString with OUString
Also used the new OUString::number(...) methods.

Change-Id: I3174c43d56d1ae359901bb8a13fe0096f2c74808
Reviewed-on: https://gerrit.libreoffice.org/1766
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-22 14:25:15 +00:00
Marcos Paulo de Souza
47139512bc fdo#57950: remove consecutive append in basctl with StringBuffer
Change-Id: I43464dd702c6b4a63df39b6a4b35bec63712d5e6
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/1486
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2012-12-27 09:46:12 +00:00
Caolán McNamara
4a11a47103 trivial empty-init String::Fill -> comphelper::padToLength
Change-Id: I6c41b8f4d3ad739eff545063bd1f8fe8f4fba65e
2012-10-30 00:05:59 +00:00
Ricardo Montania
db1af9a434 OUString and RTL_CONSTASCII_US... cleanup in basctl
Change-Id: I440d245d013873ec2830280ad01a4d0625fc4c1a
Reviewed-on: https://gerrit.libreoffice.org/741
Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br>
Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-10-03 23:10:01 +00:00
Uray M. János
70d1b98a53 basctl: int -> long for Point and Size
To be consequent, because Point and Size use long.

Change-Id: I776a1839ee5d2cbdbcedad2b2922cb33b94c7b37
2012-09-07 11:55:31 +02:00
Uray M. János
81f72a3c3a Cleanup in basctl (raw pointers)
Lots of raw pointers have been converted to boost::scoped_ptr to reduce
the number of 'delete's and the possibility of memory leaks.
Some pointers have been converted to references, to reduce the needless
checking for nullptrs, and so simplifying the code.
Also some #define-s have been converted to C++ constants or enumerations.

Change-Id: Ifbeb78f744bac7a96c8a446ff4db90dedf85fe26
2012-09-07 11:20:48 +02:00
Uray M. János
7d5911e408 Basic IDE: Docking property browser under object catalog
Now the property browser can be docked in the same way as all other
dialogs in the Basic IDE and the Dialog Editor.
The property browser (PropBrw, for which PropertyBrowser would be a
better and easier-to-remember name IMO) is derived from
basctl::DockingWindow instead of SfxDockingWindow. PropBrwMgr was
removed (it seemed to be only a wrapper), and PropBrw is now a data
member of DialogWindowLayout (aPropertyBrowser).

Change-Id: I06737a5cbc985888432630714cb919d1bbbcbb49
Reviewed-on: https://gerrit.libreoffice.org/518
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
2012-09-07 09:13:03 +00:00
Uray M. János
c20f15c1eb Basic IDE: namespace basctl
Now all names in basctl are in namespace 'basctl'.
There were lots of names that included the word 'Basic' or 'BasicIDE' in
it, e.g. BasicIDEData, BasicDocumentEntry, BasicTreeListBox,
BasicIDEModule, IDEBaseWindow etc. This information is now stored in the
namespace name, so the names could be shortened: basctl::DocumentEntry,
basctl::TreeListBox, basctl::Module, basctl::BaseWindow etc.
Some other minor changes:
* LibInfos, LibInfoItem, LibInfoKey ->
  LibInfos, LibInfos::Item, LibInfos::Key
* The header guards are now uniformly BASCTL_FILENAME_HXX, instead of
  e.g. _FILENAME_HXX, which is undefined behaviour because of the '_'.
* namespace BasicIDE, BasicIDEGlobals, basicide -> namespace basctl
* BASICIDE_TYPE_MODULE, ... -> basctl::TYPE_MODULE, ...

Change-Id: I2a9b493562d0d8a2510d569798fbe9e1161b7c9b
Reviewed-on: https://gerrit.libreoffice.org/501
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2012-08-29 20:48:28 +00:00
Caolán McNamara
78b2d4d00d callcatcher: update list
Change-Id: Id297f32de5fba9d17fec89d2f8ea21c5d1a2a4bc
2012-08-22 12:08:22 +01:00
Noel Power
e03553ab75 followup changes to 44861f2435
a) got rid of defaulted params in virtual base class methods
b) made some no-op virtual methods in the base class pure thus making the base
class abstract
c) made LayoutManager no longer inherit utl::ConfigurationListener as it wasn't
actually listening or acting on any configuration changes

Change-Id: Iab1783f6b5a35b130287a2aedbd1dc8413793182
2012-08-17 13:10:45 +01:00
Uray M. János
44861f2435 Object Catalog in Dialog Editor
Change-Id: Ia74faa1452a4200c28fbd7c63130700df0a70b24

Object Catalog in Dialog Editor

Change-Id: I97f2e0497b0e87cf630bba16dd98f9f7d0bb86e7
2012-08-17 13:10:15 +01:00
Jean-Tiare LE BIGOT
9658704fc4 Set ide sizer color to dark grey; was dark black
The color setting was picked from SplitWindow::Paint()
for visual consistency with the sizers used in Impress
for example.

This commit also resurects presumably dead code.
In fact GDB let me see that only the short path
was taken.

This has an impact on Calc's window splitters and
on more visibly on the basic IDE which now looks
much nicer :)

EDITS:
 restricted this commit impact to IDE as a poc

Change-Id: I9a051fd894feccff4bbc7db7efe1160cb2c3a2c6
2012-08-16 10:17:33 +02:00
Stephan Bergmann
934e051b16 Some MSVC warnings
Change-Id: Ib4856779bb2060e3e95d24b8a00249e411f92b62
2012-08-08 11:38:54 +02:00
Zolnai Tamás
2854d8b17c fdo#46193 MessBox was made copyable
Part of MultiLineEdit was moved down from stvools to vcl
with name VCLMultiLineEdit. MessBox uses it to display the
message in read-only mode. Some of svtools' classes - which
are necessary to implement VCLMultiLineEdit - were moved to
vcl as a whole, and their includes are rewrite.
Note: ExtTextView and ExtTextEngine classes would be leaved in svtools
if VCLMultiLineEdit is a template class, but two macros: IMPL_LINK
end IMPL_LINK_NOARG make it impossible to use template syntax.

Change-Id: I26543868d8081c225c7125404d23369de3c3afcd
2012-08-07 10:50:23 +02:00
Uray M. János
13b9c05133 IDE: sal_Bool to bool
Convert all occurences of sal_Bool, sal_True and sal_False in basctl
to bool, true and false -- except in prototypes of virtual function
overrides. (The virtual functions that are internal to basctl can be
and was converted.) Note that since sal_Bool and bool are implicitly
convertible to each other, for functions that take a sal_Bool (by
value), true and false can be given too.

Change-Id: Ie44740fa87f89e9fedd913840ca2b38e95e6b957
2012-08-07 11:01:01 +03:00
Uray M. János
b0f2d55fe5 Basic IDE Object Catalog improvements
Change-Id: I4c3bbf721428e93cdfa8f062f37c5911faba0fa4
2012-08-07 09:14:22 +02:00
Mathieu Vonlanthen
0bdf6fc7c7 Bug 48549 - System::Beep() removal
Change-Id: I011048912af051a762a78af8646513a1fc624073
2012-07-30 05:20:02 +02:00
Caolán McNamara
0a345d8e97 Restore use of MatchGroup
i.e. removal of entire call in 0f6101cfef doesn't
look right to me. That just wanted to remove the "beeps"

Change-Id: I8024c04d1e585f45fa54a82faab5f013096a708a
2012-07-25 10:02:14 +01:00
Takeshi Abe
264ff0e6e4 sal_Bool -> bool
Change-Id: I009a55e1e399198aef8e5ad3f43230b0aea0b6fe
2012-07-25 16:05:22 +09:00
Uray M. János
c55a4639d2 fdo#52223 fix Object Catalog in Basic IDE when resizing
Change-Id: I96861bfcf7c0da6dd94c50acd673dedb14d15204
2012-07-24 10:42:23 +04:00
Takeshi Abe
7727f93d7d Remove unused argument
Change-Id: Ida75dce28b876abf4aec8dcae8ad60ba89063b59
2012-07-24 10:13:32 +09:00
Michael Meeks
20ac67f06b WaE: misc. fixes.
Change-Id: I6cab01b0b82f7b82fff617715c5af45d23c536fe
2012-07-23 15:12:44 +01:00
Mathieu Vonlanthen
0f6101cfef fdo#48549 System::Beep() removal
Change-Id: I8fe133dd8d1f759fbe21d47ae358c0b5451812b5
2012-07-23 15:12:44 +01:00
Takeshi Abe
390fc89057 sal_Bool -> bool
Change-Id: I5b334344a0ead5fde083c952e625d74978f1a927
2012-07-20 07:03:02 +09:00
Caolán McNamara
104261010a some UniString->rtl::OUString
Change-Id: Ie69b30094da25df23a36baca2c7723d6a41f48c3
2012-07-09 12:16:56 +01:00
Thomas Arnhold
1e322b7f26 Remove last PCH traces
Change-Id: I6b5d7422eecb90c612e76fd59a6316a4ea7a8698
2012-06-29 09:25:12 +02:00
Michael Meeks
39669162e0 re-base on ALv2 code. 2012-06-12 17:03:23 +01:00
Stephan Bergmann
683312377a Removed unused SfxMedium::bDirect
See the TODO comment in sfx2/inc/sfx2/docfile.hxx about a temporary SfxMedium
ctor overload to find not yet adapted uses of another overload, to be removed
again in due time.

Change-Id: Ie22c33c32f8870ce6ebf6d500abc7a4e33d97183
2012-05-24 11:38:12 +02:00
Caolán McNamara
8a0685d49f make ResId::toString a non-static member
Change-Id: I756c0a19bea7b1cc0e290d9f382a04d655819bfb
2012-04-30 11:22:09 +01:00
Takeshi Abe
f4137c8e45 removed unused defines 2012-04-17 05:15:06 +09: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
Noel Grandin
583582c5bf German translations
By Mike Whiteley/Noel Grandin, some smaller changes by myself; changes to binfilter removed from patch
2011-12-12 22:35:05 +01:00
Olivier Hallot
1688a9d923 Fix for fdo43460 Part II getLength to isEmpty
Part II
Module
basctl
2011-12-10 13:54:31 +04:00
August Sodora
f5549c9429 String->OUString 2011-12-09 01:58:49 -05:00
August Sodora
5ca762a9ca String->OUString 2011-12-05 00:47:35 -05:00
Niklas Johansson
0083479a80 Fixed fdo#42778 pass count in Manage Breakpoints and crash in dialog
When entering pass count 2 it is expected that the breakpoint is
passed two times before breaking not to break the second time.

Also fixed a crash due to dangling pointers of breakpoints.
2011-11-30 13:33:26 +01:00
Norbert Thiebaud
5b350d5ddc remove include of pch header in basctl 2011-11-27 12:55:25 -06:00
Caolán McNamara
33a03b669b no need for BasicErrorHdl to be a LINK 2011-11-24 21:41:31 +00:00
August Sodora
8061b40349 String->OUString 2011-11-22 00:21:13 -05:00
August Sodora
462c6fc24f Remove unnecessary includes 2011-11-21 23:33:54 -05:00