22 Commits
Author SHA1 Message Date
Ilmari Lauhakangas 9471fce06e bin: fix issues found by Ruff linter
Change-Id: I44e546defb278bb5217ed028dcaebc9fb2d23f0b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171020
Tested-by: Jenkins
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-07-25 19:57:10 +02:00
Leonard Sasse 96ffaadbcd tdf#158803 F821: xrange undefined, should be range in py3; remove some unused variables
changing range(len()) to enumerate as suggested
by Arkadiy Illarionov

Change-Id: I5000204281a5f6ded9c411525e612bf84b552f80
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165505
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-06-25 08:14:53 +02:00
Michael Stahl c926974ec1 sw: add some SAL_INFO on DoIdleJob interrupt
Change-Id: I44df06ab4bad1a5e0aaf5409590f5d7869f33482
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114937
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2021-04-30 19:29:30 +02:00
Caolán McNamara 5203e46234 document output is pdf, not ps
Change-Id: I97dac3830b0219defa03f2d986962e3bf2f81a38
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86919
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-01-16 18:07:32 +01:00
Noel Grandin 0c0ff7c025 add some comments to convwatch script
explanation courtesy of caolan

Change-Id: Ic34d5f863bf20188556836acbbcaccba5eab5ce3
2020-01-16 14:04:15 +02:00
Michael Stahl 8f2d1ff0f7 convwatch: handle Win32 absolute path as directory
Change-Id: I5952665d14b2cee64f40db69dbb9508b1abb97bd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86871
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-01-16 12:17:07 +01:00
Michael Stahl aa70294ffc normalize existing emacs/vim mode-lines in python files
Bunch of these were setting C++ or Make modes and icky tabs...

Also, reportedly Emacs can figure out to enable python-mode
automatically.

Change-Id: I50072488fb92cb4d27aa3f74f717a28ae3967543
2016-10-26 22:16:08 +02:00
Michael Stahl 4ec7128470 convwatch: use PerTestConnection by default
It's more robust to restart soffice after every file, even if it takes
more time, overall it's better than having to prune all the files that
are invalid or cause loops before running convwatch.

Change-Id: I7f7155f71bb2522ae48182aa1b5ca61fc47ae4d5
2016-04-27 15:52:42 +02:00
Michael Stahl 66f769feb2 convwatch: logExceptionInvoke is kind of pointless now
... that runLoadPrintFileTests catches the exceptions anyway.

Change-Id: I6441551558e057427a9732451415f4c449a3609a
2016-04-27 15:52:42 +02:00
Michael Stahl 61e8275de6 convwatch: don't generate images for documents that failed to print
Change-Id: I2dba6ccbb7cbfb3719c2169dc74204014caf2e84
2016-04-27 15:52:41 +02:00
Michael Stahl 844ca4dcc6 convwatch: add a watchdog for the layout loops :(
Change-Id: I33996f0d84e1a4b303b6f2cf7afa6cee32665a77
2016-04-27 15:52:41 +02:00
Michael Stahl 32b6b0e934 convwatch: if a document fails to load, log that instead of failing
Bugzillas have lots of zip-files with wrong mime-types
and non-well-formed files.

Change-Id: I1238a35da0f222759439316a33b8927a3544a965
2016-04-27 15:52:41 +02:00
Michael Stahl 97d9733b24 convwatch: don't buffer stdout logging
Change-Id: I0d32b150b65bf6bd30a988c2e028c5d7e05f195e
2016-04-27 15:52:41 +02:00
Michael Stahl a1f3f7da8d convwatch: let's print some timestamps
Change-Id: I455017ad3458362b78d6306886344ccec3c9247b
2016-04-27 15:52:41 +02:00
Tor Lillqvist 00ab36a16d The --nofirststartwizard option is a no-op
Change-Id: Id481af38ebb51224f4f8493cccfb4eb4fd1e268f
2015-03-29 23:51:03 +03:00
Michael Stahl d256f08c6a convwatch.py: decode bytes before printing
Change-Id: Ic1b115583415ab9bd2bdb18fa55f61803efc8442
2014-04-02 12:33:34 +02:00
Michael Stahl 8ac24de12f convwatch.py: fix handling of loadComponentFromURL returning null
Change-Id: Icc64d56a74be9e95fdf69204356f9c2405ce7cc8
2014-04-02 12:33:34 +02:00
Stephan Bergmann 62951cdd17 Introduce com.sun.star.frame.theGlobalEventBroadcaster singleton
...to supersede com.sun.star.frame.GlobalEventBroadcaster single-instance
service.

Change-Id: I74ecaadadb4c600d39979aa7c13b6389bed38fd7
2014-01-16 18:40:05 +01:00
Michael Meeks 62badf3828 Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-22 09:37:38 +01:00
Michael Stahl f8d7ddc805 convwatch.py: make it run on Python 3
Change-Id: Iaf0303f5268233ff34a4d4a31d1955fc6f58e7e2
2012-12-20 20:00:36 +01:00
Michael Stahl d5ddbe4c3f convwatch.py: subprocess.check_output only in Python 2.7+ 2012-04-27 16:14:35 +02:00
Michael Stahl fa5e41067b add convwatch.py 2012-02-27 20:55:58 +01:00