commit aaacc1fc325b90f0d42378effcef22545268a2a2 Author: Joaquim Rocha Date: Sun Jan 26 16:12:11 2020 +0100 Update for release 0.8.2 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 325682fb3b52439d8cf98eb620ada9c5f9ba4a7d Author: Joaquim Rocha Date: Sun Jan 26 16:10:53 2020 +0100 Update bugtracker URL Probably the most satisfying change in years :) configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c3c5daf0ab31bf39d340d10cf3fecc81152c9582 Author: Joaquim Rocha Date: Sun Jan 26 15:00:34 2020 +0100 Add NEWS file for 0.8.2 version Instead of adding the new entries, the file contents were generated by appstream-util using the appdata. NEWS | 766 +++++++++++++++++++++------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 1 file changed, 71 insertions(+), 695 deletions(-) commit 78fbdcbe3a02271dc1e9f9e3e4970eeb848fa2bf Author: Joaquim Rocha Date: Sun Jan 26 15:00:06 2020 +0100 Add news for 0.8.2 version to appdata resources/org.gnome.OCRFeeder.appdata.xml.in | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit a4014ffa0b00895066b7e34d815c058154007d31 Author: Piotr Drąg Date: Sun Jan 26 14:49:58 2020 +0100 Update Polish translation po/pl.po | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) commit 2df0dfd0e373390011c3e1303c2cea93dfc650f6 Author: Daniel Mustieles Date: Thu Jan 23 12:55:09 2020 +0100 Updated Spanish translation po/es.po | 588 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------------------------------------- 1 file changed, 297 insertions(+), 291 deletions(-) commit 737f247d97aac441ac353c246f881fbefdbeb74a Author: scx Date: Mon Jan 6 18:25:38 2020 +0100 Update desktop file: Update Keywords tag and make it translatable See: https://gitlab.gnome.org/GNOME/ocrfeeder/commit/c75683d02d2f5e12fd025893e61bc8ec9154428d#note_677586 resources/org.gnome.OCRFeeder.desktop.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 53bea6d5dcad2d1e615160ae124b0537a077df00 Author: scx Date: Sat Jan 4 16:22:22 2020 +0100 Update Basque translation Provide basic translation of the AppData file. po/eu.po | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 6908576003ee36976b97bae5be6048604841cabc Author: scx Date: Tue Jan 14 23:59:55 2020 +0100 Install application icon in correct directory Move org.gnome.OCRFeeder.svg from the $(datadir)/ocrfeeder/icons/ dir to the $(datadir)/icons/hicolor/scalable/apps/ dir. Fixes GNOME/ocrfeeder#18 resources/Makefile.am | 5 ++++- resources/icons/Makefile.am | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) commit 6bcd2c9b01d9d3a73a157f8d8208a60d67cd3ed7 Author: scx Date: Sat Jan 4 18:10:13 2020 +0100 Fix spell checker window Fixes GNOME/ocrfeeder#16 src/ocrfeeder/studio/widgetPresenter.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 9a2480f73ade36d58f623b539c656f1d728e9d3d Author: scx Date: Tue Jan 14 20:27:52 2020 +0100 Try to maximize scan area Some scanner by default select only a small area instead of full page. We want to fix it by trying to maximize the scan area, if possible. Not all devices are able to do this so we have to handle any exception. src/ocrfeeder/util/lib.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 873af2169e1fde039cbf3e53db9b386189afb92b Author: scx Date: Mon Jan 6 21:02:41 2020 +0100 Prevent exceptions when setting scan mode and resolution Invalid scanner options lead to an unrecoverable error: Error scanning page We want to set the mode as color and resolution as 300 DPI if possible, but the setting unsupported values was resulting in an non-caught exception. Some scanners don't support the Resolution parameter at all. Supported modes may be vary across different scanners. Not all of them support the "Color" mode. For example, some of them support "Color24" or "Color48" instead. This patch fixes that by simply catching the exceptions, using the default values in that case. src/ocrfeeder/util/lib.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit 8a3e6696724474ebc175a1b02ba1f96f436a4abb Author: scx Date: Mon Jan 6 20:26:31 2020 +0100 Fix error on creating warning message dialog for error scanning page SimpleDialog constructor requires to provide the parent window. src/ocrfeeder/studio/studioBuilder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit eafa8f61443bb76318efdad5b9963de227924082 Author: scx Date: Mon Jan 6 19:54:35 2020 +0100 Fix getting selected scanner from scan dialog The code that gets the selected scanner was being called after the dialog destroyed, and that resulted in always getting "None" as the selected scanner. This patch fixes that by simply calling the mentioned function before destroying the dialog. src/ocrfeeder/studio/studioBuilder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c8bdf0693cde45c772b62a5985c6302612894e1e Author: scx Date: Wed Jan 15 20:23:52 2020 +0100 Fix ScannerChooserDialog GtkHBox and GtkVBox have pack_start and pack_end methods. These take 4 parameters: - widget - expand (default: True) - fill (default: True) - padding (default: 0) In PyGTK, the last three parameters were optional: if unspecified, the default values above were used. In PyGI, these parameters are not optional: all 4 must be specified. However, this one: box.pack_start(widget, True, True, 0) can be replaced with: box.add(widget) When porting to PyGI, these differences were overlooked. This patch fixes it by replacing incorrect calls with the correct ones. See https://github.com/sugarlabs/sugar-docs/blob/master/src/gtk3-porting-guide.md#hbox-vbox-pack_start-and-pack_end src/ocrfeeder/studio/widgetPresenter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7f32b3be5733c321643ed11f301661504c34685d Author: Piotr Drąg Date: Sun Jan 12 17:45:45 2020 +0100 Update Polish translation po/pl.po | 642 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------------- 1 file changed, 419 insertions(+), 223 deletions(-) commit 4625e7b764eb849dfb89907ac7f57bcc1012b46f Author: Rafael Fontenelle Date: Sun Jan 12 00:58:43 2020 +0000 Update Brazilian Portuguese translation po/pt_BR.po | 888 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------------------- 1 file changed, 539 insertions(+), 349 deletions(-) commit 8615aff3966dbfe24ed45eed6d34dc9b4e6b4e90 Author: Joaquim Rocha Date: Wed Jan 8 00:17:27 2020 +0100 Port to Python 3 Python 3 has been around for a while now, and Python 2 is going away in Debian soon, so a port was due. These changes represent the port and were done by using lib2to3, with a few manual editions to add more needed changes (like dropping the attempt to encode a string), or dropping some unnecessary ones, e.g. iterating through an object as returned by the dict's keys() method is fine, but lib2to3 still creates a list for it. Special thanks to Reuben (@reubot on GNOME Gitlab) for having done an initial MR for the port, which made me want to move this foward (but I am pushing a different commit as it needed many changes). bin/ocrfeeder-cli.in | 3 +-- bin/ocrfeeder.in | 2 +- configure.ac | 2 +- src/ocrfeeder/feeder/documentGeneration.py | 20 +++++++++----------- src/ocrfeeder/feeder/imageManipulation.py | 4 +--- src/ocrfeeder/feeder/layoutAnalysis.py | 12 +++++------- src/ocrfeeder/feeder/ocrEngines.py | 24 +++++++----------------- src/ocrfeeder/studio/boxesarea.py | 2 -- src/ocrfeeder/studio/dataHolder.py | 8 +++----- src/ocrfeeder/studio/pagesiconview.py | 2 -- src/ocrfeeder/studio/project.py | 8 +++----- src/ocrfeeder/studio/studioBuilder.py | 18 ++++++++---------- src/ocrfeeder/studio/widgetModeler.py | 36 +++++++++++++++++------------------- src/ocrfeeder/studio/widgetPresenter.py | 30 ++++++++++++++---------------- src/ocrfeeder/util/asyncworker.py | 12 +++++------- src/ocrfeeder/util/configuration.py | 14 ++++++-------- src/ocrfeeder/util/constants.py.in | 2 -- src/ocrfeeder/util/graphics.py | 14 ++++++-------- src/ocrfeeder/util/lib.py | 20 ++++++-------------- src/ocrfeeder/util/log.py | 4 +--- 20 files changed, 94 insertions(+), 143 deletions(-) commit f3b6e1e89814f0ff8927a8f0f71b10390c9a260f Author: Joaquim Rocha Date: Tue Jan 7 23:47:44 2020 +0100 Fix setting the OCR engine for the first time in the BoxEditor The code that sets the OCR engine for the BoxEditor was not getting the current_engine set the first time it checks it, so it was not trying to get the index for that engine, and defaulted it to None. Since it was later comparing it to an int, there was a TypeError exception because of that. src/ocrfeeder/studio/widgetPresenter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit a9c34e1634d960bfd0833d878cb48e23ddc225cb Author: Joaquim Rocha Date: Tue Jan 7 23:42:23 2020 +0100 Do not use exec to load a DataBox There is no need for using exec when loading a DataBox from a project save file and it could have security implications. So this patch refactors the code to not use exec. src/ocrfeeder/studio/project.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 648e39bc5e9259e410b3a3333d673ff516484b4b Author: Joaquim Rocha Date: Mon Jan 6 22:09:56 2020 +0100 Do not ship odf package A long, long time ago, when OCRFeeder was first released, there was no Debian package for odfpy, so to it simple at the time it was shipped with the rest of the source code. There are packages available now, so we should drop odf from the source tree, allowing to use updated versions with bug and security fixes. This will also make it easier to port OCRFeeder to Python 3 as the odfpy package doesn't need to be included in the port. configure.ac | 2 +- src/ocrfeeder/Makefile.am | 3 +- src/ocrfeeder/feeder/documentGeneration.py | 8 +- src/ocrfeeder/odf/Makefile.am | 37 - src/ocrfeeder/odf/__init__.py | 0 src/ocrfeeder/odf/anim.py | 61 -- src/ocrfeeder/odf/attrconverters.py | 1441 --------------------------------- src/ocrfeeder/odf/chart.py | 87 -- src/ocrfeeder/odf/config.py | 39 - src/ocrfeeder/odf/dc.py | 72 -- src/ocrfeeder/odf/dr3d.py | 43 - src/ocrfeeder/odf/draw.py | 182 ----- src/ocrfeeder/odf/element.py | 249 ------ src/ocrfeeder/odf/form.py | 115 --- src/ocrfeeder/odf/grammar.py | 8138 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ src/ocrfeeder/odf/load.py | 125 --- src/ocrfeeder/odf/manifest.py | 53 -- src/ocrfeeder/odf/math.py | 30 - src/ocrfeeder/odf/meta.py | 66 -- src/ocrfeeder/odf/namespaces.py | 81 -- src/ocrfeeder/odf/number.py | 104 --- src/ocrfeeder/odf/odf2xhtml.py | 1124 -------------------------- src/ocrfeeder/odf/odfmanifest.py | 120 --- src/ocrfeeder/odf/office.py | 104 --- src/ocrfeeder/odf/ooostyles.py | 71 -- src/ocrfeeder/odf/opendocument.py | 357 --------- src/ocrfeeder/odf/presentation.py | 85 -- src/ocrfeeder/odf/script.py | 30 - src/ocrfeeder/odf/style.py | 147 ---- src/ocrfeeder/odf/svg.py | 52 -- src/ocrfeeder/odf/table.py | 307 ------- src/ocrfeeder/odf/text.py | 559 ------------- src/ocrfeeder/odf/thumbnail.py | 433 ---------- src/ocrfeeder/odf/userfield.py | 310 -------- src/ocrfeeder/odf/xforms.py | 29 - src/ocrfeeder/util/lib.py | 4 +- 36 files changed, 8 insertions(+), 14660 deletions(-) commit 1160f3de992467e977ac415e8a9a028f9c768430 Author: Daniel Mustieles Date: Tue Jan 7 12:52:37 2020 +0100 Updated Spanish translation po/es.po | 764 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------- 1 file changed, 485 insertions(+), 279 deletions(-) commit e9bc06fea01b8e6ad6d58673682229c9185ea78a Author: scx Date: Mon Jan 28 00:43:35 2019 +0100 Disable unpaper frame in sandbox mode configure.ac | 12 ++++++++++++ src/ocrfeeder/studio/widgetPresenter.py | 16 +++++++++++----- src/ocrfeeder/util/constants.py.in | 2 ++ 3 files changed, 25 insertions(+), 5 deletions(-) commit 1cf8423b617a1a68c794f35fa5be4accb73fc154 Author: scx Date: Sun Jan 27 16:46:23 2019 +0100 Increase window size src/ocrfeeder/studio/widgetPresenter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d0acbc644aaa56b971d42ba67fdc0556149dd47f Author: scx Date: Sun Jan 27 16:43:08 2019 +0100 Set fixed width for both panes src/ocrfeeder/studio/widgetModeler.py | 2 +- src/ocrfeeder/studio/widgetPresenter.py | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) commit 3365fd828a2617cad2cdf447b7489f448bef8087 Author: scx Date: Sun Jan 27 16:39:03 2019 +0100 Set favorite engine as default engine for content area src/ocrfeeder/studio/widgetPresenter.py | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) commit ea6e84d1d8cd27ac6016dc3a29a61e829f1c20c9 Author: scx Date: Sun Jan 27 16:34:39 2019 +0100 Fix OCR engine list and set Tesseract as default engine src/ocrfeeder/feeder/ocrEngines.py | 4 ++-- src/ocrfeeder/studio/widgetPresenter.py | 2 +- src/ocrfeeder/util/configuration.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) commit 668fbc1a3092b7fa87bfabfbf3fb9437f90f4e47 Author: scx Date: Sun Jan 27 16:23:29 2019 +0100 Fix image preview src/ocrfeeder/studio/widgetModeler.py | 6 ++++++ 1 file changed, 6 insertions(+) commit 660159901dfd095384bb870fb2ed8168ed90cca3 Author: scx Date: Sun Jan 27 15:50:48 2019 +0100 Add missing options to the ocrfeeder-cli manpage resources/ocrfeeder-cli.1 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit 9db58034683d3497cad5e3fc5044b153f2d1fe7b Author: scx Date: Sun Jan 27 15:44:35 2019 +0100 Set automake strictness to foreign configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 06dcbb056b19ee19e6591fa7edff673d68e06c96 Author: scx Date: Sun Jan 27 15:40:09 2019 +0100 Update window icon src/ocrfeeder/studio/widgetPresenter.py | 15 +-------------- src/ocrfeeder/util/constants.py.in | 2 ++ 2 files changed, 3 insertions(+), 14 deletions(-) commit e35b240b72adf89cc956e15b91cdbbac30f10296 Author: scx Date: Sun Jan 27 14:13:21 2019 +0100 Update translations po/bs.po | 4 ++++ po/ca.po | 4 ++++ po/ca@valencia.po | 4 ++++ po/cs.po | 4 ++++ po/da.po | 4 ++++ po/de.po | 4 ++++ po/el.po | 4 ++++ po/en_GB.po | 4 ++++ po/eo.po | 4 ++++ po/es.po | 4 ++++ po/fr.po | 4 ++++ po/gl.po | 4 ++++ po/he.po | 4 ++++ po/hu.po | 4 ++++ po/it.po | 4 ++++ po/nb.po | 4 ++++ po/pl.po | 4 ++++ po/pt.po | 4 ++++ po/pt_BR.po | 4 ++++ po/ro.po | 4 ++++ po/ru.po | 4 ++++ po/sl.po | 4 ++++ po/sr.po | 4 ++++ po/sr@latin.po | 4 ++++ po/sv.po | 4 ++++ po/tr.po | 4 ++++ po/uk.po | 4 ++++ po/zh_CN.po | 4 ++++ po/zh_HK.po | 4 ++++ po/zh_TW.po | 4 ++++ 30 files changed, 120 insertions(+) commit 9c7e00b8731cb0f0a735a294714950de1fd6b686 Author: scx Date: Sun Jan 27 12:58:13 2019 +0100 Rename files because of new Application ID po/POTFILES.in | 4 ++-- po/bs.po | 4 ++-- po/ca.po | 4 ++-- po/ca@valencia.po | 4 ++-- po/cs.po | 4 ++-- po/da.po | 4 ++-- po/de.po | 4 ++-- po/el.po | 4 ++-- po/en_GB.po | 4 ++-- po/eo.po | 4 ++-- po/es.po | 4 ++-- po/fr.po | 4 ++-- po/gl.po | 4 ++-- po/he.po | 4 ++-- po/hu.po | 4 ++-- po/it.po | 4 ++-- po/nb.po | 4 ++-- po/pl.po | 4 ++-- po/pt.po | 4 ++-- po/pt_BR.po | 4 ++-- po/ro.po | 4 ++-- po/ru.po | 4 ++-- po/sl.po | 4 ++-- po/sr.po | 4 ++-- po/sr@latin.po | 4 ++-- po/sv.po | 4 ++-- po/tr.po | 4 ++-- po/uk.po | 4 ++-- po/zh_CN.po | 4 ++-- po/zh_HK.po | 4 ++-- po/zh_TW.po | 4 ++-- resources/Makefile.am | 4 ++-- resources/icons/Makefile.am | 2 +- resources/icons/{ocrfeeder.svg => org.gnome.OCRFeeder.svg} | 0 resources/{ocrfeeder.appdata.xml.in => org.gnome.OCRFeeder.appdata.xml.in} | 2 +- resources/{ocrfeeder.desktop.in => org.gnome.OCRFeeder.desktop.in} | 2 +- 36 files changed, 67 insertions(+), 67 deletions(-) commit 27f57331c5e02b345d9a962bf1cdd6330c04f495 Author: scx Date: Sun Jan 27 12:19:13 2019 +0100 Add AppData file po/POTFILES.in | 1 + resources/Makefile.am | 9 +++++++-- resources/ocrfeeder.appdata.xml.in | 111 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 119 insertions(+), 2 deletions(-) commit c75683d02d2f5e12fd025893e61bc8ec9154428d Author: scx Date: Sun Jan 27 00:41:32 2019 +0100 Update desktop file resources/ocrfeeder.desktop.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 933beed101e8c3915bf7091c89628e5904b49d3a Author: Asier Sarasua Garmendia Date: Thu Sep 19 11:42:37 2019 +0000 Add Basque translation po/LINGUAS | 1 + po/eu.po | 1170 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 1171 insertions(+) commit fb6007d7ecf3d3d73dad286550b93c91f4902d9d Author: Jordi Mas Date: Tue Aug 13 19:00:45 2019 +0200 Update Catalan translation po/ca.po | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit f6b8902c715a8b4e28c4e4f582f6a993b9b79c8a Author: Balázs Úr Date: Tue Feb 19 23:10:01 2019 +0000 Update Hungarian translation po/hu.po | 664 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------------------------------------------ 1 file changed, 322 insertions(+), 342 deletions(-) commit 16805ce53d15f4d42211b3644c2dae127fe3f105 Author: Balázs Úr Date: Tue Feb 19 23:09:11 2019 +0000 Update Hungarian translation help/hu/hu.po | 243 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------------------------------------------- 1 file changed, 114 insertions(+), 129 deletions(-) commit f82819004b4b7521b0fa52ef51a8ed32a5c775f7 Author: Gábor Kelemen Date: Tue Feb 19 22:56:29 2019 +0000 Update Hungarian translation help/hu/hu.po | 373 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------------------------------- 1 file changed, 195 insertions(+), 178 deletions(-) commit 36e6c4d055b6c94390ad8ba2273d8555529cda18 Author: Balázs Úr Date: Wed Jan 30 21:16:58 2019 +0100 Add Hungarian documentation translation help/Makefile.am | 2 +- help/hu/hu.po | 1276 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 1277 insertions(+), 1 deletion(-) commit 51483c4b625c42b9bc04b2056b903a431b080935 Author: Andre Klapper Date: Tue Dec 18 14:43:35 2018 +0100 Replace Bugzilla by Gitlab URL in DOAP file ocrfeeder.doap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fae36a28e65a045c3011495a3a66e6a8d3b1f196 Author: Andre Klapper Date: Sun Dec 16 20:55:23 2018 +0100 Comment invalid in DOAP file to pass git pre-receive hook ocrfeeder.doap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bdee5be34d502f0f47b367b2646047587118ab7a Author: Daniel Mustieles Date: Fri Nov 30 11:24:06 2018 +0100 Updated Spanish translation help/es/es.po | 90 ++++++++++++++++++++++++++++++++++++++++++------------------------------------------------ 1 file changed, 42 insertions(+), 48 deletions(-) commit ae8d4436bb8305b9bc1006d55d1d8715e1be3a68 Author: Erik Sköldås Date: Sun Mar 18 18:57:02 2018 +0000 Update Swedish translation po/sv.po | 588 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------------------------------- 1 file changed, 290 insertions(+), 298 deletions(-) commit f5f1b076993ec0ba94250f21051e049072c7e230 Author: Joaquim Rocha Date: Sun Mar 18 15:04:06 2018 +0100 Replace the -i CLI option by a positional argument This will avoid the current errors when OCRFeeder is called without an argument for the --image option. With a positional argument, the same functionality is possible but made simpler (thanks to Alberto Garcia for the suggestion). gb#767732 resources/ocrfeeder.desktop.in | 2 +- src/ocrfeeder/studio/studioBuilder.py | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) commit 0428e7ae450be09a819387cd8ff7f6ffaf2a3e22 Author: Erik Sköldås Date: Sun Mar 18 00:35:12 2018 +0100 Add Swedish help translation help/Makefile.am | 2 +- help/sv/sv.po | 1257 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 1258 insertions(+), 1 deletion(-) commit 2f00b413538e211e77a7179e6296aa5a41c5d04d Author: Alberto Garcia Date: Mon Feb 12 17:24:45 2018 +0200 Don't require python-gobject OCRFeeder uses python-gi instead configure.ac | 1 - 1 file changed, 1 deletion(-) commit c4d4c4afb4b73019c08e2d1ff66b780cb017f0b5 Author: Joaquim Rocha Date: Sat Nov 19 19:20:32 2016 +0100 Fix the width for the boxes editor This makes the box editor be 300px wide when it shows up instead of having it expand to the parent GtkPaned's separator position. src/ocrfeeder/studio/widgetModeler.py | 3 +-- src/ocrfeeder/studio/widgetPresenter.py | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) commit c00b283812693315ab796061e62e7908bd8e64a6 Author: Joaquim Rocha Date: Sat Jul 16 23:12:37 2016 +0100 Center the working page in its area src/ocrfeeder/studio/boxesarea.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit fcb0fa3ea15e9fe6cb94e41243ab2560249631dc Author: Joaquim Rocha Date: Sat Jul 16 21:54:31 2016 +0100 Use ArgumentParser instead of OptionParser This is in order to use argument lists in a saner way (without repeating the option). src/ocrfeeder/studio/studioBuilder.py | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) commit 636f9a518312fbc1a0ac44e2f69716c669c5a0c2 Author: Joaquim Rocha Date: Sat Jul 16 15:51:07 2016 +0100 Make the clip section of the BoxEditor expandible src/ocrfeeder/studio/widgetPresenter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 218db82cd8597ec49f69dc79ae6729771eff0549 Author: Joaquim Rocha Date: Sat Jul 16 15:30:59 2016 +0100 Fix icons in the BoxEditor's text align buttons src/ocrfeeder/studio/widgetPresenter.py | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) commit 5247d23153e41fbcd582cf063d8d623cf8da11e7 Author: Joaquim Rocha Date: Sat Jul 16 15:15:58 2016 +0100 Set the wide_handle in the Gtk.Paned widgets src/ocrfeeder/studio/widgetModeler.py | 1 + src/ocrfeeder/studio/widgetPresenter.py | 1 + 2 files changed, 2 insertions(+) commit 77f25a21a579af25e2346fafad383768bdd5d89d Author: Joaquim Rocha Date: Sat Jul 16 15:15:06 2016 +0100 Use Gtk.Paned with the orientation instead of Gtk.HPaned src/ocrfeeder/studio/widgetModeler.py | 4 ++-- src/ocrfeeder/studio/widgetPresenter.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit d78494ef02db685873297fb38bd1a6a622c2b3d5 Author: Piotr Drąg Date: Sat Feb 24 00:38:34 2018 +0100 Fix Spanish translation header help/es/es.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 094f242ffb2377a74fa4e0b151fb467869d83ec3 Author: Ask Hjorth Larsen Date: Sat Nov 11 18:44:55 2017 +0100 Updated Danish translation po/da.po | 574 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------------------------------- 1 file changed, 287 insertions(+), 287 deletions(-) commit 250ae7c74b6e418b260d79aee96c34aaa63bebaf Author: Mario Blättermann Date: Mon Oct 16 21:25:15 2017 +0000 Update German translation help/de/de.po | 68 +++++++++++++++++++++++++++++++------------------------------------- 1 file changed, 31 insertions(+), 37 deletions(-) commit b5321e4763666cf490a65c1adb7bec6d43105b33 Author: Marek Cernocky Date: Tue Sep 26 19:53:00 2017 +0200 Updated Czech translation help/cs/cs.po | 71 +++++++++++++++++++++++++++++++++-------------------------------------- 1 file changed, 33 insertions(+), 38 deletions(-) commit 6aa45b3297ab428d382559cf202c0eeded86d424 Author: Andre Klapper Date: Tue Sep 26 16:47:47 2017 +0200 Add missing id parameter to
so yelp-check validates help/C/projects.page | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 113472a79b8fe2f3aa9076cb9c4abdcd7121534b Author: Andre Klapper Date: Tue Sep 26 16:47:05 2017 +0200 Add missing id parameter to
so yelp-check validates help/C/ocrconfiguration.page | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 60b12acbdcc5fc793e08a6c632280263ba99befe Author: Andre Klapper Date: Tue Sep 26 16:46:01 2017 +0200 Fix unsupported 'type' parameter for help/C/manualeditionandcorrection.page | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 87cc80be8547bf454723b0a13d9820d565de7e29 Author: Andre Klapper Date: Tue Sep 26 16:45:36 2017 +0200 Fix a typo help/C/manualeditionandcorrection.page | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit db79268b00b6b5945962ff49e10c68554eb1bf95 Author: Andre Klapper Date: Tue Sep 26 16:45:06 2017 +0200 Put fallback text into

so yelp-check validates help/C/manualeditionandcorrection.page | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit cfa559f9d29c278cafb1808c5c3003dbce73fdf1 Author: Andre Klapper Date: Tue Sep 26 16:44:08 2017 +0200 Add missing id parameter to

so yelp-check validates help/C/manualeditionandcorrection.page | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 22dcec278117dc51ed9e9c179a8fad569b1bf93c Author: Andre Klapper Date: Tue Sep 26 16:43:01 2017 +0200 Add missing id parameter to
so yelp-check validates help/C/addingimage.page | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6761c0687a5bddc91737cb830460b3ba8f63c98e Author: Andre Klapper Date: Tue Sep 26 16:42:43 2017 +0200 Fix unsupported 'type' parameter for help/C/deskewing.page | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c8c1f61076db041244abf2046921b00dbc97eb57 Author: Andre Klapper Date: Mon Sep 25 00:31:07 2017 +0200 Fix typo in Greek user docs translation help/el/el.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2383bc2c78a01516632a2e5edab070594960225f Author: Jordi Mas Date: Mon Feb 27 17:37:06 2017 +0100 Fixes to Catalan translations po/ca.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 92a73e39186a606f67918abd21047a6c8c016f7e Author: Alan Mortensen Date: Mon Jan 16 19:11:19 2017 +0100 Updated Danish translation po/da.po | 790 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------------------------ 1 file changed, 446 insertions(+), 344 deletions(-) commit 4741baf58654ca064495206ac12f3e1e10ac8deb Author: Jordi Mas Date: Sun Oct 23 13:12:36 2016 +0200 Fixes to Catalan translation po/ca.po | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) commit eca503222a3ebcaee896b0303753be2562929a78 Author: Claude Paroz Date: Thu Oct 6 10:13:23 2016 +0200 Updated French translation po/fr.po | 743 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------------------- 1 file changed, 408 insertions(+), 335 deletions(-) commit d31b97d18943bea94be9130c5f2ef3e8cb727624 Author: Daniel Mustieles Date: Tue Sep 13 20:23:50 2016 +0200 Updated Spanish translation po/es.po | 627 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------------------------------- 1 file changed, 313 insertions(+), 314 deletions(-) commit d974c40614bc3b9c3903d0dd5eb328e894907cf6 Author: Piotr Drąg Date: Sat Sep 10 18:32:30 2016 +0200 Updated Polish translation po/pl.po | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 1b34707d0f65e5f013d10cba62a6ead47c7c9fc6 Author: Piotr Drąg Date: Sun Aug 21 18:23:35 2016 +0200 Add Language headers to po files Future versions of gettext will fail if this header is missing. po/en_GB.po | 1 + po/eo.po | 1 + po/es.po | 2 +- po/fr.po | 1 + po/he.po | 2 +- po/it.po | 2 +- po/nb.po | 2 +- po/pt.po | 2 +- po/sl.po | 2 +- po/sr@latin.po | 2 +- po/zh_HK.po | 2 +- 11 files changed, 11 insertions(+), 8 deletions(-) commit 6649211705d38f87567e77edfa7ee7f5df1c8515 Author: Piotr Drąg Date: Sun Aug 21 16:03:21 2016 +0200 Updated Polish translation po/pl.po | 652 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------------------------------- 1 file changed, 324 insertions(+), 328 deletions(-) commit 8ed3dc500ef0d91c19a31dea35a39c87da4659c3 Author: Joaquim Rocha Date: Sun Jun 19 23:10:26 2016 +0200 Fix assigning text in DataBox src/ocrfeeder/studio/dataHolder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit dbfd2bd4b2b9fde3e01b77eb2c7a2e7515b69bb2 Author: Joaquim Rocha Date: Sat Jun 4 23:14:03 2016 +0200 Ensure LayoutAnalysis.readImage returns unicode src/ocrfeeder/feeder/layoutAnalysis.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b3e7ed735f241acd2b7d7aa97be7b26bffdbc9ed Author: Joaquim Rocha Date: Sat Jun 4 23:12:39 2016 +0200 Fix unicode issues when exporting files These changes make sure that unicode is used in DataBox, and that the document generators use it correctly when exporting the data to files. src/ocrfeeder/feeder/documentGeneration.py | 10 +++++----- src/ocrfeeder/studio/dataHolder.py | 8 ++++---- src/ocrfeeder/util/lib.py | 6 ++++++ 3 files changed, 15 insertions(+), 9 deletions(-) commit 691f54618ed17a2553f154af07a6cfb4bf887e09 Author: Joaquim Rocha Date: Sat Apr 30 16:55:17 2016 +0200 Fix unicode problems when generating a plain text file gb#765847 src/ocrfeeder/feeder/documentGeneration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5beaa35a0cdc76345bf4b09e1a843c0bdcfcf2ba Author: Joaquim Rocha Date: Sun Mar 20 21:58:34 2016 +0100 Add missing import in log.py src/ocrfeeder/util/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7bd0babb1fd0809f900684b88c287d2b7dc46c3a Author: Daniel Mustieles Date: Sun Apr 10 11:00:35 2016 +0200 Updated Spanish translation help/es/es.po | 2462 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------------------- 1 file changed, 1317 insertions(+), 1145 deletions(-) commit 057bbc9ce93ce44e168bed523a56d4c803b9aba2 Author: Mario Blättermann Date: Tue Mar 22 10:35:38 2016 +0100 Updated German doc translation help/de/de.po | 1777 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------------------- 1 file changed, 962 insertions(+), 815 deletions(-) commit 137baa5260bfc0be906436fb3ab4318baef86bc2 Author: Γιάννης Κουτσούκος Date: Mon Mar 21 17:48:19 2016 +0000 Updated Greek translation help/el/el.po | 1804 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------------------------- 1 file changed, 988 insertions(+), 816 deletions(-) commit a72fe110afdc5251e84de5ce42480386d255deac Author: Marek Černocký Date: Sun Mar 20 14:40:46 2016 +0100 Updated Czech translation help/cs/cs.po | 1714 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------------------------------- 1 file changed, 932 insertions(+), 782 deletions(-) commit 44c2edcafbf428d9f2a9cd499daabdf5dc6354ac Author: Joaquim Rocha Date: Sat Mar 19 21:29:55 2016 +0100 Specify Gtk, GooCanvas and GtkSpell required versions src/ocrfeeder/studio/studioBuilder.py | 4 ++++ 1 file changed, 4 insertions(+) commit 041fda8b77f875d526828f4eb55c60a8b062919a Author: Joaquim Rocha Date: Sat Mar 19 21:25:53 2016 +0100 Add filename (%f) argument to desktop file's Exec resources/ocrfeeder.desktop.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4c2a6a305bedc2a6aacc76dbde767707d76b778e Author: Joaquim Rocha Date: Sat Mar 19 21:17:36 2016 +0100 Use Python logging instead of printing These changes add a new module log.py which provides a new debug message that uses Python's logging and replaces the previous debug function that simply printed the messages. The use of the previous debug message is also updated to the new one. gb#758797 src/ocrfeeder/feeder/documentGeneration.py | 2 +- src/ocrfeeder/feeder/imageManipulation.py | 2 +- src/ocrfeeder/feeder/layoutAnalysis.py | 2 +- src/ocrfeeder/feeder/ocrEngines.py | 7 ++++--- src/ocrfeeder/studio/project.py | 2 +- src/ocrfeeder/studio/studioBuilder.py | 3 ++- src/ocrfeeder/studio/widgetModeler.py | 14 +++++++++++++- src/ocrfeeder/studio/widgetPresenter.py | 5 +++-- src/ocrfeeder/util/Makefile.am | 3 ++- src/ocrfeeder/util/asyncworker.py | 2 +- src/ocrfeeder/util/configuration.py | 3 ++- src/ocrfeeder/util/graphics.py | 3 ++- src/ocrfeeder/util/lib.py | 5 +---- src/ocrfeeder/util/log.py | 39 +++++++++++++++++++++++++++++++++++++++ 14 files changed, 73 insertions(+), 19 deletions(-) commit be53f66b20acd85e267a4246b76afe7e0c652291 Author: Joaquim Rocha Date: Sat Mar 19 17:14:57 2016 +0100 Do not use multiple args in debug call When calling debug, it should not give its parameters as a tupple of arguments. Instead, it should provide one debug message. src/ocrfeeder/feeder/documentGeneration.py | 2 +- src/ocrfeeder/feeder/imageManipulation.py | 2 +- src/ocrfeeder/feeder/ocrEngines.py | 2 +- src/ocrfeeder/studio/project.py | 2 +- src/ocrfeeder/studio/widgetModeler.py | 4 ++-- src/ocrfeeder/studio/widgetPresenter.py | 2 +- src/ocrfeeder/util/graphics.py | 2 +- src/ocrfeeder/util/lib.py | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) commit 13c913a9d4818b484204d874e85fe0f1be6d3353 Author: Joaquim Rocha Date: Thu Mar 17 22:04:23 2016 +0100 Migrate user help to Yelp instead of Doc configure.ac | 2 +- help/Makefile.am | 12 +++++------- src/ocrfeeder/studio/studioBuilder.py | 2 +- 3 files changed, 7 insertions(+), 9 deletions(-) commit cfc7bcf9a23c51d009717850df7049f3130ac951 Author: Joaquim Rocha Date: Thu Mar 17 22:03:46 2016 +0100 build: Remove USE_GNOME2_MACROS from autogen autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a51967571b9dcfb614627a71251bdfa5c7d66cd3 Author: Joaquim Rocha Date: Thu Mar 17 22:03:22 2016 +0100 build: Remove deprecated PKG_NAME from autogen autogen.sh | 2 -- 1 file changed, 2 deletions(-) commit 69116efb5cb168187763786c2c475ceb72f1ed33 Author: Necdet Yücel Date: Sat Mar 19 13:57:21 2016 +0000 Added Turkish translation po/LINGUAS | 1 + po/tr.po | 1205 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 1206 insertions(+) commit cb9e7164f5ee6550d24233147a90bd668a7eb5a0 Author: Jordi Mas Date: Wed Mar 2 20:06:56 2016 +0100 Update Catalan translation po/ca.po | 931 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------------------------------------------ 1 file changed, 450 insertions(+), 481 deletions(-) commit e98e4d141085a27f2192e2c85883ff9f568ef0b3 Author: Mario Blättermann Date: Sun Jan 31 20:36:00 2016 +0100 Updated German doc translation help/de/de.po | 362 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------- 1 file changed, 229 insertions(+), 133 deletions(-) commit e79546cb9d2e1e7a21fb650cbfd499835c4d4e22 Author: Mario Blättermann Date: Fri Jan 1 23:01:14 2016 +0100 Updated German translation po/de.po | 842 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------------------------------- 1 file changed, 470 insertions(+), 372 deletions(-) commit 3f3a3625de9ef19625a4d05525d1fd19d7bd2b70 Author: Pedro Albuquerque Date: Sat Nov 14 10:44:20 2015 +0000 Updated Portuguese translation po/pt.po | 1308 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------- 1 file changed, 1005 insertions(+), 303 deletions(-) commit d353dafba230f0d1ec1d1c4fe5bcf1b3d2b18956 Author: Anders Jonsson Date: Tue Oct 20 22:58:01 2015 +0000 Updated Swedish translation po/sv.po | 976 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------------- 1 file changed, 601 insertions(+), 375 deletions(-) commit ad60cc4f6d964e80492513caaf5800b6a3c8666c Author: Piotr Drąg Date: Thu Sep 3 02:28:35 2015 +0200 Updated Polish translation po/pl.po | 651 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------------------------------- 1 file changed, 320 insertions(+), 331 deletions(-) commit 2f16058bc11cc0cd1c56f264945a133add6528db Author: Daniel Mustieles Date: Tue Sep 1 13:56:10 2015 +0200 Updated Spanish translation help/es/es.po | 2289 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------------------------------------------- 1 file changed, 1148 insertions(+), 1141 deletions(-) commit c776f5058457715092635b5aa3eb59805a1c04d7 Author: Jordi Mas Date: Tue Apr 21 20:32:23 2015 +0200 Fixes to Catalan translation po/ca.po | 791 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------------------------- 1 file changed, 461 insertions(+), 330 deletions(-) commit 2aca7a6029601a0fe201a503bad62f384cb94442 Author: Samir Ribic Date: Sat Mar 14 00:49:08 2015 +0000 Added Bosnian translation po/LINGUAS | 1 + po/bs.po | 1199 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 1200 insertions(+) commit f63b735c2db46a8ab3f37193ad154a3152d936b1 Author: Maria Mavridou Date: Sat Feb 21 23:26:21 2015 +0000 Updated Greek translation help/el/el.po | 281 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------------------------------- 1 file changed, 158 insertions(+), 123 deletions(-) commit f664df10ef2e1f9641ae59fd1c2a0e2c5fc4a50a Author: Marek Černocký Date: Fri Dec 26 10:05:32 2014 +0100 Updated Czech translation help/cs/cs.po | 37 ++++++------------------------------- 1 file changed, 6 insertions(+), 31 deletions(-)