Oliver Brinzing license statement

2015-08-22 Thread Oliver Brinzing

Hi,

All of my past  future contributions to LibreOffice may be
licensed under the MPLv2/LGPLv3+ dual license.

Regards
Oliver
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


how to register at gerrit?

2015-08-21 Thread Oliver Brinzing

Hi

i try to register a gerrit account with an existing stackexchange openid:

- open: https://gerrit.libreoffice.org/
- enter: https://openid.stackexchange.com  [X] Remember me [Sign In]
- after redirection i login with username/password

result:

https://gerrit.libreoffice.org/#SignInFailure,SIGN_IN,Discovered+information+verification+failed.
Not Found
The page you requested was not found, or you do not have permission to view 
this page.

log from https://openid.stackexchange.com/user:

History
TypeComment IP  Date
Authenticated ToAuthenticated to gerrit.libreoffice.org 
84.57.161.XXX   3 mins ago

any hints?

Regards
Oliver
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: vs 2013 integration - class view/code assist

2015-08-21 Thread Oliver Brinzing

Hi


And to add to Markus's response, it'd be great to have patches that improve 
things. So feel free to submit your fixes.


i think i have a small patch for vs 2013 ide integration - maybe someone can 
verify?

if one starts vs 2013 the first time after running /opt/lo/bin/make 
vs2013-ide-integration
vs complains about duplicate projects. altogether there are 2246 projects (lo 
5.0.1).

i had a look into LibreOffice.sln and found, that a lot of projects have 6 entries (e.g. Library 
swui).
only the one with the ProjectSection node seems to be the valid one, but vs always includes only 
the first.


i checked output from
(LC_MESSAGES=C C:/cygwin/opt/lo/bin/make cmd=C:/cygwin/opt/lo/bin/make -npf Makefile.gbuild all 
cmd || true)

and found 276 entries for Library_swui, distributed over 6 different entries 
inside the 150 mb file.

# makefile (from 'D:/sources/core/sw/Library_swui.mk', line 20)
# makefile (from 'D:/sources/core/sw/Library_swui.mk', line 30)
# makefile (from 'D:/sources/core/sw/Library_swui.mk', line 41)
# makefile (from 'D:/sources/core/sw/Library_swui.mk', line 49)
# makefile (from 'D:/sources/core/sw/Library_swui.mk', line 77)
# makefile (from 'D:/sources/core/sw/Library_swui.mk', line 160)

now i checked /bin/gbuild-to-ide:

GbuildParser._parse_hash(self, line, state) appends 2246 libname/exename, even if it's value is 
None.

adding if libname != None: /  if exename != None: generates only 340 
project entries:

[...]
def _parse_hash(self, line, state):
libmatch = GbuildParser.libpattern.match(line)
if libmatch:
libname = self.libnames.get(state.ilib, None)
if libname != None:
print('libname: %s' % libname, end='\n')
self.libs.append(
GbuildLib(libmatch.group(2), libname, libmatch.group(1),
  state.include, state.include_sys, state.defs, 
state.cxxobjects,
  state.cxxflags, state.linked_libs))
state = GbuildParserState()
return state
exematch = GbuildParser.exepattern.match(line)
if exematch:
exename = self.exenames.get(state.target, None)
if exename != None:
print('exename: %s' % exename, end='\n')
self.exes.append(
GbuildExe(exematch.group(2), exename, exematch.group(1),
  state.include, state.include_sys, state.defs, 
state.cxxobjects,
  state.cxxflags, state.linked_libs))
state = GbuildParserState()
return state
[..]

vs now complains only about 3 duplicate exe projects (soffice_bin, unopkg_com, 
unopkg_bin).

but projects sw, swui, sc and others have now class view and code assist 
:-)


Regards
Oliver


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: how to register at gerrit?

2015-08-22 Thread Oliver Brinzing

Hi,

ok, finally i managed to register using a Launchpad openID ...

Regards
Oliver

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build Error -1073740940

2015-08-18 Thread Oliver Brinzing

Hi Michael,

 very odd... do you still have this problem?

no, i am pretty sure my anti virus tool caused the problems.
after disabling the Identity Protection Service (caused up to 50% cpu usage 
during builds!)
and adding cygwin/source folders to the exclude list, i can even build lo 5.0.1 with 
make -j 4


which make are you using?
i see that the wiki still recommends to download make-85047eb-msvc.exe ...


yes, i followed the wiki instructions


does it help if you try my make 4.1 release build from here as /opt/lo/bin/make:


not tried yet

at the moment i am struggling with vs 2013 integration ...

Regards
Oliver
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


vs 2013 integration - class view/code assist

2015-08-18 Thread Oliver Brinzing

Hi,

i managed to build a debug version of lo 5.0.1. after running /opt/lo/bin/make 
vs2013-ide-integration
i have 392 projects in Solution Explorer, but it seems, only a few projects are 
included.

for example Library swui (i played with core\sw\source\ui\misc\bookmark.cxx)
has no class view and code assist while Library ado has.

at first i added the source/inc folders via context menu (Include In 
Project)

to make it compile i had to change compiler settings:
Property Pages/Configuration Properties/NMake/General/Build Command Line
- from Library_None to Library_swui

for class view and code assit i had to add PreprocessorDefinitions and
Include Search Path in Section IntelliSense

is it necessary to add all these entries by hand or did i miss something ?
do we have a guideline somewhere ?

any hints are welcome.

Oliver
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Debug build breaks in unit test

2015-08-13 Thread Oliver Brinzing

Hi Regina,


warn:editeng.uno:1112:364:editeng/source/uno/unofield.cxx:369: Id service 
unknown: 12
warn:editeng.uno:1112:364:editeng/source/uno/unofield.cxx:369: Id service 
unknown: 2
warn:xmloff:1112:364:xmloff/source/style/impastpl.cxx:432: Adding duplicate 
family graphic with
mismatching mapper ! class SvXMLExportPropertyMapper * class 
XMLShapeExportPropertyMapper
warn:xmloff:1112:364:xmloff/source/style/impastpl.cxx:432: Adding duplicate 
family presentation with
mismatching mapper ! class SvXMLExportPropertyMapper * class 
XMLShapeExportPropertyMapper
warn:legacy.osl:1112:364:xmloff/source/draw/shapeexport.cxx:756: 
XMLShapeExport::exportShape(),
exception caught!
warn:legacy.tools:1112:364:vcl/source/gdi/bmpacc.cxx:53: Forbidden Access to 
empty bitmap!
warn:legacy.tools:1112:364:vcl/source/window/window.cxx:893: Window::Window(): 
pParent == NULL
warn:vcl.opengl:1112:364:vcl/source/opengl/OpenGLContext.cxx:1279: 
OpenGLContext::makeCurrent():
wglMakeCurrent failed: 0
warn:legacy.osl:1112:364:sax/source/expatwrap/saxwriter.cxx:122: cached 
Sequence not written
warn:tools.debug:1112:364:tools/source/debug/debug.cxx:297: no 
DbgTestSolarMutex function set
warn:fwk:1112:364:framework/source/services/desktop.cxx:1017: Desktop disposed 
before terminating it


i was able to build lo 5.0.1.1 without any breaks - my sd_export_tests.test 
looks like:

[...]
warn:editeng.uno:8376:4896:editeng/source/uno/unofield.cxx:369: Id service 
unknown: 12
warn:editeng.uno:8376:4896:editeng/source/uno/unofield.cxx:369: Id service 
unknown: 2
warn:xmloff:8376:4896:xmloff/source/style/impastpl.cxx:432: Adding duplicate family graphic with 
mismatching mapper ! class XMLShapeExportPropertyMapper class XMLShapeExportPropertyMapper
warn:xmloff:8376:4896:xmloff/source/style/impastpl.cxx:432: Adding duplicate family presentation 
with mismatching mapper ! class XMLShapeExportPropertyMapper class XMLShapeExportPropertyMapper
warn:legacy.osl:8376:4896:xmloff/source/draw/shapeexport.cxx:756: XMLShapeExport::exportShape(), 
exception caught!

warn:legacy.tools:8376:4896:vcl/source/gdi/bmpacc.cxx:53: Forbidden Access to 
empty bitmap!
warn:legacy.tools:8376:4896:vcl/source/window/window.cxx:891: Window::Window(): 
pParent == NULL
warn:legacy.osl:8376:4896:xmloff/source/draw/shapeexport.cxx:756: XMLShapeExport::exportShape(), 
exception caught!
warn:xmloff:8376:4896:xmloff/source/style/impastpl.cxx:432: Adding duplicate family graphic with 
mismatching mapper ! class XMLShapeExportPropertyMapper class XMLShapeExportPropertyMapper
warn:xmloff:8376:4896:xmloff/source/style/impastpl.cxx:432: Adding duplicate family presentation 
with mismatching mapper ! class XMLShapeExportPropertyMapper class XMLShapeExportPropertyMapper
warn:unotools.misc:8376:4896:unotools/source/misc/mediadescriptor.cxx:738: caught Exception an 
error occurred during file opening while opening 
file:///D:/sources/core/workdir/unittest/user/config/standard.sob
warn:unotools.misc:8376:4896:unotools/source/misc/mediadescriptor.cxx:738: caught Exception an 
error occurred during file opening while opening 
file:///D:/sources/core/workdir/unittest/user/config/standard.soc
warn:unotools.misc:8376:4896:unotools/source/misc/mediadescriptor.cxx:738: caught Exception an 
error occurred during file opening while opening 
file:///D:/sources/core/workdir/unittest/user/config/standard.sod


do you have a problem with OpenGL ?

 warn:vcl.opengl:1112:364:vcl/source/opengl/OpenGLContext.cxx:1279: 
OpenGLContext::makeCurrent():
 wglMakeCurrent failed: 0


my config:

/cygdrive/d/sources/core/autogen.sh \
--with-build-version=$(date +%Y-%m-%d %H:%M:%S %z (%a, %d %b %Y)) \
--with-vendor=LO 5.X Debug Build \
--with-external-tar=/cygdrive/d/sources/lo-externalsrc \
--with-junit=/cygdrive/d/sources/junit-4.10.jar \
--with-ant-home=/cygdrive/d/sources/apache-ant-1.9.5 \
--disable-ccache \
--enable-pch \
--without-fonts \
--with-lang=de \
--with-package-format=installed msi \
--enable-dbgutil \
--enable-debug \
--enable-crashdump \
--disable-odk \
--disable-online-update \
--with-help \
--with-myspell-dicts \
--enable-ext-wiki-publisher \
--enable-ext-nlpsolver

mv autogen.lastrun autogen.input

/opt/lo/bin/make gb_COLOR=1 gb_TITLES=1


Oliver

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Debug build breaks in unit test

2015-08-10 Thread Oliver Brinzing

Hi,

my build has finished after 7 hours (Win 7 64Bit Core I5 8GB  / PARALLELISM=1)  
with success :-)
VS 2013 Integration works too

i had 3 build breaks at all:

- [ LNK ] Executable/python.exe
  [ BIN ] pyuno
  [ MOD ] pyuno
  make[1]: ***.  Stop.
  Makefile:250: recipe for target 'build' failed
  make: *** [build] Error 2

a simple restart fixed it.

- [ PRL ] CustomTarget/postprocess/images/sorted.lst
  [ PRL ] CustomTarget/postprocess/images/commandimagelist.ilst
  [ PRL ] CustomTarget/postprocess/images/images_breeze.zip
  [...]
  [ CUS ] postprocess/images
  [ BIN ] postprocess
  [ MOD ] postprocess
  make[1]: ***.  Stop.
  Makefile:250: recipe for target 'build' failed
  make: *** [build] Error 2

i had to delete the commandimagelist.ilst before restart worked

- first unpacking external source libreoffice-translations-5.0.0.5.tar failed with an error c 
could not resolved.
  adding /cygdrive/c ... solved it. but later on the build broke, cause folder translations was 
missing.

  i had to link it from src\libreoffice-translations-5.0.0.5\translations:
  C:\sources\libo-core\src\libreoffice-translations-5.0.0.5mklink /D translations 
c:\sources\libo-core\translations

  moving the folder did not work - cause make tried to unpack it again and 
failed ...


next time i will try with PARALLELISM=4 ...

Regards
Oliver

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Debug build breaks in unit test

2015-08-09 Thread Oliver Brinzing

Hi Regina,

- 
https://wiki.documentfoundation.org/Development/BuildingOnWindows#System_PATH_causing_weird_build_breakage

- BitDefender / other Anti-Virus / security tools breaking the build

i told my anti virus not to scan c:\cygwin\* and c:\sources\*

still working ...

Regards
Oliver


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Debug build breaks in unit test

2015-08-09 Thread Oliver Brinzing

Hi Regina

 C:/cygwin/opt/lo/bin/make -j 4  -rs -f C:/LO_buildDebug/core/Makefile.gbuild  
  all

have you tried with PARALLELISM=1:

/opt/lo/bin/make gb_COLOR=1 PARALLELISM=1
C:/cygwin/opt/lo/bin/make -j 1  -rs -f D:/sources/libo-core/Makefile.gbuild
all
[...]

 i just started a new build and did not receive build breaks so far...

Regards
Oliver


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build Error -1073740940

2015-08-08 Thread Oliver Brinzing

Hi Regina,

 Makefile:250: recipe for target 'build' failed
 make: *** [build] Error -1073740940

i just started to build LO 5 on Win7 64Bit with VS2013 and have same build 
problems

first unpacking external source libreoffice-translations-5.0.0.5.tar failed with an 
error D
could not resolved.
i use drive d instead of c as described at
https://wiki.documentfoundation.org/Development/BuildingOnWindows.
adding /cygdrive/d solved it.

but now build will fail constantly with error 2 or error  -1073740940
i just restart the build  again and again ...

my configuration is:

/cygdrive/d/sources/libo-core/autogen.sh \
--with-build-version=$(date +%Y-%m-%d %H:%M:%S %z (%a, %d %b %Y)) \
--with-vendor=LO Debug Build \
--with-external-tar=/cygdrive/d/sources/lo-externalsrc \
--with-junit=/cygdrive/d/sources/junit-4.10.jar \
--with-ant-home=/cygdrive/d/sources/apache-ant-1.9.5 \
--disable-ccache \
--with-parallelism \
--enable-pch \
--enable-verbose \
--without-fonts \
--with-lang=de \
--with-package-format=installed msi \
--without-junit \
--enable-dbgutil \
--enable-debug \
--enable-crashdump \
--disable-odk \
--disable-online-update

mv autogen.lastrun autogen.input

- admin@mypc /cygdrive/d/sources/libo-core
$ /opt/lo/bin/make all gb_COLOR=1
D:/cygwin/opt/lo/bin/make -j 4  -r -f D:/sources/libo-core/Makefile.gbuild
all


Regards
Oliver




___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build Error -1073740940

2015-08-09 Thread Oliver Brinzing

Hi,

 So.. don't do that do not use --enable-verbose (for the reason
 stated at the top of this post.. it is broken)

ok, i removed --enable-verbose, but now i am getting build errors again, for 
example:

C:/cygwin/opt/lo/bin/make -j 4  -rs -f C:/sources/libo-core/Makefile.gbuild
all
[ C   ] solenv/bin/concat-deps.c
[ CXX ] soltools/mkdepend/collectdircontent.cxx

[...]

[ RC  ] pdfimport/default
[ RC  ] pyuno/default
[ RC  ] pythonloader/default
make[1]: ***.  Stop.
make[1]:
Makefile:250: recipe for target 'build' failed
make: *** [build] Error 2

if i try again with /opt/lo/bin/make fetch gb_COLOR=1 it will continue but 
stop again and again ...


my configuration is:

 /cygdrive/c/sources/libo-core/autogen.sh \
 --with-build-version=$(date +%Y-%m-%d %H:%M:%S %z (%a, %d %b %Y)) \
 --with-vendor=LO Debug Build \
 --with-external-tar=/cygdrive/c/sources/lo-externalsrc \
 --with-junit=/cygdrive/c/sources/junit-4.10.jar \
 --with-ant-home=/cygdrive/c/sources/apache-ant-1.9.5 \
 --disable-ccache \
 --enable-pch \
 --without-fonts \
 --with-lang=de \
 --with-package-format=installed msi \
 --without-junit \
 --enable-dbgutil \
 --enable-debug \
 --enable-crashdump \
 --disable-odk \
 --disable-online-update

main::scan_file() called too early to check prototype at /usr/bin/aclocal-1.11 
line 644.

Running ./configure with '--with-build-version=2015-08-09 11:11:05 +0200 (So, 09 Aug 2015)' 
'--with-vendor=LO Debug Build' '--with-external-tar=/cygdrive/c/sources/lo-externalsrc' 
'--with-junit=/cygdrive/c/sources/junit-4.10.jar' 
'--with-ant-home=/cygdrive/c/sources/apache-ant-1.9.5' '--disable-ccache' '--enable-pch' 
'--without-fonts' '--with-lang=de' '--with-package-format=installed msi' '--without-junit' 
'--enable-dbgutil' '--enable-debug' '--enable-crashdump' '--disable-odk' '--disable-online-update' 
'--srcdir=/cygdrive/c/sources/libo-core' '--enable-option-checking=fatal'



Regards
Oliver

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Revert of 93cd7b78c29c11ccc87c19c845c6617acb834630

2015-09-04 Thread Oliver Brinzing

Hi Markus,

> I had to revert 93cd7b78c29c11ccc87c19c845c6617acb834630 to get the gbuild

that's fine, I knew that it was not a clean solution

> If you need some help finding a solution that works with all backends feel 
free to poke me.

a friend of mine is working on a better patch for the vs integration at the 
moment ;-)

Regards
Oliver

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: add libreoffice extension when "Save" LibreOffice Calc

2015-09-16 Thread Oliver Brinzing
Hi,

> Anyone who knows how to invoke the code when saving the document? Thanks a 
> lot!

register a global event broadcaster could help:
https://wiki.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Document_Events

Regards
Oliver ___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


build break in sources/core/sc/qa/unit/ucalc_formula.cxx(823) : error : Assertion

2015-12-11 Thread Oliver Brinzing

Hi,

i tried to build lo master last weekend (win 1064bit) but failed - yesterday i 
tried again,
i did a clean before, but got same error:

D:/sources/core/sc/qa/unit/ucalc_formula.cxx(823) : error : Assertion
Test name: Test::testFormulaHashAndTag
assertion failed
- Expression: false
- Unexpected vectorization state: expr: '=AVERAGE(X1:Y200)', using software 
interpreter: 1

Failures !!!
Run: 225 Failure total: 1 Failures: 1 Errors: 0
warn:tools.debug:5496:3948:tools/source/debug/debug.cxx:72: no 
DbgTestSolarMutex function set
warn:fwk:5496:3948:framework/source/services/desktop.cxx:1024: Desktop disposed 
before terminating it
warn:tools.debug:5496:3948:tools/source/debug/debug.cxx:72: no 
DbgTestSolarMutex function set
warn:svl.items:5496:3948:svl/source/items/style.cxx:51: SfxStyleSheetBase left 7; 
SfxStyleSheetBasePool left 2

warn:legacy.osl:5496:3948:unotools/source/config/configmgr.cxx:168: OSL_ASSERT: 
items_.empty()

Error: a unit test failed, please do one of:
make CppunitTest_sc_ucalc CPPUNITTRACE=TRUE # which is a shortcut for the 
following line
make CppunitTest_sc_ucalc CPPUNITTRACE="'C:/PROGRA~2/MICROS~2.0/VC//../Common7/IDE/devenv.exe' 
/debugexe" # for interactive debugging in Visual Studio
make CppunitTest_sc_ucalc CPPUNITTRACE="drmemory -free_max_frames 20" # for memory checking (install 
Dr.Memory first, and put it to your PATH)


D:/sources/core/solenv/gbuild/CppunitTest.mk:90: recipe for target 
'D:/sources/core/workdir/CppunitTest/sc_ucalc.test' failed

make[1]: *** [D:/sources/core/workdir/CppunitTest/sc_ucalc.test] Error 1
make[1]: *** Waiting for unfinished jobs
Makefile:247: recipe for target 'build' failed
make: *** [build] Error 2

any hints?

Regards
Oliver

build configuration is:

/cygdrive/d/sources/core/autogen.sh \
--with-build-version="$(date +"%Y-%m-%d %H:%M:%S %z (%a, %d %b %Y)")" \
--with-vendor="LO 5.X Debug Build" \
--with-external-tar=/cygdrive/d/sources/lo-externalsrc \
--with-junit=/cygdrive/d/sources/junit-4.10.jar \
--with-ant-home=/cygdrive/d/sources/apache-ant-1.9.5 \
--disable-ccache \
--enable-pch \
--without-fonts \
--with-lang="de" \
--with-package-format="installed msi" \
--enable-dbgutil \
--enable-debug \
--enable-crashdump \
--disable-online-update \
--with-help \
--with-myspell-dicts \
--enable-ext-wiki-publisher \
--enable-ext-nlpsolver





___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build error on branch libreoffice-5-0-4

2016-01-04 Thread Oliver Brinzing

Hi,

i cannot confirm build problems with lo 5.0.4.2 (win10/VS 2013).
i followed instructions given at:
https://wiki.documentfoundation.org/Development/BuildingOnWindows

my cygwin PATH looks like:
PATH='/usr/local/bin:/usr/bin:cygdrive/c/WINDOWS/System32/ [...]

build settings:
/cygdrive/d/sources/core/autogen.sh \
--with-build-version="$(date +"%Y-%m-%d %H:%M:%S %z (%a, %d %b %Y)")" \
--with-vendor=LO 5.X Debug Build
--with-external-tar=/cygdrive/d/sources/lo-externalsrc
--with-junit=/cygdrive/d/sources/junit-4.10.jar
--with-ant-home=/cygdrive/d/sources/apache-ant-1.9.5
--disable-ccache
--enable-pch
--without-fonts
--with-lang=de
--with-package-format=installed msi
--enable-dbgutil
--enable-debug
--enable-crashdump
--disable-online-update
--with-help
--with-myspell-dicts
--enable-ext-wiki-publisher
--enable-ext-nlpsolver

/opt/lo/bin/make gb_COLOR=1 gb_TITLES=1

first i had trouble with my anti virus bitdefender 2016.
i had to exclude folders:
  c:\cygwin
  d:\sources
and processes:
  c:\cygwin\bin\perl.exe([main] perl 7968 C:\cygwin\bin\perl.exe: *** fatal error - 
NtCreateEvent(lock): 0xC058)

  c:\cygwin\bin\bash.exe

i remember, i did a "chmod 777 -R  d:\sources\core" before starting the build
(fatal: konnte nicht auf '.git/config' zugreifen: Permission denied)

Regards
Oliver


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Open web page from dialog

2016-06-12 Thread Oliver Brinzing
Hi Jan,

I found some examples:
http://www.programcreek.com/java-api-examples/index.php?api=com.sun.star.awt.XControl

Maybe this can help

Regards
Oliver

Am 12.06.2016 um 19:36 schrieb Jan Rheinländer :
> 
> Hi Fernand,
> 
> thank you for the tip with UnoControlFixedHyperlinkModel. Now this is what I 
> have:
> 
> Reference xDialog; // Created from XDialogProvider somewhere earlier 
> in the code
> 
> First question: How do I get a MultiServiceFactory from XDialog to create the 
> control? If I use the MultiComponentFactory the properties like "PositionX" 
> etc. are not present
> 
> Now assuming I get this MultiServiceFactory from somewhere:
> 
> Reference< XPropertySet > 
> xPSHyperlink(xMultiServiceFactory->createInstanceWithContext("com.sun.star.awt.UnoControlFixedHyperlinkModel",
>  xCC), UNO_QUERY_THROW);
> xPSHyperlink->setPropertyValue("PositionX", makeAny(50));
> xPSHyperlink->setPropertyValue("PositionY", makeAny(30));
> xPSHyperlink->setPropertyValue("Width", makeAny(50));
> xPSHyperlink->setPropertyValue("Height", makeAny(14));
> xPSHyperlink->setPropertyValue("Label", makeAny(OU("Help")));
> xPSHyperlink->setPropertyValue("URL", 
> makeAny(OU("http://ooo-imath.sourceforge.net/wiki/index.php/Main_Page;)));
> 
> Second question: How do I get a XControl from the 
> UnoControlFixedHyperlinkModel  to add to the ControlContainer?
> 
> Reference< XControlContainer > xControlContainer(xDialog, UNO_QUERY_THROW);
> xControlContainer->addControl(OU("button_help"), xHyperlinkControl);
> 
> I have looked all over the UNO API but am not getting anywhere.
> 
> Thanks,
> Jan
> 
>> oDialogModel.createInstance( 
>> "com.sun.star.awt.UnoControlFixedHyperlinkModel")
> 
>>> On Jun 11, 2016, at 3:24 PM, "Jan Rheinländer"  wrote:
>>> Hi,
>>> 
>>> is it possible to open a website in the user's preferred browser from a
>>> dialog (or from a Basic macro, or through the UNO API)?
>>> 
>>> I see that the "Help" - "About" dialog does this, but it is defined in
>>> the source in Glade format, different to the Basic dialogs.
>>> 
>>> Thanks for any ideas!
>>> 
>>> Jan
>>> 
>>> 
>>> LibreOffice mailing list
>>> LibreOffice@lists.freedesktop.org
>>> https://lists.freedesktop.org/mailman/listinfo/libreoffice
>> 
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Avoid opening the Spreadsheet file when use OpenOffice UNO API to load it

2016-02-03 Thread Oliver Brinzing


Hi William,


If execute the next line, the related file will be opened automatically,
but we do not want to open it. What we want is change value for some cells and 
work as background.


do you want to load the file "hidden"?
something like this should work:

PropertyValue[] mProps = new PropertyValue[1];
mProps[0] = new PropertyValue();

mProps[0].Name = "Hidden";
mProps[0].Value = new Boolean(true);

XComponent component = loader.loadComponentFromURL(url, "_default", 0, mProps);

Regards
Oliver


Am 02.02.2016 um 10:48 schrieb Zhang, William:

Hi Team members,

Does anyone know how to do it as the subject describes?  Thanks a lot!

LibreOffice version: 4.1.4.2
OS:RedHat7
Java1.7

My code is as follow:
XComponentContext xContext = OOoConnector.bootstrap(ooExeFolder);
XMultiComponentFactory xMCF = xContext.getServiceManager();
Object desktop = xMCF.createInstanceWithContext("com.sun.star.frame.Desktop", 
xContext);
XComponentLoader loader = 
(XComponentLoader)UnoRuntime.queryInterface(XComponentLoader.class, desktop);
String url = "file://" + targetFile;
// If execute the next line, the related file will be opened automatically, but 
we do not want to open it. What we want is change value for some cells and work 
as background.
XComponent component = loader.loadComponentFromURL(url, "_default", 0, new 
PropertyValue[0]);
 ……

The default options for the ‘soffice’ command is as follow.
ArrayList options = new ArrayList();
options.add("--nologo");
options.add("--nodefault");
options.add("--norestore");
options.add("--nocrashreport");
options.add("--nolockcheck");
…….

Anyone who knows the solution is much appreciated!

Best Regards
William
From: Zhang, William
Sent: 2015年12月25日 13:08
To: 'libreoffice@lists.freedesktop.org'
Subject: How to decrypt ods file

Hi Team members,

Does anyone know how to decrypt an encrypted Libreoffice Calc file with Java or 
other languages? Or even some workarounds. Thanks a lot!

LibreOffice version: 4.1.4.2

What I’ve tried.

1.   Try some common decrypt API such as javax.crypto.Cipher, failed.

2.   Change the ‘ods’ extension to ‘zip’, unzip it and try to parse file to 
get the content, failed.

Then try to get xml content with Java IO, failed.
……

Best Regards
William



___
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


[Bug 93151] "Expand references when new columns/rows are inserted" broken for named ranges

2016-01-25 Thread Oliver Brinzing

Hi,

is there a chance to get this bug fixed in lo5.1?
https://bugs.documentfoundation.org/show_bug.cgi?id=93151

To be honest this bug prevents me from migrating to lo5,
cause we have several spreadsheets which depend on this feature.

Regards
Oliver
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


master build fails in unit tests - CppunitTest_sc_bugfix_test / CppunitTest_sc_filters_test

2016-05-01 Thread Oliver Brinzing

Hi,

i get a build error when building current master

Oliver

---
[BIN] sc
[CUT] sc_bugfix_test
[CUT] sc_filters_test
[CUT] sc_rangelst_test
[CUT] sc_mark_test
[CUT] sc_tiledrendering
[CUT] sccomp_lpsolver
[CUT] sd_export_tests
[CUT] sd_tiledrendering
[CUT] chart2_export
[CUT] chart2_import
/usr/bin/sh: Zeile 1: 10100 Segmentation fault 
PATH="D:\sources\core\instdir\program;D:\sources\core\instdir\program;D:\sources\core\workdir\LinkTarget\Library;D:\sources\core\workdir\UnpackedTarball\cppunit\src\cppunit\DebugDll;$PATH" 
$W/LinkTarget/Executable/cppunittester.exe $W/LinkTarget/CppunitTest/test_sc_bugfix_test.dll 
--headless "-env:BRAND_BASE_DIR=file:///$S/instdir" "-env:BRAND_SHARE_SUBDIR=share" 
"-env:UserInstallation=file:///$W/CppunitTest/sc_bugfix_test.test.user" 
"-env:CONFIGURATION_LAYERS=xcsxcu:file:///$I/share/registry xcsxcu:file:///$W/unittest/registry" 
"-env:UNO_TYPES=file:///$I/program/types/offapi.rdb file:///$I/program/types.rdb" 
"-env:UNO_SERVICES=file:///$W/Rdb/ure/services.rdb 
file:///$W/ComponentTarget/basic/util/sb.component 
file:///$W/ComponentTarget/chart2/source/chartcore.component 
file:///$W/ComponentTarget/chart2/source/controller/chartcontroller.component 
file:///$W/ComponentTarget/comphelper/util/comphelp.component 
file:///$W/ComponentTarget/configmgr/source/configmgr.component 
file:///$W/ComponentTarget/dbaccess/util/dba.component 
file:///$W/ComponentTarget/embeddedobj/util/embobj.component 
file:///$W/ComponentTarget/eventattacher/source/evtatt.component 
file:///$W/ComponentTarget/filter/source/config/cache/filterconfig1.component 
file:///$W/ComponentTarget/forms/util/frm.component 
file:///$W/ComponentTarget/framework/util/fwk.component 
file:///$W/ComponentTarget/i18npool/source/search/i18nsearch.component 
file:///$W/ComponentTarget/i18npool/util/i18npool.component 
file:///$W/ComponentTarget/linguistic/source/lng.component 
file:///$W/ComponentTarget/oox/util/oox.component 
file:///$W/ComponentTarget/package/source/xstor/xstor.component 
file:///$W/ComponentTarget/package/util/package2.component 
file:///$W/ComponentTarget/sax/source/expatwrap/expwrap.component 
file:///$W/ComponentTarget/scaddins/source/analysis/analysis.component 
file:///$W/ComponentTarget/scaddins/source/datefunc/date.component 
file:///$W/ComponentTarget/sc/util/sc.component file:///$W/ComponentTarget/sc/util/scfilt.component 
file:///$W/ComponentTarget/sfx2/util/sfx.component file:///$W/ComponentTarget/sot/util/sot.component 
file:///$W/ComponentTarget/svl/util/svl.component 
file:///$W/ComponentTarget/svtools/util/svt.component 
file:///$W/ComponentTarget/toolkit/util/tk.component 
file:///$W/ComponentTarget/ucb/source/core/ucb1.component 
file:///$W/ComponentTarget/ucb/source/ucp/file/ucpfile1.component 
file:///$W/ComponentTarget/ucb/source/ucp/tdoc/ucptdoc1.component 
file:///$W/ComponentTarget/unotools/util/utl.component 
file:///$W/ComponentTarget/unoxml/source/rdf/unordf.component 
file:///$W/ComponentTarget/unoxml/source/service/unoxml.component 
file:///$W/ComponentTarget/xmloff/util/xo.component 
file:///$W/ComponentTarget/xmlsecurity/util/xmlsecurity.component 
file:///$W/ComponentTarget/xmlsecurity/util/xsec_fw.component 
file:///$W/ComponentTarget/xmlsecurity/util/xsec_xmlsec.windows.component" 
-env:URE_INTERNAL_LIB_DIR=file:///$I/program -env:LO_LIB_DIR=file:///$I/program 
-env:LO_JAVA_DIR=file:///$I/program/classes --protector 
$W/LinkTarget/Library/unoexceptionprotector.dll unoexceptionprotector --protector 
$W/LinkTarget/Library/unobootstrapprotector.dll unobootstrapprotector --protector 
$W/LinkTarget/Library/vclbootstrapprotector.dll vclbootstrapprotector 
"-env:CPPUNITTESTTARGET=$W/CppunitTest/sc_bugfix_test.test" > $W/CppunitTest/sc_bugfix_test.test.log 
2>&1
/usr/bin/sh: Zeile 1: 11952 Segmentation fault 
PATH="D:\sources\core\instdir\program;D:\sources\core\instdir\program;D:\sources\core\workdir\LinkTarget\Library;D:\sources\core\workdir\UnpackedTarball\cppunit\src\cppunit\DebugDll;$PATH" 
$W/LinkTarget/Executable/cppunittester.exe $W/LinkTarget/CppunitTest/test_sc_filters_test.dll 
--headless "-env:BRAND_BASE_DIR=file:///$S/instdir" "-env:BRAND_SHARE_SUBDIR=share" 
"-env:UserInstallation=file:///$W/CppunitTest/sc_filters_test.test.user" 
"-env:CONFIGURATION_LAYERS=xcsxcu:file:///$I/share/registry xcsxcu:file:///$W/unittest/registry" 
"-env:UNO_TYPES=file:///$I/program/types/offapi.rdb file:///$I/program/types.rdb" 
"-env:UNO_SERVICES=file:///$W/Rdb/ure/services.rdb 
file:///$W/ComponentTarget/basic/util/sb.component 
file:///$W/ComponentTarget/chart2/source/chartcore.component 
file:///$W/ComponentTarget/chart2/source/controller/chartcontroller.component 
file:///$W/ComponentTarget/comphelper/util/comphelp.component 
file:///$W/ComponentTarget/configmgr/source/configmgr.component 
file:///$W/ComponentTarget/connectivity/source/manager/sdbc2.component 
file:///$W/ComponentTarget/dbaccess/util/dba.component 

Re: Can Java Scripts no longer been called from basic macro ?

2016-04-14 Thread Oliver Brinzing

Hi,

i think, the Scripting Framework needs a 32bit Java JRE installed.
For example, if i remove  "C:\Program Files (x86)\LibreOffice 
5.1\program\classes\ScriptFramework.jar"
the macro will fail too.

Oliver

Am 14.04.2016 um 19:28 schrieb SOS:

Oliver,
sorry but still the same error
An exception occurred
Type: com.sun.star.script.provider.ScriptFrameworkErrorException
Message: unsatisfied query for interface of type 
com.sun.star.script.provider.XScriptProvider!.

- Windows 8
- het scripts are on the machine  "C:\Program Files (x86)\LibreOffice
4\share\Scripts\javascript\HelloWorld\helloworld.js"

but in de UI i can also not sea the Java libraries  maybe i must enabling 
something in the options
to handle java ?

Greetz




On 14/04/2016 19:03, Oliver Brinzing wrote:

Hi,

this will work in LO 4 and LO 5:

OPTION EXPLICIT

Sub oJavaScriptMacro
Dim oMSPF as Object
Dim oSP as Object
Dim oScript as Object
oMSPF =
GetDefaultContext.getValueByName("/singletons/com.sun.star.script.provider.theMasterScriptProviderFactory")

oSP = oMSPF.createScriptProvider("")
' JavaScript Macro
oScript =
oSP.getScript("vnd.sun.star.script:HelloWorld.helloworld.js?language=JavaScript=share")
oScript.invoke(Array(), Array(), Array())
End Sub

Regards
Oliver

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice





___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Can Java Scripts no longer been called from basic macro ?

2016-04-14 Thread Oliver Brinzing

Hi,

this will work in LO 4 and LO 5:

OPTION EXPLICIT

Sub oJavaScriptMacro
Dim oMSPF as Object
Dim oSP as Object
Dim oScript as Object
	oMSPF = 
GetDefaultContext.getValueByName("/singletons/com.sun.star.script.provider.theMasterScriptProviderFactory")

oSP = oMSPF.createScriptProvider("")
' JavaScript Macro
	oScript = 
oSP.getScript("vnd.sun.star.script:HelloWorld.helloworld.js?language=JavaScript=share")

oScript.invoke(Array(), Array(), Array())
End Sub

Regards
Oliver

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Order of menu items

2016-06-30 Thread Oliver Brinzing

Hi Jan,

 > In Linux LO respects this order and arranges the menu items in order.
 > In Windows, it doesn't.

i use "m001", "m002", etc. to sort my menu entries.

Regards
Oliver



___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build Problem with Lode

2016-12-11 Thread Oliver Brinzing


Hi Jason,

>> C:\cygwin\lode\dev\core\workdir\UnpackedTarball\xml2\win32\configure.js(181, 2) Microsoft 
JScript > runtime error: Automation server can't create object


i cannot confirm your build problems, but building current master with a fresh lode setup (win 10 
64bit, vs2013) fails for me too.




Regards
Oliver


[SLC] sw
warn:sal.rtl:9680:14236:sal/rtl/bootstrap.cxx:379: couldn't open file: 
file:///D:/lo_sources/lode/dev/core/workdir/LinkTarget/Executable/cppunittester.ini
warn:vcl.pdfwriter:9680:14236:vcl/source/gdi/pdfwriter_impl.cxx:6844: 
CryptAcquireCertificatePrivateKey failed: Das Zertifikat und der private Schlüssel für die 
Entschlüsselung wurden nicht gefunden.
warn:xmlsecurity.pdfio:9680:14236:xmlsecurity/source/pdfio/pdfdocument.cxx:965: PDFDocument::Sign: 
PDFWriter::Sign() failed

D:/lo_sources/lode/dev/core/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx:172:PDFSigningTest::testPDFAdd
assertion failed
- Expression: aDocument.Sign(aCertificates[0], "test", true)

PDFSigningTest::testPDFAdd finished in: 172ms
warn:vcl.pdfwriter:9680:14236:vcl/source/gdi/pdfwriter_impl.cxx:6844: 
CryptAcquireCertificatePrivateKey failed: Das Zertifikat und der private Schlüssel für die 
Entschlüsselung wurden nicht gefunden.
warn:xmlsecurity.pdfio:9680:14236:xmlsecurity/source/pdfio/pdfdocument.cxx:965: PDFDocument::Sign: 
PDFWriter::Sign() failed

D:/lo_sources/lode/dev/core/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx:172:PDFSigningTest::testPDFAdd2
assertion failed
- Expression: aDocument.Sign(aCertificates[0], "test", true)

PDFSigningTest::testPDFAdd2 finished in: 23ms
PDFSigningTest::testPDFRemove finished in: 28ms
PDFSigningTest::testPDFRemoveAll finished in: 48ms
PDFSigningTest::testPDF14Adobe finished in: 27ms
PDFSigningTest::testPDF16Adobe finished in: 18ms
func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion: 
;last error=0 (0x);last error msg=Der Vorgang wurde erfolgreich beendet.


func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion: 
;last error=0 (0x);last error msg=Der Vorgang wurde erfolgreich beendet.


func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion: 
;last error=0 (0x);last error msg=Der Vorgang wurde erfolgreich beendet.


func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion: 
;last error=0 (0x);last error msg=Der Vorgang wurde erfolgreich beendet.


func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion: 
;last error=0 (0x);last error msg=Der Vorgang wurde erfolgreich beendet.


func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion: 
;last error=0 (0x);last error msg=Der Vorgang wurde erfolgreich beendet.


func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion: 
;last error=0 (0x);last error msg=Der Vorgang wurde erfolgreich beendet.


func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion: 
;last error=0 (0x);last error msg=Der Vorgang wurde erfolgreich beendet.


warn:vcl.pdfwriter:9680:14236:vcl/source/gdi/pdfwriter_impl.cxx:6844: 
CryptAcquireCertificatePrivateKey failed: Das Zertifikat und der private Schlüssel für die 
Entschlüsselung wurden nicht gefunden.
warn:xmlsecurity.pdfio:9680:14236:xmlsecurity/source/pdfio/pdfdocument.cxx:965: PDFDocument::Sign: 
PDFWriter::Sign() failed

D:/lo_sources/lode/dev/core/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx:172:PDFSigningTest::testPDF16Add
assertion failed
- Expression: aDocument.Sign(aCertificates[0], "test", true)

PDFSigningTest::testPDF16Add finished in: 28ms
PDFSigningTest::testPDF14LOWin finished in: 14ms
PDFSigningTest::testPDFPAdESGood finished in: 12ms
PDFSigningTest::testPartial finished in: 10ms
warn:vcl.pdfwriter:9680:14236:vcl/source/gdi/pdfwriter_impl.cxx:6844: 
CryptAcquireCertificatePrivateKey failed: Das Zertifikat und der private Schlüssel für die 
Entschlüsselung wurden nicht gefunden.
warn:xmlsecurity.pdfio:9680:14236:xmlsecurity/source/pdfio/pdfdocument.cxx:965: PDFDocument::Sign: 
PDFWriter::Sign() failed

D:/lo_sources/lode/dev/core/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx:172:PDFSigningTest::testSigningCertificateAttribute
assertion failed
- Expression: aDocument.Sign(aCertificates[0], "test", true)

PDFSigningTest::testSigningCertificateAttribute finished in: 20ms
PDFSigningTest::testGood finished in: 52ms
PDFSigningTest::testTokenize finished in: 44ms
warn:xmlsecurity.pdfio:9680:14236:xmlsecurity/source/pdfio/pdfdocument.cxx:2237: 
PDFDocument::ValidateSignature: unsupported sub-filter: 'ETSI.RFC3161'

Re: OpenCL enabled by default after OS reinstall causing Unit Test Failure

2016-12-12 Thread Oliver Brinzing

Hi,

> After disabled the failing Unit Tests, I
> discovered that the new binaries enable OpenCL by default, where as in my
> old binary I cannot even enable OpenCL.
> Did something change in new Cygwin/LODE env that's causing OpenCL to be
> enabled now?

could you please tell me how to disable OpenCL during build ?

maybe my build breaks have same root cause
https://www.mail-archive.com/libreoffice@lists.freedesktop.org/msg181443.html

Regards
Oliver

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: OpenCL enabled by default after OS reinstall causing Unit Test Failure

2016-12-12 Thread Oliver Brinzing

Hi,


What makes you think there is anything OpenCL-related in there?


it's not the first time OpenCL seems to break builds, for example:

https://lists.freedesktop.org/archives/libreoffice/2016-June/074434.html
https://lists.freedesktop.org/archives/libreoffice/2015-August/069814.html

Oliver
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


build break in CppunitTest.mk:101: recipe for target 'xmlsecurity_pdfsigning.test' failed

2016-12-04 Thread Oliver Brinzing

Hi,

i tried to build current master on win 10 with vs 2013 32 bit

any hints ?

Oliver


[CUT] xmlsecurity_signing
[CUT] xmlsecurity_pdfsigning
warn:sal.rtl:4524:2044:sal/rtl/bootstrap.cxx:379: couldn't open file: 
file:///D:/sources/core/workdir/LinkTarget/Executable/cppunittester.i ni

warn:sfx.appl:4524:2044:sfx2/source/appl/app.cxx:199: No DDE-Service possible. 
Error: 16399
warn:vcl.pdfwriter:4524:2044:vcl/source/gdi/pdfwriter_impl.cxx:6844: 
CryptAcquireCertificatePrivateKey failed: Das Zertifikat und der priva te Schlüssel für die 
Entschlüsselung wurden nicht gefunden.
warn:xmlsecurity.pdfio:4524:2044:xmlsecurity/source/pdfio/pdfdocument.cxx:965: PDFDocument::Sign: 
PDFWriter::Sign() failed

D:/sources/core/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx:172:PDFSigningTest::testPDFAdd
assertion failed
- Expression: aDocument.Sign(aCertificates[0], "test", true)

PDFSigningTest::testPDFAdd finished in: 192ms
warn:vcl.pdfwriter:4524:2044:vcl/source/gdi/pdfwriter_impl.cxx:6844: 
CryptAcquireCertificatePrivateKey failed: Das Zertifikat und der priva te Schlüssel für die 
Entschlüsselung wurden nicht gefunden.
warn:xmlsecurity.pdfio:4524:2044:xmlsecurity/source/pdfio/pdfdocument.cxx:965: PDFDocument::Sign: 
PDFWriter::Sign() failed

D:/sources/core/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx:172:PDFSigningTest::testPDFAdd2
assertion failed
- Expression: aDocument.Sign(aCertificates[0], "test", true)

PDFSigningTest::testPDFAdd2 finished in: 20ms
PDFSigningTest::testPDFRemove finished in: 36ms
PDFSigningTest::testPDFRemoveAll finished in: 85ms
PDFSigningTest::testPDF14Adobe finished in: 52ms
PDFSigningTest::testPDF16Adobe finished in: 33ms
func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion: 
;last error=0 (0x00 00);last error msg=Der Vorgang wurde erfolgreich beendet.


func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion: 
;last error=0 (0x00 00);last error msg=Der Vorgang wurde erfolgreich beendet.


func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion: 
;last error=0 (0x00 00);last error msg=Der Vorgang wurde erfolgreich beendet.


func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion: 
;last error=0 (0x00 00);last error msg=Der Vorgang wurde erfolgreich beendet.


func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion: 
;last error=0 (0x00 00);last error msg=Der Vorgang wurde erfolgreich beendet.


func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion: 
;last error=0 (0x00 00);last error msg=Der Vorgang wurde erfolgreich beendet.


func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion: 
;last error=0 (0x00 00);last error msg=Der Vorgang wurde erfolgreich beendet.


func=xmlSecPtrListFinalize:file=..\src\list.c:line=130:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion: 
;last error=0 (0x00 00);last error msg=Der Vorgang wurde erfolgreich beendet.


warn:vcl.pdfwriter:4524:2044:vcl/source/gdi/pdfwriter_impl.cxx:6844: 
CryptAcquireCertificatePrivateKey failed: Das Zertifikat und der priva te Schlüssel für die 
Entschlüsselung wurden nicht gefunden.
warn:xmlsecurity.pdfio:4524:2044:xmlsecurity/source/pdfio/pdfdocument.cxx:965: PDFDocument::Sign: 
PDFWriter::Sign() failed

D:/sources/core/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx:172:PDFSigningTest::testPDF16Add
assertion failed
- Expression: aDocument.Sign(aCertificates[0], "test", true)

PDFSigningTest::testPDF16Add finished in: 41ms
PDFSigningTest::testPDF14LOWin finished in: 24ms
PDFSigningTest::testPDFPAdESGood finished in: 24ms
PDFSigningTest::testPartial finished in: 19ms
warn:vcl.pdfwriter:4524:2044:vcl/source/gdi/pdfwriter_impl.cxx:6844: 
CryptAcquireCertificatePrivateKey failed: Das Zertifikat und der priva te Schlüssel für die 
Entschlüsselung wurden nicht gefunden.
warn:xmlsecurity.pdfio:4524:2044:xmlsecurity/source/pdfio/pdfdocument.cxx:965: PDFDocument::Sign: 
PDFWriter::Sign() failed

D:/sources/core/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx:172:PDFSigningTest::testSigningCertificateAttribute
assertion failed
- Expression: aDocument.Sign(aCertificates[0], "test", true)

PDFSigningTest::testSigningCertificateAttribute finished in: 21ms
PDFSigningTest::testGood finished in: 92ms
PDFSigningTest::testTokenize finished in: 80ms
warn:xmlsecurity.pdfio:4524:2044:xmlsecurity/source/pdfio/pdfdocument.cxx:2237: 
PDFDocument::ValidateSignature: unsupported sub-filter: 'ET SI.RFC3161'
warn:xmlsecurity.helper:4524:2044:xmlsecurity/source/helper/pdfsignaturehelper.cxx:59: failed to 
determine digest match

PDFSigningTest::testUnknownSubFilter 

Re: How to pack a proper zip file with Basic

2017-03-19 Thread Oliver Brinzing

Hi Heiko,

following code works for me to create a new zip archive and add a file

Regards
Oliver

OPTION EXPLICIT

Sub Test()

Dim oZipArchive as Variant
Dim aArg As New com.sun.star.beans.NamedValue
Dim SURL as String
Dim sFile as String

sURL = ConvertToURL("D:\TEMP\")
oZipArchive = createUnoService("com.sun.star.packages.Package")

aArg.Name = "PackageFormat"
aArg.Value = True
oZipArchive.initialize(Array(sURL & "test.zip", aArg))

sFile = "test.txt"
Call AddFiletoZipArchive(oZipArchive, sURL, sFile)

End Sub

Sub AddFiletoZipArchive(oZipArchive as Object, ByVal sUrl as String, ByVal 
sFile as String)

On Local Error Goto ErrorHandler

Dim oSimpleFileAccess as Object
Dim oInputStream as Object
Dim oStream as Object
Dim oPosition as Object
Dim mArgs(0) as Variant

mArgs(0) = False

oStream = oZipArchive.createInstanceWithArguments(mArgs())
oSimpleFileAccess = 
CreateUnoService("com.sun.star.ucb.SimpleFileAccess")
oInputStream = oSimpleFileAccess.openFileRead(sURL & sFile)
oStream.setInputStream(oInputStream)

oPosition = oZipArchive.getByHierarchicalName("")
oPosition.insertByName(sFile, oStream)
oZipArchive.commitChanges()
oInputStream.closeInput()

Exit Sub
ErrorHandler:
MsgBox Err() & " - " & Error() & " - Row: " & Erl()
End Sub

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


LO 5.3.2.2: msi silent install: UI_LANGS property seems not to work as expected

2017-04-10 Thread Oliver Brinzing

Hi,

i tried to do a silent msi install, selecting only a few ui languages:

> https://wiki.documentfoundation.org/Deployment_and_Migration
> With LibreOffice 3.5.5 and higher, language selection works as follows.
> msiexec /i Lib_.msi UI_LANGS=en_US,de

msiexec /qb /passive /i LibreOffice_5.3.2_Win_x86.msi /L*V lo_install.log 
INSTALLLOCATION="C:\Program Files (x86)\LibreOffice" ALLUSERS=1 ADDLOCAL=ALL CREATEDESKTOPLINK=0 
REGISTER_NO_MSO_TYPES=1 UI_LANGS=en_US,de ISCHECKFORPRODUCTUPDATES=0 REBOOTYESNO=No QUICKSTART=1 
VC_REDIST=1 
REMOVE=gm_o_Onlineupdate,gm_r_ex_Dictionary_Af,gm_r_ex_Dictionary_An,gm_r_ex_Dictionary_Ar,...


but it seems, UI_LANGS property is ignored - all ui languages ire installed.

any hints?

Regards
Oliver
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: LO 5.3.2.2: msi silent install: UI_LANGS property seems not to work as expected

2017-04-11 Thread Oliver Brinzing

Hi,

> the Parameter ADDLOCAL=ALL overwrite the other parameter

yes, this seems to be true, so I decided to add all features and remove the
unnecessary dictionaries and language packs:

msiexec /qb /passive /i %product%.msi /L*V lo_install.log INSTALLLOCATION="C:\Program Files 
(x86)\LibreOffice"
ALLUSERS=1 ADDLOCAL=ALL CREATEDESKTOPLINK=0 REGISTER_NO_MSO_TYPES=1 ISCHECKFORPRODUCTUPDATES=0 
REBOOTYESNO=No QUICKSTART=1 VC_REDIST=1

REMOVE=gm_o_Onlineupdate,gm_o_Extensions_MEDIAWIKI,gm_r_ex_Dictionary_Af,[...],
gm_Langpack_r_ar,gm_Langpack_r_as,gm_Langpack_r_ast,gm_Langpack_r_be,[...]

works fine :-)

Best Regards

Oliver
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


building master breaks during CppunitTest_sc_statistical_functions_test with JRE Out of Memory Error

2017-04-16 Thread Oliver Brinzing

Hi,

i noticed a reproducible build break when building lo master 5.4.0.0.alpha0+ 
(32bit)
(Build ID: c2511f27768341e33b452429b6dac38efa039804) on Win10 (build 1703,
64bit, 8GB, vs 2015 sp3). adding log and hs_err_pid.log.

#  Out of Memory Error (allocation.cpp:390), pid=7496, tid=0x1d3c

i finished build with: /opt/lo/bin/make build-nocheck.

Regards
Oliver

Testing 
file:///D:/sources/libo-core/sc/qa/unit/data/functions/statistical/fods/median.fods:
warn:legacy.osl:2292:3048:sc/source/ui/docshell/docsh.cxx:2761: The Modificator 
should not exist
D:/sources/libo-core/sc/qa/unit/functions_test.cxx:37:StatisticalFunctionsTest::testStatisticalFormulasFODS
assertion failed
- Expression: xDocShRef.is()

StatisticalFunctionsTest::testStatisticalFormulasFODS finished in: 270136ms
D:/sources/libo-core/sc/qa/unit/functions_test.cxx(37) : error : Assertion
Test name: StatisticalFunctionsTest::testStatisticalFormulasFODS
assertion failed
- Expression: xDocShRef.is()

Failures !!!
Run: 1   Failure total: 1   Failures: 1   Errors: 0
warn:fwk.desktop:2292:3048:framework/source/services/desktop.cxx:1069: Desktop disposed before 
terminating it
warn:fwk.desktop:2292:3048:framework/source/services/desktop.cxx:191: Desktop not terminated before 
being destructed

warn:unotools.config:2292:3048:unotools/source/config/configmgr.cxx:167: 
ConfigManager not empty

Error: a unit test failed, please do one of:
make CppunitTest_sc_statistical_functions_test CPPUNITTRACE=TRUE # which is a shortcut for the 
following line
make CppunitTest_sc_statistical_functions_test CPPUNITTRACE="'C:/Program Files (x86)/Microsoft 
Visual Studio 14.0/Common7/IDE/devenv.exe' /debu gexe" # for interactive debugging 
in Visual Studio
make CppunitTest_sc_statistical_functions_test CPPUNITTRACE="drmemory -free_max_frames 20" # for 
memory checking (install Dr.Memory first, and  put it to your PATH)


make[1]: *** [D:/sources/libo-core/solenv/gbuild/CppunitTest.mk:110: 
D:/sources/libo-core/workdir/CppunitTest/sc_statistical_functions_test.tes t] Error 1

make: *** [Makefile:267: build] Error 2

#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 233296 bytes for 
Chunk::new
# Possible reasons:
#   The system is out of physical RAM or swap space
#   In 32 bit mode, the process size limit was hit
# Possible solutions:
#   Reduce memory load on the system
#   Increase physical memory or swap space
#   Check if swap backing store is full
#   Use 64 bit Java on a 64 bit OS
#   Decrease Java heap size (-Xmx/-Xms)
#   Decrease number of Java threads
#   Decrease Java thread stack sizes (-Xss)
#   Set larger code cache with -XX:ReservedCodeCacheSize=
# This output file may be truncated or incomplete.
#
#  Out of Memory Error (allocation.cpp:390), pid=7496, tid=0x1d3c
#
# JRE version: Java(TM) SE Runtime Environment (8.0_121-b13) (build 
1.8.0_121-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.121-b13 mixed mode 
windows-amd64 compressed oops)
# Failed to write core dump. Minidumps are not enabled by default on client 
versions of Windows
#

---  T H R E A D  ---

Current thread (0x1742b800):  JavaThread "C2 CompilerThread1" daemon [_thread_in_native, 
id=7484, stack(0x18f5,0x1905)]


Stack: [0x18f5,0x1905]
[error occurred during error reporting (printing stack bounds), id 0xc005]

Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)


Current CompileTask:
C2:832  465  s4   sun.misc.URLClassPath::getNextLoader (88 bytes)


---  P R O C E S S  ---

Java Threads: ( => current thread )
  0x18b78800 JavaThread "Service Thread" daemon [_thread_blocked, id=9072, 
stack(0x1915,0x1925)]
  0x18b73800 JavaThread "C1 CompilerThread2" daemon [_thread_blocked, id=1164, 
stack(0x1905,0x1915)]
=>0x1742b800 JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=7484, 
stack(0x18f5,0x1905)]
  0x173f3000 JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=7468, 
stack(0x18a5,0x18b5)]
  0x173f1800 JavaThread "Attach Listener" daemon [_thread_blocked, id=13008, 
stack(0x1895,0x18a5)]
  0x173f0800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=9824, 
stack(0x1885,0x1895)]
  0x0277d800 JavaThread "Finalizer" daemon [_thread_blocked, id=12908, 
stack(0x1863,0x1873)]
  0x0277c800 JavaThread "Reference Handler" daemon [_thread_blocked, id=8592, 
stack(0x1853,0x1863)]
  0x0268f000 JavaThread "main" [_thread_in_vm, id=1556, 
stack(0x0278,0x0288)]


Other Threads:
  

Re: configure/disable crashreporter ?

2017-04-27 Thread Oliver Brinzing

Hi Thorsten

>Yep, that is currently hard-coded to

thanks for checking, i added an enhancement:

add an option to configure crashreporter
https://bugs.documentfoundation.org/show_bug.cgi?id=107471

Regards
Oliver

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


configure/disable crashreporter ?

2017-04-25 Thread Oliver Brinzing

Hi,

in our enterprise environment client computers are not connected to the 
internet.
so we started to remove all internet related elements, e.g. "MoreDictionaries" 
via
"org.openoffice.Office.Commands/Execute/Disable" or REMOVE=gm_o_Onlineupdate
from msi install.

but i cannot find a setting to disable the crashreport service.
relevant source code seems to be:

app.cxx:
#if HAVE_FEATURE_BREAKPAD
void handleCrashReport()
{
static const char SERVICENAME_CRASHREPORT[] = 
"com.sun.star.comp.svx.CrashReportUI";

css::uno::Reference< css::uno::XComponentContext > xContext = 
::comphelper::getProcessComponentContext();


Reference< css::frame::XSynchronousDispatch > xRecoveryUI(

xContext->getServiceManager()->createInstanceWithContext(SERVICENAME_CRASHREPORT,
 xContext),
css::uno::UNO_QUERY_THROW);

Reference< css::util::XURLTransformer > xURLParser =

css::util::URLTransformer::create(::comphelper::getProcessComponentContext());

css::util::URL aURL;
css::uno::Any aRet = xRecoveryUI->dispatchWithReturnValue(aURL, css::uno::Sequence< 
css::beans::PropertyValue >());

bool bRet = false;
aRet >>= bRet;
}

Any hints how to disable it?
or os it possible to install a local custom webservice?
ihttps://mmohrhard.wordpress.com/2016/06/19/crash-reporting-for-libreoffice/

Regards
Oliver
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: How to check Uno objects types with Basic macro ?

2017-12-21 Thread Oliver Brinzing

Hi Patric,


I'm using basic macros with LibreOffice 5.4.2.2. I would like to check that > a 
basic Object is a document Section. I find out  XTypeProvider interface

you can use something like this:

Sub Main
If hasUnoInterfaces(ThisComponent, 
"com.sun.star.sheet.XSpreadsheetDocument") Then
MsgBox "Spreadsheet"
EndIf
End Sub

> By the way, do you know a good book/PDF to download about UNO interface
> and/or IDL language ?

have a look at Andrew Pitonyak's "OpenOffice.org Macros Explained" book
http://www.pitonyak.org/book/

Regards
Oliver
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Error on First Run in Windows: Solar Mutex not owned

2018-08-12 Thread Oliver Brinzing

Hi,

with a recent build (win10 x64 Version: 6.2.0.0.alpha0+ (x64)
Build ID: d19482e191b8839f3b552e3b6e5e91ead70d565f)
i get several errors at first start (if the user profile is *empty*)

i noticed:
the folder " 'instdir/user/extensions" seems to cause the problem.
lo will start without errors if the folder exists.

Regards
Oliver

---
Microsoft Visual C++ Runtime Library
---
Assertion failed!
Program: D:\sources\libo-core\instdir\program\vcllo.dll
File: D:/sources/libo-core/vcl/win/app/salinst.cxx
Line: 647
Expression: pTimer != nullptr

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts
(Press Retry to debug the application - JIT must be enabled)


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


java service with get/set methods will fail with ""illegal object given!"

2018-07-09 Thread Oliver Brinzing

Hi,

i have a java service which is called from basic macro as seen below.
it works with aoo415, but will fail with lo 5.4.7.2:

module org {
module test {
interface XMeta {
interface com::sun::star::lang::XServiceInfo;
boolean initialize([in] 
com::sun::star::lang::XComponent xComponent);

// getter() without parameter will fail
string getName();   
// not working
// setter() returning void will fail
void setName([in] string sAutor);   // not 
working

string getVersion();// not 
working
boolean setVersion([in] string sVersion);   // works
};
};

module org {
module test {
service Meta : XMeta;
};
};

calling from basic:

oHandler = CreateUnoService("org.test.Meta")
oHandler.initialize(ThisComponent)

' will fail with a RuntimeExecption: "illegal object given!"
' [jni_uno bridge error] UNO calling Java method queryInterface: 
java.lang.NoSuchMethodError: getName
' java stack trace: java.lang.NoSuchMethodError: getName

it seem's the get/set Methods are automatically mapped to properties?

any hints what could be wrong?

Regards
Oliver
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: java service with get/set methods will fail with ""illegal object given!"

2018-07-13 Thread Oliver Brinzing

Hi,

> Can you submit a bug for this at ?

at the moment i can't provide a simple example.
noticed, the problem seems to occur only in a special environment.

Regards
Oliver

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


LO 546 x64 - SDK Example DocumentLoader.cxx crashes with Execption in mscx_uno.dll

2018-04-23 Thread Oliver Brinzing

Hi,

are there any known problems with the DocumentLoader Example from
https://api.libreoffice.org/examples/cpp/DocumentLoader and LO x64?

i compiled with vs2015 and was able to execute successful with LO 546 x86.

compiled with x64 SDK (/D "WIN32" /D "WNT" /D "CPPU_ENV=mscx" and linked with: 
/MACHINE:X64)
it connect to a running LO 546 x64 office in listening mode, but will crash 
with an exception at:

Reference < XDesktop2 > xComponentLoader = Desktop::create(xComponentContext);

  Ausnahme ausgelöst bei 0x7FFFED91EA70 (mscx_uno.dll) in 
DocumentLoader.exe:
  0xC005: Zugriffsverletzung beim Lesen an Position 0x0008.

seems to occur in "Reference.hxx":

inline XInterface * BaseReference::iquery(
XInterface * pInterface, const Type & rType )
{
if (pInterface)
{
Any aRet( pInterface->queryInterface( rType ) );
 ->  Exception  if (typelib_TypeClass_INTERFACE == aRet.pType->eTypeClass)
{
XInterface * pRet = static_cast< XInterface * >( aRet.pReserved );
aRet.pReserved = NULL;
return pRet;
}
}
return NULL;
}

Regards
Oliver
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


debug build breaks in sw/source/filter/html/svxcss1.cxx(3166): error C2065: "CSS1PropEntryCompare"

2018-10-20 Thread Oliver Brinzing

Hi,

i have a build break building master: 190a1394c2dd2aa338559c99a23ec3c62d29a2eb.

[...]
[CXX] sw/source/filter/html/wrthtml.cxx
[CXX] sw/source/filter/writer/writer.cxx
D:/sources/libo-core/sw/source/filter/html/svxcss1.cxx(3166): error C2065: 
"CSS1PropEntryCompare":
nicht deklarierter Bezeichner
make[1]: *** [D:/sources/libo-core/solenv/gbuild/LinkTarget.mk:291: 
D:/sources/libo-core/workdir/CxxObject/sw/source/filter/html/svxcss1.o] Error 2

make[1]: *** Waiting for unfinished jobs
make: *** [Makefile:286: build] Error 2

line 3166 assertion fails:
assert( std::is_sorted( std::begin(aCSS1PropFnTab), std::end(aCSS1PropFnTab), 
CSS1PropEntryCompare ) );

i build with "--enable-debug", but do not use "--enable-dbgutil"

code has changed a few hours ago
https://gerrit.libreoffice.org/gitweb?p=core.git;a=commitdiff;h=4ba5b003b594f9eb6c9b185208bdb72aef8273d0

Regards
Oliver

--

#ifdef DBG_UTIL
static bool CSS1PropEntryCompare( const CSS1PropEntry , const CSS1PropEntry 
)
{
return strcmp(lhs.pName, rhs.pName) < 0;
}
#endif

void SvxCSS1Parser::ParseProperty( const OUString& rProperty,
   const CSS1Expression *pExpr )
{
OSL_ENSURE( pItemSet, "DeclarationParsed() without ItemSet" );

static bool bSortedPropFns = false;

if( !bSortedPropFns )
{
assert( std::is_sorted( std::begin(aCSS1PropFnTab), 
std::end(aCSS1PropFnTab),
CSS1PropEntryCompare ) );
bSortedPropFns = true;
}

auto it = std::lower_bound( std::begin(aCSS1PropFnTab), 
std::end(aCSS1PropFnTab), rProperty,
CSS1PropEntryFindCompare );
if( it != std::end(aCSS1PropFnTab) && 
!CSS1PropEntryFindCompare(*it,rProperty)  )
{
it->pFunc( pExpr, *pItemSet, *pPropInfo, *this );
}
}
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Unittest fail because of 125% screen resolution on Windows 10

2018-10-06 Thread Oliver Brinzing

Hi Regina,

> if I set my PC to 100% screen resolution, the unit tests work. If I set my PC 
to 125%, unit tests
> fail. 125% results in 120dpi, that is below the threshold for scaling.
if have win10 with 125% (120DPI / 1920x1080) and can build lo master without 
build breaks:

/cygdrive/d/sources/libo-core/autogen.sh \
--with-external-tar=/cygdrive/d/sources/lo-externalsrc \
--with-junit=/cygdrive/d/sources/junit-4.10.jar \
--with-ant-home=/cygdrive/d/sources/apache-ant-1.9.5 \
--with-jdk-home=/cygdrive/d/Programme/Java/jdk1.8.0x64 \
--enable-pch --disable-ccache --enable-debug --enable-64-bit

   /opt/lo/bin/make gb_COLOR=1 gb_TITLES=1 2>&1 | tee build.log

Do you run unittests after building?

Regards
Oliver
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Windows build failure - C1076 / C1060

2018-12-15 Thread Oliver Brinzing

Hi,

trying to build master today on windows (vs 2017 15.9.3) breaks with:

[CXX] sc/source/ui/view/reffact.cxx
[CXX] sc/source/ui/view/scextopt.cxx
[CXX] sc/source/ui/view/select.cxx
[CXX] sc/source/ui/view/selectionstate.cxx
[CXX] sc/source/ui/view/spelldialog.cxx
[CXX] sc/source/ui/view/spelleng.cxx
[CXX] sc/source/ui/view/spellcheckcontext.cxx
[CXX] sc/source/ui/view/tabcont.cxx
[CXX] sc/source/ui/view/tabsplit.cxx
[CXX] sc/source/ui/view/tabview.cxx
[CXX] sc/source/ui/view/tabview2.cxx
[CXX] sc/source/ui/view/tabview3.cxx
[CXX] sc/source/ui/view/tabview4.cxx
[CXX] sc/source/ui/view/tabview5.cxx
gawk: D:/sources/libo-core/solenv/gbuild/platform/filter-showIncludes.awk:45: (FILENAME=- FNR=2) 
Warnung: Es wurden unbekannte Multibyte-Daten gefunden. Ihre Daten entsprechen neventuell nicht der 
gesetzten Locale

c1xx: error C3859: Fehler beim Erstellen des virtuellen Speichers f▒r PCH.
c1xx: note: Das System hat den Code 1455 zur▒ckgegeben: Die Auslagerungsdatei ist zu klein, um 
diesen Vorgang durchzuf▒hren.


c1xx: note: Weitere Informationen finden Sie unter https://aka.ms/pch-help.
c1xx: fatal error C1076: Compilerlimit: Interne Heapgrenze erreicht.
make[1]: *** [D:/sources/libo-core/solenv/gbuild/LinkTarget.mk:293: 
D:/sources/libo-core/workdir/CxxObject/sc/source/ui/view/tabview4.o] Error 2

make[1]: *** Waiting for unfinished jobs
make: *** [Makefile:283: build] Error 2

tried again and got:

[PKG] postprocess_images
[DEP] LNK:Library/vcllo.dll
[LNK] Library/vcllo.dll
[CXX] sc/source/ui/view/tabview4.cxx
[CXX] sc/source/ui/view/tabview5.cxx
[CXX] sc/source/ui/view/tabvwsh.cxx
[CXX] sc/source/ui/view/tabvwsh2.cxx
[CXX] sc/source/ui/view/tabvwsh3.cxx
[CXX] sc/source/ui/view/tabvwsh4.cxx
[CXX] sc/source/ui/view/tabvwsh5.cxx
[CXX] sc/source/ui/view/tabvwsh8.cxx
[CXX] sc/source/ui/view/tabvwsh9.cxx
   Bibliothek "D:/sources/libo-core/workdir/LinkTarget/Library/ivcl.lib" und Objekt 
"D:/sources/libo-core/workdir/LinkTarget/Library/ivcl.exp" werden erstellt.

[CXX] sc/source/ui/view/tabvwsha.cxx
[CXX] sc/source/ui/view/tabvwshb.cxx
[CXX] sc/source/ui/view/tabvwshc.cxx
[CXX] sc/source/ui/view/tabvwshd.cxx
[CXX] sc/source/ui/view/tabvwshe.cxx
[CXX] sc/source/ui/view/tabvwshf.cxx
[CXX] sc/source/ui/view/tabvwshg.cxx
[CXX] sc/source/ui/view/tabvwshh.cxx
[CXX] sc/source/ui/view/viewdata.cxx
[CXX] sc/source/ui/view/viewfun2.cxx
[CXX] sc/source/ui/view/viewfun3.cxx
[CXX] sc/source/ui/view/viewfun4.cxx
[CXX] sc/source/ui/view/viewfun5.cxx
[CXX] sc/source/ui/view/viewfun6.cxx
gawk: D:/sources/libo-core/solenv/gbuild/platform/filter-showIncludes.awk:45: (FILENAME=- FNR=75) 
Warnung: Es wurden unbekannte Multibyte-Daten gefunden. Ihre Daten entsprechen neventuell nicht der 
gesetzten Locale
C:\PROGRA~2\MIB055~1\2017\COMMUN~1\VC\Tools\MSVC\14.16.27023\Include\memory(2193): fatal error 
C1060: Kein verf▒gbarer Speicher mehr im Heap
gawk: D:/sources/libo-core/solenv/gbuild/platform/filter-showIncludes.awk:45: (FILENAME=- FNR=99) 
Warnung: Es wurden unbekannte Multibyte-Daten gefunden. Ihre Daten entsprechen neventuell nicht der 
gesetzten Locale
D:\sources\libo-core\sc\inc\subtotalparam.hxx(39): fatal error C1060: Kein verf▒gbarer Speicher mehr 
im Heap
make[1]: *** [D:/sources/libo-core/solenv/gbuild/LinkTarget.mk:293: 
D:/sources/libo-core/workdir/CxxObject/sc/source/ui/view/viewfun4.o] Error 2

make[1]: *** Waiting for unfinished jobs
make[1]: *** [D:/sources/libo-core/solenv/gbuild/LinkTarget.mk:293: 
D:/sources/libo-core/workdir/CxxObject/sc/source/ui/view/viewfun2.o] Error 2

make: *** [Makefile:283: build] Error 2


last working build was:

Version: 6.3.0.0.alpha0+ (x64)
Build ID: 0a772eeefdbc42f5c17c8c0e39476b95cae237c2
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win;
Locale: de-DE (de_DE); UI-Language: en-US
Calc: threaded


Regards
Oliver

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Windows build failure - C1076 / C1060

2018-12-15 Thread Oliver Brinzing

seems to be resolved, was able to build:

Version: 6.3.0.0.alpha0+ (x64)
Build ID: 21b81b07b01e4482a80ced8dcdf48c480031c3c8
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win;
Locale: de-DE (de_DE); UI-Language: en-US
Calc: threaded


Am 15.12.2018 um 11:18 schrieb Oliver Brinzing:

Hi,

trying to build master today on windows (vs 2017 15.9.3) breaks with:

[CXX] sc/source/ui/view/reffact.cxx
[CXX] sc/source/ui/view/scextopt.cxx
[CXX] sc/source/ui/view/select.cxx
[CXX] sc/source/ui/view/selectionstate.cxx
[CXX] sc/source/ui/view/spelldialog.cxx
[CXX] sc/source/ui/view/spelleng.cxx
[CXX] sc/source/ui/view/spellcheckcontext.cxx
[CXX] sc/source/ui/view/tabcont.cxx
[CXX] sc/source/ui/view/tabsplit.cxx
[CXX] sc/source/ui/view/tabview.cxx
[CXX] sc/source/ui/view/tabview2.cxx
[CXX] sc/source/ui/view/tabview3.cxx
[CXX] sc/source/ui/view/tabview4.cxx
[CXX] sc/source/ui/view/tabview5.cxx
gawk: D:/sources/libo-core/solenv/gbuild/platform/filter-showIncludes.awk:45: (FILENAME=- FNR=2) 
Warnung: Es wurden unbekannte Multibyte-Daten gefunden. Ihre Daten entsprechen neventuell nicht der 
gesetzten Locale

c1xx: error C3859: Fehler beim Erstellen des virtuellen Speichers f▒r PCH.
c1xx: note: Das System hat den Code 1455 zur▒ckgegeben: Die Auslagerungsdatei ist zu klein, um 
diesen Vorgang durchzuf▒hren.


c1xx: note: Weitere Informationen finden Sie unter https://aka.ms/pch-help.
c1xx: fatal error C1076: Compilerlimit: Interne Heapgrenze erreicht.
make[1]: *** [D:/sources/libo-core/solenv/gbuild/LinkTarget.mk:293: 
D:/sources/libo-core/workdir/CxxObject/sc/source/ui/view/tabview4.o] Error 2

make[1]: *** Waiting for unfinished jobs
make: *** [Makefile:283: build] Error 2

tried again and got:

[PKG] postprocess_images
[DEP] LNK:Library/vcllo.dll
[LNK] Library/vcllo.dll
[CXX] sc/source/ui/view/tabview4.cxx
[CXX] sc/source/ui/view/tabview5.cxx
[CXX] sc/source/ui/view/tabvwsh.cxx
[CXX] sc/source/ui/view/tabvwsh2.cxx
[CXX] sc/source/ui/view/tabvwsh3.cxx
[CXX] sc/source/ui/view/tabvwsh4.cxx
[CXX] sc/source/ui/view/tabvwsh5.cxx
[CXX] sc/source/ui/view/tabvwsh8.cxx
[CXX] sc/source/ui/view/tabvwsh9.cxx
    Bibliothek "D:/sources/libo-core/workdir/LinkTarget/Library/ivcl.lib" und Objekt 
"D:/sources/libo-core/workdir/LinkTarget/Library/ivcl.exp" werden erstellt.

[CXX] sc/source/ui/view/tabvwsha.cxx
[CXX] sc/source/ui/view/tabvwshb.cxx
[CXX] sc/source/ui/view/tabvwshc.cxx
[CXX] sc/source/ui/view/tabvwshd.cxx
[CXX] sc/source/ui/view/tabvwshe.cxx
[CXX] sc/source/ui/view/tabvwshf.cxx
[CXX] sc/source/ui/view/tabvwshg.cxx
[CXX] sc/source/ui/view/tabvwshh.cxx
[CXX] sc/source/ui/view/viewdata.cxx
[CXX] sc/source/ui/view/viewfun2.cxx
[CXX] sc/source/ui/view/viewfun3.cxx
[CXX] sc/source/ui/view/viewfun4.cxx
[CXX] sc/source/ui/view/viewfun5.cxx
[CXX] sc/source/ui/view/viewfun6.cxx
gawk: D:/sources/libo-core/solenv/gbuild/platform/filter-showIncludes.awk:45: (FILENAME=- FNR=75) 
Warnung: Es wurden unbekannte Multibyte-Daten gefunden. Ihre Daten entsprechen neventuell nicht der 
gesetzten Locale
C:\PROGRA~2\MIB055~1\2017\COMMUN~1\VC\Tools\MSVC\14.16.27023\Include\memory(2193): fatal error 
C1060: Kein verf▒gbarer Speicher mehr im Heap
gawk: D:/sources/libo-core/solenv/gbuild/platform/filter-showIncludes.awk:45: (FILENAME=- FNR=99) 
Warnung: Es wurden unbekannte Multibyte-Daten gefunden. Ihre Daten entsprechen neventuell nicht der 
gesetzten Locale
D:\sources\libo-core\sc\inc\subtotalparam.hxx(39): fatal error C1060: Kein verf▒gbarer Speicher mehr 
im Heap
make[1]: *** [D:/sources/libo-core/solenv/gbuild/LinkTarget.mk:293: 
D:/sources/libo-core/workdir/CxxObject/sc/source/ui/view/viewfun4.o] Error 2

make[1]: *** Waiting for unfinished jobs
make[1]: *** [D:/sources/libo-core/solenv/gbuild/LinkTarget.mk:293: 
D:/sources/libo-core/workdir/CxxObject/sc/source/ui/view/viewfun2.o] Error 2

make: *** [Makefile:283: build] Error 2


last working build was:

Version: 6.3.0.0.alpha0+ (x64)
Build ID: 0a772eeefdbc42f5c17c8c0e39476b95cae237c2
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win;
Locale: de-DE (de_DE); UI-Language: en-US
Calc: threaded


Regards
Oliver

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: minutes of ESC call ...

2019-04-04 Thread Oliver Brinzing

Hi,


 + 6.1.6 rc1: April 9 next week >  + Most pressing bugs:

Could someone please take a look at issue

crash: use of "com.sun.star.ui.dialogs.FolderPicker" service from java seems to 
cause crashes
https://bugs.documentfoundation.org/show_bug.cgi?id=123502

it affects windows 7/10 and is reproducible with LO 6.1.5.2 but not with LO 
6.1.4.2.

Regards
Oliver
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: Calc recalculate bugs

2019-03-22 Thread Oliver Brinzing

Hi Eike, Hi Dennis,

thanks a lot for start fixing these bugs :-)

and there is at least another one:
https://bugs.documentfoundation.org/show_bug.cgi?id=120270

btw: are there any plans to backport these fixes to the 6.1 branch?

Regards
Oliver

Am 22.03.2019 um 17:36 schrieb Dennis Francis:

Hi Eike,

On Fri, Mar 22, 2019 at 7:06 PM Eike Rathke  wrote:


Hi Dennis,


Yes please, feel free to work on any you come across. In particular

I did not tackle tdf#120660 yet. I also created
https://bugs.documentfoundation.org/show_bug.cgi?id=124266
for a repaint failure that makes a cell appear as if it was not
recalculated but in fact it is, just not repainted.



Thanks ! I'll try to fix tdf#120660 now and will look at the repaint issue
later.



I added unit tests for the work I did so far and cherry-picked/squashed
the current fixes into https://gerrit.libreoffice.org/69554 for 6-2,
would be nice if you could review that it suits the needs and doesn't
break anything.. I decided to also cherry-pick the unit tests with
https://gerrit.libreoffice.org/69555 so we'll have those in 6-2 as well.
The actual bugs mentioned (plus some more I came across during
work) are fixed now.



Sure, I will go through both.

Thanks,
Dennis


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice



___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

windows master build stops at: [MOD] scp2

2019-07-11 Thread Oliver Brinzing

Hi,

are there any known building issues at the moment?
my windows x64 master build with VS 2017 15.9.12  stops reproducible at: [MOD] 
scp2
there is no error message...
a full build after clean did not help.

Regards
Oliver

cd /cygdrive/d/sources/libo-core
./g checkout master
./g fetch --tags
./g pull -r
/opt/lo/bin/make build-nocheck gb_COLOR=1 gb_TITLES=1 2>&1 | tee build.log

/cygdrive/d/sources/libo-core/autogen.sh \
--with-external-tar=/cygdrive/d/sources/lo-externalsrc \
--with-junit=/cygdrive/d/sources/junit-4.10.jar \
--with-ant-home=/cygdrive/d/sources/apache-ant-1.9.5 \
--with-jdk-home=/cygdrive/d/Programme/Java/jdk1.8.0x64 \
--enable-pch --disable-ccache --enable-debug --enable-64-bit 
--disable-odk

[...]

[PRL] CustomTarget/postprocess/images/images_sifr_dark.zip
[PRL] CustomTarget/postprocess/images/images_sifr_svg.zip
[PRL] CustomTarget/postprocess/images/images_tango.zip
[DEP] LNK:Library/epoxy.dll
[LNK] Library/epoxy.dll
[BIN] libetonyek
[CUS] postprocess/registry
[RDB] pyuno
   Bibliothek "D:/sources/libo-core/workdir/LinkTarget/Library/iepoxy.lib" und 
Objekt
"D:/sources/libo-core/workdir/LinkTarget/Library/iepoxy.exp" werden erstellt.
[IMO] scp2/xsltfilter
[PKG] postprocess_registry
[MOD] libetonyek
[LOC] postprocess
[INS] setup_osl
[LOC] libreoffice
[BIN] epoxy
[BIN] pyuno
[LOC] top level modules: libreoffice
[MOD] epoxy
[MOD] pyuno
[CUS] writerfilter/source
[CUS] postprocess/images
[PKG] postprocess_images
[BIN] scp2
[MOD] scp2

last build dll's are:

-epoxy.dll
-etonyek.dll
-pythonloaderlo.dll
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: windows master build stops at: [MOD] scp2

2019-07-12 Thread Oliver Brinzing

just tried again with a clean build and indeed:
stopped again at:

9 make processes
9 sh processes
1 cl process

[MOD]   scp2
[PRJ] libebook

[PRJ] libebook
-> killed cl.exe
[BIN]libebook
[MOD]  libebook
-> killed cl.exe
-> killed cl.exe

now seems to start with modules nss and firebird


Am 12.07.2019 um 10:50 schrieb Regina Henschel:


Hi,

Oliver Brinzing schrieb am 11-Jul-19 um 20:38:

Hi,

are there any known building issues at the moment?
my windows x64 master build with VS 2017 15.9.12  stops reproducible at: [MOD] 
scp2
there is no error message...
a full build after clean did not help.


It stops for me too. I see 9 make.exe processes in task manager. Usually there 
are only 3 or 4.

Will try a clean build again.

Kind regards
Regina
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: windows master build stops at: [MOD] scp2

2019-07-12 Thread Oliver Brinzing

Hi,


Tentative fix: https://gerrit.libreoffice.org/#/c/75495/
Regression from the recent NSS security update. For whatever reason Jenkins 
passed…


seems to be fixed, a new clean build just finished :-)

Version: 6.4.0.0.alpha0+ (x64)
Build ID: b11ea5e9c37b19f0d60a4075146668954a7bf728
CPU threads: 12; OS: Windows 10.0; UI render: GL; VCL: win;
Locale: de-DE (de_DE); UI-Language: en-US
Calc: CL

https://gerrit.libreoffice.org/plugins/gitiles/core/+log/b11ea5e9c37b19f0d60a4075146668954a7bf728

Best Regards
Oliver
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

configure fails for lo 6.1.6 - Windows SDK... configure: error: Some (all?) Windows SDK files not found

2019-04-21 Thread Oliver Brinzing

Hi,

building LO master/6.2.3 works fine.

now i tried to build LO 6.1.6 but failed during configure:

> checking for Windows SDK... configure: error: Some (all?) Windows SDK files 
not found,
> please check if all needed parts of the  Windows SDK are installed.
> Error running configure at /cygdrive/d/sources/libo-61/autogen.sh line 289.

Do i need to install a different Windows SDK ?

Regards
Oliver

--

$ ./g checkout libreoffice-6-1-6
Checke Dateien aus: 100% (24279/24279), Fertig.
M   icon-themes/elementary/cmd/sc_grafluminance.png
Zu Branch 'libreoffice-6-1-6' gewechselt
Ihr Branch ist auf dem selben Stand wie 'origin/libreoffice-6-1-6'.

/cygdrive/d/sources/libo-61
$ /cygdrive/d/sources/libo-61/autogen.sh   
--with-external-tar=/cygdrive/d/sources/lo-61-externalsrc
  --with-junit=/cygdrive/d/sources/junit-4.10.jar
--with-ant-home=/cygdrive/d/sources/apache-ant-1.9.5
--with-jdk-home=/cygdrive/d/Programme/Java/jdk1.8.0x64   --enable-pch 
--disable-ccache
--enable-debug --enable-64-bit
Running ./configure with 
'--with-external-tar=/cygdrive/d/sources/lo-61-externalsrc
--with-junit=/cygdrive/d/sources/junit-4.10.jar 
--with-ant-home=/cygdrive/d/sources/apache-ant-1.9.5
--with-jdk-home=/cygdrive/d/Programme/Java/jdk1.8.0x64 --enable-pch 
--disable-ccache --enable-debug
--enable-64-bit --srcdir=/cygdrive/d/sources/libo-61 
--enable-option-checking=fatal'

*
*   Running LibreOffice build configuration.
*


checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking for product name... LibreOfficeDev
checking for package version... 6.1.6.1.0+
checking for product version... 6.1
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for grep... (cached) /usr/bin/grep
checking for GNU Make... C:/cygwin/opt/lo/bin/make
configure: Using a native Win32 GNU Make version.
checking for explicit COMSPEC... found: C:\Windows\system32\cmd.exe
checking for sed... /usr/bin/sed
checking whether to use link-time optimization... no
checking for explicit AFLAGS... no
checking for explicit CFLAGS... no
checking for explicit CXXFLAGS... no
checking for explicit OBJCFLAGS... no
checking for explicit OBJCXXFLAGS... no
checking for explicit LDFLAGS... no
checking whether build target is Release Build... no
checking whether to sign windows build... no
checking for gawk... gawk
checking for gawk... /usr/bin/gawk
checking for bash... /bin/sh
checking for GNU or BSD tar... tar
checking for tar's option to strip components... --strip-components
checking how to build and package galleries... internal src images for desktop
checking whether to build with Java support... yes
checking whether to treat the installation as read-only... no
checking whether to build a 64-bit LibreOffice... yes
checking Visual C++... found: C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Community\
checking for short pathname of VC product directory... 
C:/PROGRA~2/MICROS~1/2017/COMMUN~1/VC
checking for UCRT location... found
checking for MSBuild.exe location for: 15.0...
C:/PROGRA~2/MICROS~1/2017/COMMUN~1/VC/../MSBuild/15.0/Bin/amd64
checking cl.exe... found Visual C++ 2017
(C:/PROGRA~2/MICROS~1/2017/COMMUN~1/VC/Tools/MSVC/1416~1.270/bin/HostX64/x64/cl.exe)
checking whether the compiler is actually Clang... no
checking the dependency generation prefix (cl.exe -showIncludes)... "Hinweis: 
Einlesen der Datei:"
checking whether to build with additional debug utilities... no
checking whether to do a debug build... yes
checking whether to use selective debuginfo... no, for all
checking whether to generate debug information... yes
checking whether to compile with optimization flags... no
checking which package format to use... none
checking syslog.h usability... no
checking syslog.h presence... no
checking for syslog.h... no
checking whether to turn warnings to errors... no
checking whether to have assert() failures abort even without --enable-debug... 
no
checking whether to enable CUPS support... no
checking whether we want to fetch tarballs... yes, if we use them
checking whether to build help... no
checking whether to include MySpell dictionaries... no
checking whether to use dicts from external paths... no
checking whether to enable pch feature... yes
checking the GNU Make version... C:/cygwin/opt/lo/bin/make 4.2.1
checking whether GNU Make supports the 'file' function... yes
checking for --hash-style gcc linker support... no
checking for perl... /usr/bin/perl
checking the Perl version... Perl 5
checking for required Perl modules... all modules found
checking for Windows SDK... configure: error: Some (all?) Windows SDK files not 
found, please check
if all needed parts of
the  Windows SDK are installed.
Error running configure at /cygdrive/d/sources/libo-61/autogen.sh line 289.


Re: configure fails for lo 6.1.6 - Windows SDK... configure: error: Some (all?) Windows SDK files not found

2019-04-21 Thread Oliver Brinzing

Hi,

i was able to solve the configure problem by patching the lo 6.1.6 
"configure.ac":

detect: NET Framework 4.7.2
  line 5156: for ver in 4.7.2 4.7.1 4.7 4.6.2 4.6.1; do
  line 5190: for ver in 4.7.2 4.7.1 4.7 4.6.2 4.6.1 4.6; do

detect Windows SDK 10.0.17763
  line 5251  elif test "$regvalue" = "10.0.17134"; then
  line 5252   winsdklibsubdir="10.0.17134"
  line 5253 elif test "$regvalue" = "10.0.17763"; then
  line 5254   winsdklibsubdir="$regvalue.0"

Regards
Oliver

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: configure fails for lo 6.1.6 - Windows SDK... configure: error: Some (all?) Windows SDK files not found

2019-04-21 Thread Oliver Brinzing

Hi,


Which Windows SDK version did you use?


installed Windows SDKs are:

10.0.17134.0
10.0.17763.0

btw: registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft/Microsoft 
SDKs\Windows" is not available

Regards
Oliver

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Kits]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Kits\Installed Roots]
"{B27BC1FC-8474-9E32-73C2-6F7CD58AD1E3}"="Application Verifier x64 External Package 
x64"
"KitsRoot10"="C:\\Program Files (x86)\\Windows Kits\\10\\"
"AppVerifier64BitAutomationRoot"="C:\\Program Files\\Application Verifier\\"
"{398B9866-66DD-753F-761B-E74A270435CC}"="Windows App Certification Kit Native 
Components x64"
"{3B588BBE-EB02-D1B2-5CD5-7DB85AD8A3E7}"="Universal CRT Tools x64 x64"
"{90B0B603-7728-F869-3927-73232379BA5B}"="Windows SDK DirectX x64 Remote x64"
"{62CB44B2-8007-DBB2-1CBA-5CB7309EB3C3}"="Application Verifier x64 External Package 
x64"
"{45885E89-108E-2590-C1D5-D3532C2435F7}"="Windows SDK for Windows Store Apps DirectX 
x64 Remote x64"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Kits\Installed 
Roots\10.0.17134.0]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Kits\Installed 
Roots\10.0.17134.0\Installed Options]
"OptionId.AvrfExternal"=dword:0001
"OptionId.UWPCPP"=dword:0001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Kits\Installed 
Roots\10.0.17763.0]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Kits\Installed 
Roots\10.0.17763.0\Installed Options]
"OptionId.AvrfExternal"=dword:0001
"OptionId.WindowsSoftwareLogoToolkit"=dword:0001
"OptionId.UWPManaged"=dword:0001
"OptionId.UWPCPP"=dword:0001

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: ESC meeting 2019-08-29 minutes

2019-08-29 Thread Oliver Brinzing

Hi,


  + Most pressing bugs:
  Old:
  Fixed:


are there any plans to fix

Bug 121963 - button flashing - mouse wheel zooming breaks ?
https://bugs.documentfoundation.org/show_bug.cgi?id=121963

It's still reproducible with LO 6.3.1.1 and LO master.
at the moment these kind of spreadsheets are not usable at all.


Regards
Oliver
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Re: Signature process in LibreOffice 6.3

2020-02-07 Thread Oliver Brinzing

Hi Steve,

you added a new file into the zip package *after* signing the document.

I *guess* (did not check the source code) LO checks all files inside the zip 
package during opening
and if it finds a changed file or a file which is not listed in 
"documentsignatures.xml" it will
invalidate the signature.

Regards
Oliver
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Perhaps crash in debug build

2020-01-16 Thread Oliver Brinzing

Hi Regina,

>>> Start a Writer document. Insert a control element "push button". While it 
is still selected click
>>> on "Control properties" in the context menu.

seems to be:

Bug 129943 - CRASH: when right click on a form control (Push Button) and select 
"Control Properties..."

Regards
Oliver


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


How to access a form control event via beanshell script?

2020-04-13 Thread Oliver Brinzing

Hi,

is it possible to submit a form control event to a beanshell script located 
inside a document?

with python it should work like this:

def pushMe( event ):
textBoxModel = event.Source.getModel().getParent().TextBox


Regards
Oliver
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: current master windows build break: ninja: build stopped: subcommand failed.

2020-03-26 Thread Oliver Brinzing

Hi

Is there anything I could do to help analyze the problem?
Unfortunately, my knowledge of the build system is limited...

Best Regards
Oliver

Am 25.03.2020 um 12:22 schrieb Luboš Luňák:

On Wednesday 25 of March 2020, Thorsten Behrens wrote:

Luboš Luňák wrote:

  There's no actual error message in this short output.


Possibly the same error:

https://paste.debian.net/1136485/


  No. The original problem is ninja build failing for whatever reason. In your
case python crashes.


Any further diagnostics needed? The above fails consistently on win32.


  Try if reverting https://gerrit.libreoffice.org/c/core/+/90116 helps. If it
does, then according to Noel's comment you have some conflicting python stuff
in your $PATH.



___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: current master windows build break: ninja: build stopped: subcommand failed.

2020-03-26 Thread Oliver Brinzing

Hi

Is there anything I could do to help analyze the problem?
Unfortunately, my knowledge of the build system is limited...

Best Regards
Oliver

Am 25.03.2020 um 12:22 schrieb Luboš Luňák:

On Wednesday 25 of March 2020, Thorsten Behrens wrote:

Luboš Luňák wrote:

  There's no actual error message in this short output.


Possibly the same error:

https://paste.debian.net/1136485/


  No. The original problem is ninja build failing for whatever reason. In your
case python crashes.


Any further diagnostics needed? The above fails consistently on win32.


  Try if reverting https://gerrit.libreoffice.org/c/core/+/90116 helps. If it
does, then according to Noel's comment you have some conflicting python stuff
in your $PATH.



___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: current master windows build break: ninja: build stopped: subcommand failed.

2020-03-29 Thread Oliver Brinzing

Hi,

I just made a new build and noticed that it was working again:

Version: 7.0.0.0.alpha0+ (x64)
Build ID: 179bcf810809efb8ec1b4658e5f30d3a75513315
CPU threads: 12; OS: Windows 10.0 Build 18363; UI render: Skia/Vulkan; VCL: win;
Locale: de-DE (de_DE); UI-Language: en-US
Calc: threaded

Regards
Oliver

Am 27.03.2020 um 10:23 schrieb Thorsten Behrens:

Noel Grandin wrote:

At this point I recommend we simply give up and revert the ninja patch, it
is not worth it.


Seconded. I'm still none the wiser why my win32 build crashes python
here (and don't even see it on manual builds).

Cheers,

-- Thorsten


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice



___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


current master windows build break: sw/source/core/crsr/bookmrk.cxx(721): error C2039: "isMobilePhone" ist kein Member von "comphelper::LibreOfficeKit".

2020-05-10 Thread Oliver Brinzing

Hi,

I tried to build current master but build breaks:

Microsoft Visual Studio Professional 2019 - Version 16.5.4

[...]
[CXX] sw/source/core/crsr/crstrvl1.cxx
[CXX] sw/source/core/crsr/DateFormFieldButton.cxx
[CXX] sw/source/core/crsr/DropDownFormFieldButton.cxx
[CXX] sw/source/core/crsr/findattr.cxx
[CXX] sw/source/core/crsr/findcoll.cxx
[CXX] sw/source/core/crsr/findfmt.cxx
D:/sources/libo-core/sw/source/core/crsr/bookmrk.cxx(721): error C2039: 
"isMobilePhone" ist kein
Member von "comphelper::LibreOfficeKit".
D:\sources\libo-core\include\comphelper/lok.hxx(24): note: Siehe Deklaration von
"comphelper::LibreOfficeKit"
D:/sources/libo-core/sw/source/core/crsr/bookmrk.cxx(721): error C3861: 
"isMobilePhone": Bezeichner
wurde nicht gefunden.
[CXX] sw/source/core/crsr/findtxt.cxx
[CXX] sw/source/core/crsr/FormFieldButton.cxx
[CXX] sw/source/core/crsr/pam.cxx
[CXX] sw/source/core/crsr/paminit.cxx
make[1]: *** [D:/sources/libo-core/solenv/gbuild/LinkTarget.mk:306:
D:/sources/libo-core/workdir/CxxObject/sw/source/core/crsr/bookmrk.o] Error 2
make[1]: *** Waiting for unfinished jobs
make: *** [Makefile:282: build] Error 2


Regards
Oliver
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: current master windows build break: sw/source/core/crsr/bookmrk.cxx(721): error C2039: "isMobilePhone" ist kein Member von "comphelper::LibreOfficeKit".

2020-05-10 Thread Oliver Brinzing

all clear, after another git pull it worked

Am 10.05.2020 um 09:15 schrieb Oliver Brinzing:

Hi,

I tried to build current master but build breaks:

Microsoft Visual Studio Professional 2019 - Version 16.5.4

[...]
[CXX] sw/source/core/crsr/crstrvl1.cxx
[CXX] sw/source/core/crsr/DateFormFieldButton.cxx
[CXX] sw/source/core/crsr/DropDownFormFieldButton.cxx
[CXX] sw/source/core/crsr/findattr.cxx
[CXX] sw/source/core/crsr/findcoll.cxx
[CXX] sw/source/core/crsr/findfmt.cxx
D:/sources/libo-core/sw/source/core/crsr/bookmrk.cxx(721): error C2039: 
"isMobilePhone" ist kein
Member von "comphelper::LibreOfficeKit".
D:\sources\libo-core\include\comphelper/lok.hxx(24): note: Siehe Deklaration von
"comphelper::LibreOfficeKit"
D:/sources/libo-core/sw/source/core/crsr/bookmrk.cxx(721): error C3861: 
"isMobilePhone": Bezeichner
wurde nicht gefunden.
[CXX] sw/source/core/crsr/findtxt.cxx
[CXX] sw/source/core/crsr/FormFieldButton.cxx
[CXX] sw/source/core/crsr/pam.cxx
[CXX] sw/source/core/crsr/paminit.cxx
make[1]: *** [D:/sources/libo-core/solenv/gbuild/LinkTarget.mk:306:
D:/sources/libo-core/workdir/CxxObject/sw/source/core/crsr/bookmrk.o] Error 2
make[1]: *** Waiting for unfinished jobs
make: *** [Makefile:282: build] Error 2


Regards
Oliver
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


current master windows build break: ninja: build stopped: subcommand failed.

2020-03-24 Thread Oliver Brinzing

Hi,

I tried to build current master but build breaks always (even after a clean and 
new configure - see
below) with:

[...]
Hinweis: Einlesen der Datei:   C:\Program Files (x86)\Microsoft Visual
Studio\2019\Professional\VC\Tools\MSVC\14.24.28314\include\vcruntime_startup.h
Hinweis: Einlesen der Datei:  C:\Program Files (x86)\Windows
Kits\10\/include/10.0.18362.0/ucrt\corecrt_wprocess.h
Hinweis: Einlesen der Datei: C:\Program Files (x86)\Windows 
Kits\10\/include/10.0.18362.0/ucrt\math.h
ninja: build stopped: subcommand failed.
make[1]: *** [D:/sources/libo-core/external/nss/ExternalProject_nss.mk:36:
D:/sources/libo-core/workdir/ExternalProject/nss/build] Error 1
make[1]: *** Waiting for unfinished jobs

last working build was:

Version: 7.0.0.0.alpha0+ (x64)
Build ID: 54d3760f7dbd759cc8de6c777c6a2154d2382f16
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win;
Locale: de-DE (de_DE); UI-Language: en-US
Calc: threaded
https://gerrit.libreoffice.org/plugins/gitiles/core/+log/54d3760f7dbd759cc8de6c777c6a2154d2382f16

after installing ninja:

>It's easiest to put it in /opt/lo/bin, where configure will automatically find 
it;you can also use
another location and set the
>NINJA variable.LibreOffice can not and should not use Cygwin's /usr/bin/ninja.
>mkdir -p /opt/lo/bin
>cd /opt/lo/bin
>wget 
https://github.com/ninja-build/ninja/releases/download/v1.10.0/ninja-win.zip
>unzip ninja-win.zip
>chmod +x ninja.exe

configure worked:

/cygdrive/d/sources/libo-core
$ /cygdrive/d/sources/libo-core/autogen.sh \
> --with-external-tar=/cygdrive/d/sources/lo-externalsrc \
> --with-junit=/cygdrive/d/sources/junit-4.10.jar \
> --with-ant-home=/cygdrive/d/sources/apache-ant-1.9.5 \
> --with-jdk-home=/cygdrive/d/Programme/Java/jdk1.8.0x64 \
> --disable-ccache \
> --enable-pch \
> --enable-debug \
> --enable-dbgutil \
> --enable-64-bit \
> --without-fonts \
> --with-visual-studio=2019

Running ./configure with '--with-external-tar=/cygdrive/d/sources/lo-externalsrc
--with-junit=/cygdrive/d/sources/junit-4.10.jar 
--with-ant-home=/cygdrive/d/sources/apache-ant-1.9.5
--with-jdk-home=/cygdrive/d/Programme/Java/jdk1.8.0x64 --disable-ccache 
--enable-pch --enable-debug
--enable-dbgutil --enable-64-bit --without-fonts --with-visual-studio=2019
--srcdir=/cygdrive/d/sources/libo-core --enable-option-checking=fatal'

*
*   Running LibreOffice build configuration.
*


checking build system type... x86_64-pc-cygwin
checking host system type... x86_64-pc-cygwin
checking for product name... LibreOfficeDev
checking for package version... 7.0.0.0.alpha0+
checking for product version... 7.0
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for grep... (cached) /usr/bin/grep
checking for GNU Make... C:/cygwin/opt/lo/bin/make
configure: Using a native Win32 GNU Make version.
checking for explicit COMSPEC... found: C:\WINDOWS\system32\cmd.exe
checking for sed... /usr/bin/sed
checking whether to use link-time optimization... no
checking for explicit AFLAGS... no
checking for explicit CFLAGS... no
checking for explicit CXXFLAGS... no
checking for explicit OBJCFLAGS... no
checking for explicit OBJCXXFLAGS... no
checking for explicit LDFLAGS... no
checking whether build target is Release Build... no
checking whether to sign windows build... no
checking for gawk... gawk
checking for gawk... /usr/bin/gawk
checking for bash... /bin/sh
checking for GNU or BSD tar... tar
checking for tar's option to strip components... --strip-components
checking how to build and package galleries... internal src images for desktop
checking whether to build with Java support... yes
checking whether to treat the installation as read-only... no
checking whether to build a 64-bit LibreOffice... yes
checking Visual C++... C:/PROGRA~2/MICROS~1/2019/PROFES~1/VC
checking for short pathname of VC product directory... 
C:/PROGRA~2/MICROS~1/2019/PROFES~1/VC
checking for UCRT location... found
checking for MSBuild.exe location for: 16.0...
C:/PROGRA~2/MICROS~1/2019/PROFES~1/VC/../MSBuild/Current/Bin/amd64
checking cl.exe... found Visual C++ 2019
(C:/PROGRA~2/MICROS~1/2019/PROFES~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x64/cl.exe)
checking cl.exe is at least Visual Studio 2019 version 16.4... yes
checking for a x86 compiler and libraries for 32-bit binaries required for 
TWAIN support... found
checking whether the compiler is actually Clang... no
checking the dependency generation prefix (cl.exe -showIncludes)... "Hinweis: 
Einlesen der Datei:"
checking whether to build with additional debug utilities... yes
checking whether to do a debug build... yes (dbgutil)
checking whether cl.exe supports -ggnu-pubnames... no
checking whether to generate debug information... yes
checking whether to compile with optimization flags... no
checking which package format 

lo master debug build aborts on OUString NULL check in strtmpl.hxx/newFromStr

2022-08-13 Thread Oliver Brinzing

Hi,

with lo master debug build:

OUString x;
OUString test = ((x==NULL) || (x.getLenght()==0) ) ? OUString("a") : 
OUString("b");

will abort lo:

template 
void newFromStr( IMPL_RTL_STRINGDATA** ppThis,
 const 
STRCODE* pCharStr )
{
#if OSL_DEBUG_LEVEL > 0
//TODO: For now, only abort in non-production debug builds; once all places 
that rely on the
// undocumented newFromStr behavior of treating a null pCharStr like an 
empty string have been
// found and fixed, drop support for that behavior and turn this into a 
general assert:
if (pCharStr == nullptr) {
std::abort();
}
#endif
newFromStr_WithLength(ppThis, pCharStr, pCharStr ? getLength(pCharStr) : 0);
}

how to check if OUString is NULL ?

Regards
Oliver


Re: VS 2022 version 17.9.1 has a bug preventing building cli_ure

2024-03-21 Thread Oliver Brinzing

Am 20.03.2024 um 06:01 schrieb Mike Kaganski:

On 24.02.2024 21:50, Mike Kaganski wrote:

After upgrading my VS v.17.9.0 to v.17.9.1, building cli_ure started to fail 
like this:


LINK : error LNK2034: metadata inconsistent with COFF symbol table: symbol
'?rtl_ustr_asciil_reverseEquals_WithLength@@$$J0YAEPEB_SPEBDJ@Z' (06000579) has 
inconsistent
metadata with (0A000A1A) in climaker_emit.o
climaker_emit.o : error LNK2020: unresolved token (0A000A1A) "extern "C" 
unsigned char __cdecl
rtl_ustr_asciil_reverseEquals_WithLength(char16_t const *,char const *,long)"
(?rtl_ustr_asciil_reverseEquals_WithLength@@$$J0YAEPEB_SPEBDJ@Z)
C:\lo\build\instdir\sdk\bin\climaker.exe : fatal error LNK1120: 1 unresolved 
externals


I have filed a bug to Microsoft:

https://developercommunity.visualstudio.com/t/LINK-:-error-LNK2034:-metadata-inconsis/10599604?port=1025=fdff4046-995a-4c06-8c64-1c14b9752c8f


This problem is fixed in VS 2022 version 17.9.4:
https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes#17.9.4



yes, it works again with VS 2022

btw: i had a build break after a "clean build":

cd /cygdrive/d/sources/libo-core
./g checkout master
./g fetch --tags
./g pull -r

/opt/lo/bin/make clean gb_COLOR=1 gb_TITLES=1

/cygdrive/d/sources/libo-core/autogen.sh \
--with-external-tar=/cygdrive/d/sources/lo-externalsrc \
--with-junit=/cygdrive/d/sources/junit-4.10.jar \
--with-ant-home=/cygdrive/d/sources/apache-ant-1.9.5 \
--with-jdk-home=/cygdrive/d/Programme/Java/jdk-17 \
--enable-pch \
--disable-ccache \
--enable-debug \
--disable-odk \
--disable-online-update \
--with-visual-studio=2022

/opt/lo/bin/make build gb_COLOR=1 gb_TITLES=1 2>&1 | tee build.log

[...]
[PAT] icu
[BIN] dragonbox
[MOD] frozen
[BIN] glm
Configuring OpenSSL version 3.0.13 for target VC-WIN64A
Using os-specific seed configuration
/cygdrive/d/sources/libo-core/workdir/UnpackedTarball/openssl/crypto/sha/../providers:
 No such file
or directory at Configure line 3419.
make[1]: *** 
[D:/sources/libo-core/external/openssl/ExternalProject_openssl.mk:67:
D:/sources/libo-core/workdir/ExternalProject/openssl/build] Error 1
make[1]: *** Waiting for unfinished jobs

but folder "providers" is located at:

/cygdrive/d/sources/libo-core/workdir/UnpackedTarball/openssl/providers

workaround: copy folder "providers" to:

/cygdrive/d/sources/libo-core/workdir/UnpackedTarball/openssl/crypto


Re: VS 2022 version 17.9.1 has a bug preventing building cli_ure

2024-03-23 Thread Oliver Brinzing

Am 23.03.2024 um 00:04 schrieb Christian Lohmaier:

Hi *,

On Thu, Mar 21, 2024 at 8:58 PM Oliver Brinzing  wrote:

[…]
Configuring OpenSSL version 3.0.13 for target VC-WIN64A
Using os-specific seed configuration
/cygdrive/d/sources/libo-core/workdir/UnpackedTarball/openssl/crypto/sha/../providers:
 No such file
or directory at Configure line 3419.


Also had that on a system with a pretty old cygwin installation →
update perl and it should work again.

ciao
Christian


i decided to install a complete new cygwin environment as described in:
https://wiki.documentfoundation.org/Development/BuildingOnWindows

but now, the build freezes reproducible immediately after some folders in 
\workdir are created:

x@LAPTOP /cygdrive/d/sources/libo-core
$ /opt/lo/bin/make build gb_COLOR=1 gb_TITLES=1 2>&1 | tee build.log
C:/cygwin/opt/lo/bin/make -j 12  -rs -f D:/sources/libo-core/Makefile.gbuild 
build
  0 [] mkdir 8279 C:\cygwin\bin\mkdir.exe: *** fatal error - Can't reopen 
shared memory during
exec, Win32 error 6
  1 [] mkdir 8281 C:\cygwin\bin\mkdir.exe: *** fatal error - Can't reopen 
shared memory during
exec, Win32 error 6
  1 [] mkdir 7890 C:\cygwin\bin\mkdir.exe: *** fatal error - Can't reopen 
shared memory during
exec, Win32 error 6
  [..]

any hints ?

btw: changing back to my old cygwin makes it work again ...

Oliver




Re: VS 2022 version 17.9.1 has a bug preventing building cli_ure

2024-03-23 Thread Oliver Brinzing


> Am 23.03.2024 um 14:37 schrieb Mike Kaganski :
> 
> On 23.03.2024 18:29, Oliver Brinzing wrote:
>> i decided to install a complete new cygwin environment as described in:
>> https://wiki.documentfoundation.org/Development/BuildingOnWindows
>> but now, the build freezes reproducible immediately after some folders in 
>> \workdir are created:
> 
> Possibly related to 
> https://lists.freedesktop.org/archives/libreoffice/2024-February/091524.html ?
> --
> Best regards,
> Mike Kaganski

yes, a downgrade fixed the problem  thx



Re: VS 2022 version 17.9.1 has a bug preventing building cli_ure

2024-06-21 Thread Oliver Brinzing

I can confirm this issue with

Microsoft Visual Studio Professional 2022 (64-Bit) - Current Version 17.10.3

LINK : error LNK2034: Die Metadaten sind nicht konsistent mit der 
COFF-Symboltabelle: Symbol
"?rtl_ustr_asciil_reverseEquals_WithLength@@$$J0YAEPEB_SPEBDJ@Z" (06000537) 
weist inkonsistente
Metadaten mit (0A0009DC) in climaker_emit.o auf.
climaker_emit.o : error LNK2020: Nicht aufgelöstes Token (0A0009DC) "extern "C" 
unsigned char
__cdecl rtl_ustr_asciil_reverseEquals_WithLength(char16_t const *,char const 
*,long)"
(?rtl_ustr_asciil_reverseEquals_WithLength@@$$J0YAEPEB_SPEBDJ@Z).
D:\sources\libo-core\instdir\sdk\bin\climaker.exe : fatal error LNK1120: 1 
nicht aufgelöste Externe
[LNK] Library/wininetbe1lo.dll
[DEP] LNK:Executable/helpex.exe.d

mt.exe : general error c101008d: Failed to write the updated manifest to the 
resource of file
"D:/sources/libo-core/instdir/sdk/bin/climaker.exe". Das System kann die 
angegebene Datei nicht finden.
[LNK] Executable/helpex.exe
make[1]: *** [D:/sources/libo-core/cli_ure/Executable_climaker.mk:10:
D:/sources/libo-core/instdir/sdk/bin/climaker.exe] Error 96
make[1]: *** Waiting for unfinished jobs
make: *** [Makefile:295: build] Error 2

Am 22.05.2024 um 20:39 schrieb Vasily Melenchuk:

New version of Visual Studio 17.10.0 has exactly the same issue again.
Do not hurry with update.

LINK : error LNK2034: metadata inconsistent with COFF symbol table: 
symbol '?   rtl_ustr_asciil_reverseEquals_WithLength@@$$J0YAEPEB_SPEBDJ@Z' 
(06000589) has inconsistent metadata with(0A000A14) in climaker_emit.o
climaker_emit.o : error LNK2020: unresolved token (0A000A14) "extern "C" 
unsigned char __cdecl   rtl_ustr_asciil_reverseEquals_WithLength(char16_t const *,char const 
*,long)" (?   rtl_ustr_asciil_reverseEquals_WithLength@@$$J0YAEPEB_SPEBDJ@Z)
D:\libreoffice\master\instdir\sdk\bin\climaker.exe : fatal error 
LNK1120: 1 unresolved externals



-Original Message-
From: LibreOffice  On Behalf Of 
Oliver Brinzing
Sent: Thursday, March 21, 2024 10:58 PM
To: libreoffice@lists.freedesktop.org
Subject: Re: VS 2022 version 17.9.1 has a bug preventing building cli_ure

Am 20.03.2024 um 06:01 schrieb Mike Kaganski:

On 24.02.2024 21:50, Mike Kaganski wrote:

After upgrading my VS v.17.9.0 to v.17.9.1, building cli_ure started to fail 
like this:


LINK : error LNK2034: metadata inconsistent with COFF symbol table:
symbol
'?rtl_ustr_asciil_reverseEquals_WithLength@@$$J0YAEPEB_SPEBDJ@Z'
(06000579) has inconsistent metadata with (0A000A1A) in
climaker_emit.o climaker_emit.o : error LNK2020: unresolved token (0A000A1A) "extern 
"C" unsigned char __cdecl rtl_ustr_asciil_reverseEquals_WithLength(char16_t const *,char 
const *,long)"
(?rtl_ustr_asciil_reverseEquals_WithLength@@$$J0YAEPEB_SPEBDJ@Z)
C:\lo\build\instdir\sdk\bin\climaker.exe : fatal error LNK1120: 1
unresolved externals


I have filed a bug to Microsoft:

https://deu01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdev
elopercommunity.visualstudio.com%2Ft%2FLINK-%3A-error-LNK2034%3A-meta
data-inconsis%2F10599604%3Fport%3D1025%26fsid%3Dfdff4046-995a-4c06-8c
64-1c14b9752c8f=05%7C02%7Cvasily.melenchuk%40cib.de%7C18f799eaae
bb4c97b38108dc49e142af%7C00dd3e38f5434e1a88b93dbb13d75c49%7C0%7C0%7C6
38466479173686144%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjo
iV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C4%7C%7C%7C=5yAjhj
9ym%2FhxgKpBUeYmnNftJ2md%2F8D82udjjOOKr%2BY%3D=0


This problem is fixed in VS 2022 version 17.9.4:
https://deu01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flear
n.microsoft.com%2Fen-us%2Fvisualstudio%2Freleases%2F2022%2Frelease-not
es%2317.9.4=05%7C02%7Cvasily.melenchuk%40cib.de%7C18f799eaaebb4c9
7b38108dc49e142af%7C00dd3e38f5434e1a88b93dbb13d75c49%7C0%7C0%7C6384664
79173695033%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMz
IiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C4%7C%7C%7C=%2FvnkJSIPmEMe
S4bWkRU%2B3sSDSJ0BzdEZ2ERpL8Lh%2F6Y%3D=0



yes, it works again with VS 2022

btw: i had a build break after a "clean build":

cd /cygdrive/d/sources/libo-core
./g checkout master
./g fetch --tags
./g pull -r

/opt/lo/bin/make clean gb_COLOR=1 gb_TITLES=1

/cygdrive/d/sources/libo-core/autogen.sh \ 
--with-external-tar=/cygdrive/d/sources/lo-externalsrc \ 
--with-junit=/cygdrive/d/sources/junit-4.10.jar \
--with-ant-home=/cygdrive/d/sources/apache-ant-1.9.5 \
--with-jdk-home=/cygdrive/d/Programme/Java/jdk-17 \ --enable-pch \ 
--disable-ccache \ --enable-debug \ --disable-odk \ --disable-online-update \
--with-visual-studio=2022

/opt/lo/bin/make build gb_COLOR=1 gb_TITLES=1 2>&1 | tee build.log

[...]
[PAT] icu
[BIN] dragonbox
[MOD] frozen
[BIN] glm
Configuring OpenSSL version 3.0.13 for target VC-WIN64A Using os-specific seed 
configuration
/cygdrive/d/sources/libo-core/workdir/UnpackedTarball/openssl/crypto/sha/../providers:
 No su