fffae28952
bah, need to tweak for pre c++0x
...
This reverts commit d00fc0e293852cfc019ffaffa65bee327397677b.
2011-12-21 10:29:33 +00:00
d00fc0e293
disentangle Read/WriteByteString OUString variants
...
The ones which use a definite 8-bit encoding read/write pascal-style
strings with a 16bit length prefix.
The ones which use a definite 16-bit encoding read/write pascal-style
UTF-16 strings with a 32bit length prefix, i.e. not ByteStrings at all
The "I dunno" ones might be UTF-16 strings or 8-bit strings, depending
on the charset. Rename to ReadUniOrByteString like the other
similar horrors to flag this misery
2011-12-21 10:10:58 +00:00
92f396733e
convert ReadByteString/WriteByteString from ByteString to OString
...
Nobody ever used the return values anyway, so for reading just
return the string and for writing the number of bytes written
Doesn't need to be members, make standalone functions
Rename to
read_lenPrefixed_uInt8s_ToO[U]String and
write_lenPrefixed_uInt8s_FromO[U]String, lengthy,
but much less unambiguous, seeing as a lot of users of it don't
seem to be aware that they read/write pascal-style length
prefixed strings, which isn't surprising given the
apparent simplicity of their original name.
added a unit test
2011-12-21 10:10:58 +00:00
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
91d4fe75ee
Fix for fdo43460 Part III getLength to isEmpty
...
Part III
Module
basic
2011-12-10 21:13:58 +04:00
86adb5cacb
get rid of class Date and Time default ctor with system time penalty
2011-12-01 21:04:29 +01:00
6f33482f8f
ByteString->rtl::OUStringToOString
2011-11-28 09:55:03 +00:00
2ca38d3c7c
rmove include of pch header in basic
2011-11-27 12:55:59 -06:00
5c76e221fe
Some German to English comment translations.
2011-11-25 11:18:19 +00:00
fba911fea7
gsl_getSystemTextEncoding -> osl_getThreadTextEncoding
2011-11-25 09:07:49 +01:00
ca02d72808
remove [Byte]String::EraseAllChars
2011-11-19 21:11:02 +00:00
4b030331f7
add narrow (one letter) month names
...
While introducing Calendar2 and the XCalendar3 interface anyway, as well the
"one letter" narrow month names sometimes needed in calendaring can be added.
These are not always the first capitalized letters of the months in all
locales, and might even not necessarily be just one character.
Introduces a new struct css::i18n::Calendar2 that is not derived from
css::i18n::Calendar because it uses a new struct css::i18n::CalendarItem2 to
hold the NarrowName elements.
In locale data the elements DaysOfMonth, MonthsOfYear and GenitiveMonths now
have an optional element DefaultNarrowName. If not specified, the first
character of DefaultFullName is taken.
LocaleDataWrapper and CalendarWrapper use and return the new Calendar2 and
sequences of CalendarItem2 structs. Application code adapted.
The number formatter now displays narrow month names (genitive if applicable)
for the MMMMM code, previously it displayed the first 16 bit code point of the
full name (not even utf-16 aware).
Narrow day names currently are not used, except in svtools' Calendar control.
2011-11-19 16:15:22 +01:00
556a61a2f8
Added Frac function to calc formulas and BASIC standard library
2011-10-21 15:10:13 +01:00
ebbfc7ea4a
callcatcher: newly unused methods
2011-09-30 12:39:35 +01:00
acc5c0734c
callcatcher: remove newly unused code
2011-09-30 09:09:27 +01:00
1f5c696c37
add mode-lines to .m files and last round of merged files, etc.
2011-09-30 09:09:25 +01:00
7a142d8932
drop intermediate ByteString
2011-09-19 09:59:23 +01:00
32b2e810ad
use read_uInt8s_AsOString and comphelper::string::padToLength
...
which allows us to simplify the read in DTable.cxx quite a bit
2011-09-17 23:20:46 +01:00
22eb754f61
replace ByteString::Fill
2011-09-15 11:23:37 +01:00
8b11173f34
Translated German comments, removed redundant ones till cairo (incl.)
2011-08-31 16:29:43 +03:00
e1a1091d0a
catch ignored exceptions by const reference
2011-08-24 11:30:17 +09:00
0236af5e65
dllmgr-x86 expects stdcall-decorated names
2011-08-16 18:43:43 +03:00
f822cc5e8f
use OSL_VERIFY instead
2011-08-02 11:07:15 +01:00
a4c573ada0
move required SttResId into libapp.a where it is required for automation/
2011-08-01 12:24:43 +01:00
c8e76fbfed
convert basic to gbuild
2011-07-30 10:39:20 +02:00
37d7efc5f9
Some cppcheck cleaning
2011-07-30 10:08:45 +02:00
f921ca3cc5
check return of osl_setFilePos
2011-07-22 10:17:52 +01:00
01ea434011
remove runsInSetup which has a const return value
2011-07-12 17:01:19 +02:00
6a7ba51092
callcatcher: remove unused StarBASIC::StaticEnableReschedule
2011-07-12 17:01:18 +02:00
c46bc9ed20
callcatcher: remove unused implFoo*
2011-07-11 09:04:34 +01:00
ee6c4017da
cleanup loop iteration to be simpler
2011-05-31 14:17:43 +01:00
1bf36db7af
make the loop finite .-)
2011-05-31 11:55:58 +02:00
aedc5eb4af
fix snafu identified by Julien Nabet
2011-05-31 10:27:44 +01:00
ca39c0ee5f
Merge commit 'libreoffice-3.4.0.2'
...
Conflicts:
basic/source/app/app.cxx
basic/source/runtime/iosys.cxx
desktop/unx/source/start.c
sfx2/source/appl/appdata.cxx
sfx2/source/appl/appinit.cxx
sfx2/source/inc/appdata.hxx
svx/AllLangResTarget_svx.mk
sysui/desktop/productversion.mk
sysui/desktop/share/makefile.mk
2011-05-31 10:45:50 +02:00
5a9d7a54e9
Merge branch 'master' of git://anongit.freedesktop.org/libreoffice/libs-core
2011-05-27 20:49:48 +02:00
9df8682ced
Merge remote-tracking branch 'origin/integration/dev300_m106'
...
Conflicts:
basic/source/classes/sbunoobj.cxx
basic/source/inc/runtime.hxx
basic/source/runtime/step1.cxx
desktop/source/deployment/dp_services.cxx
drawinglayer/prj/d.lst
drawinglayer/source/primitive2d/makefile.mk
sfx2/source/appl/appinit.cxx
sfx2/source/appl/appquit.cxx
sfx2/source/inc/appdata.hxx
sfx2/source/view/viewfrm.cxx
svx/source/fmcomp/gridctrl.cxx
vbahelper/source/vbahelper/vbahelper.cxx
2011-05-27 20:46:20 +02:00
f6a80c4dee
getDirectoryPath is unused, see comphelper::LinkResolver if restored
2011-05-24 21:44:03 +01:00
11c71842f6
Drop OS2
2011-05-21 16:26:08 +03:00
908d9588d4
delete[] after use
2011-05-16 15:39:27 +02:00
7c8d2e74df
fix for fdo#36898
...
remove some extra _USE_UNO #ifdef(s) that should have been removed when the associated define _USE_UNO was removed
2011-05-06 14:46:17 +01:00
1b233cf999
Fix to build
2011-05-06 10:41:50 +02:00
0105e425ba
Remove usage of List for DdeConnection in SbiDdeControl.
2011-05-06 10:26:00 +02:00
251750546f
Make 'basic' module compile again.
2011-05-04 16:52:03 +02:00
9cc6dfd98f
remove Attribute_XXX in favor of osl_File_Attribute_XXX (desktop)
2011-04-30 17:43:17 +02:00
f51c3f66b1
Merge commit 'ooo/DEV300_m106' into integration/dev300_m106
...
Conflicts:
avmedia/source/gstreamer/gstframegrabber.cxx
avmedia/source/gstreamer/gstplayer.cxx
avmedia/source/gstreamer/gstplayer.hxx
basic/inc/basic/sbxdef.hxx
basic/source/classes/sbxmod.cxx
basic/source/comp/makefile.mk
basic/source/comp/sbcomp.cxx
basic/source/inc/namecont.hxx
basic/source/inc/scriptcont.hxx
basic/source/runtime/methods.cxx
basic/source/runtime/runtime.cxx
basic/source/runtime/stdobj.cxx
basic/source/runtime/step1.cxx
basic/source/uno/namecont.cxx
basic/util/makefile.mk
connectivity/source/commontools/predicateinput.cxx
connectivity/source/drivers/dbase/DNoException.cxx
connectivity/source/drivers/dbase/DTable.cxx
connectivity/source/drivers/file/fcomp.cxx
connectivity/source/drivers/jdbc/JConnection.cxx
connectivity/source/drivers/odbcbase/OResultSet.cxx
connectivity/source/drivers/odbcbase/OStatement.cxx
connectivity/source/parse/sqlnode.cxx
desktop/source/app/app.cxx
drawinglayer/inc/drawinglayer/primitive2d/drawinglayer_primitivetypes2d.hxx
drawinglayer/source/processor2d/vclprocessor2d.cxx
formula/inc/formula/token.hxx
formula/source/core/api/token.cxx
fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx
fpicker/source/win32/filepicker/platform_vista.h
framework/source/helper/persistentwindowstate.cxx
framework/source/uielement/menubarmanager.cxx
oovbaapi/ooo/vba/XFoundFiles.idl
oovbaapi/ooo/vba/excel/XApplication.idl
oovbaapi/ooo/vba/msforms/XCheckBox.idl
oovbaapi/ooo/vba/msforms/XComboBox.idl
oovbaapi/ooo/vba/msforms/XControl.idl
oovbaapi/ooo/vba/msforms/XGroupBox.idl
oovbaapi/ooo/vba/msforms/XLabel.idl
oovbaapi/ooo/vba/msforms/XListBox.idl
oovbaapi/ooo/vba/msforms/XNewFont.idl
oovbaapi/ooo/vba/msforms/XRadioButton.idl
oovbaapi/ooo/vba/msforms/XTextBox.idl
oovbaapi/ooo/vba/msforms/XToggleButton.idl
scripting/source/dlgprov/dlgevtatt.cxx
sfx2/source/control/unoctitm.cxx
sfx2/source/doc/objstor.cxx
sfx2/source/doc/objxtor.cxx
svx/inc/svx/svdograf.hxx
svx/source/form/fmpage.cxx
svx/source/form/fmpgeimp.cxx
svx/source/svdraw/svdedtv.cxx
svx/source/svdraw/svdfmtf.cxx
svx/source/svdraw/svdograf.cxx
svx/source/svdraw/svdouno.cxx
svx/source/xml/xmlgrhlp.cxx
uui/source/iahndl-ssl.cxx
vbahelper/Library_msforms.mk
vbahelper/Library_vbahelper.mk
vbahelper/inc/vbahelper/vbahelper.hxx
vbahelper/prj/build.lst
vbahelper/source/msforms/vbacombobox.cxx
vbahelper/source/msforms/vbacontrol.cxx
vbahelper/source/msforms/vbacontrols.cxx
vbahelper/source/msforms/vbaframe.cxx
vbahelper/source/msforms/vbaframe.hxx
vbahelper/source/msforms/vbalabel.cxx
vbahelper/source/msforms/vbalabel.hxx
vbahelper/source/msforms/vbalistbox.cxx
vbahelper/source/msforms/vbalistbox.hxx
vbahelper/source/msforms/vbamultipage.cxx
vbahelper/source/msforms/vbatogglebutton.cxx
vbahelper/source/msforms/vbauserform.cxx
vbahelper/source/vbahelper/vbacommandbar.cxx
vbahelper/source/vbahelper/vbacommandbarcontrol.cxx
vbahelper/source/vbahelper/vbacommandbarcontrols.hxx
vbahelper/source/vbahelper/vbahelper.cxx
vbahelper/source/vbahelper/vbawindowbase.cxx
xmloff/source/meta/xmlmetai.cxx
xmloff/source/style/PageMasterExportPropMapper.cxx
xmloff/source/style/PageMasterStyleMap.cxx
xmloff/source/text/txtexppr.cxx
xmloff/source/text/txtprmap.cxx
2011-04-28 00:12:58 +02:00
b0b3e5fdf8
remove FileStatusMask_XXX in favour of osl_FileStatus_Mask_XXX (libs-core)
2011-04-19 20:36:11 +02:00
8a75a1f07d
Replace String with rtl::OUString in various places
2011-04-19 18:01:53 +01:00
b99c88fca6
Kill Pos_XXX in favour of osl_Pos_XXX
2011-04-14 12:45:57 +02:00
737740f041
Kill Pos_XXX in favour of osl_Pos_XXX
2011-04-14 12:41:44 +02:00
b2212fac4d
Finished removal of _USE_UNO
2011-04-12 20:42:49 +02:00