[Libreoffice-commits] .: Branch 'libreoffice-3-5' - instsetoo_native/util solenv/bin
instsetoo_native/util/openoffice.lst |6 +++--- solenv/bin/modules/installer/download.pm |6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) New commits: commit ea0bc3c3d48ff750dc76442b1e4f1ac4d2e9a42d Author: Andras Timar ati...@suse.com Date: Mon Dec 12 10:00:41 2011 +0100 change PRODUCTNAME back to LOdev, because prev. change broke Linux packaging diff --git a/instsetoo_native/util/openoffice.lst b/instsetoo_native/util/openoffice.lst index 3f9b12d..93c3686 100644 --- a/instsetoo_native/util/openoffice.lst +++ b/instsetoo_native/util/openoffice.lst @@ -164,7 +164,7 @@ LibreOffice_Dev { variables { - PRODUCTNAME LibO-dev + PRODUCTNAME LOdev PRODUCTVERSION 3.5 PRODUCTEXTENSION LONG_PRODUCTEXTENSION @@ -311,7 +311,7 @@ LibreOffice_Dev_SDK downloadname LibO-Dev-SDK_{packageversion}_{os}_install_{languages} variables { -PRODUCTNAME LibO-dev +PRODUCTNAME LOdev PRODUCTVERSION 3.5 PRODUCTEXTENSION LONG_PRODUCTEXTENSION @@ -403,7 +403,7 @@ LibreOffice_Dev_Test downloadname LO-Dev-Test_{packageversion}_{os}_install_{languages} variables { -PRODUCTNAME LibO-dev +PRODUCTNAME LOdev PRODUCTVERSION 3.5 PRODUCTEXTENSION LONG_PRODUCTEXTENSION diff --git a/solenv/bin/modules/installer/download.pm b/solenv/bin/modules/installer/download.pm index 246adea..5f186b7 100644 --- a/solenv/bin/modules/installer/download.pm +++ b/solenv/bin/modules/installer/download.pm @@ -394,15 +394,15 @@ sub get_downloadname_productname if ( $allvariables-{'PRODUCTNAME'} eq LibreOffice ) { $start = LibO; } -if ( $allvariables-{'PRODUCTNAME'} eq LibO-dev ) { $start = LibO-Dev; } +if ( $allvariables-{'PRODUCTNAME'} eq LOdev ) { $start = LibO-Dev; } if (( $allvariables-{'PRODUCTNAME'} eq LibreOffice ) ( $allvariables-{'POSTVERSIONEXTENSION'} eq SDK )) { $start = LibO-SDK; } -if (( $allvariables-{'PRODUCTNAME'} eq LibO-dev ) ( $allvariables-{'POSTVERSIONEXTENSION'} eq SDK )) { $start = LibO-Dev-SDK; } +if (( $allvariables-{'PRODUCTNAME'} eq LOdev ) ( $allvariables-{'POSTVERSIONEXTENSION'} eq SDK )) { $start = LibO-Dev-SDK; } if (( $allvariables-{'PRODUCTNAME'} eq LibreOffice ) ( $allvariables-{'POSTVERSIONEXTENSION'} eq TEST )) { $start = LibO-Test; } -if (( $allvariables-{'PRODUCTNAME'} eq LibO-dev ) ( $allvariables-{'POSTVERSIONEXTENSION'} eq TEST )) { $start = LibO-Dev-Test; } +if (( $allvariables-{'PRODUCTNAME'} eq LOdev ) ( $allvariables-{'POSTVERSIONEXTENSION'} eq TEST )) { $start = LibO-Dev-Test; } if ( $allvariables-{'PRODUCTNAME'} eq URE ) { $start = LibO-URE; } ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: Branch 'libreoffice-3-5' - solenv/bin
solenv/bin/modules/installer/windows/msiglobal.pm | 20 ++-- 1 file changed, 2 insertions(+), 18 deletions(-) New commits: commit fb8c93b5aa90501bf33dffe075390cc7f1e71c22 Author: Andras Timar ati...@suse.com Date: Sat Dec 10 22:10:35 2011 +0100 use PACKAGEVERSION as the base of MSI ProductVersion Formerly PRODUCTVERSION was used but that did not contain the microversion digit. It is better to have it in MSI ProductVersion, because a higher build number of a lower microversion looked newer from the MSI point of view, and update failed. MSI ProductVersion is now major.minor.micro.build, e.g. 3.6.1.1206 (build number is taken from minor.mk) diff --git a/solenv/bin/modules/installer/windows/msiglobal.pm b/solenv/bin/modules/installer/windows/msiglobal.pm index a90698a..43e6ee3 100644 --- a/solenv/bin/modules/installer/windows/msiglobal.pm +++ b/solenv/bin/modules/installer/windows/msiglobal.pm @@ -1805,27 +1805,11 @@ sub set_msiproductversion { my ( $allvariables ) = @_; -my $productversion = $allvariables-{'PRODUCTVERSION'}; - -if (( $productversion =~ /^\s*\d+\s*$/ ) ( $productversion 255 )) { $productversion = $productversion%256; } +my $productversion = $allvariables-{'PACKAGEVERSION'}; if ( $productversion =~ /^\s*(\d+)\.(\d+)\.(\d+)\s*$/ ) { -$productversion = $1 . \. . $2 . $3 . \. . $installer::globals::buildid; -} -elsif ( $productversion =~ /^\s*(\d+)\.(\d+)\s*$/ ) -{ -$productversion = $1 . \. . $2 . \. . $installer::globals::buildid; -} -else -{ -my $productminor = 00; -if (( $allvariables-{'PACKAGEVERSION'} ) ( $allvariables-{'PACKAGEVERSION'} ne )) -{ -if ( $allvariables-{'PACKAGEVERSION'} =~ /^\s*(\d+)\.(\d+)\.(\d+)\s*$/ ) { $productminor = $2; } -} - -$productversion = $productversion . \. . $productminor . \. . $installer::globals::buildid; +$productversion = $1 . \. . $2 . \. . $3 . \. . $installer::globals::buildid; } $installer::globals::msiproductversion = $productversion; ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: connectivity/source postgresql/makefile.mk
connectivity/source/drivers/postgresql/makefile.mk |1 + postgresql/makefile.mk |9 ++--- 2 files changed, 3 insertions(+), 7 deletions(-) New commits: commit f5501498eb4dae84146b8ad7372656bfe4b6ea35 Author: Fridrich Å trba fridrich.st...@bluewin.ch Date: Mon Dec 12 10:16:32 2011 +0100 Enable OpenSSL support in the internal libpq diff --git a/connectivity/source/drivers/postgresql/makefile.mk b/connectivity/source/drivers/postgresql/makefile.mk index 29f2029..68837d9 100644 --- a/connectivity/source/drivers/postgresql/makefile.mk +++ b/connectivity/source/drivers/postgresql/makefile.mk @@ -151,6 +151,7 @@ SHL2STDLIBS= \ $(CPPUHELPERLIB) \ $(SALLIB) \ $(SALHELPERLIB)\ + $(OPENSSLLIB) \ $(POSTGRESQL_LIB) \ $(LIBPQ_LINK) diff --git a/postgresql/makefile.mk b/postgresql/makefile.mk index 2979779..898471b 100644 --- a/postgresql/makefile.mk +++ b/postgresql/makefile.mk @@ -52,17 +52,12 @@ CONFIGURE_DIR=. BUILD_DIR=src CONFIGURE_ACTION = -BUILD_ACTION = nmake -f win32.mak +BUILD_ACTION = nmake -f win32.mak USE_SSL=1 .ELSE CONFIGURE_DIR=. BUILD_DIR=src/interfaces/libpq -# TODO: -# --datarootdir changes where libpq expects internationalisation of its messages -# (which we don't install anyway for now...) -# --sysconfdir: config files. Ideally, we would like that to be the same as the platform default, -# but that's quite some guessing work. -CONFIGURE_ACTION = ./configure --without-readline --disable-shared +CONFIGURE_ACTION = ./configure --without-readline --disable-shared --with-openssl BUILD_ACTION = make -j$(GMAKE_MODULE_PARALLELISM) all-static-lib .ENDIF ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: Branch 'libreoffice-3-5' - connectivity/source postgresql/makefile.mk
connectivity/source/drivers/postgresql/makefile.mk |1 + postgresql/makefile.mk |9 ++--- 2 files changed, 3 insertions(+), 7 deletions(-) New commits: commit 9b7a7ba72880fe90a0139ddca4bfc9ad180a6d4d Author: Fridrich Å trba fridrich.st...@bluewin.ch Date: Mon Dec 12 10:16:32 2011 +0100 Enable OpenSSL support in the internal libpq Signed-off-by: Fridrich Å trba fridrich.st...@bluewin.ch diff --git a/connectivity/source/drivers/postgresql/makefile.mk b/connectivity/source/drivers/postgresql/makefile.mk index 29f2029..68837d9 100644 --- a/connectivity/source/drivers/postgresql/makefile.mk +++ b/connectivity/source/drivers/postgresql/makefile.mk @@ -151,6 +151,7 @@ SHL2STDLIBS= \ $(CPPUHELPERLIB) \ $(SALLIB) \ $(SALHELPERLIB)\ + $(OPENSSLLIB) \ $(POSTGRESQL_LIB) \ $(LIBPQ_LINK) diff --git a/postgresql/makefile.mk b/postgresql/makefile.mk index 2979779..898471b 100644 --- a/postgresql/makefile.mk +++ b/postgresql/makefile.mk @@ -52,17 +52,12 @@ CONFIGURE_DIR=. BUILD_DIR=src CONFIGURE_ACTION = -BUILD_ACTION = nmake -f win32.mak +BUILD_ACTION = nmake -f win32.mak USE_SSL=1 .ELSE CONFIGURE_DIR=. BUILD_DIR=src/interfaces/libpq -# TODO: -# --datarootdir changes where libpq expects internationalisation of its messages -# (which we don't install anyway for now...) -# --sysconfdir: config files. Ideally, we would like that to be the same as the platform default, -# but that's quite some guessing work. -CONFIGURE_ACTION = ./configure --without-readline --disable-shared +CONFIGURE_ACTION = ./configure --without-readline --disable-shared --with-openssl BUILD_ACTION = make -j$(GMAKE_MODULE_PARALLELISM) all-static-lib .ENDIF ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: Branch 'libreoffice-3-5' - svtools/source
svtools/source/brwbox/brwbox2.cxx | 40 +- 1 file changed, 27 insertions(+), 13 deletions(-) New commits: commit 09400837349f3f42d47ff570abb3c2d5f50b3e50 Author: Caolán McNamara caol...@redhat.com Date: Mon Dec 12 09:17:17 2011 + Resolves: fdo#42694 crash inserting table control (cherry picked from commit 4521fc855b319bd8aa6583900d97c026bcc5f32f) Signed-off-by: Caolán McNamara caol...@redhat.com diff --git a/svtools/source/brwbox/brwbox2.cxx b/svtools/source/brwbox/brwbox2.cxx index 30937db..92c29de 100644 --- a/svtools/source/brwbox/brwbox2.cxx +++ b/svtools/source/brwbox/brwbox2.cxx @@ -599,8 +599,10 @@ void BrowseBox::Resize() nSBSize = (sal_uLong)(nSBSize * (double)GetZoom()); DoHideCursor( Resize ); -sal_uInt16 nOldVisibleRows = -(sal_uInt16)(pDataWin-GetOutputSizePixel().Height() / GetDataRowHeight() + 1); +sal_uInt16 nOldVisibleRows = 0; +//fdo#42694, post #i25# GetDataRowHeight() can be 0 +if (GetDataRowHeight()) +nOldVisibleRows = (sal_uInt16)(pDataWin-GetOutputSizePixel().Height() / GetDataRowHeight() + 1); // did we need a horiz. scroll bar oder gibt es eine Control Area? if ( !getDataWindow()-bNoHScroll @@ -623,8 +625,10 @@ void BrowseBox::Resize() Point( 0, GetTitleHeight() ), Size( nDataWidth, nDataHeight ) ); -sal_uInt16 nVisibleRows = -(sal_uInt16)(pDataWin-GetOutputSizePixel().Height() / GetDataRowHeight() + 1); +sal_uInt16 nVisibleRows = 0; + +if (GetDataRowHeight()) +nVisibleRows = (sal_uInt16)(pDataWin-GetOutputSizePixel().Height() / GetDataRowHeight() + 1); // TopRow ist unveraendert, aber die Anzahl sichtbarer Zeilen hat sich // geaendert @@ -911,8 +915,13 @@ void BrowseBox::ImplPaintData(OutputDevice _rOut, const Rectangle _rRect, sal_ long nDataRowHeigt = GetDataRowHeight(); // compute relative rows to redraw -sal_uLong nRelTopRow = _bForeignDevice ? 0 : ((sal_uLong)_rRect.Top() / nDataRowHeigt); -sal_uLong nRelBottomRow = (sal_uLong)(_bForeignDevice ? aOverallAreaSize.Height() : _rRect.Bottom()) / nDataRowHeigt; +sal_uLong nRelTopRow = 0; +sal_uLong nRelBottomRow = aOverallAreaSize.Height(); +if (!_bForeignDevice nDataRowHeigt) +{ +nRelTopRow = ((sal_uLong)_rRect.Top() / nDataRowHeigt); +nRelBottomRow = (sal_uLong)(_rRect.Bottom()) / nDataRowHeigt; +} // cache frequently used values Point aPos( aOverallAreaPos.X(), nRelTopRow * nDataRowHeigt + aOverallAreaPos.Y() ); @@ -1182,11 +1191,16 @@ void BrowseBox::UpdateScrollbars() if (IsZoom()) nCornerSize = (sal_uLong)(nCornerSize * (double)GetZoom()); -// needs VScroll? -long nMaxRows = (pDataWin-GetSizePixel().Height()) / GetDataRowHeight(); -sal_Bool bNeedsVScroll =getDataWindow()-bAutoVScroll -? nTopRow || ( nRowCount nMaxRows ) -: !getDataWindow()-bNoVScroll; +sal_Bool bNeedsVScroll = sal_False; +long nMaxRows = 0; +if (GetDataRowHeight()) +{ +// needs VScroll? +nMaxRows = (pDataWin-GetSizePixel().Height()) / GetDataRowHeight(); +bNeedsVScroll =getDataWindow()-bAutoVScroll +? nTopRow || ( nRowCount nMaxRows ) +: !getDataWindow()-bNoVScroll; +} Size aDataWinSize = pDataWin-GetSizePixel(); if ( !bNeedsVScroll ) { @@ -1269,8 +1283,8 @@ void BrowseBox::UpdateScrollbars() pVScroll-SetPosSizePixel( Point( aDataWinSize.Width(), GetTitleHeight() ), Size( nCornerSize, aDataWinSize.Height()) ); -if ( nRowCount - long( aDataWinSize.Height() / GetDataRowHeight() ) ) +long nLclDataRowHeight = GetDataRowHeight(); +if ( nLclDataRowHeight 0 nRowCount long( aDataWinSize.Height() / nLclDataRowHeight ) ) ScrollRows( -nTopRow ); if ( bNeedsVScroll !pVScroll-IsVisible() ) pVScroll-Show(); ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: connectivity/source postgresql/makefile.mk postgresql/prj
connectivity/source/drivers/postgresql/makefile.mk |5 +++-- postgresql/makefile.mk |3 +++ postgresql/prj/build.lst |2 +- 3 files changed, 7 insertions(+), 3 deletions(-) New commits: commit a7639b7b5a77a458433d113f1c4b076d4469536e Author: Fridrich Å trba fridrich.st...@bluewin.ch Date: Mon Dec 12 11:03:22 2011 +0100 Enable pgsql LDAP support when building with OpenLDAP diff --git a/connectivity/source/drivers/postgresql/makefile.mk b/connectivity/source/drivers/postgresql/makefile.mk index 68837d9..4784d75 100644 --- a/connectivity/source/drivers/postgresql/makefile.mk +++ b/connectivity/source/drivers/postgresql/makefile.mk @@ -151,9 +151,10 @@ SHL2STDLIBS= \ $(CPPUHELPERLIB) \ $(SALLIB) \ $(SALHELPERLIB)\ - $(OPENSSLLIB) \ $(POSTGRESQL_LIB) \ -$(LIBPQ_LINK) +$(LIBPQ_LINK) \ +$(OPENSSLLIB) \ +$(LDAPSDKLIB) SHL2LIBS= $(LIB2TARGET) SHL2DEF= $(MISC)$/$(SHL2TARGET).def diff --git a/postgresql/makefile.mk b/postgresql/makefile.mk index 898471b..0628d71 100644 --- a/postgresql/makefile.mk +++ b/postgresql/makefile.mk @@ -58,6 +58,9 @@ CONFIGURE_DIR=. BUILD_DIR=src/interfaces/libpq CONFIGURE_ACTION = ./configure --without-readline --disable-shared --with-openssl +.IF $(WITH_LDAP) == YES $(WITH_OPENLDAP) == YES +CONFIGURE_ACTION += --with-ldap +.ENDIF BUILD_ACTION = make -j$(GMAKE_MODULE_PARALLELISM) all-static-lib .ENDIF diff --git a/postgresql/prj/build.lst b/postgresql/prj/build.lst index 756db8a..5059f95 100644 --- a/postgresql/prj/build.lst +++ b/postgresql/prj/build.lst @@ -1,3 +1,3 @@ -my postgresql : solenv sal NULL +my postgresql : solenv sal OPENSSL:openssl MOZ:moz NULL my postgresqlnmake - all my_mkout NULL ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: Branch 'libreoffice-3-5' - connectivity/source postgresql/makefile.mk postgresql/prj
connectivity/source/drivers/postgresql/makefile.mk |5 +++-- postgresql/makefile.mk |3 +++ postgresql/prj/build.lst |2 +- 3 files changed, 7 insertions(+), 3 deletions(-) New commits: commit d8583566f20389ddfbe662615f27671178e6fd0e Author: Fridrich Å trba fridrich.st...@bluewin.ch Date: Mon Dec 12 11:03:22 2011 +0100 Enable pgsql LDAP support when building with OpenLDAP Signed-off-by: Fridrich Å trba fridrich.st...@bluewin.ch diff --git a/connectivity/source/drivers/postgresql/makefile.mk b/connectivity/source/drivers/postgresql/makefile.mk index 68837d9..4784d75 100644 --- a/connectivity/source/drivers/postgresql/makefile.mk +++ b/connectivity/source/drivers/postgresql/makefile.mk @@ -151,9 +151,10 @@ SHL2STDLIBS= \ $(CPPUHELPERLIB) \ $(SALLIB) \ $(SALHELPERLIB)\ - $(OPENSSLLIB) \ $(POSTGRESQL_LIB) \ -$(LIBPQ_LINK) +$(LIBPQ_LINK) \ +$(OPENSSLLIB) \ +$(LDAPSDKLIB) SHL2LIBS= $(LIB2TARGET) SHL2DEF= $(MISC)$/$(SHL2TARGET).def diff --git a/postgresql/makefile.mk b/postgresql/makefile.mk index 898471b..0628d71 100644 --- a/postgresql/makefile.mk +++ b/postgresql/makefile.mk @@ -58,6 +58,9 @@ CONFIGURE_DIR=. BUILD_DIR=src/interfaces/libpq CONFIGURE_ACTION = ./configure --without-readline --disable-shared --with-openssl +.IF $(WITH_LDAP) == YES $(WITH_OPENLDAP) == YES +CONFIGURE_ACTION += --with-ldap +.ENDIF BUILD_ACTION = make -j$(GMAKE_MODULE_PARALLELISM) all-static-lib .ENDIF diff --git a/postgresql/prj/build.lst b/postgresql/prj/build.lst index 756db8a..5059f95 100644 --- a/postgresql/prj/build.lst +++ b/postgresql/prj/build.lst @@ -1,3 +1,3 @@ -my postgresql : solenv sal NULL +my postgresql : solenv sal OPENSSL:openssl MOZ:moz NULL my postgresqlnmake - all my_mkout NULL ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: 5 commits - set_soenv.in solenv/gbuild solenv/inc tools/Library_tl.mk
set_soenv.in| 37 ++-- solenv/gbuild/gbuild.mk |1 solenv/gbuild/platform/WNT_INTEL_GCC.mk |1 solenv/gbuild/platform/WNT_INTEL_MSC.mk |1 solenv/inc/set_wntx64.mk|2 - solenv/inc/settings.mk |4 +-- solenv/inc/startup/startup.mk |2 - tools/Library_tl.mk |1 8 files changed, 11 insertions(+), 38 deletions(-) New commits: commit 4cb5e2e08163d44990e67648e6ad09186c297a5d Author: Tor Lillqvist t...@iki.fi Date: Mon Dec 12 11:16:57 2011 +0200 Drop some unused variables diff --git a/set_soenv.in b/set_soenv.in index 7c2e5fc..2f32cb8 100755 --- a/set_soenv.in +++ b/set_soenv.in @@ -34,11 +34,11 @@ use File::Basename; # # my ( $oldoutfile, $outfile, $bootfile, $newline, $comment, - $compiler, $ds, $ps, + $ds, $ps, $wps, $cur_dir, $par_dir, $I, $L, $tmp, $MINGW, $platform, - $cygwinver, $empty, $no_ant, $no_gcc_include, - $no_gxx_include, $warnfile, $Warning, $result, $unsetvars, $exportvars, $win_format_var, @mingw_lib_include_paths, $mingw_lib_include_path); + $empty, + $warnfile, $Warning, $result, $unsetvars, $exportvars); # #- # IIb. Declaring environment values (constants). commit 13876ef22f42256ab575d5678b7a4165c7388076 Author: Tor Lillqvist t...@iki.fi Date: Mon Dec 12 11:14:05 2011 +0200 We only support Cygwin Perl on Windows diff --git a/set_soenv.in b/set_soenv.in index ea815b7..7c2e5fc 100755 --- a/set_soenv.in +++ b/set_soenv.in @@ -38,7 +38,7 @@ my ( $oldoutfile, $outfile, $bootfile, $newline, $comment, $wps, $cur_dir, $par_dir, $I, $L, $tmp, $MINGW, $platform, $cygwinver, $empty, $no_ant, $no_gcc_include, - $no_gxx_include, $warnfile, $Warning, $result, $unsetvars, $exportvars, $win_format_var, $perl_os, @mingw_lib_include_paths, $mingw_lib_include_path); + $no_gxx_include, $warnfile, $Warning, $result, $unsetvars, $exportvars, $win_format_var, @mingw_lib_include_paths, $mingw_lib_include_path); # #- # IIb. Declaring environment values (constants). @@ -146,11 +146,6 @@ print (Setting up the environment for building LibreOffice $newline); # V. Setting the environment variables/values. #-- # -# A. Checking the platform first. -# -# get perls idea for OS -# needed to differentiate cygwin/native perl on windows -$perl_os = $^O; # # B. Gathering information from the system. @@ -798,9 +793,6 @@ if ( @WITH_MOZILLA@ eq YES and @BUILD_MOZAB@ ne TRUE and @SYSTEM_MOZILL { print(Checking for prebuilt Mozilla libraries ...); my $mozbinfile = $SRC_ROOT./moz/zipped/; - if ( $^O eq 'MSWin32' ) { - chomp( $mozbinfile = qx{cygpath -d $mozbinfile} ); - } $mozbinfile .= $OS.$COM.$CPU; if ( -e $mozbinfile.inc.zip and -e $mozbinfile.lib.zip @@ -2137,7 +2129,7 @@ sub CheckPathName #- sub CheckPathExist { my $dir = $_[ 0 ]; - if ( !( -d $dir ) and $^O ne 'MSWin32' ) + if ( !( -d $dir ) ) { print ( The directory $_[ 0 ] does not exist. Please create first.\n ); exit 1; } commit abb06e33756e9a3cc5fd77d7b14bb2e7e7ec5b2f Author: Tor Lillqvist t...@iki.fi Date: Mon Dec 12 10:59:19 2011 +0200 The VCL environment variable, always TRUE, is not used diff --git a/set_soenv.in b/set_soenv.in index 8f95941..ea815b7 100755 --- a/set_soenv.in +++ b/set_soenv.in @@ -46,7 +46,6 @@ my ( $oldoutfile, $outfile, $bootfile, $newline, $comment, # # Platform independent constant values. my ( $SOLAR_JAVA, - $VCL, $CC, $CXX); # # Platform dependent constant values. @@ -165,7 +164,6 @@ chomp( $oldPATH ); # cut off new line # Setting platform independent constant values. # NB: Language options now set at 'ToFile' stage. $SOLAR_JAVA = @SOLAR_JAVA@; -$VCL = TRUE; $comment = #; # UNIX script comment character $TARFILE_LOCATION = @TARFILE_LOCATION@; # where to find tarballs with external sources @@ -1418,7 +1416,6 @@ ToFile( OOODMAKEMODE, YES, e ); ToFile( PRODUCTVERSION,@PRODUCTVERSION@, e ); ToFile( WITH_POOR_HELP_LOCALIZATIONS, $WITH_POOR_HELP_LOCALIZATIONS, e ); -ToFile( VCL, $VCL, e ); if (@ENABLE_DEBUG@ eq TRUE) { ToFile( debug, true, e ); } commit 026ce875672f1e02dd5931372d169891eb92aff7 Author: Tor Lillqvist t...@iki.fi Date: Mon Dec 12 10:57:12 2011 +0200 Drop two unused variables diff --git a/set_soenv.in b/set_soenv.in index 36c0ba0..8f95941 100755 --- a/set_soenv.in +++ b/set_soenv.in @@ -66,10 +66,10 @@ my ( $USR, $ETC, $BIN, $LIB, $LIB64, $INC, $INCLUDE, $DEV, $OPT, $LOCAL,
[Libreoffice-commits] .: postgresql/postgresql-9.1.1.patch
postgresql/postgresql-9.1.1.patch | 25 - 1 file changed, 20 insertions(+), 5 deletions(-) New commits: commit 7d7496bd4c152ad1746809800f1298169052320e Author: Fridrich Å trba fridrich.st...@bluewin.ch Date: Mon Dec 12 11:24:27 2011 +0100 Allow building with LDAP support on windows diff --git a/postgresql/postgresql-9.1.1.patch b/postgresql/postgresql-9.1.1.patch index 54ac388..5d4c29d 100644 --- a/postgresql/postgresql-9.1.1.patch +++ b/postgresql/postgresql-9.1.1.patch @@ -1,5 +1,5 @@ --- misc/postgresql-9.1.1/src/interfaces/libpq/win32.mak 2011-09-22 23:57:57.0 +0200 -+++ misc/build/postgresql-9.1.1/src/interfaces/libpq/win32.mak 2011-12-09 10:44:54.151291450 +0100 misc/build/postgresql-9.1.1/src/interfaces/libpq/win32.mak 2011-12-12 11:21:08.796898284 +0100 @@ -11,18 +11,19 @@ # CPU=i386 or CPU environment of nmake.exe (AMD64 or IA64) @@ -46,11 +46,11 @@ -INTDIR=.\Release -CPP_OBJS=.\Release/ -!ENDIF -- +OUTDIR=. +INTDIR=. +CPP_OBJS=./ +- -ALL : config $(OUTDIR)\$(OUTFILENAME).lib $(OUTDIR)\$(OUTFILENAME).dll +ALL : config $(OUTDIR)\$(OUTFILENAME).lib @@ -65,16 +65,31 @@ /D FRONTEND $(DEBUGDEF) \ /D WIN32 /D _WINDOWS /Fp$(INTDIR)\libpq.pch \ /Fo$(INTDIR)\\ /Fd$(INTDIR)\\ /FD /c \ -@@ -205,7 +199,7 @@ +@@ -189,6 +183,11 @@ + SSL_LIBS=ssleay32.lib libeay32.lib gdi32.lib + !ENDIF + ++!IFDEF USE_LDAP ++CPP_PROJ=$(CPP_PROJ) /D USE_LDAP ++LDAP_LIBS=wldap32.lib ++!ENDIF ++ + !IFDEF USE_KFW + CPP_PROJ=$(CPP_PROJ) /D KRB5 + KFW_LIBS=krb5_32.lib comerr32.lib gssapi32.lib +@@ -203,9 +202,9 @@ + RSC_PROJ=/l 0x409 /fo$(INTDIR)\libpq.res + LINK32=link.exe - LINK32_FLAGS=kernel32.lib user32.lib advapi32.lib shfolder.lib wsock32.lib ws2_32.lib secur32.lib $(SSL_LIBS) $(KFW_LIB) $(ADD_SECLIB) \ +-LINK32_FLAGS=kernel32.lib user32.lib advapi32.lib shfolder.lib wsock32.lib ws2_32.lib secur32.lib $(SSL_LIBS) $(KFW_LIB) $(ADD_SECLIB) \ ++LINK32_FLAGS=kernel32.lib user32.lib advapi32.lib shfolder.lib wsock32.lib ws2_32.lib secur32.lib $(SSL_LIBS) $(LDAP_LIBS) $(KFW_LIB) $(ADD_SECLIB) \ /nologo /subsystem:windows /dll $(LOPT) /incremental:no \ - /pdb:$(OUTDIR)\libpqdll.pdb /machine:$(CPU) \ + /pdb:$(OUTDIR)\libpqdll.pdb /machine:$(MACHINE) \ /out:$(OUTDIR)\$(OUTFILENAME).dll\ /implib:$(OUTDIR)\$(OUTFILENAME)dll.lib \ /libpath:$(SSL_LIB_PATH) /libpath:$(KFW_LIB_PATH) \ -@@ -222,7 +216,7 @@ +@@ -222,7 +221,7 @@ $(INTDIR)\libpq.res : $(INTDIR) libpq-dist.rc ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: Branch 'libreoffice-3-5' - postgresql/postgresql-9.1.1.patch
postgresql/postgresql-9.1.1.patch | 25 - 1 file changed, 20 insertions(+), 5 deletions(-) New commits: commit b427fe8d14e1f25be12381fd891d16ee978952dc Author: Fridrich Å trba fridrich.st...@bluewin.ch Date: Mon Dec 12 11:24:27 2011 +0100 Allow building with LDAP support on windows Signed-off-by: Fridrich Å trba fridrich.st...@bluewin.ch diff --git a/postgresql/postgresql-9.1.1.patch b/postgresql/postgresql-9.1.1.patch index 54ac388..5d4c29d 100644 --- a/postgresql/postgresql-9.1.1.patch +++ b/postgresql/postgresql-9.1.1.patch @@ -1,5 +1,5 @@ --- misc/postgresql-9.1.1/src/interfaces/libpq/win32.mak 2011-09-22 23:57:57.0 +0200 -+++ misc/build/postgresql-9.1.1/src/interfaces/libpq/win32.mak 2011-12-09 10:44:54.151291450 +0100 misc/build/postgresql-9.1.1/src/interfaces/libpq/win32.mak 2011-12-12 11:21:08.796898284 +0100 @@ -11,18 +11,19 @@ # CPU=i386 or CPU environment of nmake.exe (AMD64 or IA64) @@ -46,11 +46,11 @@ -INTDIR=.\Release -CPP_OBJS=.\Release/ -!ENDIF -- +OUTDIR=. +INTDIR=. +CPP_OBJS=./ +- -ALL : config $(OUTDIR)\$(OUTFILENAME).lib $(OUTDIR)\$(OUTFILENAME).dll +ALL : config $(OUTDIR)\$(OUTFILENAME).lib @@ -65,16 +65,31 @@ /D FRONTEND $(DEBUGDEF) \ /D WIN32 /D _WINDOWS /Fp$(INTDIR)\libpq.pch \ /Fo$(INTDIR)\\ /Fd$(INTDIR)\\ /FD /c \ -@@ -205,7 +199,7 @@ +@@ -189,6 +183,11 @@ + SSL_LIBS=ssleay32.lib libeay32.lib gdi32.lib + !ENDIF + ++!IFDEF USE_LDAP ++CPP_PROJ=$(CPP_PROJ) /D USE_LDAP ++LDAP_LIBS=wldap32.lib ++!ENDIF ++ + !IFDEF USE_KFW + CPP_PROJ=$(CPP_PROJ) /D KRB5 + KFW_LIBS=krb5_32.lib comerr32.lib gssapi32.lib +@@ -203,9 +202,9 @@ + RSC_PROJ=/l 0x409 /fo$(INTDIR)\libpq.res + LINK32=link.exe - LINK32_FLAGS=kernel32.lib user32.lib advapi32.lib shfolder.lib wsock32.lib ws2_32.lib secur32.lib $(SSL_LIBS) $(KFW_LIB) $(ADD_SECLIB) \ +-LINK32_FLAGS=kernel32.lib user32.lib advapi32.lib shfolder.lib wsock32.lib ws2_32.lib secur32.lib $(SSL_LIBS) $(KFW_LIB) $(ADD_SECLIB) \ ++LINK32_FLAGS=kernel32.lib user32.lib advapi32.lib shfolder.lib wsock32.lib ws2_32.lib secur32.lib $(SSL_LIBS) $(LDAP_LIBS) $(KFW_LIB) $(ADD_SECLIB) \ /nologo /subsystem:windows /dll $(LOPT) /incremental:no \ - /pdb:$(OUTDIR)\libpqdll.pdb /machine:$(CPU) \ + /pdb:$(OUTDIR)\libpqdll.pdb /machine:$(MACHINE) \ /out:$(OUTDIR)\$(OUTFILENAME).dll\ /implib:$(OUTDIR)\$(OUTFILENAME)dll.lib \ /libpath:$(SSL_LIB_PATH) /libpath:$(KFW_LIB_PATH) \ -@@ -222,7 +216,7 @@ +@@ -222,7 +221,7 @@ $(INTDIR)\libpq.res : $(INTDIR) libpq-dist.rc ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: Branch 'libreoffice-3-5' - vcl/unx
vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx |1 - 1 file changed, 1 deletion(-) New commits: commit 96e3f652ad0c02140fea42790e2d0a2baabb45d8 Author: Caolán McNamara caol...@redhat.com Date: Mon Dec 12 11:35:49 2011 + stop saying 15 on stdout (cherry picked from commit 6765b2b71544a1ca0957fbd5e04062c274a24f45) Signed-off-by: Caolán McNamara caol...@redhat.com diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx index f9e5906..d064f83 100644 --- a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx @@ -2103,7 +2103,6 @@ static Rectangle NWGetSpinButtonRect( int nScreen, buttonRect.Left() = buttonRect.Right()+1; buttonRect.Right() = aAreaRect.Right(); } else { -printf(%ld\n, buttonRect.GetWidth()); buttonRect.Right() = buttonRect.Left()-1; buttonRect.Left() = aAreaRect.Left(); } ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: Branch 'libreoffice-3-5' - postgresql/makefile.mk
postgresql/makefile.mk |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit d047aaa574ddb6878e17b5ab0507ed9d61301d5b Author: Fridrich Å trba fridrich.st...@bluewin.ch Date: Mon Dec 12 13:12:29 2011 +0100 fix mac build of pgsql Signed-off-by: Fridrich Å trba fridrich.st...@bluewin.ch diff --git a/postgresql/makefile.mk b/postgresql/makefile.mk index 810e46f..6b687b4 100644 --- a/postgresql/makefile.mk +++ b/postgresql/makefile.mk @@ -57,7 +57,7 @@ BUILD_ACTION = nmake -f win32.mak USE_SSL=1 USE_LDAP=1 USE_MOZLDAP=1 CONFIGURE_DIR=. BUILD_DIR=src/interfaces/libpq -CONFIGURE_ACTION = ./configure --without-readline --disable-shared --with-openssl +CONFIGURE_ACTION = CPPFLAGS=-I$(SOLARVER)$/$(INPATH)$/inc ./configure --without-readline --disable-shared --with-openssl .IF $(WITH_LDAP) == YES CONFIGURE_ACTION += --with-ldap .ENDIF ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: tools/inc
tools/inc/tools/rtti.hxx |9 - 1 file changed, 9 deletions(-) New commits: commit 37785dde4be04375e83a477a0f5670c6490f4f93 Author: Rafael Dominguez venccsra...@gmail.com Date: Sat Dec 10 14:42:29 2011 -0430 Remove unused macros. diff --git a/tools/inc/tools/rtti.hxx b/tools/inc/tools/rtti.hxx index 34f14c5..7f279f1 100644 --- a/tools/inc/tools/rtti.hxx +++ b/tools/inc/tools/rtti.hxx @@ -63,7 +63,6 @@ typedef void* (*TypeId)(); //- -#define TYPEINIT_AUTOFACTORY(sType) TYPEINIT_FACTORY(sType, new sType) #define TYPEINIT(sType) TYPEINIT_FACTORY(sType, 0) #define SUPERTYPE(sSuper) \ @@ -107,8 +106,6 @@ typedef void* (*TypeId)(); SUPERTYPE(sSuper2); \ SUPERTYPE(sSuper3); \ TYPEINIT_END(sType) -#define TYPEINIT3_AUTOFACTORY(sType, sSuper1, sSuper2, sSuper3) \ -TYPEINIT3_FACTORY(sType, sSuper1, sSuper2, sSuper3, new sType) #define TYPEINIT3(sType, sSuper1, sSuper2, sSuper3) \ TYPEINIT3_FACTORY(sType, sSuper1, sSuper2, sSuper3, 0) @@ -120,12 +117,6 @@ typedef void* (*TypeId)(); //- // On-Demand-faehige persistent-TypeId Version -#define TYPEINFO_ID(id) \ -static TypeId StaticType() { return (TypeId) ( id | 0xF00L ); } \ -static sal_Bool IsOf( TypeId aSameOrSuperType ); \ -virtual TypeId Type() const; \ -virtual sal_Bool IsA( TypeId aSameOrSuperType ) const - #define TYPEINIT_ID(sType) \ TypeId sType::Type() const { return StaticType(); } \ sal_Bool sType::IsOf( TypeId aSameOrSuperType ) \ ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: Branch 'libreoffice-3-5' - postgresql/makefile.mk
postgresql/makefile.mk |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) New commits: commit cea479492ad6515969d1452345bc4d8c1ac6e54b Author: Fridrich Å trba fridrich.st...@bluewin.ch Date: Mon Dec 12 14:19:07 2011 +0100 Fix a thinko in makefile.mk diff --git a/postgresql/makefile.mk b/postgresql/makefile.mk index 6b687b4..6f2931e 100644 --- a/postgresql/makefile.mk +++ b/postgresql/makefile.mk @@ -60,10 +60,9 @@ BUILD_DIR=src/interfaces/libpq CONFIGURE_ACTION = CPPFLAGS=-I$(SOLARVER)$/$(INPATH)$/inc ./configure --without-readline --disable-shared --with-openssl .IF $(WITH_LDAP) == YES CONFIGURE_ACTION += --with-ldap -.ENDIF .IF $(WITH_OPENLDAP) != YES CONFIGURE_ACTION += --with-mozldap -.ELSE +.ENDIF .ENDIF BUILD_ACTION = make -j$(GMAKE_MODULE_PARALLELISM) all-static-lib .ENDIF ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: postgresql/postgresql-9.1.1.patch
postgresql/postgresql-9.1.1.patch | 106 -- 1 file changed, 102 insertions(+), 4 deletions(-) New commits: commit f2f31cbd245b19b18d044cec6f6df5d4d7a71348 Author: Fridrich Å trba fridrich.st...@bluewin.ch Date: Mon Dec 12 15:01:57 2011 +0100 Complete the pgsql patch diff --git a/postgresql/postgresql-9.1.1.patch b/postgresql/postgresql-9.1.1.patch index 1037ef9..6a3f562 100644 --- a/postgresql/postgresql-9.1.1.patch +++ b/postgresql/postgresql-9.1.1.patch @@ -46,8 +46,8 @@ static int ldapServiceLookup(const char *purl, PQconninfoOption *options, PQExpBuffer errorMessage); #endif misc/postgresql-9.1.1/configure2011-09-22 23:57:57.0 +0200 -+++ misc/build/postgresql-9.1.1/configure 2011-12-12 12:26:58.368351739 +0100 +--- misc/postgresql-9.1.1/configure2011-12-12 14:54:25.053159648 +0100 misc/build/postgresql-9.1.1/configure 2011-12-12 14:54:03.010060700 +0100 @@ -718,6 +718,7 @@ with_selinux with_openssl @@ -76,8 +76,8 @@ $as_echo $with_ldap 6; } -+{ $as_echo $as_me:$LINENO: checking whether to use Mozilla LDAP implementation 5 -+$as_echo_n checking whether to use Mozilla LDAP implementation... 6; } ++{ $as_echo $as_me:$LINENO: checking whether to build with Mozilla LDAP support 5 ++$as_echo_n checking whether to build with Mozilla LDAP support... 6; } + + + @@ -375,6 +375,104 @@ fi LIBS=$_LIBS fi +--- misc/postgresql-9.1.1/configure.in 2011-09-22 23:57:57.0 +0200 misc/build/postgresql-9.1.1/configure.in 2011-12-12 14:53:09.022369189 +0100 +@@ -662,6 +662,13 @@ + AC_MSG_RESULT([$with_ldap]) + AC_SUBST(with_ldap) + ++AC_MSG_CHECKING([whether to build with Mozilla LDAP support]) ++PGAC_ARG_BOOL(with, mozldap, no, ++ [build with Mozilla LDAP support], ++ [AC_DEFINE([USE_MOZLDAP], 1, [Define to 1 to build with Mozilla LDAP support. (--with-mozldap)])]) ++AC_MSG_RESULT([$with_mozldap]) ++AC_SUBST(with_mozldap) ++ + + # + # Bonjour +@@ -1077,15 +1084,12 @@ + fi + + if test $with_ldap = yes ; then +- if test $PORTNAME != win32; then ++ if test $with_mozldap != yes; then + AC_CHECK_HEADERS(ldap.h, [], + [AC_MSG_ERROR([header file ldap.h is required for LDAP])]) + else +- AC_CHECK_HEADERS(winldap.h, [], +- [AC_MSG_ERROR([header file winldap.h is required for LDAP])], +- [AC_INCLUDES_DEFAULT +-#include windows.h +- ]) ++ AC_CHECK_HEADERS(mozilla/ldap/ldap.h, [], ++ [AC_MSG_ERROR([header file mozilla/ldap/ldap.h is required for LDAP])]) + fi + fi + +@@ -1498,7 +1502,7 @@ + # We can test for libldap_r only after we know PTHREAD_LIBS + if test $with_ldap = yes ; then + _LIBS=$LIBS +- if test $PORTNAME != win32; then ++ if test $with_mozldap != yes; then + AC_CHECK_LIB(ldap, ldap_bind, [], +[AC_MSG_ERROR([library 'ldap' is required for LDAP])], +[$EXTRA_LDAP_LIBS]) +@@ -1513,9 +1517,8 @@ + LDAP_LIBS_FE=-lldap $EXTRA_LDAP_LIBS + fi + else +-AC_CHECK_LIB(wldap32, ldap_bind, [], [AC_MSG_ERROR([library 'wldap32' is required for LDAP])]) +-LDAP_LIBS_FE=-lwldap32 +-LDAP_LIBS_BE=-lwldap32 ++LDAP_LIBS_FE= ++LDAP_LIBS_BE= + fi + LIBS=$_LIBS + fi +--- misc/postgresql-9.1.1/src/include/pg_config.h.in 2011-09-22 23:57:57.0 +0200 misc/build/postgresql-9.1.1/src/include/pg_config.h.in 2011-12-12 14:57:55.0 +0100 +@@ -314,9 +314,6 @@ + /* Define to 1 if you have the `ssleay32' library (-lssleay32). */ + #undef HAVE_LIBSSLEAY32 + +-/* Define to 1 if you have the `wldap32' library (-lwldap32). */ +-#undef HAVE_LIBWLDAP32 +- + /* Define to 1 if you have the `xml2' library (-lxml2). */ + #undef HAVE_LIBXML2 + +@@ -351,6 +348,9 @@ + /* Define to 1 if the system has the type `MINIDUMP_TYPE'. */ + #undef HAVE_MINIDUMP_TYPE + ++/* Define to 1 if you have the mozilla/ldap/ldap.h header file. */ ++#undef HAVE_MOZILLA_LDAP_LDAP_H ++ + /* Define to 1 if you have the netinet/in.h header file. */ + #undef HAVE_NETINET_IN_H + +@@ -659,9 +659,6 @@ + /* Define to 1 if you have the wctype.h header file. */ + #undef HAVE_WCTYPE_H + +-/* Define to 1 if you have the winldap.h header file. */ +-#undef HAVE_WINLDAP_H +- + /* Define to the appropriate snprintf format for 64-bit ints. */ + #undef INT64_FORMAT + +@@ -785,6 +782,9 @@ +(--with-libxslt) */ + #undef USE_LIBXSLT + ++/* Define to 1 to build with Mozilla LDAP support. (--with-mozldap) */ ++#undef USE_MOZLDAP ++ + /* Define to select named POSIX semaphores. */ + #undef USE_NAMED_POSIX_SEMAPHORES + --- misc/postgresql-9.1.1/src/interfaces/libpq/win32.mak 2011-09-22 23:57:57.0 +0200 +++ misc/build/postgresql-9.1.1/src/interfaces/libpq/win32.mak 2011-12-12 11:21:08.796898284 +0100 @@ -11,18 +11,19 @@ ___
[Libreoffice-commits] .: Branch 'libreoffice-3-5' - postgresql/postgresql-9.1.1.patch
postgresql/postgresql-9.1.1.patch | 106 -- 1 file changed, 102 insertions(+), 4 deletions(-) New commits: commit 63312d34051cc849151897b8e0220e5a5e3fcdf2 Author: Fridrich Å trba fridrich.st...@bluewin.ch Date: Mon Dec 12 15:01:57 2011 +0100 Complete the pgsql patch Signed-off-by: Fridrich Å trba fridrich.st...@bluewin.ch diff --git a/postgresql/postgresql-9.1.1.patch b/postgresql/postgresql-9.1.1.patch index 1037ef9..6a3f562 100644 --- a/postgresql/postgresql-9.1.1.patch +++ b/postgresql/postgresql-9.1.1.patch @@ -46,8 +46,8 @@ static int ldapServiceLookup(const char *purl, PQconninfoOption *options, PQExpBuffer errorMessage); #endif misc/postgresql-9.1.1/configure2011-09-22 23:57:57.0 +0200 -+++ misc/build/postgresql-9.1.1/configure 2011-12-12 12:26:58.368351739 +0100 +--- misc/postgresql-9.1.1/configure2011-12-12 14:54:25.053159648 +0100 misc/build/postgresql-9.1.1/configure 2011-12-12 14:54:03.010060700 +0100 @@ -718,6 +718,7 @@ with_selinux with_openssl @@ -76,8 +76,8 @@ $as_echo $with_ldap 6; } -+{ $as_echo $as_me:$LINENO: checking whether to use Mozilla LDAP implementation 5 -+$as_echo_n checking whether to use Mozilla LDAP implementation... 6; } ++{ $as_echo $as_me:$LINENO: checking whether to build with Mozilla LDAP support 5 ++$as_echo_n checking whether to build with Mozilla LDAP support... 6; } + + + @@ -375,6 +375,104 @@ fi LIBS=$_LIBS fi +--- misc/postgresql-9.1.1/configure.in 2011-09-22 23:57:57.0 +0200 misc/build/postgresql-9.1.1/configure.in 2011-12-12 14:53:09.022369189 +0100 +@@ -662,6 +662,13 @@ + AC_MSG_RESULT([$with_ldap]) + AC_SUBST(with_ldap) + ++AC_MSG_CHECKING([whether to build with Mozilla LDAP support]) ++PGAC_ARG_BOOL(with, mozldap, no, ++ [build with Mozilla LDAP support], ++ [AC_DEFINE([USE_MOZLDAP], 1, [Define to 1 to build with Mozilla LDAP support. (--with-mozldap)])]) ++AC_MSG_RESULT([$with_mozldap]) ++AC_SUBST(with_mozldap) ++ + + # + # Bonjour +@@ -1077,15 +1084,12 @@ + fi + + if test $with_ldap = yes ; then +- if test $PORTNAME != win32; then ++ if test $with_mozldap != yes; then + AC_CHECK_HEADERS(ldap.h, [], + [AC_MSG_ERROR([header file ldap.h is required for LDAP])]) + else +- AC_CHECK_HEADERS(winldap.h, [], +- [AC_MSG_ERROR([header file winldap.h is required for LDAP])], +- [AC_INCLUDES_DEFAULT +-#include windows.h +- ]) ++ AC_CHECK_HEADERS(mozilla/ldap/ldap.h, [], ++ [AC_MSG_ERROR([header file mozilla/ldap/ldap.h is required for LDAP])]) + fi + fi + +@@ -1498,7 +1502,7 @@ + # We can test for libldap_r only after we know PTHREAD_LIBS + if test $with_ldap = yes ; then + _LIBS=$LIBS +- if test $PORTNAME != win32; then ++ if test $with_mozldap != yes; then + AC_CHECK_LIB(ldap, ldap_bind, [], +[AC_MSG_ERROR([library 'ldap' is required for LDAP])], +[$EXTRA_LDAP_LIBS]) +@@ -1513,9 +1517,8 @@ + LDAP_LIBS_FE=-lldap $EXTRA_LDAP_LIBS + fi + else +-AC_CHECK_LIB(wldap32, ldap_bind, [], [AC_MSG_ERROR([library 'wldap32' is required for LDAP])]) +-LDAP_LIBS_FE=-lwldap32 +-LDAP_LIBS_BE=-lwldap32 ++LDAP_LIBS_FE= ++LDAP_LIBS_BE= + fi + LIBS=$_LIBS + fi +--- misc/postgresql-9.1.1/src/include/pg_config.h.in 2011-09-22 23:57:57.0 +0200 misc/build/postgresql-9.1.1/src/include/pg_config.h.in 2011-12-12 14:57:55.0 +0100 +@@ -314,9 +314,6 @@ + /* Define to 1 if you have the `ssleay32' library (-lssleay32). */ + #undef HAVE_LIBSSLEAY32 + +-/* Define to 1 if you have the `wldap32' library (-lwldap32). */ +-#undef HAVE_LIBWLDAP32 +- + /* Define to 1 if you have the `xml2' library (-lxml2). */ + #undef HAVE_LIBXML2 + +@@ -351,6 +348,9 @@ + /* Define to 1 if the system has the type `MINIDUMP_TYPE'. */ + #undef HAVE_MINIDUMP_TYPE + ++/* Define to 1 if you have the mozilla/ldap/ldap.h header file. */ ++#undef HAVE_MOZILLA_LDAP_LDAP_H ++ + /* Define to 1 if you have the netinet/in.h header file. */ + #undef HAVE_NETINET_IN_H + +@@ -659,9 +659,6 @@ + /* Define to 1 if you have the wctype.h header file. */ + #undef HAVE_WCTYPE_H + +-/* Define to 1 if you have the winldap.h header file. */ +-#undef HAVE_WINLDAP_H +- + /* Define to the appropriate snprintf format for 64-bit ints. */ + #undef INT64_FORMAT + +@@ -785,6 +782,9 @@ +(--with-libxslt) */ + #undef USE_LIBXSLT + ++/* Define to 1 to build with Mozilla LDAP support. (--with-mozldap) */ ++#undef USE_MOZLDAP ++ + /* Define to select named POSIX semaphores. */ + #undef USE_NAMED_POSIX_SEMAPHORES + --- misc/postgresql-9.1.1/src/interfaces/libpq/win32.mak 2011-09-22 23:57:57.0 +0200 +++ misc/build/postgresql-9.1.1/src/interfaces/libpq/win32.mak 2011-12-12 11:21:08.796898284 +0100 @@
[Libreoffice-commits] .: 2 commits - oox/source
oox/source/drawingml/customshapepresets1.cxx | 20 ++-- oox/source/drawingml/customshapepresets2.cxx |4 ++-- oox/source/drawingml/customshapepresets3.cxx | 18 +- oox/source/drawingml/customshapepresets4.cxx | 14 +++--- oox/source/drawingml/customshapepresets5.cxx |8 oox/source/drawingml/customshapeproperties.cxx | 10 ++ 6 files changed, 38 insertions(+), 36 deletions(-) New commits: commit cd77642f2b2aa9a0f07a7b161b16b34d2b511828 Author: Radek Doulik r...@novell.com Date: Mon Dec 12 15:04:36 2011 +0100 pptx: updated custom shapes presets after latest fix in equations import diff --git a/oox/source/drawingml/customshapepresets1.cxx b/oox/source/drawingml/customshapepresets1.cxx index 2075b4e..faf8841 100644 --- a/oox/source/drawingml/customshapepresets1.cxx +++ b/oox/source/drawingml/customshapepresets1.cxx @@ -6312,8 +6312,8 @@ void CustomShapeProperties::initializePresetsMap1() aStringSequence[183] = CREATE_OUSTRING (?16 *cos(pi*(?4 )/1080)); aStringSequence[184] = CREATE_OUSTRING (?15 *(cos(atan2(?182 ,?183 ; aStringSequence[185] = CREATE_OUSTRING (?16 *(sin(atan2(?182 ,?183 ; -aStringSequence[186] = CREATE_OUSTRING (?21 +?123 -0); -aStringSequence[187] = CREATE_OUSTRING (?23 +?124 -0); +aStringSequence[186] = CREATE_OUSTRING (?21 +?184 -0); +aStringSequence[187] = CREATE_OUSTRING (?23 +?185 -0); aStringSequence[188] = CREATE_OUSTRING (?4 +0-540); aStringSequence[189] = CREATE_OUSTRING (?49 +540-0); aStringSequence[190] = CREATE_OUSTRING (?49 +1080-0); @@ -7568,14 +7568,14 @@ void CustomShapeProperties::initializePresetsMap1() aStringSequence[42] = CREATE_OUSTRING (?29 +0-?40 ); aStringSequence[43] = CREATE_OUSTRING (sqrt(?41 *?41 +?42 *?42 +0*0)); aStringSequence[44] = CREATE_OUSTRING ((1080*atan2(?41 ,?42 ))/pi); -aStringSequence[45] = CREATE_OUSTRING (?4 *sin(pi*(?0 )/1080)); -aStringSequence[46] = CREATE_OUSTRING (?4 *cos(pi*(?0 )/1080)); +aStringSequence[45] = CREATE_OUSTRING (?4 *sin(pi*(?44 )/1080)); +aStringSequence[46] = CREATE_OUSTRING (?4 *cos(pi*(?44 )/1080)); aStringSequence[47] = CREATE_OUSTRING (?39 +?45 -0); aStringSequence[48] = CREATE_OUSTRING (?40 +?46 -0); aStringSequence[49] = CREATE_OUSTRING (?27 +0-?45 ); aStringSequence[50] = CREATE_OUSTRING (?29 +0-?46 ); -aStringSequence[51] = CREATE_OUSTRING (?3 *sin(pi*(?0 )/1080)); -aStringSequence[52] = CREATE_OUSTRING (?3 *cos(pi*(?0 )/1080)); +aStringSequence[51] = CREATE_OUSTRING (?3 *sin(pi*(?44 )/1080)); +aStringSequence[52] = CREATE_OUSTRING (?3 *cos(pi*(?44 )/1080)); aStringSequence[53] = CREATE_OUSTRING (?48 +?51 -0); aStringSequence[54] = CREATE_OUSTRING (?47 +0-?52 ); aStringSequence[55] = CREATE_OUSTRING (?50 +?51 -0); @@ -7608,14 +7608,14 @@ void CustomShapeProperties::initializePresetsMap1() aStringSequence[82] = CREATE_OUSTRING (?69 +0-?80 ); aStringSequence[83] = CREATE_OUSTRING (sqrt(?81 *?81 +?82 *?82 +0*0)); aStringSequence[84] = CREATE_OUSTRING ((1080*atan2(?81 ,?82 ))/pi); -aStringSequence[85] = CREATE_OUSTRING (?4 *sin(pi*(?1 )/1080)); -aStringSequence[86] = CREATE_OUSTRING (?4 *cos(pi*(?1 )/1080)); +aStringSequence[85] = CREATE_OUSTRING (?4 *sin(pi*(?84 )/1080)); +aStringSequence[86] = CREATE_OUSTRING (?4 *cos(pi*(?84 )/1080)); aStringSequence[87] = CREATE_OUSTRING (?79 +?85 -0); aStringSequence[88] = CREATE_OUSTRING (?80 +?86 -0); aStringSequence[89] = CREATE_OUSTRING (?68 +0-?85 ); aStringSequence[90] = CREATE_OUSTRING (?69 +0-?86 ); -aStringSequence[91] = CREATE_OUSTRING (?3 *sin(pi*(?1 )/1080)); -aStringSequence[92] = CREATE_OUSTRING (?3 *cos(pi*(?1 )/1080)); +aStringSequence[91] = CREATE_OUSTRING (?3 *sin(pi*(?84 )/1080)); +aStringSequence[92] = CREATE_OUSTRING (?3 *cos(pi*(?84 )/1080)); aStringSequence[93] = CREATE_OUSTRING (?88 +?91 -0); aStringSequence[94] = CREATE_OUSTRING (?87 +0-?92 ); aStringSequence[95] = CREATE_OUSTRING (?90 +?91 -0); diff --git a/oox/source/drawingml/customshapepresets2.cxx b/oox/source/drawingml/customshapepresets2.cxx index 58f62ff..2dda792 100644 --- a/oox/source/drawingml/customshapepresets2.cxx +++ b/oox/source/drawingml/customshapepresets2.cxx @@ -14498,7 +14498,7 @@ void CustomShapeProperties::initializePresetsMap2() aStringSequence[12] = CREATE_OUSTRING ((1+?11 )/12); aStringSequence[13] = CREATE_OUSTRING (?12 *logwidth/1); aStringSequence[14] = CREATE_OUSTRING (?12 *logheight/1); -aStringSequence[15] = CREATE_OUSTRING (logwidth+0-?10 ); +
[Libreoffice-commits] .: pyuno/source
pyuno/source/loader/pythonloader.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit fb37327df4153a31d7ba28e2bc3f742f4efc9f34 Author: Caolán McNamara caol...@redhat.com Date: Mon Dec 12 14:17:08 2011 + Let's not have debug spew all the time diff --git a/pyuno/source/loader/pythonloader.py b/pyuno/source/loader/pythonloader.py index c4fa69d..da3efa7 100644 --- a/pyuno/source/loader/pythonloader.py +++ b/pyuno/source/loader/pythonloader.py @@ -35,7 +35,7 @@ from com.sun.star.loader import XImplementationLoader from com.sun.star.lang import XServiceInfo MODULE_PROTOCOL = vnd.openoffice.pymodule: -DEBUG = 1 +DEBUG = 0 g_supportedServices = com.sun.star.loader.Python, # referenced by the native C++ loader ! g_implementationName = org.openoffice.comp.pyuno.Loader # referenced by the native C++ loader ! ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: Branch 'libreoffice-3-5' - postgresql/makefile.mk
postgresql/makefile.mk |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 46269163c3db74a59b9e4e46202b6e4d42228ea5 Author: Lionel Elie Mamane lio...@mamane.lu Date: Mon Dec 12 15:18:40 2011 +0100 postgresql: go look for includes and libs in solver diff --git a/postgresql/makefile.mk b/postgresql/makefile.mk index 6f2931e..9ec3ec1 100644 --- a/postgresql/makefile.mk +++ b/postgresql/makefile.mk @@ -57,7 +57,7 @@ BUILD_ACTION = nmake -f win32.mak USE_SSL=1 USE_LDAP=1 USE_MOZLDAP=1 CONFIGURE_DIR=. BUILD_DIR=src/interfaces/libpq -CONFIGURE_ACTION = CPPFLAGS=-I$(SOLARVER)$/$(INPATH)$/inc ./configure --without-readline --disable-shared --with-openssl +CONFIGURE_ACTION = CPPFLAGS=-I$(SOLARVER)$/$(INPATH)$/inc -I$(SOLARVER)$/$(INPATH)$/inc$/external LDFLAGS=-L$(SOLARVER)$/$(INPATH)$/lib ./configure --without-readline --disable-shared --with-openssl .IF $(WITH_LDAP) == YES CONFIGURE_ACTION += --with-ldap .IF $(WITH_OPENLDAP) != YES ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: Branch 'libreoffice-3-5' - pyuno/source
pyuno/source/loader/pythonloader.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 4a7ba0cbaf5311342c48faeb0dc7269c47560fde Author: Caolán McNamara caol...@redhat.com Date: Mon Dec 12 14:17:08 2011 + Let's not have debug spew all the time (cherry picked from commit fb37327df4153a31d7ba28e2bc3f742f4efc9f34) Signed-off-by: Caolán McNamara caol...@redhat.com diff --git a/pyuno/source/loader/pythonloader.py b/pyuno/source/loader/pythonloader.py index c4fa69d..da3efa7 100644 --- a/pyuno/source/loader/pythonloader.py +++ b/pyuno/source/loader/pythonloader.py @@ -35,7 +35,7 @@ from com.sun.star.loader import XImplementationLoader from com.sun.star.lang import XServiceInfo MODULE_PROTOCOL = vnd.openoffice.pymodule: -DEBUG = 1 +DEBUG = 0 g_supportedServices = com.sun.star.loader.Python, # referenced by the native C++ loader ! g_implementationName = org.openoffice.comp.pyuno.Loader # referenced by the native C++ loader ! ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: pyuno/source
pyuno/source/loader/pythonloader.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 9e8ac5c91e8bd42467b130b3cd53da44f7b736f6 Author: Caolán McNamara caol...@redhat.com Date: Mon Dec 12 15:21:19 2011 + more debug spew in non-debug product diff --git a/pyuno/source/loader/pythonloader.py b/pyuno/source/loader/pythonloader.py index da3efa7..eef1bd6 100644 --- a/pyuno/source/loader/pythonloader.py +++ b/pyuno/source/loader/pythonloader.py @@ -139,8 +139,8 @@ class Loader( XImplementationLoader, XServiceInfo, unohelper.Base ): mod = self.getModuleFromUrl( locationUrl ) implHelper = mod.__dict__.get( g_ImplementationHelper , None ) -print (dump stuff) if DEBUG: +print (dump stuff) print (Fetched ImplHelper as + str(implHelper)) if implHelper == None: return mod.getComponentFactory( implementationName, self.ctx.ServiceManager, regKey ) ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: vcl/source
vcl/source/window/accel.cxx | 20 1 file changed, 12 insertions(+), 8 deletions(-) New commits: commit 26c0c9d404a65d5ab7a5a9c227132594e467cef4 Author: Marcel Metz mm...@adrian-broher.net Date: Mon Dec 12 16:02:22 2011 + Related: fdo#38832 Replace ImplAccesTable with std::map diff --git a/vcl/source/window/accel.cxx b/vcl/source/window/accel.cxx index f45b145..e755d48 100644 --- a/vcl/source/window/accel.cxx +++ b/vcl/source/window/accel.cxx @@ -27,18 +27,18 @@ / -#include tools/table.hxx #include tools/debug.hxx #include tools/rc.h #include vcl/svapp.hxx #include accel.h #include vcl/accel.hxx +#include map #include vector // === -DECLARE_TABLE( ImplAccelTable, ImplAccelEntry* ) +typedef ::std::map sal_uLong, ImplAccelEntry* ImplAccelMap; typedef ::std::vector ImplAccelEntry* ImplAccelList; #define ACCELENTRY_NOTFOUND ((sal_uInt16)0x) @@ -48,8 +48,8 @@ typedef ::std::vector ImplAccelEntry* ImplAccelList; class ImplAccelData { public: -ImplAccelTable maKeyTable; // for keycodes, generated with a code -ImplAccelList maIdList; // Id-List +ImplAccelMap maKeyMap; // for keycodes, generated with a code +ImplAccelList maIdList; // Id-List }; // === @@ -179,7 +179,11 @@ void Accelerator::ImplInit() ImplAccelEntry* Accelerator::ImplGetAccelData( const KeyCode rKeyCode ) const { -return mpData-maKeyTable.Get( rKeyCode.GetFullKeyCode() ); +ImplAccelMap::iterator it = mpData-maKeyMap.find( rKeyCode.GetFullKeyCode() ); +if( it != mpData-maKeyMap.end() ) +return it-second; +else +return NULL; } // --- @@ -200,7 +204,7 @@ void Accelerator::ImplCopyData( ImplAccelData rAccelData ) else pEntry-mpAutoAccel = NULL; -mpData-maKeyTable.Insert( (sal_uLong)pEntry-maKeyCode.GetFullKeyCode(), pEntry ); +mpData-maKeyMap.insert( std::make_pair( pEntry-maKeyCode.GetFullKeyCode(), pEntry ) ); mpData-maIdList.push_back( pEntry ); } } @@ -267,7 +271,7 @@ void Accelerator::ImplInsertAccel( sal_uInt16 nItemId, const KeyCode rKeyCode, OSL_FAIL( Accelerator::InsertItem(): KeyCode with KeyCode 0 not allowed ); delete pEntry; } -else if ( !mpData-maKeyTable.Insert( nCode, pEntry ) ) +else if ( mpData-maKeyMap.insert( std::make_pair( nCode, pEntry ) ).second ) { OSL_TRACE( Accelerator::InsertItem(): KeyCode (Key: %lx) already exists, nCode ); delete pEntry; @@ -470,7 +474,7 @@ Accelerator Accelerator::operator=( const Accelerator rAccel ) // delete and copy tables ImplDeleteData(); -mpData-maKeyTable.Clear(); +mpData-maKeyMap.clear(); ImplCopyData( *((ImplAccelData*)(rAccel.mpData)) ); return *this; ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: vcl/source
vcl/source/window/accel.cxx |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 20d6bd273c43a9b8573fa077f6d9d631bd2d53cc Author: Caolán McNamara caol...@redhat.com Date: Mon Dec 12 16:18:37 2011 + pair::second is false if element with same key already existed The pair::second element in the pair is set to true if a new element was inserted or false if an element with the same value existed diff --git a/vcl/source/window/accel.cxx b/vcl/source/window/accel.cxx index e755d48..50afd2b 100644 --- a/vcl/source/window/accel.cxx +++ b/vcl/source/window/accel.cxx @@ -271,7 +271,7 @@ void Accelerator::ImplInsertAccel( sal_uInt16 nItemId, const KeyCode rKeyCode, OSL_FAIL( Accelerator::InsertItem(): KeyCode with KeyCode 0 not allowed ); delete pEntry; } -else if ( mpData-maKeyMap.insert( std::make_pair( nCode, pEntry ) ).second ) +else if ( !mpData-maKeyMap.insert( std::make_pair( nCode, pEntry ) ).second ) { OSL_TRACE( Accelerator::InsertItem(): KeyCode (Key: %lx) already exists, nCode ); delete pEntry; ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: 2 commits - cui/source
cui/source/dialogs/pastedlg.cxx | 26 -- cui/source/inc/pastedlg.hxx |4 ++-- 2 files changed, 14 insertions(+), 16 deletions(-) New commits: commit d6e21fd53cda06460f2c1611ef5d0744132d87bc Author: Caolán McNamara caol...@redhat.com Date: Mon Dec 12 16:32:34 2011 + now with an STL map we don't have to do our own mem allocation diff --git a/cui/source/dialogs/pastedlg.cxx b/cui/source/dialogs/pastedlg.cxx index 656a813..99cb187 100644 --- a/cui/source/dialogs/pastedlg.cxx +++ b/cui/source/dialogs/pastedlg.cxx @@ -112,11 +112,6 @@ void SvPasteObjectDialog::SetDefault() SvPasteObjectDialog::~SvPasteObjectDialog() { -::std::map SotFormatStringId, String* ::iterator it; -for(it = aSupplementMap.begin(); it != aSupplementMap.end(); ++it) -{ -delete it-second; -} } /* @@ -124,9 +119,7 @@ SvPasteObjectDialog::~SvPasteObjectDialog() */ void SvPasteObjectDialog::Insert( SotFormatStringId nFormat, const String rFormatName ) { -String * pStr = new String( rFormatName ); -if( !aSupplementMap.insert( ::std::make_pair( nFormat, pStr ) ).second ) -delete pStr; +aSupplementMap.insert( ::std::make_pair( nFormat, rFormatName ) ); } sal_uLong SvPasteObjectDialog::GetFormat( const TransferableDataHelper rHelper, @@ -155,15 +148,15 @@ sal_uLong SvPasteObjectDialog::GetFormat( const TransferableDataHelper rHelper, ::com::sun::star::datatransfer::DataFlavor aFlavor( *aIter ); SotFormatStringId nFormat = (*aIter++).mnSotId; -String* pName = NULL; -String aName; -::std::map SotFormatStringId, String* ::iterator itName; -itName = aSupplementMap.find( nFormat ); +::std::map SotFormatStringId, String ::iterator itName = +aSupplementMap.find( nFormat ); // if there is an Embed Source or and Embedded Object on the // Clipboard we read the Description and the Source of this object // from an accompanied Object Descriptor format on the clipboard // Remember: these formats mostly appear together on the clipboard +String aName; +const String* pName = NULL; if ( itName == aSupplementMap.end() ) { SvPasteObjectHelper::GetEmbeddedName(rHelper,aName,aSourceName,nFormat); @@ -172,7 +165,7 @@ sal_uLong SvPasteObjectDialog::GetFormat( const TransferableDataHelper rHelper, } else { -pName = itName-second; +pName = (itName-second); } if( pName ) @@ -181,7 +174,8 @@ sal_uLong SvPasteObjectDialog::GetFormat( const TransferableDataHelper rHelper, if( SOT_FORMATSTR_ID_EMBED_SOURCE == nFormat ) { -if( aDesc.maClassName != aEmptyNm ) { +if( aDesc.maClassName != aEmptyNm ) +{ aSourceName = aDesc.maDisplayName; if( aDesc.maClassName == aObjClassName ) diff --git a/cui/source/inc/pastedlg.hxx b/cui/source/inc/pastedlg.hxx index ddf4ccb..21dee34 100644 --- a/cui/source/inc/pastedlg.hxx +++ b/cui/source/inc/pastedlg.hxx @@ -60,7 +60,7 @@ class SvPasteObjectDialog : public ModalDialog OKButton aOKButton1; CancelButton aCancelButton1; HelpButton aHelpButton1; -::std::map SotFormatStringId, String* aSupplementMap; +::std::map SotFormatStringId, String aSupplementMap; SvGlobalNameaObjClassName; String aObjName; sal_uInt16 nAspect; commit 57054f84f66c4d2db8d117a4043e0fbcbd0ee528 Author: Marcel Metz mm...@adrian-broher.net Date: Mon Dec 12 16:25:22 2011 + Related: fdo#38832 Replace Table with std::map diff --git a/cui/source/dialogs/pastedlg.cxx b/cui/source/dialogs/pastedlg.cxx index 47fdf2f..656a813 100644 --- a/cui/source/dialogs/pastedlg.cxx +++ b/cui/source/dialogs/pastedlg.cxx @@ -112,11 +112,10 @@ void SvPasteObjectDialog::SetDefault() SvPasteObjectDialog::~SvPasteObjectDialog() { -void * pStr = aSupplementTable.First(); -while( pStr ) +::std::map SotFormatStringId, String* ::iterator it; +for(it = aSupplementMap.begin(); it != aSupplementMap.end(); ++it) { -delete (String *)pStr; -pStr = aSupplementTable.Next(); +delete it-second; } } @@ -126,7 +125,7 @@ SvPasteObjectDialog::~SvPasteObjectDialog() void SvPasteObjectDialog::Insert( SotFormatStringId nFormat, const String rFormatName ) { String * pStr = new String( rFormatName ); -if( !aSupplementTable.Insert( nFormat, pStr ) ) +if( !aSupplementMap.insert( ::std::make_pair( nFormat, pStr ) ).second ) delete pStr; } @@ -156,20 +155,25 @@ sal_uLong SvPasteObjectDialog::GetFormat( const TransferableDataHelper rHelper,
[Libreoffice-commits] .: svl/source
svl/source/misc/inettype.cxx | 38 ++ 1 file changed, 22 insertions(+), 16 deletions(-) New commits: commit 9fd35cc973e12a07d82e5ca14ec1f4307dbbada9 Author: Marcel Metz mm...@adrian-broher.net Date: Mon Dec 12 16:50:32 2011 + Related: fdo#38832 Replace Table with std::map diff --git a/svl/source/misc/inettype.cxx b/svl/source/misc/inettype.cxx index 1cba9dc..b043f06 100644 --- a/svl/source/misc/inettype.cxx +++ b/svl/source/misc/inettype.cxx @@ -85,8 +85,9 @@ class Registration { typedef boost::ptr_mapUniString, TypeNameMapEntry TypeNameMap; typedef boost::ptr_mapUniString, ExtensionMapEntry ExtensionMap; +typedef std::mapINetContentType, TypeIDMapEntry* TypeIDMap; -Table m_aTypeIDMap; // map TypeID to TypeName, Presentation +TypeIDMapm_aTypeIDMap;// map ContentType to TypeID TypeNameMap m_aTypeNameMap; // map TypeName to TypeID, Extension ExtensionMap m_aExtensionMap; // map Extension to TypeID sal_uInt32 m_nNextDynamicID; @@ -127,8 +128,13 @@ namespace // static inline TypeIDMapEntry * Registration::getEntry(INetContentType eTypeID) { -return static_cast TypeIDMapEntry * (theRegistration::get(). -m_aTypeIDMap.Get(eTypeID)); +Registration rRegistration = theRegistration::get(); + +TypeIDMap::iterator it = rRegistration.m_aTypeIDMap.find( eTypeID ); +if( it != rRegistration.m_aTypeIDMap.end() ) +return it-second; +else +return NULL; } // @@ -526,10 +532,8 @@ MediaTypeEntry const aStaticPresentationMap[] // Registration::~Registration() { -{for (sal_uLong i = 0; i m_aTypeIDMap.Count(); ++i) -delete static_cast TypeIDMapEntry * (m_aTypeIDMap.GetObject(i)); -} -m_aTypeIDMap.Clear(); +for ( TypeIDMap::iterator it = m_aTypeIDMap.begin(); it != m_aTypeIDMap.end(); ++it ) +delete it-second; } // @@ -571,7 +575,7 @@ INetContentType Registration::RegisterContentType(UniString const rTypeName, pTypeIDMapEntry-m_aPresentation = rPresentation; if (pSystemFileType) pTypeIDMapEntry-m_aSystemFileType = *pSystemFileType; -rRegistration.m_aTypeIDMap.Insert(eTypeID, pTypeIDMapEntry); +rRegistration.m_aTypeIDMap.insert( ::std::make_pair( eTypeID, pTypeIDMapEntry ) ); std::auto_ptrTypeNameMapEntry pTypeNameMapEntry(new TypeNameMapEntry()); if (pExtension) @@ -609,10 +613,11 @@ UniString Registration::GetContentType(INetContentType eTypeID) { Registration rRegistration = theRegistration::get(); -TypeIDMapEntry * pEntry -= static_cast TypeIDMapEntry * (rRegistration. - m_aTypeIDMap.Get(eTypeID)); -return pEntry ? pEntry-m_aTypeName : UniString(); +TypeIDMap::iterator pEntry = rRegistration.m_aTypeIDMap.find( eTypeID ); +if( pEntry != rRegistration.m_aTypeIDMap.end() ) +return pEntry-second-m_aTypeName; +else +return UniString(); } // @@ -621,10 +626,11 @@ UniString Registration::GetPresentation(INetContentType eTypeID) { Registration rRegistration = theRegistration::get(); -TypeIDMapEntry * pEntry -= static_cast TypeIDMapEntry * (rRegistration. - m_aTypeIDMap.Get(eTypeID)); -return pEntry ? pEntry-m_aPresentation : UniString(); +TypeIDMap::iterator pEntry = rRegistration.m_aTypeIDMap.find( eTypeID ); +if( pEntry != rRegistration.m_aTypeIDMap.end() ) +return pEntry-second-m_aPresentation; +else +return UniString(); } // ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] Changes to 'refs/tags/libreoffice-3.4.99.1'
Tag 'libreoffice-3.4.99.1' created by Petr Mladek pmla...@suse.cz at 2011-12-12 17:13 +0100 Tag $lo_version_tag (${vendor_use:+$vendor LO }$lo_version_app-$lo_release_id) -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (GNU/Linux) iQIcBAABAgAGBQJO5jYtAAoJEPQ0oe+v7q6j5hgP/iB64zDUmhSR1AyKE/zQx6Vp It37DHBPXtc7Mlar05UyS2i/Z0b6v7kye8aOAe96v1QAI2fDifFnyw2PX5lFCuEz f9QBvZrkYcH690+Byt1arADI6ZQASmhhr7bvhg4A6GGd+LU/m2cQMiB6+kXs/+/q d3Kp7bw7uHLEi8Db1MMJC/sAxIqcybSYsORUtHGRWR+TZZBL9+9SGvkT9pumuV8t pVESBwA86LPObsLItoHn5/US+ybLXlFDjs0qeREWwhjfAZbvjsrRoO/HgCDJWXT8 Yu259Po2J29f/k5D0OTokpJJ0woX8O9kfu9zK5P0m/ITmr1yp62QKSzwcuMvufQ0 SjoFweVFneIX4rAa/CREuZZvKDypz7N7Lf4yM50lIrP4dPfNpV8fRaKyw5aUfeLG 40giYI8zvx8j07LGuD9MNlFe/hCKg+9R6TnblJkrhG0J5fvc4NhV5Q7rbwccVhuJ E5CR3MtTjcBbodSBZB+Cp5jcV/uwq8W4eYocmyY76oZPvUwMxguFqOEDlfg1dTdU ix+BxEAJ+rkQxRSTtv6/NdplAIKuTbzKaEW7aDqSZEk65mPhXU1a+cC699lJ3DJT OreU+MdFr5aImPiDNdUT1ZkfSH1STHGkrhddM9/3y3bXYoKJPZW8c/OJmJSj1UO2 OTiJv10KglN1iZBLGS86 =QbqJ -END PGP SIGNATURE- Changes since libreoffice-3-5-branch-point-139: --- 0 files changed --- ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] Changes to 'refs/tags/libreoffice-3.4.99.1'
Tag 'libreoffice-3.4.99.1' created by Petr Mladek pmla...@suse.cz at 2011-12-12 17:13 +0100 Tag $lo_version_tag (${vendor_use:+$vendor LO }$lo_version_app-$lo_release_id) -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (GNU/Linux) iQIcBAABAgAGBQJO5jYtAAoJEPQ0oe+v7q6jUQoP/0dqDAKTrpZ+oNhjyy6Cifwk 5610e46w69lUaBCAtW6RDVsOd7xPXCsT7RpUbYReGxuN27k8g+ogXoa+PgYeyg0r qZd1enPEwgHfn1xuicYNmQvhkNhjQ5dcs8tb5dh1YCiDrAtHVKBjmt6m8lsb2FtX XYhI5kT4emG/ssBMuTccVm2culU/3qAE+DC7gTcnWWdXkXIpIO038nl3R/VKH4rh 4B71KOwVQhglugYl419/MLSUXHc9ux3grNpcG9kLF33DPIQ0U7wu9pINjGNVE0ke AlCAaHhPu/TNht+j1+DB2MApbuPMQdMqdu2gY0PLXPKDgqkpXkAxqBGHjjNED1Eb O6o7tih8PnLfAm3pQ2p9kZlqT1fQeK7anBRYWYqpncZosFuvthz5/j5JTIfsszHM wZ9mwByoxHW0fv9YFMv/6yiWHAi4m31Oum1EISxmLbnvlzHYKFOzUx0Dup6Opvl+ 7+DFQoPifOSzV/vcf8r925UndrR8Uf8E5tTg+uZ4/YLaatyVslwHgDaSf4tdmssh glc4ynEGM7o9nQVXGqf1t5msAj59G2NGJOBOCqswWgbmPZRb1Lgs1beIovTSsDIv +7e3hKtUyuYRr1QzHikJuvFLle089jbOXX1B79ed1wGhyGboLjnIxm9QqcoDcRae +8cG6fX8dNJiTlfQ4gEa =tnyu -END PGP SIGNATURE- Changes since libreoffice-3-5-branch-point-1: --- 0 files changed --- ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] Changes to 'refs/tags/libreoffice-3.4.99.1'
Tag 'libreoffice-3.4.99.1' created by Petr Mladek pmla...@suse.cz at 2011-12-12 17:13 +0100 Tag $lo_version_tag (${vendor_use:+$vendor LO }$lo_version_app-$lo_release_id) -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (GNU/Linux) iQIcBAABAgAGBQJO5jYuAAoJEPQ0oe+v7q6jzvQQAK4V+GjPLXt9cJue13wukRfj A4+VXw4TTwElUv+XB5YaGasZR9jfPR6OzDe9nRM1ZrTm8VOfOjPSLW6c/+TgpN4C qYieuLlaVQSwDhM4ndqdEPNuNpI6iUYar7m1srBS7K7GiXuAFryJbYMqEYClk3P4 d9AsUdrDSFMajrFqF2Qe42Mp8BfHs2px7WbaKFcIjPwJBcXJg1g1Ug8bLHRJ9UrY MoUUajBG1ChN63XKjTpMNF2mmtfRbHe8VwRQPhadGwnMO4dGJEqqkodR/M6OiI/6 d9Vb0kgRJz3vBaRIjbBDmMDcAWXvQF2Cw+xvevIsp9zBgAqiS1/QqBFrb3QNIcys 546xd7vzV7duf0gGg3NRV+7cJH0qnR3VSgcgq7kLtuV6S4h1fY6mX9B2guCeYsDO 8UweTc0LMgYTCb3RzD6lYNGAAnxr46An5FopU15dyBr1wM/Z+UGB9mFsjHvrSWZy ERgnpTy9sR8orN1UH4PwuH/Q0Ryxrrq4N5kCAfmND832pEF9oyo5Q6WigvpMJaB0 3Zpq/ChNZEwTJpChH850FKkuE4alF3ktEW5oZsHOxSukeyB/PxbJ7M5fVKD2N4Pu 2ywuPN2tAlQ1P8dgkXQ83MmuNuVzfhKmJ5sK/osKmGJTs7Ui5U6F2PA8qS52lpID fZ4kGhWAF6p8NNuVsdFA =c5sB -END PGP SIGNATURE- Changes since libreoffice-3-5-branch-point-1: --- 0 files changed --- ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: Branch 'libreoffice-3-5' - sw/source
sw/source/filter/ww8/docxattributeoutput.cxx | 28 ++- sw/source/filter/ww8/docxattributeoutput.hxx | 10 + 2 files changed, 17 insertions(+), 21 deletions(-) New commits: commit 5cd2ae45c3da7b018b45ce00153f7ca4791a5d11 Author: LuboÅ¡ LuÅák l.lu...@suse.cz Date: Mon Dec 12 18:11:17 2011 +0100 fix docx hyperlink writing This is a rewrite of the fix for fdo#35826, needed for writing the document from bnc#706138 as docx. The sequence there is startURL(), runText(), endRun(), endUrl(), startUrl(), runText(), endUrl(), endRun(), so by the second endRun(), it is needed to close both the previous and current hyperlink run. diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 42a132d..d9f3376 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -516,8 +516,6 @@ void DocxAttributeOutput::StartRun( const SwRedlineData* pRedlineData ) void DocxAttributeOutput::EndRun() { -if ( m_nCloseHyperlinkStatus == Detected ) -m_nCloseHyperlinkStatus = EndInThisRun; // Write field starts for ( std::vectorFieldInfos::iterator pIt = m_Fields.begin(); pIt != m_Fields.end(); ++pIt ) { @@ -543,6 +541,11 @@ void DocxAttributeOutput::EndRun() // before postponed run start) m_pSerializer-mark(); // let's call it actual run start +if ( m_closeHyperlinkInPreviousRun ) +{ +m_pSerializer-endElementNS( XML_w, XML_hyperlink ); +m_closeHyperlinkInPreviousRun = false; +} // prepend the actual run start if ( m_pHyperlinkAttrList ) { @@ -551,11 +554,6 @@ void DocxAttributeOutput::EndRun() m_pSerializer-startElementNS( XML_w, XML_hyperlink, xAttrList ); m_pHyperlinkAttrList = NULL; } -if ( m_nCloseHyperlinkStatus == EndInPrevRun) -{ -m_pSerializer-endElementNS( XML_w, XML_hyperlink ); -m_nCloseHyperlinkStatus = Undetected; -} // Write the hyperlink and toc fields starts for ( std::vectorFieldInfos::iterator pIt = m_Fields.begin(); pIt != m_Fields.end(); ) @@ -592,10 +590,10 @@ void DocxAttributeOutput::EndRun() EndField_Impl( m_Fields.front( ) ); m_Fields.erase( m_Fields.begin( ) ); } -if ( m_nCloseHyperlinkStatus == EndInThisRun) +if ( m_closeHyperlinkInThisRun ) { m_pSerializer-endElementNS( XML_w, XML_hyperlink ); -m_nCloseHyperlinkStatus = Undetected; +m_closeHyperlinkInThisRun = false; } // if there is some redlining in the document, output it @@ -1043,8 +1041,11 @@ static void impl_WriteRunText( FSHelperPtr pSerializer, sal_Int32 nTextToken, void DocxAttributeOutput::RunText( const String rText, rtl_TextEncoding /*eCharSet*/ ) { -if ( m_nCloseHyperlinkStatus == Detected ) -m_nCloseHyperlinkStatus = EndInPrevRun; +if( m_closeHyperlinkInThisRun ) +{ +m_closeHyperlinkInPreviousRun = true; +m_closeHyperlinkInThisRun = false; +} OUString aText( rText ); // one text can be split into more w:tblah/w:t's by line breaks etc. @@ -1232,7 +1233,7 @@ bool DocxAttributeOutput::StartURL( const String rUrl, const String rTarget ) bool DocxAttributeOutput::EndURL() { -m_nCloseHyperlinkStatus = Detected; +m_closeHyperlinkInThisRun = true; return true; } @@ -4350,7 +4351,8 @@ DocxAttributeOutput::DocxAttributeOutput( DocxExport rExport, FSHelperPtr pSeri m_bParagraphOpened( false ), m_nColBreakStatus( COLBRK_NONE ), m_pParentFrame( NULL ), - m_nCloseHyperlinkStatus( Undetected ), + m_closeHyperlinkInThisRun( false ), + m_closeHyperlinkInPreviousRun( false ), m_postponedGraphic( NULL ), m_postponedMath( NULL ), m_postitFieldsMaxId( 0 ) diff --git a/sw/source/filter/ww8/docxattributeoutput.hxx b/sw/source/filter/ww8/docxattributeoutput.hxx index 10ee7cd..79c8b02 100644 --- a/sw/source/filter/ww8/docxattributeoutput.hxx +++ b/sw/source/filter/ww8/docxattributeoutput.hxx @@ -588,14 +588,8 @@ private: const sw::Frame *m_pParentFrame; // close of hyperlink needed -enum HyperLinkCloseState -{ -Undetected = 0, -Detected, -EndInPrevRun, -EndInThisRun -}; -HyperLinkCloseState m_nCloseHyperlinkStatus; +bool m_closeHyperlinkInThisRun; +bool m_closeHyperlinkInPreviousRun; struct PostponedGraphic { ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: sw/source
sw/source/filter/ww8/docxattributeoutput.cxx | 28 ++- sw/source/filter/ww8/docxattributeoutput.hxx | 10 + 2 files changed, 17 insertions(+), 21 deletions(-) New commits: commit f176c9ba7be7f3051a52b9f57b56124038c0cfd6 Author: LuboÅ¡ LuÅák l.lu...@suse.cz Date: Mon Dec 12 18:11:17 2011 +0100 fix docx hyperlink writing This is a rewrite of the fix for fdo#35826, needed for writing the document from bnc#706138 as docx. The sequence there is startURL(), runText(), endRun(), endUrl(), startUrl(), runText(), endUrl(), endRun(), so by the second endRun(), it is needed to close both the previous and current hyperlink run. diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 42a132d..d9f3376 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -516,8 +516,6 @@ void DocxAttributeOutput::StartRun( const SwRedlineData* pRedlineData ) void DocxAttributeOutput::EndRun() { -if ( m_nCloseHyperlinkStatus == Detected ) -m_nCloseHyperlinkStatus = EndInThisRun; // Write field starts for ( std::vectorFieldInfos::iterator pIt = m_Fields.begin(); pIt != m_Fields.end(); ++pIt ) { @@ -543,6 +541,11 @@ void DocxAttributeOutput::EndRun() // before postponed run start) m_pSerializer-mark(); // let's call it actual run start +if ( m_closeHyperlinkInPreviousRun ) +{ +m_pSerializer-endElementNS( XML_w, XML_hyperlink ); +m_closeHyperlinkInPreviousRun = false; +} // prepend the actual run start if ( m_pHyperlinkAttrList ) { @@ -551,11 +554,6 @@ void DocxAttributeOutput::EndRun() m_pSerializer-startElementNS( XML_w, XML_hyperlink, xAttrList ); m_pHyperlinkAttrList = NULL; } -if ( m_nCloseHyperlinkStatus == EndInPrevRun) -{ -m_pSerializer-endElementNS( XML_w, XML_hyperlink ); -m_nCloseHyperlinkStatus = Undetected; -} // Write the hyperlink and toc fields starts for ( std::vectorFieldInfos::iterator pIt = m_Fields.begin(); pIt != m_Fields.end(); ) @@ -592,10 +590,10 @@ void DocxAttributeOutput::EndRun() EndField_Impl( m_Fields.front( ) ); m_Fields.erase( m_Fields.begin( ) ); } -if ( m_nCloseHyperlinkStatus == EndInThisRun) +if ( m_closeHyperlinkInThisRun ) { m_pSerializer-endElementNS( XML_w, XML_hyperlink ); -m_nCloseHyperlinkStatus = Undetected; +m_closeHyperlinkInThisRun = false; } // if there is some redlining in the document, output it @@ -1043,8 +1041,11 @@ static void impl_WriteRunText( FSHelperPtr pSerializer, sal_Int32 nTextToken, void DocxAttributeOutput::RunText( const String rText, rtl_TextEncoding /*eCharSet*/ ) { -if ( m_nCloseHyperlinkStatus == Detected ) -m_nCloseHyperlinkStatus = EndInPrevRun; +if( m_closeHyperlinkInThisRun ) +{ +m_closeHyperlinkInPreviousRun = true; +m_closeHyperlinkInThisRun = false; +} OUString aText( rText ); // one text can be split into more w:tblah/w:t's by line breaks etc. @@ -1232,7 +1233,7 @@ bool DocxAttributeOutput::StartURL( const String rUrl, const String rTarget ) bool DocxAttributeOutput::EndURL() { -m_nCloseHyperlinkStatus = Detected; +m_closeHyperlinkInThisRun = true; return true; } @@ -4350,7 +4351,8 @@ DocxAttributeOutput::DocxAttributeOutput( DocxExport rExport, FSHelperPtr pSeri m_bParagraphOpened( false ), m_nColBreakStatus( COLBRK_NONE ), m_pParentFrame( NULL ), - m_nCloseHyperlinkStatus( Undetected ), + m_closeHyperlinkInThisRun( false ), + m_closeHyperlinkInPreviousRun( false ), m_postponedGraphic( NULL ), m_postponedMath( NULL ), m_postitFieldsMaxId( 0 ) diff --git a/sw/source/filter/ww8/docxattributeoutput.hxx b/sw/source/filter/ww8/docxattributeoutput.hxx index 10ee7cd..79c8b02 100644 --- a/sw/source/filter/ww8/docxattributeoutput.hxx +++ b/sw/source/filter/ww8/docxattributeoutput.hxx @@ -588,14 +588,8 @@ private: const sw::Frame *m_pParentFrame; // close of hyperlink needed -enum HyperLinkCloseState -{ -Undetected = 0, -Detected, -EndInPrevRun, -EndInThisRun -}; -HyperLinkCloseState m_nCloseHyperlinkStatus; +bool m_closeHyperlinkInThisRun; +bool m_closeHyperlinkInPreviousRun; struct PostponedGraphic { ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: Branch 'libreoffice-3-4' - sc/source
sc/source/core/tool/scmatrix.cxx |1 + 1 file changed, 1 insertion(+) New commits: commit fbdddb784108b9f4e5e3d76c50b9aac81c73a019 Author: Eike Rathke er...@redhat.com Date: Mon Dec 12 19:01:42 2011 +0100 fixed rhbz#754051 Libreoffice calc crashes when re-opening a xlxs file ScMatrixImpl lacked initialization of pErrorInterpreter=NULL. Signed-off-by: Kohei Yoshida kohei.yosh...@suse.com diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx index 912eef1..e53ca6b 100644 --- a/sc/source/core/tool/scmatrix.cxx +++ b/sc/source/core/tool/scmatrix.cxx @@ -244,6 +244,7 @@ private: ScMatrixImpl::ScMatrixImpl(SCSIZE nC, SCSIZE nR, ScMatrix::DensityType eType) : maMat(nR, nC, toMddsDensityType(eType)), meType(eType), +pErrorInterpreter(NULL), mbCloneIfConst(true) { } ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: sc/source
sc/source/ui/dbgui/filtdlg.cxx |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) New commits: commit f162980219bb6ab01d099eda57897c5b0a9aa6fe Author: Kohei Yoshida kohei.yosh...@suse.com Date: Mon Dec 12 14:08:27 2011 -0500 Fix filtering by inequality operators e.g. 5, =3, etc. diff --git a/sc/source/ui/dbgui/filtdlg.cxx b/sc/source/ui/dbgui/filtdlg.cxx index 26616eb..2bb76ea 100644 --- a/sc/source/ui/dbgui/filtdlg.cxx +++ b/sc/source/ui/dbgui/filtdlg.cxx @@ -1157,7 +1157,11 @@ IMPL_LINK( ScFilterDlg, ValModifyHdl, ComboBox*, pEd ) { rItem.maString = aStrVal; rItem.mfVal = 0.0; -rItem.meType = ScQueryEntry::ByString; + +sal_uInt32 nIndex; +bool bNumber = pDoc-GetFormatTable()-IsNumberFormat( +rItem.maString, nIndex, rItem.mfVal); +rItem.meType = bNumber ? ScQueryEntry::ByValue : ScQueryEntry::ByString; } sal_uInt16 nField = pLbField-GetSelectEntryPos(); ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: sc/source
sc/source/core/data/table3.cxx |6 ++ 1 file changed, 6 insertions(+) New commits: commit 99977d7864f632a6fd74d3e0490f545905ac4b96 Author: Kohei Yoshida kohei.yosh...@suse.com Date: Mon Dec 12 14:18:59 2011 -0500 fdo#35539: Don't evaluate error cells as values during filtering. E.g., if filtering for cells 5, we should skip error cells. Previously, error cells are unintentionally treated as having a numeric value of 0. diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx index ffd5d6f..b0d261f 100644 --- a/sc/source/core/data/table3.cxx +++ b/sc/source/core/data/table3.cxx @@ -1157,7 +1157,13 @@ public: return false; if (pCell) +{ +if (pCell-GetErrorCode()) +// Error values are compared as string. +return false; + return pCell-HasValueData(); +} return mrTab.HasValueData(nCol, nRow); } ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: basic/source binaryurp/source bridges/source
basic/source/uno/scriptcont.cxx |4 ++-- binaryurp/source/bridge.cxx |8 binaryurp/source/bridgefactory.cxx |4 ++-- binaryurp/source/reader.cxx |4 ++-- binaryurp/source/unmarshal.cxx |4 ++-- binaryurp/source/writer.cxx |2 +- bridges/source/cpp_uno/shared/vtablefactory.cxx |4 ++-- bridges/source/jni_uno/jni_data.cxx |2 +- 8 files changed, 16 insertions(+), 16 deletions(-) New commits: commit 9201704ede70498a850bee6d15f0340d58f3889c Author: Olivier Hallot olivier.hal...@alta.org.br Date: Sat Dec 10 17:29:21 2011 -0200 Fix for fdo43460 Part IV getLength to isEmpty Part IV Module basic (small fix per demand from Ivan Timofeev) binaryurp bridges diff --git a/basic/source/uno/scriptcont.cxx b/basic/source/uno/scriptcont.cxx index c6fbc5d..9dd01a1 100644 --- a/basic/source/uno/scriptcont.cxx +++ b/basic/source/uno/scriptcont.cxx @@ -473,8 +473,8 @@ void SAL_CALL SfxScriptLibraryContainer::changeLibraryPassword( const OUString if( OldPassword == NewPassword ) return; -sal_Bool bOldPassword = ( !OldPassword.isEmpty() ); -sal_Bool bNewPassword = ( !NewPassword.isEmpty() ); +sal_Bool bOldPassword = !OldPassword.isEmpty(); +sal_Bool bNewPassword = !NewPassword.isEmpty(); sal_Bool bStorage = mxStorage.is() !pImplLib-mbLink; if( pImplLib-mbReadOnly || (bOldPassword !pImplLib-mbPasswordProtected) ) diff --git a/binaryurp/source/bridge.cxx b/binaryurp/source/bridge.cxx index b491a2a..389284d 100644 --- a/binaryurp/source/bridge.cxx +++ b/binaryurp/source/bridge.cxx @@ -345,7 +345,7 @@ css::uno::UnoInterfaceReference Bridge::registerIncomingInterface( rtl::OUString const oid, css::uno::TypeDescription const type) { assert(type.is()); -if (oid.getLength() == 0) { +if (oid.isEmpty()) { return css::uno::UnoInterfaceReference(); } css::uno::UnoInterfaceReference obj(findStub(oid, type)); @@ -427,7 +427,7 @@ rtl::OUString Bridge::registerOutgoingInterface( css::uno::UnoInterfaceReference Bridge::findStub( rtl::OUString const oid, css::uno::TypeDescription const type) { -assert(oid.getLength() != 0 type.is()); +assert(!oid.isEmpty() type.is()); osl::MutexGuard g(mutex_); Stubs::iterator i(stubs_.find(oid)); if (i != stubs_.end()) { @@ -449,7 +449,7 @@ css::uno::UnoInterfaceReference Bridge::findStub( void Bridge::releaseStub( rtl::OUString const oid, css::uno::TypeDescription const type) { -assert(oid.getLength() != 0 type.is()); +assert(!oid.isEmpty() type.is()); css::uno::UnoInterfaceReference obj; bool unused; { @@ -814,7 +814,7 @@ Bridge::~Bridge() { css::uno::Reference css::uno::XInterface Bridge::getInstance( rtl::OUString const sInstanceName) throw (css::uno::RuntimeException) { -if (sInstanceName.getLength() == 0) { +if (sInstanceName.isEmpty()) { throw css::uno::RuntimeException( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( diff --git a/binaryurp/source/bridgefactory.cxx b/binaryurp/source/bridgefactory.cxx index 5c91055..0edbaa0 100644 --- a/binaryurp/source/bridgefactory.cxx +++ b/binaryurp/source/bridgefactory.cxx @@ -80,7 +80,7 @@ void BridgeFactory::removeBridge( assert(bridge.is()); rtl::OUString n(bridge-getName()); osl::MutexGuard g(*this); -if (n.getLength() == 0) { +if (n.isEmpty()) { BridgeList::iterator i( std::find(unnamed_.begin(), unnamed_.end(), bridge)); if (i != unnamed_.end()) { @@ -154,7 +154,7 @@ css::uno::Reference css::bridge::XBridge BridgeFactory::createBridge( static_cast cppu::OWeakObject * (this), -1); } b.set(new Bridge(this, sName, aConnection, anInstanceProvider)); -if (sName.getLength() == 0) { +if (sName.isEmpty()) { unnamed_.push_back( css::uno::Reference css::bridge::XBridge (b.get())); } else { diff --git a/binaryurp/source/reader.cxx b/binaryurp/source/reader.cxx index c052fad..e6b6f06 100644 --- a/binaryurp/source/reader.cxx +++ b/binaryurp/source/reader.cxx @@ -215,7 +215,7 @@ void Reader::readMessage(Unmarshal unmarshal) { rtl::OUString oid; if (newOid) { oid = unmarshal.readOid(); -if (oid.getLength() == 0) { +if (oid.isEmpty()) { throw css::io::IOException( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( @@ -224,7 +224,7 @@ void Reader::readMessage(Unmarshal unmarshal) { } lastOid_ = oid; } else { -if (lastOid_.getLength() == 0) { +if (lastOid_.isEmpty()) { throw css::uno::RuntimeException( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( diff --git
[Libreoffice-commits] .: codemaker/source
codemaker/source/codemaker/global.cxx|8 ++--- codemaker/source/codemaker/unotype.cxx |2 - codemaker/source/cppumaker/cppumaker.cxx |2 - codemaker/source/cppumaker/cpputype.cxx | 46 +++ codemaker/source/cppumaker/includes.cxx |2 - codemaker/source/javamaker/classfile.cxx |8 ++--- codemaker/source/javamaker/javamaker.cxx |2 - 7 files changed, 35 insertions(+), 35 deletions(-) New commits: commit fd866ac8f184c0910883963c9c12b45a239a9227 Author: Olivier Hallot olivier.hal...@alta.org.br Date: Mon Dec 12 18:19:01 2011 -0200 Fix for fdo43460 Part VI getLength() to isEmpty() Part VI Module codemaker diff --git a/codemaker/source/codemaker/global.cxx b/codemaker/source/codemaker/global.cxx index 36d06f0..af87ee8 100644 --- a/codemaker/source/codemaker/global.cxx +++ b/codemaker/source/codemaker/global.cxx @@ -116,7 +116,7 @@ OString createFileNameFromType( const OString destination, fileNameBuf.append(/, 1); OString tmpStr(type); -if (prefix.getLength() 0) +if (!prefix.isEmpty()) { tmpStr = type.replaceAt(type.lastIndexOf('/')+1, 0, prefix); } @@ -298,7 +298,7 @@ FileStream::FileStream() FileStream::FileStream(const OString name, FileAccessMode mode) : m_file(NULL) { -if ( name.getLength() 0 ) +if ( !name.isEmpty() ) { OUString sUrl(convertToFileUrl(name)); #ifdef SAL_UNX @@ -338,7 +338,7 @@ void FileStream::createTempFile(const OString sPath) OUString sTmpPath; OUString sTmpName; -if (sPath.getLength() 0) +if (!sPath.isEmpty()) sTmp = sPath; sTmpPath = convertToFileUrl(sTmp); @@ -364,7 +364,7 @@ void FileStream::createTempFile(const OString sPath) void FileStream::open(const OString name, FileAccessMode mode) { -if ( name.getLength() 0 ) +if ( !name.isEmpty() ) { oslFileError ret = osl_File_E_None; if ((ret = osl_openFile(convertToFileUrl(name).pData, m_file, checkAccessMode(mode))) == osl_File_E_None) diff --git a/codemaker/source/codemaker/unotype.cxx b/codemaker/source/codemaker/unotype.cxx index 0432a29..0ae8e43 100644 --- a/codemaker/source/codemaker/unotype.cxx +++ b/codemaker/source/codemaker/unotype.cxx @@ -56,7 +56,7 @@ codemaker::UnoType::Sort codemaker::UnoType::getSort(rtl::OString const type) } bool codemaker::UnoType::isSequenceType(rtl::OString const type) { -return type.getLength() 0 type[0] == '['; +return !type.isEmpty() type[0] == '['; } rtl::OString codemaker::UnoType::decompose( diff --git a/codemaker/source/cppumaker/cppumaker.cxx b/codemaker/source/cppumaker/cppumaker.cxx index e6cee20..0b9d8c0 100644 --- a/codemaker/source/cppumaker/cppumaker.cxx +++ b/codemaker/source/cppumaker/cppumaker.cxx @@ -202,7 +202,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) } else { tmpName = typeName.copy(0, typeName.lastIndexOf('.')).replace('.', '/'); -if (tmpName.getLength() == 0) +if (tmpName.isEmpty()) tmpName = /; else tmpName.replace('.', '/'); diff --git a/codemaker/source/cppumaker/cpputype.cxx b/codemaker/source/cppumaker/cpputype.cxx index f2007e5..3a436ca 100644 --- a/codemaker/source/cppumaker/cpputype.cxx +++ b/codemaker/source/cppumaker/cpputype.cxx @@ -253,7 +253,7 @@ sal_Bool CppuType::dumpFile(CppuOptions* pOptions, } OString sFileName = createFileNameFromType(sOutPath, sName, sExtension); -if (sFileName.getLength() == 0) +if (sFileName.isEmpty()) return sal_False; sal_Bool bFileExists = fileExists( sFileName ); @@ -539,7 +539,7 @@ void CppuType::dumpNormalGetCppuType(FileStream o) m_reader.getSuperTypeName(0), RTL_TEXTENCODING_UTF8); } sal_Bool bIsBaseException = sal_False; -if (superType.getLength() 0) +if (!superType.isEmpty()) { if ( superType.equals(com/sun/star/uno/Exception) ) { @@ -599,7 +599,7 @@ void CppuType::dumpNormalGetCppuType(FileStream o) o indent() typelib_static_compound_type_init( the_type, getTypeClass(m_typeName, sal_True) , \ m_typeName.replace('/', '.') \, ; -if ( superType.getLength() 0 || bIsBaseException ) +if ( !superType.isEmpty() || bIsBaseException ) { if ( bIsBaseException ) { @@ -658,7 +658,7 @@ void CppuType::dumpComprehensiveGetCppuType(FileStream o) superType = rtl::OUStringToOString( m_reader.getSuperTypeName(0), RTL_TEXTENCODING_UTF8); } -if (superType.getLength() 0) { +if (!superType.isEmpty()) { o indent() const ::com::sun::star::uno::Type rSuperType = ::cppu::UnoType ; dumpType(o, superType, false, false, false, true); @@ -712,7 +712,7 @@ void
[Libreoffice-commits] .: Branch 'libreoffice-3-5' - sc/source
sc/source/ui/inc/output.hxx |1 sc/source/ui/view/output2.cxx | 50 -- 2 files changed, 45 insertions(+), 6 deletions(-) New commits: commit 69efe76f07796323012d2c65e8c89996c77ea2d9 Author: Kohei Yoshida kohei.yosh...@suse.com Date: Mon Dec 12 15:45:04 2011 -0500 fdo#32530: Correct default horizontal alignment for complex script. diff --git a/sc/source/ui/inc/output.hxx b/sc/source/ui/inc/output.hxx index 72934cf..9a81555 100644 --- a/sc/source/ui/inc/output.hxx +++ b/sc/source/ui/inc/output.hxx @@ -102,6 +102,7 @@ private: longmnPosX; longmnPosY; longmnInitPosX; +sal_uInt8 mnScript; boolmbBreak; boolmbCellIsValue; boolmbAsianVertical; diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx index de1506a..82a9905 100644 --- a/sc/source/ui/view/output2.cxx +++ b/sc/source/ui/view/output2.cxx @@ -1561,9 +1561,27 @@ void ScOutputData::DrawStrings( sal_Bool bPixelToLogic ) bCellIsValue = pFCell-IsRunning() || pFCell-IsValue(); } -eOutHorJust = ( aVars.GetHorJust() != SVX_HOR_JUSTIFY_STANDARD ) ? - aVars.GetHorJust() : - ( bCellIsValue ? SVX_HOR_JUSTIFY_RIGHT : SVX_HOR_JUSTIFY_LEFT ); +if (aVars.GetHorJust() == SVX_HOR_JUSTIFY_STANDARD) +{ +// fdo#32530: Default alignment depends on value vs +// string, and the script type of the 1st letter. +sal_uInt8 nScript1st = 0; +rtl::OUString aStr = aVars.GetString(); +if (!aStr.isEmpty()) +{ +aStr = aStr.copy(0, 1); +nScript1st = pDoc-GetStringScriptType(aStr); +if (!nScript1st) +nScript1st = ScGlobal::GetDefaultScriptType(); +} + +if (nScript1st == SCRIPTTYPE_COMPLEX) +eOutHorJust = bCellIsValue ? SVX_HOR_JUSTIFY_LEFT : SVX_HOR_JUSTIFY_RIGHT; +else +eOutHorJust = bCellIsValue ? SVX_HOR_JUSTIFY_RIGHT : SVX_HOR_JUSTIFY_LEFT; +} +else +eOutHorJust = aVars.GetHorJust(); if ( eOutHorJust == SVX_HOR_JUSTIFY_BLOCK || eOutHorJust == SVX_HOR_JUSTIFY_REPEAT ) eOutHorJust = SVX_HOR_JUSTIFY_LEFT; // repeat is not yet implemented @@ -2137,6 +2155,7 @@ ScOutputData::DrawEditParam::DrawEditParam(const ScPatternAttr* pPattern, const mnArrY(0), mnX(0), mnY(0), mnCellX(0), mnCellY(0), mnPosX(0), mnPosY(0), mnInitPosX(0), +mnScript(0), mbBreak( (meHorJust == SVX_HOR_JUSTIFY_BLOCK) || lcl_GetBoolValue(*pPattern, ATTR_LINEBREAK, pCondSet) ), mbCellIsValue(bCellIsValue), mbAsianVertical(false), @@ -2567,9 +2586,16 @@ void ScOutputData::DrawEditStandard(DrawEditParam rParam) bHidden = true; // gedreht wird getrennt ausgegeben } -SvxCellHorJustify eOutHorJust = -( rParam.meHorJust != SVX_HOR_JUSTIFY_STANDARD ) ? rParam.meHorJust : -( rParam.mbCellIsValue ? SVX_HOR_JUSTIFY_RIGHT : SVX_HOR_JUSTIFY_LEFT ); +SvxCellHorJustify eOutHorJust = rParam.meHorJust; +if (eOutHorJust == SVX_HOR_JUSTIFY_STANDARD) +{ +// fdo#32530: Default alignment depends on value vs string, and the +// script type of the 1st letter. +if (rParam.mnScript == SCRIPTTYPE_COMPLEX) +eOutHorJust = rParam.mbCellIsValue ? SVX_HOR_JUSTIFY_LEFT : SVX_HOR_JUSTIFY_RIGHT; +else +eOutHorJust = rParam.mbCellIsValue ? SVX_HOR_JUSTIFY_RIGHT : SVX_HOR_JUSTIFY_LEFT; +} if ( eOutHorJust == SVX_HOR_JUSTIFY_BLOCK || eOutHorJust == SVX_HOR_JUSTIFY_REPEAT ) eOutHorJust = SVX_HOR_JUSTIFY_LEFT; // repeat is not yet implemented @@ -4570,6 +4596,17 @@ void ScOutputData::DrawEdit(sal_Bool bPixelToLogic) else lcl_ClearEdit( *pEngine ); // also calls SetUpdateMode(sal_False) +// fdo#32530: Get the script type of the first letter. +sal_uInt8 nScript = 0; +rtl::OUString aStr = pDoc-GetString(nCellX, nCellY, nTab); +if (!aStr.isEmpty()) +{ +aStr = aStr.copy(0, 1); +nScript = pDoc-GetStringScriptType(aStr); +} +if (nScript == 0) +
[Libreoffice-commits] .: 3 commits - editeng/inc slideshow/source solenv/gbuild svl/inc svx/inc svx/source
editeng/inc/editeng/eeitem.hxx|8 +--- slideshow/source/engine/shapes/viewmediashape.cxx | 18 ++ solenv/gbuild/extensions/post_BuildplTargets.mk | 16 +++- svl/inc/svl/solar.hrc |2 +- svx/inc/svx/unoshprp.hxx |6 +- svx/source/unodraw/unoprov.cxx|3 ++- svx/source/unodraw/unoshap4.cxx |9 +++-- 7 files changed, 45 insertions(+), 17 deletions(-) New commits: commit 5924454a867bd500fdc696bb9939c84425c5e025 Author: Michael Stahl mst...@redhat.com Date: Mon Dec 12 19:40:38 2011 +0100 slideshow: play back embedded media: The slideshow uses the UNO API to access the drawing objects, so add a property to get the temp file URL from the media object. diff --git a/slideshow/source/engine/shapes/viewmediashape.cxx b/slideshow/source/engine/shapes/viewmediashape.cxx index ebd4343..5957cf6 100644 --- a/slideshow/source/engine/shapes/viewmediashape.cxx +++ b/slideshow/source/engine/shapes/viewmediashape.cxx @@ -286,11 +286,21 @@ namespace slideshow xPropSet.set( mxShape, uno::UNO_QUERY ); // create Player -if( xPropSet.is() -( xPropSet-getPropertyValue( - ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( MediaURL ) ) ) =aURL ) ) +if (xPropSet.is()) { -implInitializeMediaPlayer( aURL ); +if ((xPropSet-getPropertyValue( + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( + PrivateTempFileURL))) = aURL) + aURL.getLength()) +{ +implInitializeMediaPlayer( aURL ); +} +else if (xPropSet-getPropertyValue( + ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( + MediaURL))) = aURL) +{ +implInitializeMediaPlayer( aURL ); +} } // create visible object diff --git a/svl/inc/svl/solar.hrc b/svl/inc/svl/solar.hrc index 6d13d46..3dc3363 100644 --- a/svl/inc/svl/solar.hrc +++ b/svl/inc/svl/solar.hrc @@ -31,7 +31,7 @@ // defines -- #define OWN_ATTR_VALUE_START3900 -#define OWN_ATTR_VALUE_END 3988 +#define OWN_ATTR_VALUE_END 3990 #define CREATERESMGR_NAME( Name ) #Name #define CREATERESMGR( Name )ResMgr::CreateResMgr( CREATERESMGR_NAME( Name ) ) diff --git a/svx/inc/svx/unoshprp.hxx b/svx/inc/svx/unoshprp.hxx index 5e4bdf5..6cf3619 100644 --- a/svx/inc/svx/unoshprp.hxx +++ b/svx/inc/svx/unoshprp.hxx @@ -187,7 +187,11 @@ #define OWN_ATTR_STYLE (OWN_ATTR_VALUE_START+87) -#define OWN_ATTR_EDGE_POLYPOLYGONBEZIER (OWN_ATTR_VALUE_START+88) // maximum is OWN_ATTR_VALUE_START+88, see svl/inc/svl/solar.hrc +#define OWN_ATTR_EDGE_POLYPOLYGONBEZIER (OWN_ATTR_VALUE_START+88) + +#define OWN_ATTR_MEDIA_STREAM (OWN_ATTR_VALUE_START+89) +#define OWN_ATTR_MEDIA_TEMPFILEURL (OWN_ATTR_VALUE_START+90) +// ATTENTION: maximum is OWN_ATTR_VALUE_START+90, see svl/inc/svl/solar.hrc // #FontWork# #define FONTWORK_PROPERTIES \ diff --git a/svx/source/unodraw/unoprov.cxx b/svx/source/unodraw/unoprov.cxx index f800afb..c469672 100644 --- a/svx/source/unodraw/unoprov.cxx +++ b/svx/source/unodraw/unoprov.cxx @@ -761,7 +761,8 @@ SfxItemPropertyMapEntry* ImplGetSvxMediaShapePropertyMap() // #i68101# { MAP_CHAR_LEN(UNO_NAME_MISC_OBJ_TITLE), OWN_ATTR_MISC_OBJ_TITLE , ::getCppuType((const ::rtl::OUString*)0), 0, 0}, { MAP_CHAR_LEN(UNO_NAME_MISC_OBJ_DESCRIPTION), OWN_ATTR_MISC_OBJ_DESCRIPTION , ::getCppuType((const ::rtl::OUString*)0), 0, 0}, -{MAP_CHAR_LEN(PrivateStream), OWN_ATTR_GRAPHIC_STREAM, ::com::sun::star::io::XInputStream::static_type(), ::com::sun::star::beans::PropertyAttribute::READONLY, 0}, +{MAP_CHAR_LEN(PrivateStream), OWN_ATTR_MEDIA_STREAM, ::com::sun::star::io::XInputStream::static_type(), ::com::sun::star::beans::PropertyAttribute::READONLY, 0}, +{MAP_CHAR_LEN(PrivateTempFileURL), OWN_ATTR_MEDIA_TEMPFILEURL, ::getCppuType((const ::rtl::OUString*)0), ::com::sun::star::beans::PropertyAttribute::READONLY, 0}, {0,0,0,0,0,0} }; diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx index c4c7e68..ad517c2 100644 --- a/svx/source/unodraw/unoshap4.cxx +++
[Libreoffice-commits] .: connectivity/source
connectivity/source/drivers/dbase/DIndex.cxx |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit 84a3f11c7a0cce586c15246079ea807aec38a439 Author: Julien Nabet serval2...@yahoo.fr Date: Mon Dec 12 22:00:26 2011 +0100 Remove ByteString diff --git a/connectivity/source/drivers/dbase/DIndex.cxx b/connectivity/source/drivers/dbase/DIndex.cxx index 0e22387..c5a0e4c 100644 --- a/connectivity/source/drivers/dbase/DIndex.cxx +++ b/connectivity/source/drivers/dbase/DIndex.cxx @@ -443,7 +443,7 @@ sal_Bool ODbaseIndex::DropImpl() Config aInfFile(sPhysicalPath); aInfFile.SetGroup(dBASE_III_GROUP); sal_uInt16 nKeyCnt = aInfFile.GetKeyCount(); -ByteString aKeyName; +rtl::OString aKeyName; String sEntry = m_Name; sEntry += String::CreateFromAscii(.ndx); @@ -452,7 +452,7 @@ sal_Bool ODbaseIndex::DropImpl() { // References the Key to an Index-file? aKeyName = aInfFile.GetKeyName( nKey ); -if (aKeyName.Copy(0,3) == NDX) +if (aKeyName.copy(0,3) == NDX) { if(sEntry == String(rtl::OStringToOUString(aInfFile.ReadKey(aKeyName),m_pTable-getConnection()-getTextEncoding( { ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: pyuno/source wizards/com
pyuno/source/loader/pythonloader.py | 11 ++- wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py |1 - 2 files changed, 6 insertions(+), 6 deletions(-) New commits: commit 7f4cb27518ec9d0916a4d6508d9f720771859c22 Author: Lionel Elie Mamane lio...@mamane.lu Date: Mon Dec 12 22:12:40 2011 +0100 fix loading of python-uno module by package.module name diff --git a/pyuno/source/loader/pythonloader.py b/pyuno/source/loader/pythonloader.py index eef1bd6..7a66cfa 100644 --- a/pyuno/source/loader/pythonloader.py +++ b/pyuno/source/loader/pythonloader.py @@ -111,16 +111,18 @@ class Loader( XImplementationLoader, XServiceInfo, unohelper.Base ): g_loadedComponents[url] = mod return mod elif vnd.openoffice.pymodule == protocol: -# the failure is on symbol lookup later in the parent ... -print (Warning: Python module loading is almost certainly pre-broken) nSlash = dependent.rfind('/') if -1 != nSlash: path = unohelper.fileUrlToSystemPath( dependent[0:nSlash] ) dependent = dependent[nSlash+1:len(dependent)] if not path in sys.path: sys.path.append( path ) -var = __import__( dependent ) -return var +mod = __import__( dependent ) +path_component, dot, rest = dependent.partition('.') +while dot == '.': +path_component, dot, rest = rest.partition('.') +mod = getattr(mod, path_component) +return mod else: if DEBUG: print(Unknown protocol ' + protocol + '); @@ -140,7 +142,6 @@ class Loader( XImplementationLoader, XServiceInfo, unohelper.Base ): mod = self.getModuleFromUrl( locationUrl ) implHelper = mod.__dict__.get( g_ImplementationHelper , None ) if DEBUG: -print (dump stuff) print (Fetched ImplHelper as + str(implHelper)) if implHelper == None: return mod.getComponentFactory( implementationName, self.ctx.ServiceManager, regKey ) diff --git a/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py b/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py index c6b1a08..37ec3b1 100644 --- a/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py +++ b/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py @@ -59,7 +59,6 @@ class FaxWizardDialogImpl(FaxWizardDialog): def startWizard(self, xMSF): self.running = True try: -print entra #Number of steps on WizardDialog self.nMaxStep = 5 ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: Branch 'libreoffice-3-5' - pyuno/source wizards/com
pyuno/source/loader/pythonloader.py | 11 ++- wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py |1 - 2 files changed, 6 insertions(+), 6 deletions(-) New commits: commit a94660eaaad9b662812fe0d3aee7179cf41c0ad9 Author: Lionel Elie Mamane lio...@mamane.lu Date: Mon Dec 12 22:12:40 2011 +0100 fix loading of python-uno module by package.module name diff --git a/pyuno/source/loader/pythonloader.py b/pyuno/source/loader/pythonloader.py index eef1bd6..7a66cfa 100644 --- a/pyuno/source/loader/pythonloader.py +++ b/pyuno/source/loader/pythonloader.py @@ -111,16 +111,18 @@ class Loader( XImplementationLoader, XServiceInfo, unohelper.Base ): g_loadedComponents[url] = mod return mod elif vnd.openoffice.pymodule == protocol: -# the failure is on symbol lookup later in the parent ... -print (Warning: Python module loading is almost certainly pre-broken) nSlash = dependent.rfind('/') if -1 != nSlash: path = unohelper.fileUrlToSystemPath( dependent[0:nSlash] ) dependent = dependent[nSlash+1:len(dependent)] if not path in sys.path: sys.path.append( path ) -var = __import__( dependent ) -return var +mod = __import__( dependent ) +path_component, dot, rest = dependent.partition('.') +while dot == '.': +path_component, dot, rest = rest.partition('.') +mod = getattr(mod, path_component) +return mod else: if DEBUG: print(Unknown protocol ' + protocol + '); @@ -140,7 +142,6 @@ class Loader( XImplementationLoader, XServiceInfo, unohelper.Base ): mod = self.getModuleFromUrl( locationUrl ) implHelper = mod.__dict__.get( g_ImplementationHelper , None ) if DEBUG: -print (dump stuff) print (Fetched ImplHelper as + str(implHelper)) if implHelper == None: return mod.getComponentFactory( implementationName, self.ctx.ServiceManager, regKey ) diff --git a/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py b/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py index c6b1a08..37ec3b1 100644 --- a/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py +++ b/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py @@ -59,7 +59,6 @@ class FaxWizardDialogImpl(FaxWizardDialog): def startWizard(self, xMSF): self.running = True try: -print entra #Number of steps on WizardDialog self.nMaxStep = 5 ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: dbaccess/source
dbaccess/source/core/resource/core_resource.cxx |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit 444eb68e8a6b35752bac4ff12fc83e44f36bb44b Author: Julien Nabet serval2...@yahoo.fr Date: Mon Dec 12 22:31:09 2011 +0100 Remove ByteString diff --git a/dbaccess/source/core/resource/core_resource.cxx b/dbaccess/source/core/resource/core_resource.cxx index 975096e..a7cd085 100644 --- a/dbaccess/source/core/resource/core_resource.cxx +++ b/dbaccess/source/core/resource/core_resource.cxx @@ -56,9 +56,9 @@ namespace dbaccess ::com::sun::star::lang::Locale aLocale = Application::GetSettings().GetUILocale(); -ByteString sFileName(dba); +rtl::OString sFileName(dba); -m_pImpl = ResMgr::CreateResMgr(sFileName.GetBuffer(), aLocale); +m_pImpl = ResMgr::CreateResMgr(sFileName.getStr(), aLocale); } //-- ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: autodoc/source basctl/source basic/source
autodoc/source/parser/cpp/all_toks.hxx |4 ++-- basctl/source/basicide/baside2.cxx |2 +- basctl/source/basicide/macrodlg.cxx|2 +- basic/source/classes/sb.cxx|2 +- basic/source/classes/sbunoobj.cxx | 10 +- basic/source/classes/sbxmod.cxx|2 +- basic/source/inc/parser.hxx|2 +- basic/source/runtime/methods.cxx |6 +++--- basic/source/runtime/runtime.cxx |2 +- basic/source/sbx/sbxobj.cxx|2 +- basic/source/sbx/sbxvalue.cxx |2 +- basic/source/sbx/sbxvar.cxx|4 ++-- 12 files changed, 20 insertions(+), 20 deletions(-) New commits: commit 583582c5bf11abf04393c378131be75f14a46922 Author: Noel Grandin n...@peralex.com Date: Mon Dec 12 22:35:05 2011 +0100 German translations By Mike Whiteley/Noel Grandin, some smaller changes by myself; changes to binfilter removed from patch diff --git a/autodoc/source/parser/cpp/all_toks.hxx b/autodoc/source/parser/cpp/all_toks.hxx index 4aeae6e..1531dd7 100644 --- a/autodoc/source/parser/cpp/all_toks.hxx +++ b/autodoc/source/parser/cpp/all_toks.hxx @@ -189,8 +189,8 @@ class Tok_UnblockMacro : public ::TextToken class Tok_TypeKey : public cpp::Token // file-type-PE class Tok_Template : public cpp::Token // file class Tok_Namespace : public cpp::Token// file -class Tok_Bracket : public cpp::Token // ueberall -class Tok_Separator : public cpp::Token// ueberall +class Tok_Bracket : public cpp::Token // everywhere +class Tok_Separator : public cpp::Token// everywhere class Tok_Identifier : public cpp::Token // ueberall class Tok_NameSeparator : public cpp::Token// Type, Name diff --git a/basctl/source/basicide/baside2.cxx b/basctl/source/basicide/baside2.cxx index cf245ca..7adc866 100644 --- a/basctl/source/basicide/baside2.cxx +++ b/basctl/source/basicide/baside2.cxx @@ -248,7 +248,7 @@ void ModulWindow::Resize() } -// Import von baside4.cxx +// Import of baside4.cxx void CreateEngineForBasic( StarBASIC* pBasic ); void ModulWindow::CheckCompileBasic() diff --git a/basctl/source/basicide/macrodlg.cxx b/basctl/source/basicide/macrodlg.cxx index 0ddc22d..dea7cc0 100644 --- a/basctl/source/basicide/macrodlg.cxx +++ b/basctl/source/basicide/macrodlg.cxx @@ -36,7 +36,7 @@ #include macrodlg.hrc #include basidesh.hrc #include basidesh.hxx -#include baside2.hrc // ID's fuer Imagese +#include baside2.hrc // ID's for Images #include basobj.hxx #include baside3.hxx diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx index 0256f88..09be4c7 100644 --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -1455,7 +1455,7 @@ sal_Bool StarBASIC::IsCompilerError() { return GetSbData()-bCompiler; } // through the table SFX_VB_ErrorTab[]. This is indeed not with good performance, // but it consumes much less memory than corresponding switch blocs. // Because the conversion of error codes has not to be fast. there is no -// binaere search by VB-Error - SFX-Error. +// binary search by VB Error - Error SFX. // Map back new error codes to old, Sbx-compatible sal_uInt16 StarBASIC::GetVBErrorCode( SbError nError ) diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index 605de05..b2b6ffd 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -2471,7 +2471,7 @@ void SbUnoObject::doIntrospection( void ) if( !mxUnoAccess.is() ) { -// #51475 mark an invalid objekt kennzeichnen (no mxMaterialHolder) +// #51475 mark to indicate an invalid object (no mxMaterialHolder) return; } @@ -2701,9 +2701,9 @@ SbxVariable* SbUnoObject::Find( const String rName, SbxClassType t ) { Any aAny = xNameAccess-getByName( aUName2 ); -// ATTENTION: Die hier erzeugte Variable darf wegen bei XNameAccess -// nicht als feste Property in das Object aufgenommen werden und -// wird daher nirgendwo gehalten. +// ATTENTION: Because of XNameAccess, the variable generated here +// may not be included as a fixed property in the object and therefore +// won't be stored anywhere. // If this leads to problems, it has to be created synthetically or // a class SbUnoNameAccessProperty, whose existence had to be checked // constantly and which were if necessary thrown away @@ -2972,7 +2972,7 @@ void RTL_Impl_CreateUnoStruct( StarBASIC* pBasic, SbxArray rPar, sal_Bool bWrit if( !xUnoObj ) return; -// return the objekt +// return the object SbxVariableRef refVar
[Libreoffice-commits] .: Branch 'libreoffice-3-5' - connectivity/source
connectivity/source/drivers/postgresql/makefile.mk |7 +++ 1 file changed, 7 insertions(+) New commits: commit e984a1627ed205423167066e78943f783b8e87e4 Author: Lionel Elie Mamane lio...@mamane.lu Date: Mon Dec 12 23:07:03 2011 +0100 postgresql-sdbc: do not use GNU ld-specific options on MacOS X diff --git a/connectivity/source/drivers/postgresql/makefile.mk b/connectivity/source/drivers/postgresql/makefile.mk index 7506efd..3f9bfb5 100644 --- a/connectivity/source/drivers/postgresql/makefile.mk +++ b/connectivity/source/drivers/postgresql/makefile.mk @@ -91,10 +91,17 @@ LIBPQ_DEP_LIBS+=\ .ENDIF .ELSE LIBPQ_LINK=$(OUTDIR)/lib/libpq.a +.IF $(GUI)==MAC +LIBPQ_DEP_LIBS += -Wl,-dead_strip_dylibs +.ELSE LIBPQ_DEP_LIBS += -Wl,--as-needed +.ENDIF .INCLUDE : $(OUTDIR_FOR_BUILD)/inc/postgresql/libpq-flags.mk +.IF $(GUI)==MAC +.ELSE LIBPQ_DEP_LIBS += -Wl,--no-as-needed .ENDIF +.ENDIF POSTGRESQL_INC=-I$(OUTDIR)/inc/postgresql POSTGRESQL_LIB= .ENDIF # SYSTEM_POSTGRESQL ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: connectivity/source
connectivity/source/drivers/postgresql/makefile.mk |7 +++ 1 file changed, 7 insertions(+) New commits: commit 1a658dda70d2e139d124d60d64691356c9414f3e Author: Lionel Elie Mamane lio...@mamane.lu Date: Mon Dec 12 23:07:03 2011 +0100 postgresql-sdbc: do not use GNU ld-specific options on MacOS X diff --git a/connectivity/source/drivers/postgresql/makefile.mk b/connectivity/source/drivers/postgresql/makefile.mk index 7506efd..3f9bfb5 100644 --- a/connectivity/source/drivers/postgresql/makefile.mk +++ b/connectivity/source/drivers/postgresql/makefile.mk @@ -91,10 +91,17 @@ LIBPQ_DEP_LIBS+=\ .ENDIF .ELSE LIBPQ_LINK=$(OUTDIR)/lib/libpq.a +.IF $(GUI)==MAC +LIBPQ_DEP_LIBS += -Wl,-dead_strip_dylibs +.ELSE LIBPQ_DEP_LIBS += -Wl,--as-needed +.ENDIF .INCLUDE : $(OUTDIR_FOR_BUILD)/inc/postgresql/libpq-flags.mk +.IF $(GUI)==MAC +.ELSE LIBPQ_DEP_LIBS += -Wl,--no-as-needed .ENDIF +.ENDIF POSTGRESQL_INC=-I$(OUTDIR)/inc/postgresql POSTGRESQL_LIB= .ENDIF # SYSTEM_POSTGRESQL ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: Branch 'libreoffice-3-5' - cui/source
cui/source/options/treeopt.src |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit d8be0409037279154d6ae619e04f97e45018326d Author: Lior Kaplan kaplanl...@gmail.com Date: Tue Dec 13 00:55:01 2011 +0200 fdo#39452: 'Back' is misleading, use 'Revert' instead diff --git a/cui/source/options/treeopt.src b/cui/source/options/treeopt.src index 62be8ce..1de1ca6 100644 --- a/cui/source/options/treeopt.src +++ b/cui/source/options/treeopt.src @@ -67,7 +67,7 @@ ModalDialog RID_OFADLG_OPTIONS_TREE Pos = MAP_APPFONT ( COL_10, ROW_3 ) ; Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ; TabStop = TRUE ; -Text [ en-US ] = ~Back ; +Text [ en-US ] = ~Revert ; }; //TreeListBox Control TLB_PAGES ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: cui/source
cui/source/options/treeopt.src |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 9b98c4a8d780ec62f346d9d39cc61e45d0e38a17 Author: Lior Kaplan kaplanl...@gmail.com Date: Tue Dec 13 00:58:29 2011 +0200 fdo#39452: 'Back' is misleading, use 'Revert' instead diff --git a/cui/source/options/treeopt.src b/cui/source/options/treeopt.src index acfc312..93ea0c2 100644 --- a/cui/source/options/treeopt.src +++ b/cui/source/options/treeopt.src @@ -67,7 +67,7 @@ ModalDialog RID_OFADLG_OPTIONS_TREE Pos = MAP_APPFONT ( COL_10, ROW_3 ) ; Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ; TabStop = TRUE ; -Text [ en-US ] = ~Back ; +Text [ en-US ] = ~Revert ; }; //TreeListBox Control TLB_PAGES ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: Branch 'libreoffice-3-5' - chart2/source
chart2/source/view/axes/ScaleAutomatism.cxx |6 ++ 1 file changed, 6 insertions(+) New commits: commit 8216e8551dad8a3bbedb4b8e663b2d96570270a0 Author: Markus Mohrhard markus.mohrh...@googlemail.com Date: Mon Dec 12 23:51:48 2011 +0100 don't try to use Inf for axes calculation fdo#43703 diff --git a/chart2/source/view/axes/ScaleAutomatism.cxx b/chart2/source/view/axes/ScaleAutomatism.cxx index 2ac44fc..ba10366 100644 --- a/chart2/source/view/axes/ScaleAutomatism.cxx +++ b/chart2/source/view/axes/ScaleAutomatism.cxx @@ -909,6 +909,12 @@ void ScaleAutomatism::calculateExplicitIncrementAndScaleForLinear( fDistanceNormalized = 1.0; fDistanceMagnitude = 1.0e-307; } +else if ( !rtl::math::isFinite(fDistance) ) +{ +// fdo#43703: Handle values bigger than limits correctly +fDistanceNormalized = 1.0; +fDistanceMagnitude = std::numeric_limitsdouble::max(); +} else { // distance magnitude (a power of 10) ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: connectivity/source cppuhelper/test lingucomponent/source
connectivity/source/drivers/postgresql/makefile.mk | 11 ++- cppuhelper/test/bootstrap/makefile.mk |2 +- lingucomponent/source/languageguessing/makefile.mk |6 +++--- 3 files changed, 6 insertions(+), 13 deletions(-) New commits: commit 89b4260fc9ddc39ebc36ea44723f101aabf1d043 Author: Christian Lohmaier lohmaier+libreoff...@googlemail.com Date: Tue Dec 13 01:59:12 2011 +0100 GUI is also UNX for Mac, to check for Mac use either OSâMACOSX or GUIBASEâaqua diff --git a/connectivity/source/drivers/postgresql/makefile.mk b/connectivity/source/drivers/postgresql/makefile.mk index 3f9bfb5..1fd0481 100644 --- a/connectivity/source/drivers/postgresql/makefile.mk +++ b/connectivity/source/drivers/postgresql/makefile.mk @@ -91,16 +91,9 @@ LIBPQ_DEP_LIBS+=\ .ENDIF .ELSE LIBPQ_LINK=$(OUTDIR)/lib/libpq.a -.IF $(GUI)==MAC -LIBPQ_DEP_LIBS += -Wl,-dead_strip_dylibs -.ELSE -LIBPQ_DEP_LIBS += -Wl,--as-needed -.ENDIF +LIBPQ_DEP_LIBS+=$(eq,$(OS),MACOSX -Wl,-dead_strip_dylibs -Wl,--as-needed) .INCLUDE : $(OUTDIR_FOR_BUILD)/inc/postgresql/libpq-flags.mk -.IF $(GUI)==MAC -.ELSE -LIBPQ_DEP_LIBS += -Wl,--no-as-needed -.ENDIF +LIBPQ_DEP_LIBS+=$(eq,$(OS),MACOSX $(NULL) -Wl,--no-as-needed) .ENDIF POSTGRESQL_INC=-I$(OUTDIR)/inc/postgresql POSTGRESQL_LIB= diff --git a/cppuhelper/test/bootstrap/makefile.mk b/cppuhelper/test/bootstrap/makefile.mk index 86665df..d1caeba 100644 --- a/cppuhelper/test/bootstrap/makefile.mk +++ b/cppuhelper/test/bootstrap/makefile.mk @@ -37,7 +37,7 @@ USE_DEFFILE:= TRUE .INCLUDE : settings.mk -.IF $(GUI)==UNX || $(GUI)==MAC +.IF $(GUI)==UNX PURPENVHELPERLIB := -luno_purpenvhelper$(COMID) .ELSE diff --git a/lingucomponent/source/languageguessing/makefile.mk b/lingucomponent/source/languageguessing/makefile.mk index 5fe1945..65036db 100644 --- a/lingucomponent/source/languageguessing/makefile.mk +++ b/lingucomponent/source/languageguessing/makefile.mk @@ -39,19 +39,19 @@ VISIBILITY_HIDDEN=TRUE # --- Files -.IF $(GUI)==UNX || $(GUI)==MAC +.IF $(GUI)==UNX .IF $(SYSTEM_LIBEXTTEXTCAT) == YES LIBTEXTCATLIB=$(LIBEXTTEXTCAT_LIBS) .ELSE LIBTEXTCATLIB=-lexttextcat .ENDIF -.ELSE # $(GUI)==UNX || $(GUI)==MAC +.ELSE # $(GUI)==UNX .IF $(COM)==GCC LIBTEXTCATLIB=-lilibexttextcat .ELSE LIBTEXTCATLIB=ilibexttextcat.lib .ENDIF -.ENDIF # $(GUI)==UNX || $(GUI)==MAC +.ENDIF # $(GUI)==UNX SLOFILES = \ $(SLO)$/altstrfunc.obj \ ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: Branch 'libreoffice-3-5' - chart2/source
chart2/source/view/axes/ScaleAutomatism.cxx |1 + 1 file changed, 1 insertion(+) New commits: commit 893552129e0eb82c0bfbcac750a068258720adaf Author: Lionel Elie Mamane lio...@mamane.lu Date: Tue Dec 13 04:15:27 2011 +0100 missing #include diff --git a/chart2/source/view/axes/ScaleAutomatism.cxx b/chart2/source/view/axes/ScaleAutomatism.cxx index ba10366..896caf9 100644 --- a/chart2/source/view/axes/ScaleAutomatism.cxx +++ b/chart2/source/view/axes/ScaleAutomatism.cxx @@ -36,6 +36,7 @@ #include rtl/math.hxx #include tools/debug.hxx +#include limits //. namespace chart ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: Branch 'libreoffice-3-5' - connectivity/source
connectivity/source/drivers/postgresql/makefile.mk |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit 1ce79958fbaeb5fc58b0d4d525380133e4e9c1e5 Author: Lionel Elie Mamane lio...@mamane.lu Date: Tue Dec 13 04:20:30 2011 +0100 postgresql-sdbc: correctly recognise MacOS X build diff --git a/connectivity/source/drivers/postgresql/makefile.mk b/connectivity/source/drivers/postgresql/makefile.mk index 3f9bfb5..c99deae 100644 --- a/connectivity/source/drivers/postgresql/makefile.mk +++ b/connectivity/source/drivers/postgresql/makefile.mk @@ -91,13 +91,13 @@ LIBPQ_DEP_LIBS+=\ .ENDIF .ELSE LIBPQ_LINK=$(OUTDIR)/lib/libpq.a -.IF $(GUI)==MAC +.IF $(OS)==MACOSX LIBPQ_DEP_LIBS += -Wl,-dead_strip_dylibs .ELSE LIBPQ_DEP_LIBS += -Wl,--as-needed .ENDIF .INCLUDE : $(OUTDIR_FOR_BUILD)/inc/postgresql/libpq-flags.mk -.IF $(GUI)==MAC +.IF $(OS)==MACOSX .ELSE LIBPQ_DEP_LIBS += -Wl,--no-as-needed .ENDIF ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: dictionaries/en
dictionaries/en/dialog/en_en_US.properties |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 6e2048553f98b3bc3280e1ce66a68ec1aa2fcaf1 Author: Andras Timar ati...@suse.com Date: Tue Dec 13 08:42:15 2011 +0100 typo diff --git a/dictionaries/en/dialog/en_en_US.properties b/dictionaries/en/dialog/en_en_US.properties index 6bc215e..c25a6e0 100644 --- a/dictionaries/en/dialog/en_en_US.properties +++ b/dictionaries/en/dialog/en_en_US.properties @@ -16,7 +16,7 @@ hlp_ndash=Force spaced en dash instead of unspaced em dash. ndash=En dash hlp_quotation=Check double quotation marks: x \u2192 \u201cx\u201d quotation=Quotation marks -hlp_times=Check true multipliction sign: 5x5 \u2192 5\u00d75 +hlp_times=Check true multiplication sign: 5x5 \u2192 5\u00d75 times=Multiplication sign hlp_spaces2=Check single spaces between sentences. spaces2=Sentence spacing ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: 2 commits - l10ntools/prj l10ntools/scripts l10ntools/source
l10ntools/prj/d.lst |1 l10ntools/scripts/propex | 63 ++ l10ntools/source/localize.cxx |1 l10ntools/source/srciter.cxx |4 ++ 4 files changed, 68 insertions(+), 1 deletion(-) New commits: commit d5b25bdd1247363c5745dd5fcbc2ec784063b6bd Author: Andras Timar ati...@suse.com Date: Tue Dec 13 08:43:13 2011 +0100 introducing propex tool for string extranction from .properties files diff --git a/l10ntools/prj/d.lst b/l10ntools/prj/d.lst index b3e48cf..0d39719 100644 --- a/l10ntools/prj/d.lst +++ b/l10ntools/prj/d.lst @@ -38,6 +38,7 @@ mkdir: %_DEST%\bin\help\com\sun\star\help ..\scripts\keyidGen.pl %_DEST%\bin\keyidGen.pl ..\scripts\addkeyid2pot.pl %_DEST%\bin\addkeyid2pot.pl ..\scripts\po2lo %_DEST%\bin\po2lo +..\scripts\propex %_DEST%\bin\propex ..\inc\export.hxx %_DEST%\inc\l10ntools\export.hxx ..\inc\l10ntools\directory.hxx %_DEST%\inc\l10ntools\directory.hxx ..\inc\l10ntools\file.hxx %_DEST%\inc\l10ntools\file.hxx diff --git a/l10ntools/scripts/propex b/l10ntools/scripts/propex new file mode 100755 index 000..e7ee7e9 --- /dev/null +++ b/l10ntools/scripts/propex @@ -0,0 +1,63 @@ +: +eval 'exec perl -S $0 ${1+$@}' +if 0; +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the License); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an AS IS basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Initial Developer of the Original Code is +# Andras Timar ati...@suse.com +# Portions created by the Initial Developer are Copyright (C) 2011 the +# Initial Developer. All Rights Reserved. +# +# Major Contributor(s): +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the GPLv3+), or +# the GNU Lesser General Public License Version 3 or later (the LGPLv3+), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. +# +# extracts strings from Java properties files +# + +use strict; +use Getopt::Std; +use Cwd; + +my %options=(); +getopts(ep:r:i:o:l:, \%options); + +unless ( $options{i} =~ m/en_US/ ) {exit 1;} + +my $file = substr ( Cwd::abs_path($options{i}), length(Cwd::abs_path($options{r})) + 1 ); +$file =~ s|/|\\|g; + +open (INFILE, $options{i}) || die propex: cannot open input file: $options{i}; +open (OUTFILE, $options{o}) || die propex: cannot open output file: $options{o}; + +while (INFILE) { +chomp; +if (/=/) { +my ($id, $value) = split /=/; +$value =~ s/^\s+//; #remove leading spaces +$value =~ s/\s+$//; #remove trailing spaces +$value =~ s/(\\u([0-9a-fA-F]{4}))/pack(C0U1,hex($2))/ge; #convert ascii escaped unicode to utf-8 +print OUTFILE $options{p}\t$file\t0\tproperty\t$id\t\t\t\t0\ten-US\t$value\t\t\t\t20020202 02:02:02\n; +} +} + +close (INFILE); +close (OUTFILE); + +exit 0; diff --git a/l10ntools/source/localize.cxx b/l10ntools/source/localize.cxx index 992683a..a857a65 100644 --- a/l10ntools/source/localize.cxx +++ b/l10ntools/source/localize.cxx @@ -58,6 +58,7 @@ const char *ExeTable[][4] = { { xrm, xrmex, -e, negative }, { xml, xrmex, -e, positive }, { xhp, helpex, -e, negative }, +{ properties, propex, -e, negative }, { NULL, NULL, NULL, NULL } }; commit c0b0cbe1a7ce5e71de57aa3908441026dedccaab Author: Andras Timar ati...@suse.com Date: Mon Dec 12 18:59:03 2011 +0100 exclude wntgcc* directories from searching for translatable files diff --git a/l10ntools/source/srciter.cxx b/l10ntools/source/srciter.cxx index 4b89c65..c3e4988 100644 --- a/l10ntools/source/srciter.cxx +++ b/l10ntools/source/srciter.cxx @@ -64,6 +64,7 @@ void SourceTreeIterator::ExecuteDirectory( transex::Directory aDirectory ) static rtl::OUString WCARD7 ( RTL_CONSTASCII_USTRINGPARAM(.git) ); static rtl::OUString WCARD8 ( RTL_CONSTASCII_USTRINGPARAM(clone) ); static rtl::OUString WCARD9 ( RTL_CONSTASCII_USTRINGPARAM(install) ); +static rtl::OUString WCARDA ( RTL_CONSTASCII_USTRINGPARAM(wntgcc) ); if( sDirName.indexOf( WCARD1 , 0 ) -1 || @@ -76,7 +77,8 @@ void SourceTreeIterator::ExecuteDirectory( transex::Directory aDirectory ) #ifndef WNT sDirName.indexOf( WCARD8 , 0 ) -1 || #endif -sDirName.indexOf( WCARD9 , 0 ) -1 +sDirName.indexOf( WCARD9 , 0 ) -1 || +sDirName.indexOf( WCARDA , 0 ) -1 )return; //printf( %s \n, OUStringToOString( sDirName
Re: [Libreoffice] [ANNOUNCE] Branch libreoffice-3-5 created
On Wed, Dec 07, 2011 at 11:46:41AM +, Caolán McNamara wrote: On Wed, 2011-12-07 at 10:53 +, Michael Meeks wrote: + tripple cross-company code review for features until nearer RC1 + exceptions: artwork, unit-tests until RC1 FWIW, I don't personally feel that triple reviews have to require cross-company reviewers, just that when we're in a require review phase that if all reviewers happen to be from the same organization then that review happen on-list. I suppose you are not the only one who feels that :) This exception is exclusively for features added after the feature freeze, not regular bugfixes. D. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call
On 12/12/11 08:14, Lionel Elie Mamane wrote: I did that because it seemed the easiest thing to do at first sight. However, we are losing the advantage of that, and thus I propose we switch to dynamic linking, and bundling the lib on platforms / situations that need it. Where are we actually losing the advantage? The way I quickly hacked the internal postgresql for windows was a proof of concept and surely we can extend it. - no SSL/TLS support, for encrypted communication with the DB server and authentication by X.509 certificate. We bundle OpenSSL with LibreOffice, so should be possible to build it against the internal or system OpenSSL according how the build is configured. - no Kerberos support: authentication; apparently can be used for windows domain single signon from a non-windows machine. So, this should not be a problem for windows then. Should it? - no GSSAPI support: yet another authentication mechanism - no LDAP support: yes, in the client library: this allows to store the connection info in LDAP and thus manage it centrally. Can be really convenient in enterprise environment. I started hacking our internal postgresql to activate all this, but this introduces dependencies on yet other libraries: OpenSSL, MIT Kerberos, com_err, ldap, ... This means that linking statically against libpq is not the easiest anymore, since static linking does not automatically recurse, in the way that dynamic linking does :) Yes, but this is feasible, since the stuff will be linked only in connectivity/source/drivers/postgresql, so having the dll linking in postgresql with all those libraries, or having the uno component linking against static libpq and all those libraries in connectivity is the same work. So, to me it looks like we'll switch to dynamic linking against libpq and shipping the DLL/SO/DYLIB on the platforms/cases that need it. Any platform where this will be harder than what I presume? It will not solve anything unless you want to use a shared library from somewhere else. You will still have to build the shared library with all the support and link it with the external libraries. Moreover, it might actually introduce a problem when your internal shared library of a certain name could be a bit different then the system one of the same name. Been there, done that. Not really a good solution. As an added bonus, this makes it easier for our users to upgrade the libraries we link against (for bugfixes or new features in new versions or ...): just overwrite the DLL/SO/DYLIB file with an upstream-provided one (downloaded from http://www.postgresql.org). No, no, no! Then you will have a mix of environment that you don't know compiled with options that you cannot be sure about and you will have an unmaintainable code. This also means that by our we have to build everything we ship rule, we have to internalise, according to my first quick survey: - OpenSSL: I expect all platforms. It is a system lib on most GNU/Linux distributions, but the soname is not stable. We ship it already, so no problem there. - MIT Kerberos: * MacOS X bundles Kerberos since 10.2, which AFAIK is behind our baseline of 10.4; is it binary-compatible across releases? Then we can consider it a system library on MacOS X and not internalise / ship it. * GNU/Linux: What's our baseline there? Has the soname changed since our baseline? Is the soname consistent across distributions? If noyes, then system lib and don't ship it. Debian seems to have a stable soname since woody (released 19 July 2002), so I expect this will be OK. If we have to internalise it, it depends on: ° libcom_err: built from e2fsprogs sources on my Debian, soname libcom_err.so.2. Google tells me (some?) RPM distributions have a libcom_err.so.3 that is shipped by the MIT Kerberos RPM itself. It should be possible to assume as a system library for Linux and MacOSX - Kerberos for Windows: that's not part of the OS - internalise (http://web.mit.edu/kerberos/dist/index.html#kfw-3.2) Do we really really need this on Windows? - LDAP: We already have OpenLDAP-related stuff in configure.in... So can postgresql-sdbc just use that, or is the existing stuff too optional? I mean it seems to be replacing some Mozilla parts, not sure we enable it on our builds or if it just a service to distributions. If cannot just use: * MacOS X: is it bundled? Some googling finds LDAP-related commands in MacOS X 10.4, our baseline. So we are good to consider it a system lib? * GNU/Linux: Debian has stable soname since 2008. Assuming other distros are similar, is that sufficient to consider it a system library? So, in LibreOffice, we have two ways of use LDAP: Either we use the ldap
Re: [Libreoffice] Calc : add carriage return via Ctrl+Enter in the Formula bar
Hi Maxime, On 09/12/11 15:24, Kohei Yoshida wrote: Hello Maxime, On Fri, 2011-12-09 at 16:12 +0100, Maxime de Roucy wrote: Hello I have been ask to add the possibility to add a carriage return in a cell via Ctrl+Enter in the formula bar (like when I directly edit the cell). I think Noel (CC'ed) either has already implemented that, or is planning to. yes, it should be working now, you should be able to see the latest state of things in both master and 3.5 builds . Either way you should sync with him to see where we are currently. well, feel free to test, improve submit patches etc. ( like Kohei said, I just picked up the gsoc task so I aint any sort of expert ) Noel ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call
On Mon, Dec 12, 2011 at 09:46:37AM +0100, Fridrich Strba wrote: On 12/12/11 08:14, Lionel Elie Mamane wrote: I did that because it seemed the easiest thing to do at first sight. However, we are losing the advantage of that, and thus I propose we switch to dynamic linking, and bundling the lib on platforms / situations that need it. Where are we actually losing the advantage? Well, the advantage of linking statically is that we don't have to bundle a shared library and muck with rpathfriends to have it found at runtime. Is there another one I'm not aware of? If we have to link dynamically against other libraries that we have to bundle in the extension, then we have to do the rpath-thing anyway for these other libs, and for N0, doing it for N+1 libs is not more difficult than doing it for N libs. But indeed if we end up not shipping any extra shared library in the extension (that is N=0), then indeed static linking is easier for us. - no SSL/TLS support, for encrypted communication with the DB server and authentication by X.509 certificate. We bundle OpenSSL with LibreOffice, We do? Oh, great, I had missed that. As an added bonus, this makes it easier for our users to upgrade the libraries we link against (for bugfixes or new features in new versions or ...): just overwrite the DLL/SO/DYLIB file with an upstream-provided one (downloaded from http://www.postgresql.org). No, no, no! Then you will have a mix of environment that you don't know compiled with options that you cannot be sure about and you will have an unmaintainable code. We will have (and ship) the code we compiled, with the options we are sure about; if users overwrite our binaries with others, well, they have what they put there. We leave them freedom to tinker more easily (no need to recompile, just overwrite files), and yes, sometimes by tinkering one breaks stuff. That's the nature of it. This also means that by our we have to build everything we ship rule, we have to internalise, according to my first quick survey: - MIT Kerberos: It should be possible to assume as a system library for Linux and MacOSX OK, good. - Kerberos for Windows: that's not part of the OS - internalise (http://web.mit.edu/kerberos/dist/index.html#kfw-3.2) Do we really really need this on Windows? It depends what value we give to really. My guess is that it is desirable. Without it our internal libpq has one less feature. I don't have a good idea of how significant that feature is, since Windows has some Kerberos implementation, too; libpq (if compiled with support for both) allows to choose which one to use at runtime. What are the compared compatibility issues and/or features of both, I don't know. For example, can the Windows Kerberos client authenticate against all Unix Kerberos setups that MIT-Kerberos/GSSAPI can authenticate against? I guess that if the PostgreSQL project went the extra mile of allowing simultaneous support for both, selectable at run-time and all that, this means at least some users benefit from it. - LDAP: We already have OpenLDAP-related stuff in configure.in... So can postgresql-sdbc just use that, or is the existing stuff too optional? I mean it seems to be replacing some Mozilla parts, not sure we enable it on our builds or if it just a service to distributions. If cannot just use: * MacOS X: is it bundled? Some googling finds LDAP-related commands in MacOS X 10.4, our baseline. So we are good to consider it a system lib? * GNU/Linux: Debian has stable soname since 2008. Assuming other distros are similar, is that sufficient to consider it a system library? So, in LibreOffice, we have two ways of use LDAP: Either we use the ldap functionality from the bundled mozilla, or we use OpenLDAP. Yes, but libpq as is AFAIK cannot use Mozilla-LDAP. Maybe it can be hacked to do that. Are OpenLDAP and Mozilla-LDAP API-compatible, so that we can just use Mozilla-LDAP headers and libraries where libpq assumes OpenLDAP, and not change anything the in the libpq sources? Then I guess it would be easy enough indeed. -- Lionel ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] Calc : add carriage return via Ctrl+Enter in the Formula bar
Hi Noel Thanks a lot, I will test this as soon as my LibreOffice build end. Le lundi 12 décembre 2011 à 09:31 +, Noel Power a écrit : Hi Maxime, On 09/12/11 15:24, Kohei Yoshida wrote: Hello Maxime, On Fri, 2011-12-09 at 16:12 +0100, Maxime de Roucy wrote: Hello I have been ask to add the possibility to add a carriage return in a cell via Ctrl+Enter in the formula bar (like when I directly edit the cell). I think Noel (CC'ed) either has already implemented that, or is planning to. yes, it should be working now, you should be able to see the latest state of things in both master and 3.5 builds . Either way you should sync with him to see where we are currently. well, feel free to test, improve submit patches etc. ( like Kohei said, I just picked up the gsoc task so I aint any sort of expert ) Noel -- Maxime de Roucy Groupe LINAGORA - OSSA 80 rue Roque de Fillol 92800 PUTEAUX Tel. : 0 810 251 251 signature.asc Description: This is a digitally signed message part ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice] [Bug 37361] LibreOffice 3.5 most annoying bugs
https://bugs.freedesktop.org/show_bug.cgi?id=37361 Mihkel Tõnnov mihh...@gmail.com changed: What|Removed |Added Depends on||41996 --- Comment #43 from Mihkel Tõnnov mihh...@gmail.com 2011-12-12 03:18:46 PST --- Nominating Bug 41996 - Can't move slides in slide sorter. Tried with LibO 3.5 beta 0. Seems to not affect everyone, though. (Only certain Linux distros? It would be nice to get more people to test it.) -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] Question about VersionInfo resource of Windows executables
Hi, On Sun, Dec 11, 2011 at 03:13:42PM +0100, Andras Timar wrote: I was hacking on VersionInfo resource of Windows executables and I noticed that DLLs built with dmake always have this resource, they include solenv/inc/shlinfo.rc. But DLLs built with gmake does not have VersionInfo resource by default. Is this normal? Executables are fully functional without VersionInfo resource, but I think it is useful to have it, because it contains file version, copyright notice etc. I would like to ask, if it is by design, or if it is an undesired omission. Well, when I started writing gbuild I did not care to much for the Windows specific resource files. However, support for it has been later added with the aptly named solenv/gbuild/WinResTarget.mk. Using it to get VersionInfo everywhere is possible (it is currently used for example in soffice.bin and vcl), but I have no strong opinion about it. Best, Bjoern ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] [Libreoffice-ux-advise] [PUSHED] Fix for fdo39748 Easy hack: Cleanup extensions list
On Thu, 2011-12-08 at 10:17 -0200, Olivier Hallot wrote: Anyhow - it looks great; no doubt we should add this to: http://wiki.documentfoundation.org/ReleaseNotes/3.5 With suitable credits etc. close the bug. ... Any reason why this patch does not show in 3.5 beta0? Beta 0 ? no idea - that was made a week before feature-freeze I imagine it was frozen earlier on the day your code was merged. Your feature is in the libreoffice-3-5 branch, and will be in Beta1 So it'll be in 3.5.0 for sure :-) HTH, Michael. -- michael.me...@suse.com , Pseudo Engineer, itinerant idiot ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call
Hello, On 12/12/11 10:32, Lionel Elie Mamane wrote: We bundle OpenSSL with LibreOffice, We do? Oh, great, I had missed that. OK, so what I did now is following: 1) We build the static library with ssl and ldap support on all platforms currently. 2) I patched the postgresql configury so that it has an option --with-mozldap. This one is used when we use internally in LO mozilla for ldap connections. Without that option, the stuff falls on openldap. Not sure it works, but it builds. It should be possible to assume as a system library for Linux and MacOSX OK, good. I did completely leave the kerberos outside. Anybody that wants to make it work on MacOSX will not have too difficult work I guess. I don't dare to do anything about it on Linux, since I don't know how it will affect our baseline. Nevertheless, let us assume that typical LO user will be ok with ldap and ssl. It depends what value we give to really. My guess is that it is desirable. Without it our internal libpq has one less feature. I don't have a good idea of how significant that feature is, since Windows has some Kerberos implementation, too; libpq (if compiled with support for both) allows to choose which one to use at runtime. What are the compared compatibility issues and/or features of both, I don't know. For example, can the Windows Kerberos client authenticate against all Unix Kerberos setups that MIT-Kerberos/GSSAPI can authenticate against? I guess that if the PostgreSQL project went the extra mile of allowing simultaneous support for both, selectable at run-time and all that, this means at least some users benefit from it. OK, in my humble opinion, let Windows users select this kind of thing on runtime is a sure path to hell. But as it stands, the libpq that we build uses some of the win32 security apis for authentication, so I would assume that the users should be able to do what they need from their windows posts. Those productive things like mailmerge with pgsql database of all employees and so on :) Yes, but libpq as is AFAIK cannot use Mozilla-LDAP. Maybe it can be hacked to do that. Are OpenLDAP and Mozilla-LDAP API-compatible, so that we can just use Mozilla-LDAP headers and libraries where libpq assumes OpenLDAP, and not change anything the in the libpq sources? Then I guess it would be easy enough indeed. Yup, it was hacked to do that now :) Cheers F. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call
Le 12/12/2011 09:57, Lionel Elie Mamane a écrit : Hi all, Which suggests --without-system-postgresql is broken, need to check that out. Works, at least on Debian GNU/Linux. Does it mean that the --without-system-postgresql is working now? On my machine (Debian GNU/Linux amd64), it build and runs (can connect to database and retrieve data). I checked manually (with ldd) that the postgresql-sdbc-impl.uno.so has no dependency on libpq (i.e. was statically linked). Fails miserably on Mac OSX though, looking for libpq-fe.h, and other includes. Alex ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] [ANNOUNCE] Branch libreoffice-3-5 created
Petr Mladek schrieb: Hi all, as promised, we have created a branch for the stabilization of the 3.5.x releases, called 'libreoffice-3-5'. It is based on master, last pull on December 6, 2011 at about 13pm UTC. See also the tag libreoffice-3-5-branch-point. Hello, I am a little concerned what happened with fixes between branch and today. I believe most of later fixes will be cherry picked to 3.5Beta, but may be we have to check that additionally for fixes of the last days? Bugs https://bugs.freedesktop.org/buglist.cgi?chfield=resolutionchfieldfrom=2011-12-05chfieldto=2011-12-13chfieldvalue=FIXEDlist_id=24678product=LibreOfficequery_format=advancedorder=changeddate%2Cbug_id%20DESCquery_based_on= with fixes from 2011-12-05 to 2011-12-05 might be affected. Petr, what are the facts? CU Rainer ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call
Le 12/12/2011 13:34, Fridrich Strba a écrit : Hi Fridrich, OK, so what I did now is following: 1) We build the static library with ssl and ldap support on all platforms currently. 2) I patched the postgresql configury so that it has an option --with-mozldap. This one is used when we use internally in LO mozilla for ldap connections. Without that option, the stuff falls on openldap. Not sure it works, but it builds. This fails on Mac OSX (10.6.8 SnowLeopard server, which has builtin LDAP implementation, not sure which though) trying to link -lldap (which it can't find). If moz is needed then that's a problem on Mac, because I have my switches set to --disable-mozilla and --disable-mozilla-build otherwise the whole moz stuff doesn't build on Mac OSX (at least not on my machine and hasn't for a while). So, with the LDAP commit, I can no longer build using --with-system-postgresql either. Alex ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] [board-discuss] Re: [Libreoffice-qa] End of the line for 3.3 family and regressions
Hi Pedro, On Sat, 2011-12-10 at 11:46 +, Pedro Lino wrote: This isn't simply a matter of checking and reporting bugs. It involves the Quality of a product this Community claims to be Enterprise ready. IMO there can be NO regressions. Having no regressions is really a feature. That makes it rather incompatible with a time-based release schedule. It is also a highly expensive feature, and it is unclear who is going to do the work fixing every regression in 3.4.x, particularly as the majority of dev. work has switched focus to improving 3.5.x, and particularly since many bugs can be classed as regressions if we try hard :-) I agree with you that the claim of Enterprise ready is perhaps somewhat misleading and IMHO rather unhelpful. LibreOffice is not Enterprise ready without enterprise support (which is capable of fixing any regressions or issues a customer may experience). No matter how good the job we do, customers will always find more bugs they need fixing, regression or not. The TDF BoD and the Devs need to make a decision about how to handle this. I would recommend sticking to our time-based release schedule - there are rather a number of nice bug fixes in 3.4.5 as it is, I've been watching a few longer standing issues get nailed there. Having said all that, I don't see that 3.4.5 has to be the last release in that series. I anticipate that people will still continue to merge critical and/or obviously correct fixes and/or security fixes to the libreoffice-3-4 branch, and we may have a 3.4.6 at some stage. We had a particularly long 3.5 development cycle, so ... Of course, if some enterprise wants to support 3.4.x and continue porting fixes to it releasing they are of course most welcome to do that indefinitely. What we need to do about the 3.3.x bugs, I don't know. If we have no resources to re-test them vs. 3.4 - I would suggest we wait until we have a good 3.5 beta to point at, and close them all with a comment asking users to reproduce them in 3.5 and re-open/re-target them at that version. But perhaps that is too harsh ? :-) either way, leaving bugs malingering vs. 3.3.x while knowing full well that they'll be hidden vs. that version is not so useful I think. At least, that's my take :-) HTH, Michael. -- michael.me...@suse.com , Pseudo Engineer, itinerant idiot ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] [board-discuss] Re: [Libreoffice-qa] End of the line for 3.3 family and regressions
People who think there should be zero regressions are welcome to donate the necessary time and financial resources to make it happen. Michael Meeks wrote: Hi Pedro, On Sat, 2011-12-10 at 11:46 +, Pedro Lino wrote: This isn't simply a matter of checking and reporting bugs. It involves the Quality of a product this Community claims to be Enterprise ready. IMO there can be NO regressions. Having no regressions is really a feature. That makes it rather incompatible with a time-based release schedule. It is also a highly expensive feature, and it is unclear who is going to do the work fixing every regression in 3.4.x, particularly as the majority of dev. work has switched focus to improving 3.5.x, and particularly since many bugs can be classed as regressions if we try hard :-) I agree with you that the claim of Enterprise ready is perhaps somewhat misleading and IMHO rather unhelpful. LibreOffice is not Enterprise ready without enterprise support (which is capable of fixing any regressions or issues a customer may experience). No matter how good the job we do, customers will always find more bugs they need fixing, regression or not. The TDF BoD and the Devs need to make a decision about how to handle this. I would recommend sticking to our time-based release schedule - there are rather a number of nice bug fixes in 3.4.5 as it is, I've been watching a few longer standing issues get nailed there. Having said all that, I don't see that 3.4.5 has to be the last release in that series. I anticipate that people will still continue to merge critical and/or obviously correct fixes and/or security fixes to the libreoffice-3-4 branch, and we may have a 3.4.6 at some stage. We had a particularly long 3.5 development cycle, so ... Of course, if some enterprise wants to support 3.4.x and continue porting fixes to it releasing they are of course most welcome to do that indefinitely. What we need to do about the 3.3.x bugs, I don't know. If we have no resources to re-test them vs. 3.4 - I would suggest we wait until we have a good 3.5 beta to point at, and close them all with a comment asking users to reproduce them in 3.5 and re-open/re-target them at that version. But perhaps that is too harsh ? :-) either way, leaving bugs malingering vs. 3.3.x while knowing full well that they'll be hidden vs. that version is not so useful I think. At least, that's my take :-) HTH, Michael. Disclaimer: http://www.peralex.com/disclaimer.html ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call
Any chance you can come to irc so that we sort it out? Cheers Fridrich On 12/12/11 13:56, Alex Thurgood wrote: Le 12/12/2011 13:34, Fridrich Strba a écrit : Hi Fridrich, OK, so what I did now is following: 1) We build the static library with ssl and ldap support on all platforms currently. 2) I patched the postgresql configury so that it has an option --with-mozldap. This one is used when we use internally in LO mozilla for ldap connections. Without that option, the stuff falls on openldap. Not sure it works, but it builds. This fails on Mac OSX (10.6.8 SnowLeopard server, which has builtin LDAP implementation, not sure which though) trying to link -lldap (which it can't find). If moz is needed then that's a problem on Mac, because I have my switches set to --disable-mozilla and --disable-mozilla-build otherwise the whole moz stuff doesn't build on Mac OSX (at least not on my machine and hasn't for a while). So, with the LDAP commit, I can no longer build using --with-system-postgresql either. Alex ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] Question about VersionInfo resource of Windows executables
Hi Bjoern, 2011/12/12 Bjoern Michaelsen bjoern.michael...@canonical.com: Hi, On Sun, Dec 11, 2011 at 03:13:42PM +0100, Andras Timar wrote: I was hacking on VersionInfo resource of Windows executables and I noticed that DLLs built with dmake always have this resource, they include solenv/inc/shlinfo.rc. But DLLs built with gmake does not have VersionInfo resource by default. Is this normal? Executables are fully functional without VersionInfo resource, but I think it is useful to have it, because it contains file version, copyright notice etc. I would like to ask, if it is by design, or if it is an undesired omission. Well, when I started writing gbuild I did not care to much for the Windows specific resource files. However, support for it has been later added with the aptly named solenv/gbuild/WinResTarget.mk. Using it to get VersionInfo everywhere is possible (it is currently used for example in soffice.bin and vcl), but I have no strong opinion about it. OK, I thought so, thanks for confirming. Can you maybe explain the specific example, where I had the bug yesterday, i.e. ucbhelper was the only gbuildified module that tried to make VersionInfo resource from shlinfo.rc, but only under MinGW, and even there it was not linked. If I understood this example, it would help me to understand the whole concept better. Thanks, Andras ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice] XPD installer stuff
Hi, The OxygenOffice is not using XPD, so you can remove it if you really want. Thank you for your notification. Best regards, KAMI ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call
On Mon, Dec 12, 2011 at 01:34:11PM +0100, Fridrich Strba wrote: On 12/12/11 10:32, Lionel Elie Mamane wrote: We bundle OpenSSL with LibreOffice, We do? Oh, great, I had missed that. OK, so what I did now is following: 1) We build the static library with ssl and ldap support on all platforms currently. It fails on GNU/Linux if system openssl-dev is not installed. Probably just a missing -I$(SOLARINC)/external somewhere. -- Lionel ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] Do we support classic and industrial theme? (was: [PATCH] configure.in examples: options shouldn't have quote)
Hi Korrawit, On Sun, 2011-12-11 at 21:39 +0700, Korrawit Pruegsanusak wrote: [3] diff as follows: diff --git a/configure.in b/configure.in index f8aed0e..132e022 100644 --- a/configure.in +++ b/configure.in @@ -8034,7 +8034,7 @@ fi WITH_THEMES= for theme in $with_theme; do case $theme in -default|crystal|hicontrast|oxygen|tango) : ;; +default|crystal|hicontrast|oxygen|tango|classic|industrial) : ;; *) AC_MSG_ERROR([Unknown value for --with-theme: $theme]) ;; esac WITH_THEMES=$WITH_THEMES $theme I suggest we push your patch; industrial is used as layer in a stack of layers used to build other themes, so we can't remove those icons from git; but the classic stuff we're well rid of - and it won't keep up with new icon names / movements etc. I suspect. The classic tar-ball is still in git as a static un-maintained blob; we could prolly remove that too in master - if you knock up a new patch that can be git am'd ;-) ... HTH, Michael. -- michael.me...@suse.com , Pseudo Engineer, itinerant idiot ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] Writing a book w/F16?
Hi there, On Sat, 2011-12-10 at 21:15 +0100, NOSpaze wrote: WYSIWYG is an obstacle to writing? Damn! I knew it! Tell it to the LibreOffice team. They need to know it. Please cross-post user questions and discussion to: us...@global.libreoffice.org this freedesktop list is exclusively for developers discussions related to working on the code. Thanks :-) Michael -- michael.me...@suse.com , Pseudo Engineer, itinerant idiot ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] [Libreoffice-qa] End of the line for 3.3 family and regressions
Pedro Lino píše v Pá 09. 12. 2011 v 20:34 +: Hi all Looking at the Release Plan chart http://tdfsc.files.wordpress.com/2011/07/libreoffice-versions.png and wiki http://wiki.documentfoundation.org/ReleasePlan I guess version 3.3.4 is the end of the line for family 3.3. IMHO, community can't support too many stable versions. Customers who need it, have to pay someone for it. We should leave 3.3 and concentrate on making 3.5 the best release ever. This means that for many users (and especially for companies, which only use the most stable build) the next version will (sometimes forcefully :) ) be 3.4.5. I think this carries (from a QA point of vue) a much heavier responsibility and care than the change from 3.4.4 to 3.5.0 (which is experimental) I think that there is no need for panic :-) 3.4 has been out since, Jun 1, 2011. We did 4 bug fix releases. There was plenty of time to escalate bugs that would break people from using this version and there were many possibilities to get these fixes. In addition, as Michael said, 3.4.5 need not be the last bugfix release for the 3.4 version. I am sure that we will do another one if there is a reasonable demand from users and fixes from developers. The planned release date for 3.4.5 is on January 11, 2012 and apparently there won't be any Beta releases, it will jump directly to RC1. We should not need beta versions. We do not do big or dangerous changes between bug fix releases. All changes are reviewed. If we would want to include anything dangerous, we would ask for extra testing. I am sure that we added regressions between bugfix release in the past (we are just humans) but I do not remember anything serious. I urge everybody to make sure that EVERY regression detected from 3.3.x to 3.4.x is fixed/added to the 3.4 branch This is not realistic. Every application has bugs and every version adds regressions. This is true for any software, not only for LibreOffice. It would take thousands man-years to fix all bugs in LO. If you want to release software at some point, you need to do compromise. There are good processes (severity, priority, most annoying meta bug) that helps to focus on important things, optimize the cost and value, and make this working in a real life. Best Regards, Petr ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] Question about VersionInfo resource of Windows executables
Hi Andras, On Mon, Dec 12, 2011 at 02:12:32PM +0100, Andras Timar wrote: OK, I thought so, thanks for confirming. Can you maybe explain the specific example, where I had the bug yesterday, i.e. ucbhelper was the only gbuildified module that tried to make VersionInfo resource from shlinfo.rc, but only under MinGW, and even there it was not linked. If I understood this example, it would help me to understand the whole concept better. Unfortunately, I can not really. All I know about windows native resources is that they provide info for the File-Properties on Windows Explorer. I didnt implement that stuff, nor used it yet, so I know nothing more than everybody else about them, sorry. Best, Bjoern ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] minor idl fixes
Hi Thomas, On Sat, 2011-12-10 at 14:57 +0100, Tomas Hlavaty wrote: I would be happy with LGPLv3+ but I haven't found much on why was MPL added and/or preffered for new contributions. Could you please point me to some discussions so I can make up my mind on this matter? Sure; so - the MPL is primarily there to make LibreOffice more friendly to companies, such as IBM, who have an aversion to the LGPLv3 - and with whom we hope to eventually reconcile into one big happy, copy-left family again. It is a rather weaker copy-left license, and doesn't seem to have done much harm to Firefox ;-) Making your code available under it has been a criteria for including code into LibreOffice from our launch. As you say, prolly we should have a write-up on that somewhere. Having a just a few patches under a different license is rather a problem - as/when the ASF manage to get OO.o under the AL2 license, we'll do a big license/header change across the whole codebase, and then (hopefully) stop having to ask everyone for this. There seems to be agreement that the RDB type database should go away. There are several LO projects that would be affected by this and they seem rather complex with dependencies. Oooh - it'd be great to have some work on that :-) As a proof of concept, I have created a unoidl2 project: git clone http://logand.com/git/unoidl2.git ... This would allow us to get rid of the RDB files (although I need to familiarise myself with current use-cases to understand the impact of such change, e.g. merging in custom plugins). So, there are rather a number of hidden criteria for RDB files: that they are tiny, instant to parse (and/or don't require parsing) - since we get to do this quite a lot at startup (which is already not as performant as it could be ;-). The data needs to be in a small (read three or less) number of files - to avoid I/O seek latency on rotating media. The other affected LO projects would likely be: Well all of these other guys -should- work on top of the typedescription API (I would hope), so as long as that is in-place, life will be good I think. It might be interesting to generate vapi file for vala programming language, for example. Are there any examples of connection to libreoffice from plain C? Sadly, the plain-C UNO bridge died a death some years back I think; though this was originally intended to be possible [ the base sal/ library still has a C ABI/API ]. HTH, Michael. -- michael.me...@suse.com , Pseudo Engineer, itinerant idiot ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] Calc : add carriage return via Ctrl+Enter in the Formula bar
Hi I checked with a recent master build on Archlinux and it works perfectly :-). I also checked with the 3.5 beta on Windows XP but the behaviour of Ctrl +Enter changed. Now it switch the auto-wrap mode. I don't know if it's normal or not ... Maxime Le lundi 12 décembre 2011 à 10:46 +0100, Maxime de Roucy a écrit : Hi Noel Thanks a lot, I will test this as soon as my LibreOffice build end. Le lundi 12 décembre 2011 à 09:31 +, Noel Power a écrit : Hi Maxime, On 09/12/11 15:24, Kohei Yoshida wrote: Hello Maxime, On Fri, 2011-12-09 at 16:12 +0100, Maxime de Roucy wrote: Hello I have been ask to add the possibility to add a carriage return in a cell via Ctrl+Enter in the formula bar (like when I directly edit the cell). I think Noel (CC'ed) either has already implemented that, or is planning to. yes, it should be working now, you should be able to see the latest state of things in both master and 3.5 builds . Either way you should sync with him to see where we are currently. well, feel free to test, improve submit patches etc. ( like Kohei said, I just picked up the gsoc task so I aint any sort of expert ) Noel ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice -- Maxime de Roucy Groupe LINAGORA - OSSA 80 rue Roque de Fillol 92800 PUTEAUX Tel. : 0 810 251 251 signature.asc Description: This is a digitally signed message part ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] Question about VersionInfo resource of Windows executables
2011/12/12 Bjoern Michaelsen bjoern.michael...@canonical.com: Hi Andras, On Mon, Dec 12, 2011 at 02:12:32PM +0100, Andras Timar wrote: OK, I thought so, thanks for confirming. Can you maybe explain the specific example, where I had the bug yesterday, i.e. ucbhelper was the only gbuildified module that tried to make VersionInfo resource from shlinfo.rc, but only under MinGW, and even there it was not linked. If I understood this example, it would help me to understand the whole concept better. Unfortunately, I can not really. All I know about windows native resources is that they provide info for the File-Properties on Windows Explorer. I didnt implement that stuff, nor used it yet, so I know nothing more than everybody else about them, sorry. No problem, I'm digging into the problem, and I feel that the solution will be trivial. The building blocks seem to be there, we just need to use them properly. Thanks, Andras ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] Do we support classic and industrial theme? (was: [PATCH] configure.in examples: options shouldn't have quote)
Hi. Michael's suggestion sounds great to me. If I may make another suggestion, is there a way to move most of ../default_images to ../ooo_custom_images/galaxy. Then, ../ooo_custom_images could be renamed to ../themes, so things would look a bit more orderly... Another thing: all the Industrial icons we don't need (because we have Tango/Galaxy replacements for them) could also be removed, then. Astron. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] [ANNOUNCE] Branch libreoffice-3-5 created
Rainer Bielefeld píše v Po 12. 12. 2011 v 13:52 +0100: Petr Mladek schrieb: Hi all, as promised, we have created a branch for the stabilization of the 3.5.x releases, called 'libreoffice-3-5'. It is based on master, last pull on December 6, 2011 at about 13pm UTC. See also the tag libreoffice-3-5-branch-point. Hello, I am a little concerned what happened with fixes between branch and today. I believe most of later fixes will be cherry picked to 3.5Beta, but may be we have to check that additionally for fixes of the last days? Bugs https://bugs.freedesktop.org/buglist.cgi?chfield=resolutionchfieldfrom=2011-12-05chfieldto=2011-12-13chfieldvalue=FIXEDlist_id=24678product=LibreOfficequery_format=advancedorder=changeddate%2Cbug_id%20DESCquery_based_on= with fixes from 2011-12-05 to 2011-12-05 might be affected. Every developer who fix a bug is responsible for pushing the fix into all appropriate branches (master, libreoffice-3-5, or even older branches). We do not do any regular merges between branches. Also we do not have any dedicated person who would take care of this. The idea is that people are responsible. Authors of fixes know most details about them. They could best decide how the fix is important, dangerous, and where it is needed. If they are unsure, they could always ask for review and opinion from other developers on irc or the mailing list. Of course, people do mistakes. They might underestimate the importance or just forgot to push a fix. In this case, I expect that the reporter will complain that a fix is still missing. We have many betas, release candidates, and bug fix releases, so there are many possibilities to add the fix later. Best Regards, Petr ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice] [patch] german translations
Hi This patch is the result of a collaboration between myself and Mike Whitely. I machine-translated some German comments using google-translate and then Mike fixed up the results so the translations matched the original sense of the German comments :-) Patch is submitted under MPL/ LGPL3+, and I believe Mike has already submitted patches and given blanket permission. Regards, Noel Grandin Disclaimer: http://www.peralex.com/disclaimer.html ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] LibO daily builds on Fedora 16: oxygen GTK undefined cairo symbol
Lionel Elie Mamane píše v Ne 11. 12. 2011 v 08:13 +0100: https://bugs.freedesktop.org/show_bug.cgi?id=34432 --- Comment #7 from sasha.libreoff...@gmail.com 2011-12-10 01:08:18 PST --- (In reply to comment #6) I fixed a few ODBC-64bits problem in the past months and days. Could you please test again with a daily build? Thanks a lot. Daily builds are at http://dev-builds.libreoffice.org/daily/ I have installed file master~2011-12-08_16.45.19_LibO_3.5.0beta0_Linux_x86-64_install-rpm_en-US.tar.gz on Fedora 16 64-bit with last updates But LibO exits almost immediately and writes this in console: create vcl plugin instance with gtk version 2 24 7 Screen Resolution/Size 96*96 1280*1024 17,0 BlackWhite 0 16777215 RGB 0xff 0xff00 0xff Visual24-bit TrueColor ID=0x21 /opt/lodev3.5/program/soffice.bin: symbol lookup error: /usr/lib64/gtk-2.0/2.10.0/engines/liboxygen-gtk.so: undefined symbol: cairo_surface_create_for_rectangle Exited with code '127' I wonder if it could get fixed in the next build by http://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-3-5id=57f4258e93aeed47bf8305602ae1acd2a20154b1 Best Regards, Petr ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] [patch] german translations
Hi This patch is the result of a collaboration between myself and Mike Whitely. I machine-translated some German comments using google-translate and then Mike fixed up the results so the translations matched the original sense of the German comments :-) Patch is submitted under MPL/ LGPL3+, and I believe Mike has already submitted patches and given blanket permission. Regards, Noel Grandin Disclaimer: http://www.peralex.com/disclaimer.html --- a/autodoc/source/parser/cpp/all_toks.hxx +++ b/autodoc/source/parser/cpp/all_toks.hxx @@ -188,12 +187,12 @@ /* just for viewing: class Tok_TypeKey : public cpp::Token // file-type-PE class Tok_Template : public cpp::Token // file class Tok_Namespace : public cpp::Token// file -class Tok_Bracket : public cpp::Token // ueberall -class Tok_Separator : public cpp::Token// ueberall +class Tok_Bracket : public cpp::Token // everywhere +class Tok_Separator : public cpp::Token// everywhere class Tok_Identifier : public cpp::Token // ueberall class Tok_NameSeparator : public cpp::Token// Type, Name class Tok_BuiltInType : public cpp::Token // ueberall class Tok_ConVol : public cpp::Token // class-FuVa class Tok_StorageClass : public cpp::Token // file-type,FuVa class Tok_OperatorFunctionName : public cpp::Token // class --- a/basctl/source/basicide/baside2.cxx +++ b/basctl/source/basicide/baside2.cxx @@ -247,7 +246,7 @@ Size( GetOutputSizePixel() ) ); } -// Import von baside4.cxx +// Import of baside4.cxx void CreateEngineForBasic( StarBASIC* pBasic ); void ModulWindow::CheckCompileBasic() --- a/basctl/source/basicide/macrodlg.cxx +++ b/basctl/source/basicide/macrodlg.cxx @@ -35,7 +34,7 @@ #include macrodlg.hxx #include macrodlg.hrc #include basidesh.hrc #include basidesh.hxx -#include baside2.hrc // ID's fuer Imagese +#include baside2.hrc // ID's for Images #include basobj.hxx #include baside3.hxx --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -1475,7 +1474,7 @@ // The mapping between the old and the new error codes take place by searching // through the table SFX_VB_ErrorTab[]. This is indeed not with good performance, // but it consumes much less memory than corresponding switch blocs. // Because the conversion of error codes has not to be fast. there is no -// binaere search by VB-Error - SFX-Error. +// binary search by VB Error - Error SFX. // Map back new error codes to old, Sbx-compatible sal_uInt16 StarBASIC::GetVBErrorCode( SbError nError ) --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -2470,7 +2469,7 @@ } if( !mxUnoAccess.is() ) { -// #51475 mark an invalid objekt kennzeichnen (no mxMaterialHolder) +// #51475 mark to indicate an invalid object (no mxMaterialHolder) return; } --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -2700,9 +2699,9 @@ if( xNameAccess.is() xNameAccess-hasByName( aUName2 ) ) { Any aAny = xNameAccess-getByName( aUName2 ); -// ATTENTION: Die hier erzeugte Variable darf wegen bei XNameAccess -// nicht als feste Property in das Object aufgenommen werden und -// wird daher nirgendwo gehalten. +// ATTENTION: The variables generated here may account for XNameAccess +// may not be included as a fixed property in the Object and therefore +// won't be kept anywhere. // If this leads to problems, it has to be created synthetically or // a class SbUnoNameAccessProperty, whose existence had to be checked // constantly and which were if necessary thrown away --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -2971,7 +2970,7 @@ SbUnoObjectRef xUnoObj = Impl_CreateUnoStruct( aClassName ); if( !xUnoObj ) return; -// return the objekt +// return the object SbxVariableRef refVar = rPar.Get(0); refVar-PutObject( (SbUnoObject*)xUnoObj ); } --- a/basic/source/classes/sbxmod.cxx +++ b/basic/source/classes/sbxmod.cxx @@ -1993,7 +1992,7 @@ SbModule::Notify( rBC, rHint ); } -// Implementation SbJScriptModule (Basic-Modul fuer JavaScript-Sourcen) +// Implementation SbJScriptModule (Basic module for JavaScript source code) SbJScriptModule::SbJScriptModule( const String rName ) :SbModule( rName ) { --- a/basic/source/inc/parser.hxx +++ b/basic/source/inc/parser.hxx @@ -83,7 +82,7 @@ sal_Bool bExplicit;// sal_True: OPTION EXPLICIT sal_Bool
Re: [Libreoffice] [patch] german translations
Hey, There's no patch attached. Astron. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call
On Mon, Dec 12, 2011 at 01:49:21PM +0100, Alex Thurgood wrote: Le 12/12/2011 09:57, Lionel Elie Mamane a écrit : Does it mean that the --without-system-postgresql is working now? On my machine (Debian GNU/Linux amd64), it build and runs (can connect to database and retrieve data). I checked manually (with ldd) that the postgresql-sdbc-impl.uno.so has no dependency on libpq (i.e. was statically linked). Fails miserably on Mac OSX though, looking for libpq-fe.h, and other includes. Forgot to add SOLARINC to CFLAGS. Testing and committing soon. -- Lionel ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] [patch] german translations
Hi back, Please manually check your translations before submitting. This one for instance is complete garbage: -// Eine STD-Lib erzeugen, sonst macht es Peng! +// An STD-Lib product, otherwise it just looks good (~Correct translation: Create an STD-Lib, otherwise it goes boom. or something similar.) I'm fixing things up currently, I'll push this later today. Please also note that there's no real need to translate stuff in binfilter, as it will be removed sooner or later anyway. Astron. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] [PUSHED] Re: fdo#42924: needs help with tablehead xml parsing
Hi Korrawit, On 2011-12-07 at 19:10 +0700, Korrawit Pruegsanusak wrote: This is hardcoded so far, so no objection to actually change that to a nicer default :-) How can we test such a change? Would it be enough for you to give you an account on help.libreoffice.org, so that you'd check it on a not-really-visible page (you'd edit manually), and then you'd provide a patch to wikiconv2.py? Don't worry giving me an account :) I've created a comparison page at http://wiki.documentfoundation.org/User:Korrawit/WikiTableComparison I'll create (or directly push, if you agree) a patch later. Beautiful - please go ahead, and push :-) [if you haven't yet] Would you be interested in more wikihelp-generation-related fixes? Eg. it would be great to be able to preserve also the 'extended tips' (ahelp tags) some way, for example - but there is more to do there :-) Sorry to say this, but my semester started, so I'm not giving a promise :) Sure, understood, no problem :-) Thank you a lot, Kendy ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call
On Mon, Dec 12, 2011 at 03:56:01PM +0100, Lionel Elie Mamane wrote: On Mon, Dec 12, 2011 at 01:49:21PM +0100, Alex Thurgood wrote: Le 12/12/2011 09:57, Lionel Elie Mamane a écrit : Does it mean that the --without-system-postgresql is working now? On my machine (Debian GNU/Linux amd64), it build and runs (can connect to database and retrieve data). I checked manually (with ldd) that the postgresql-sdbc-impl.uno.so has no dependency on libpq (i.e. was statically linked). Fails miserably on Mac OSX though, looking for libpq-fe.h, and other includes. Forgot to add SOLARINC to CFLAGS. Testing and committing soon. No, that was not the problem. So let's check other things: Did you build and deliver the postgresql module? cd postgresql build --all -P2 -- -P2 deliver Replace 2 by another number to adjust parallelism. If you did do that, please look in solver/unxmac*/inc/postgresql; the include files should be there. The library itself in solver/unxmac*/lib/ If still not, show us build log. -- Lionel ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] postresql-sdbc bits out of minutes of tech. steering call
I have impression I fixed it with the CPPFLAGS in the configure_command. But maybe not. The best would be to check the latest latest latest checkout, since I was moving that territory quite a lot. Cheers F. On 12/12/11 15:56, Lionel Elie Mamane wrote: On Mon, Dec 12, 2011 at 01:49:21PM +0100, Alex Thurgood wrote: Le 12/12/2011 09:57, Lionel Elie Mamane a écrit : Does it mean that the --without-system-postgresql is working now? On my machine (Debian GNU/Linux amd64), it build and runs (can connect to database and retrieve data). I checked manually (with ldd) that the postgresql-sdbc-impl.uno.so has no dependency on libpq (i.e. was statically linked). Fails miserably on Mac OSX though, looking for libpq-fe.h, and other includes. Forgot to add SOLARINC to CFLAGS. Testing and committing soon. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] Calc : add carriage return via Ctrl+Enter in the Formula bar
On 12/12/11 14:39, Maxime de Roucy wrote: Hi I checked with a recent master build on Archlinux and it works perfectly :-). I also checked with the 3.5 beta on Windows XP but the behaviour of Ctrl +Enter changed. Now it switch the auto-wrap mode. I don't know if it's normal or not ... It is intentional, since now it displays multiple lines ( even if there is only space for 1 ) Noel ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice] Simpler logging using a string format function
Hello, I'd like to propose changes to the SAL_INFO etc. family of the new logging functions that would replace the somewhat strange usage SAL_INFO(foo, string s of length n) with SAL_INFO(foo, string %1 of length %2, s, n ) while still leaving the possibility to do SAL_INFO(foo, string + s + of length + OUString::valueOf( n )) The last two are IMO much more natural than the iostream-based usage. The format-based usage uses a printf-like function that, unlike printf, is typesafe and extensible. If people would be interested, the function itself could be made public API (after all, there's a reason why printf is still popular even nowadays, despite all its shortcomings). Attached source code has a testing implementation of the format function and a simple logging macro. It still needs few final touches but it's generally ready. The templates may look scary at first, but it's rather simple, they are just making the function to take up to 9 arguments of each of the supported arguments and the template for return type is SFINAE[1]. I also had a look at the resulting code and it's usually pretty small (can be tweaked by where the inline keyword is put, this way the call at the place of usage is very small) and reasonably fast (could be done even faster if OUString being actually rather lame didn't make it somewhat pointless[2]). Now, onto the questions: 1) Yes/no ? 2) It take it SAL_INFO, being in sal, has to keep binary compatibility, which means we're stuck with the usage if it stays that way in the 3.5 branch, and that I'd have to make this new way binary compatible in time for 3.5 if it's to replace it? 3) What would 'in time for 3.5' mean in practice? 4) What is the LO policy on char* - OUString conversions? It seems to me they always need to be explicit, but I'd prefer to ask. 5) For some of the features to work, it is necessary to build without gcc's -pedantic. I expect we already would generate some warnings if that was used anyway, wouldn't we? BTW, I've tried and built the code with GCC4.5 and MSVC 2008. [1] http://en.wikipedia.org/wiki/Substitution_failure_is_not_an_error [2] Today's trivia: Did you know that despite being seemingly highly optimized, with stuff like OUStringBuffer::makeStringAndClear() or the obnoxious RTL_CONSTASCII_USTRINGPARAM macro, O(U)String* actually does some rather pathetic things like ctors first checking if there's any memory to free or allocated memory being always zeroed first? -- Lubos Lunak l.lu...@suse.cz // TODO all the OUStringBuffers appear to be rather inefficient, so either do something about them // or don't bother about the performance of this code that much #include rtl/ustrbuf.hxx #include string.h /** * Base class for formatting any type to a string. To add a new type, create a subclass * like in the following example. * @code template class Formatter const sal_Char* : public FormatterBase { public: Formatter( const sal_Char* arg ) : data( arg ) {} typedef const sal_Char* Type; virtual void append( rtl::OUStringBuffer str ) const; private: const sal_Char* const data; }; void Formatter const sal_Char* ::append( rtl::OUStringBuffer str ) const { str.appendAscii( data ); } * @endcode */ class FormatterBase { public: virtual void append( rtl::OUStringBuffer str ) const = 0; // TODO not really much point with OUStringBuffer being otherwise inefficient?virtual int length() const = 0; }; template typename T class Formatter {}; template class Formatter const sal_Char* : public FormatterBase { public: Formatter( const sal_Char* arg ) : data( arg ) {} typedef const sal_Char* Type; virtual void append( rtl::OUStringBuffer str ) const; private: const sal_Char* const data; }; void Formatter const sal_Char* ::append( rtl::OUStringBuffer str ) const { str.appendAscii( data ); } template int N class Formatter char[N] : public Formatter const sal_Char* { public: Formatter( const sal_Char* arg ) : Formatter const sal_Char* ( arg ) {} }; template int N class Formatter const char[N] : public Formatter const sal_Char* { public: Formatter( const sal_Char* arg ) : Formatter const sal_Char* ( arg ) {} }; // for types that work with OUStringBuffer::append(), 'cast' is a cast // applied to the data when calling append() if needed #define FORMATTER_APPEND_BASED( type, cast ) \ template \ class Formatter type : public FormatterBase \ { \ public: \ Formatter( const type arg ) : data( arg ) {} \ typedef type Type; \ virtual void append( rtl::OUStringBuffer str ) const; \ private: \ const type data; \ }; \ \ void Formatter type ::append( rtl::OUStringBuffer str ) const \ { \ str.append( cast data ); \ } FORMATTER_APPEND_BASED( rtl::OUString, ) // MSVC requires the cast otherwise it's ambiguous (@%$@!! sal_Int types) FORMATTER_APPEND_BASED( int, (sal_Int64) ) // there's no unsigned overload for OUStringBuffer::append(), so just cast
Re: [Libreoffice] [patch] german translations
Hi Thanks Stefan. Any particular preference as to which areas should receive high priority for translations? -- Noel Stefan Knorr (Astron) wrote: Hi back, Please manually check your translations before submitting. This one for instance is complete garbage: -// Eine STD-Lib erzeugen, sonst macht es Peng! +// An STD-Lib product, otherwise it just looks good (~Correct translation: Create an STD-Lib, otherwise it goes boom. or something similar.) I'm fixing things up currently, I'll push this later today. Please also note that there's no real need to translate stuff in binfilter, as it will be removed sooner or later anyway. Astron. Disclaimer: http://www.peralex.com/disclaimer.html ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] [patch] german translations
On Mon, 2011-12-12 at 16:11 +0100, Stefan Knorr (Astron) wrote: Please also note that there's no real need to translate stuff in binfilter, as it will be removed sooner or later anyway. Ah ! so there is a need to add a filter to find-german-comments: to hide the binfilter :-) ATB, Michael. -- michael.me...@suse.com , Pseudo Engineer, itinerant idiot ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] random build failures in sfx2/sdi/sfxitems.sdi
Hi Lionel, On 2011-12-11 at 10:58 +0100, lio...@mamane.lu wrote: Just to make sure someone that knows that part of the code gets a notice (rather than only unrelated people): There seems to be a failure in sfx2/sdi/sfxitems.sdi (see attachment and http://tinderbox.libreoffice.org/cgi-bin/gunzip.cgi?tree=MASTERfull-log=1323593401.28011#err677 ) which is unrelated to the commits since last success, so maybe a race condition in a parallel build or something like that? [...] build failed - error is:: log for /local/home/tinderbox/master/sfx2/prj [ info ALL ] LinkTarget Library/libxml2.so not defined: Assuming headers to be there! [ build DEP ] SRS:sfx/res [ build SDI ] sfx2/sdi/sfxslots /local/home/tinderbox/master/sfx2/sdi/sfxitems.sdi --- error: ( 86, 11 ) may be no value for identifier at ( 86, 11 ) /local/home/tinderbox/master/sfx2/sdi/sfxitems.sdi --- error: ( 86, 11 ) may be unknown type at ( 86, 11 ) /local/home/tinderbox/master/sfx2/sdi/sfxslots.sdi --- error: ( 38, 5 ) svidl terminated with errors [ build PKG ] sfx2_inc [ build PKG ] sfx2_sdi make[2]: *** No rule to make target `/local/home/tinderbox/master/workdir/unxlngx6.pro/SdiTarget/sfx2/sdi/sfxslots', needed by `/local/home/tinderbox/master/workdir/unxlngx6.pro/Headers/Library/libsfxlo.so'. Stop. I see this breakage on my tinderbox (the SLED11 one) from time to time, and so far I was unable to find out what is wrong :-( I though it might have been a SLED11-related breakage, so I upgraded the box to SP1 (many things are upgraded there), but the problem persisted. And Petr confirmed that he is getting the same in SUSE's buildservice from time to time; so this issue is not bound to this exact box. I'll try to investigate at some stage, but unfortunately seems to be a kind of race, but who knows where; the line numbers are just wrong etc. - please ignore it when the SLED11 tinderbox complaints about this. Regards, Kendy ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] [Libreoffice-qa] End of the line for 3.3 family and regressions
Hi Petr IMHO, community can't support too many stable versions. Customers who need it, have to pay someone for it. We should leave 3.3 and concentrate on making 3.5 the best release ever. I couldn't agree more. But someone made up this concept of rock solid and Enterprise ready. To make things more confusing there are two versions on the download page that are Enterprise ready and there isn't anyone who can say which are the differences and which one should companies adopt... E.g. http://nabble.documentfoundation.org/Differences-between-LibreOffice-3-3-and-3-4-tt3518436.html The reason for my post is that family 3.3 will no longer be updated and the ONLY version this Community is selling as Enterprise ready will be version 3.4.5 I think that there is no need for panic :-) 3.4 has been out since, Jun 1, 2011. We did 4 bug fix releases. There was plenty of time to escalate bugs that would break people from using this version and there were many possibilities to get these fixes. Currently there are two rock solid versions. And you can see from the comments at the forum that many people (and companies) were sticking with version 3.3.x just to be on the safe side (maybe that is why there are not more bug reports for 3.4.4?) I'm not in panic. I was just sharing my concern. If you guys aren't worried why should I be? Best regards, Pedro ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] Do we support classic and industrial theme? (was: [PATCH] configure.in examples: options shouldn't have quote)
Hi Astron, On Mon, 2011-12-12 at 15:44 +0100, Stefan Knorr (Astron) wrote: Michael's suggestion sounds great to me. :-) If I may make another suggestion, is there a way to move most of ../default_images to ../ooo_custom_images/galaxy. Then, So - I guess you want to use 'git mv' to move them around, and ensure that you commit without altering the files: then git should track the move nicely. ../ooo_custom_images could be renamed to ../themes, so things would look a bit more orderly... Yep - sounds fine to me; why not try it in a branch, and target at master. Another thing: all the Industrial icons we don't need (because we have Tango/Galaxy replacements for them) could also be removed, then. Yes - are there such things ? conversely, if we could be sure that there are no icons that other themes eg. crystal etc. rely on that are not also inheritable from tango, we could just flatten industrial into tango ;-) I guess some hacks to packimages/ should sort that out I think; it is possible that the rsc compiler also has that default_images path hard-coded to check the images are in fact there; but a git grep would find all the hits you need to cleanup I think. HTH, Michael. -- michael.me...@suse.com , Pseudo Engineer, itinerant idiot ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] Call for LO-3.5.0-beta1 pre-tag testing
Rainer Bielefeld píše v So 10. 12. 2011 v 10:56 +0100: Petr Mladek schrieb: could you please do some testing with the last daily builds from the libreoffice-3-5 branch? See below where to get them. Hi, I have been testing for some hours doing my normal daily work without bigger bad surprises. So it seems we are on a good way for Beta 1, https://bugs.freedesktop.org/buglist.cgi?chfieldto=Nowchfield=[Bug%20creation]query_format=advancedchfieldfrom=-8dversion=LibO%20Masterversion=LibO%203.5.0%20Beta0product=LibreOffice does not show any debacle :-) Great. Blocker fix for Bug 43614 has already been integrated, I believe it would be good for our reputation at least to do a serious attempt to fix Bug 43422 for Beta 1. Is it realistic to try that until Monday, do a final quick test and branch on Tuesday? Unfortunately, we do not have a fix for 43422 now. We need to fix it for the final release but it is not a blocker for beta1. Let's use the commit that you tested for the beta1 tag and do it now. We are already delayed and we need to do 3.4.5-rc1 this week as well. So, I am going to use the following commits for beta1: core: 35c8573c2d544bfbc7868cb20afcb0439b4fdafc binfilter:7f15fcac486ea45c3ca77db7f93506850a022e5e dictionaries: 95bcc5e8d51b8d8e153400380d522fb603c5b894 help: 4c1bcb50f9441af32d8fcc9ffb7a53b513799b9f translations: 5bcbce4eaf65f72c722b311dfed5a5c37071c935 In addition, I am going to cherry-pick the following rather important fixes: 90bf7efd26d6d1bf047238857c429de9d0dbeed7 CppunitTest_sw_macros_test.mk: depends on vbaswobj f5ac85575ad7066c9490c423cdfeba72df3d78fc do nothing in buildpl stage for debugrun 57f4258e93aeed47bf8305602ae1acd2a20154b1 cairo: fix RPATH: d75885f5190ef3bc12932db281af4ac74f7a0616 fix problems with generation of download name ea0bc3c3d48ff750dc76442b1e4f1ac4d2e9a42d change PRODUCTNAME back to LOdev, because prev. change broke Linux packaging fb8c93b5aa90501bf33dffe075390cc7f1e71c22 use PACKAGEVERSION as the base of MSI ProductVersion 96e3f652ad0c02140fea42790e2d0a2baabb45d8 stop saying 15 on stdout (cherry picked from commit 6765b2b71544a1ca0957fbd5e04062c274a24f45) bba94fcd7ed28cf2f927df4d898e38c6cb97f4af Resolves: CVE-2011-4599 (cherry picked from commit cf5d0e20f2ba5a71f9ca2ed78a1b24841c97bb06) 6bbbe8bfe6de8502df7807c6408b4023c73aeb16 bump product version to 3.5.0-beta1, release number to 1 Thank you all guys for testing and feedback. Best Regards, Petr ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] [patch] german translations
On Mon, 2011-12-12 at 17:36 +0200, Noel Grandin wrote: Any particular preference as to which areas should receive high priority for translations? Oooh :-) well, svx/ would be a great thing to get to grips with: not at the bottom of the system (ie. fairly simple) like vcl, and lots of German comments in there for shared functionality that'd be useful to understand better. HTH, Michael. -- michael.me...@suse.com , Pseudo Engineer, itinerant idiot ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice] [PUSHED][PATCH 1/4] fdo38832 Replace ImplAccelTable with std::map
On Sat, 2011-12-10 at 19:23 +0100, Marcel Metz wrote: Hello lo-devs, This patch series replaces some DECLARE_TABLE macros with the std::map equivalent. Looks good to me. Thanks for this, pushed now. C. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] [PUSHED][PATCH 1/4] fdo38832 Replace ImplAccelTable with std::map
12.12.2011 20:05, Caolán McNamara пишет: On Sat, 2011-12-10 at 19:23 +0100, Marcel Metz wrote: Hello lo-devs, This patch series replaces some DECLARE_TABLE macros with the std::map equivalent. Looks good to me. Thanks for this, pushed now. Hmm... looking at this I think that - else if ( !mpData-maKeyTable.Insert( nCode, pEntry ) ) + else if ( mpData-maKeyMap.insert( std::make_pair( nCode, pEntry ) ).second ) must be - else if ( !mpData-maKeyTable.Insert( nCode, pEntry ) ) + else if ( !mpData-maKeyMap.insert( std::make_pair( nCode, pEntry ) ).second ) i.e. ! is missed in replacement. Regards, Ivan ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] [PUSHED][PATCH 1/4] fdo38832 Replace ImplAccelTable with std::map
On Mon, 2011-12-12 at 16:05 +, Caolán McNamara wrote: On Sat, 2011-12-10 at 19:23 +0100, Marcel Metz wrote: Hello lo-devs, This patch series replaces some DECLARE_TABLE macros with the std::map equivalent. Looks good to me. Thanks for this, pushed now. oh wait... - else if ( !mpData-maKeyTable.Insert( nCode, pEntry ) ) + else if ( mpData-maKeyMap.insert( std::make_pair( nCode, pEntry ) ).second ) OSL_TRACE( Accelerator::InsertItem(): KeyCode (Key: %lx) already exists, nCode ); this should be + else if ( !mpData-maKeyMap.insert( std::make_pair( nCode, pEntry ) ).second ) OSL_TRACE( Accelerator::InsertItem(): KeyCode (Key: %lx) already exists, nCode ); right ? I mean, the returned .second is false if it already existed and insert didn't do anything, and true if it the entry was actually inserted C. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice