diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..34d96f58 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SQLiteOOo.update.xml diff --git a/README.md b/README.md index 6850b978..203be12b 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ **The use of this software subjects you to our [Terms Of Use][4].** -# version [1.3.1][5] +# version [1.3.2][5] ## Introduction: @@ -242,7 +242,11 @@ ___ - Many fixes that prevented proper functioning have been made to the driver written in Python and wrapping the driver that jdbcDriverOOo provides. - Requires the **jdbcDriverOOo extension at least version 1.5.1**. -### What remains to be done for version 1.3.1: +### What has been done for version 1.3.2: + +- Requires the **jdbcDriverOOo extension at least version 1.5.4**. + +### What remains to be done for version 1.3.2: - Add new language for internationalization... @@ -252,7 +256,7 @@ ___ [2]: [3]: [4]: -[5]: +[5]: [6]: [7]: [8]: @@ -270,7 +274,7 @@ ___ [21]: [22]: [23]: -[24]: +[24]: [25]: [26]: [27]: diff --git a/README_fr.md b/README_fr.md index e3f162ba..465af79d 100644 --- a/README_fr.md +++ b/README_fr.md @@ -29,7 +29,7 @@ **L'utilisation de ce logiciel vous soumet à nos [Conditions d'utilisation][4].** -# version [1.3.1][5] +# version [1.3.2][5] ## Introduction: @@ -242,7 +242,11 @@ ___ - De nombreuses corrections qui empêchaient le bon fonctionnement ont été apportées au pilote écrit en Python et enveloppant le pilote fourni par jdbcDriverOOo. - Nécessite l'extension **jdbcDriverOOo en version 1.5.1 minimum**. -### Que reste-t-il à faire pour la version 1.3.1: +### Ce qui a été fait pour la version 1.3.2: + +- Nécessite l'extension **jdbcDriverOOo en version 1.5.4 minimum**. + +### Que reste-t-il à faire pour la version 1.3.2: - Ajouter de nouvelles langue pour l'internationalisation... @@ -252,7 +256,7 @@ ___ [2]: [3]: [4]: -[5]: +[5]: [6]: [7]: [8]: @@ -270,7 +274,7 @@ ___ [21]: [22]: [23]: -[24]: +[24]: [25]: [26]: [27]: diff --git a/SQLiteOOo.update.xml b/SQLiteOOo.update.xml deleted file mode 100644 index d1e93e95..00000000 --- a/SQLiteOOo.update.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - SQLiteOOo - SQLiteOOo - - - - - - diff --git a/source/SQLiteOOo/description.xml b/source/SQLiteOOo/description.xml index 8ce1fc97..92a907e4 100644 --- a/source/SQLiteOOo/description.xml +++ b/source/SQLiteOOo/description.xml @@ -28,12 +28,12 @@ xmlns:d="http://openoffice.org/extensions/description/2006" xmlns:l="http://libreoffice.org/extensions/description/2011" xmlns:xlink="http://www.w3.org/1999/xlink"> - + - - + + diff --git a/uno/.gitrepo b/uno/.gitrepo index 69a775d3..c8385146 100644 --- a/uno/.gitrepo +++ b/uno/.gitrepo @@ -6,7 +6,7 @@ [subrepo] remote = https://github.com/prrvchr/uno.git branch = main - commit = 842ae0843773fd50f2e6568d4d38a6408471a1af - parent = c4aa7318dc28b19388089c2d437414522e0506c4 + commit = 66e9aea6994add573be9c1556b90c87449543a11 + parent = d90335647633a232bccd30cb806b65cec5ec58ec method = merge - cmdver = 0.4.3 + cmdver = 0.4.9 diff --git a/uno/lib/java/UnoHelper/UnoHelper.jar b/uno/lib/java/UnoHelper/UnoHelper.jar index 5bd8c1b0..977a88f5 100644 Binary files a/uno/lib/java/UnoHelper/UnoHelper.jar and b/uno/lib/java/UnoHelper/UnoHelper.jar differ diff --git a/uno/lib/python/_cffi_backend.cp310-win_amd64.pyd b/uno/lib/python/_cffi_backend.cp310-win_amd64.pyd new file mode 100644 index 00000000..92615192 Binary files /dev/null and b/uno/lib/python/_cffi_backend.cp310-win_amd64.pyd differ diff --git a/uno/lib/python/_cffi_backend.cp311-win_amd64.pyd b/uno/lib/python/_cffi_backend.cp311-win_amd64.pyd new file mode 100644 index 00000000..9bb0309f Binary files /dev/null and b/uno/lib/python/_cffi_backend.cp311-win_amd64.pyd differ diff --git a/uno/lib/python/charset_normalizer/md.cp310-win_amd64.pyd b/uno/lib/python/charset_normalizer/md.cp310-win_amd64.pyd new file mode 100644 index 00000000..b5333c78 Binary files /dev/null and b/uno/lib/python/charset_normalizer/md.cp310-win_amd64.pyd differ diff --git a/uno/lib/python/charset_normalizer/md.cp311-win_amd64.pyd b/uno/lib/python/charset_normalizer/md.cp311-win_amd64.pyd new file mode 100644 index 00000000..2f2835b4 Binary files /dev/null and b/uno/lib/python/charset_normalizer/md.cp311-win_amd64.pyd differ diff --git a/uno/lib/python/charset_normalizer/md__mypyc.cp310-win_amd64.pyd b/uno/lib/python/charset_normalizer/md__mypyc.cp310-win_amd64.pyd new file mode 100644 index 00000000..be04ce1d Binary files /dev/null and b/uno/lib/python/charset_normalizer/md__mypyc.cp310-win_amd64.pyd differ diff --git a/uno/lib/python/charset_normalizer/md__mypyc.cp311-win_amd64.pyd b/uno/lib/python/charset_normalizer/md__mypyc.cp311-win_amd64.pyd new file mode 100644 index 00000000..b51af729 Binary files /dev/null and b/uno/lib/python/charset_normalizer/md__mypyc.cp311-win_amd64.pyd differ diff --git a/uno/lib/python/ijson/backends/_yajl2.cp310-win_amd64.pyd b/uno/lib/python/ijson/backends/_yajl2.cp310-win_amd64.pyd new file mode 100644 index 00000000..c8cdf2e7 Binary files /dev/null and b/uno/lib/python/ijson/backends/_yajl2.cp310-win_amd64.pyd differ diff --git a/uno/lib/python/ijson/backends/_yajl2.cp311-win_amd64.pyd b/uno/lib/python/ijson/backends/_yajl2.cp311-win_amd64.pyd new file mode 100644 index 00000000..8c65b2d6 Binary files /dev/null and b/uno/lib/python/ijson/backends/_yajl2.cp311-win_amd64.pyd differ diff --git a/uno/lib/python/lxml/_elementpath.cp310-win_amd64.pyd b/uno/lib/python/lxml/_elementpath.cp310-win_amd64.pyd new file mode 100644 index 00000000..7eaebd7a Binary files /dev/null and b/uno/lib/python/lxml/_elementpath.cp310-win_amd64.pyd differ diff --git a/uno/lib/python/lxml/_elementpath.cp311-win_amd64.pyd b/uno/lib/python/lxml/_elementpath.cp311-win_amd64.pyd new file mode 100644 index 00000000..7243889f Binary files /dev/null and b/uno/lib/python/lxml/_elementpath.cp311-win_amd64.pyd differ diff --git a/uno/lib/python/lxml/builder.cp310-win_amd64.pyd b/uno/lib/python/lxml/builder.cp310-win_amd64.pyd new file mode 100644 index 00000000..b9ef3ccd Binary files /dev/null and b/uno/lib/python/lxml/builder.cp310-win_amd64.pyd differ diff --git a/uno/lib/python/lxml/builder.cp311-win_amd64.pyd b/uno/lib/python/lxml/builder.cp311-win_amd64.pyd new file mode 100644 index 00000000..76cd287e Binary files /dev/null and b/uno/lib/python/lxml/builder.cp311-win_amd64.pyd differ diff --git a/uno/lib/python/lxml/etree.cp310-win_amd64.pyd b/uno/lib/python/lxml/etree.cp310-win_amd64.pyd new file mode 100644 index 00000000..fc206a5a Binary files /dev/null and b/uno/lib/python/lxml/etree.cp310-win_amd64.pyd differ diff --git a/uno/lib/python/lxml/etree.cp311-win_amd64.pyd b/uno/lib/python/lxml/etree.cp311-win_amd64.pyd new file mode 100644 index 00000000..bc062ce5 Binary files /dev/null and b/uno/lib/python/lxml/etree.cp311-win_amd64.pyd differ diff --git a/uno/lib/python/lxml/html/diff.cp310-win_amd64.pyd b/uno/lib/python/lxml/html/diff.cp310-win_amd64.pyd new file mode 100644 index 00000000..44aedbec Binary files /dev/null and b/uno/lib/python/lxml/html/diff.cp310-win_amd64.pyd differ diff --git a/uno/lib/python/lxml/html/diff.cp311-win_amd64.pyd b/uno/lib/python/lxml/html/diff.cp311-win_amd64.pyd new file mode 100644 index 00000000..7577cb7b Binary files /dev/null and b/uno/lib/python/lxml/html/diff.cp311-win_amd64.pyd differ diff --git a/uno/lib/python/lxml/objectify.cp310-win_amd64.pyd b/uno/lib/python/lxml/objectify.cp310-win_amd64.pyd new file mode 100644 index 00000000..bffcadfb Binary files /dev/null and b/uno/lib/python/lxml/objectify.cp310-win_amd64.pyd differ diff --git a/uno/lib/python/lxml/objectify.cp311-win_amd64.pyd b/uno/lib/python/lxml/objectify.cp311-win_amd64.pyd new file mode 100644 index 00000000..d0e6b57b Binary files /dev/null and b/uno/lib/python/lxml/objectify.cp311-win_amd64.pyd differ diff --git a/uno/lib/python/lxml/sax.cp310-win_amd64.pyd b/uno/lib/python/lxml/sax.cp310-win_amd64.pyd new file mode 100644 index 00000000..0b483197 Binary files /dev/null and b/uno/lib/python/lxml/sax.cp310-win_amd64.pyd differ diff --git a/uno/lib/python/lxml/sax.cp311-win_amd64.pyd b/uno/lib/python/lxml/sax.cp311-win_amd64.pyd new file mode 100644 index 00000000..2b3dd1fa Binary files /dev/null and b/uno/lib/python/lxml/sax.cp311-win_amd64.pyd differ diff --git a/uno/lib/uno/jdbcdriver/configuration.py b/uno/lib/uno/jdbcdriver/configuration.py index 55fbe91d..7650d1ea 100644 --- a/uno/lib/uno/jdbcdriver/configuration.py +++ b/uno/lib/uno/jdbcdriver/configuration.py @@ -34,4 +34,4 @@ g_services = ('io.github.prrvchr.jdbcdriver.sdbc.Driver', 'io.github.prrvchr.jdbcdriver.sdbcx.Driver', 'io.github.prrvchr.jdbcdriver.sdb.Driver') -g_version = '1.5.1' +g_version = '1.5.4' diff --git a/uno/lib/uno/oauth20/configuration.py b/uno/lib/uno/oauth20/configuration.py index 1d9a3b94..1574f4ea 100644 --- a/uno/lib/uno/oauth20/configuration.py +++ b/uno/lib/uno/oauth20/configuration.py @@ -33,7 +33,7 @@ g_service = '%s.OAuth2Service' % g_identifier g_resource = 'resource' -g_version = '1.5.0' +g_version = '1.5.2' g_chunk = g_chunk = 320 * 1024 g_token = 'Bearer ${AccessToken}' diff --git a/uno/lib/uno/options/jdbc/optionmanager.py b/uno/lib/uno/options/jdbc/optionmanager.py index 5d392122..2f8f4d35 100644 --- a/uno/lib/uno/options/jdbc/optionmanager.py +++ b/uno/lib/uno/options/jdbc/optionmanager.py @@ -69,7 +69,7 @@ def loadSetting(self): self._initView() def setApiLevel(self, level): - self._model.setApiLevel(level) + self._view.enableCachedRowSet(self._model.setApiLevel(level)) def setCachedRowSet(self, level): self._model.setCachedRowSet(level) diff --git a/uno/lib/uno/options/jdbc/optionmodel.py b/uno/lib/uno/options/jdbc/optionmodel.py index 0bc00b1e..680827cf 100644 --- a/uno/lib/uno/options/jdbc/optionmodel.py +++ b/uno/lib/uno/options/jdbc/optionmodel.py @@ -58,11 +58,12 @@ def getViewData(self): level = self._settings.get('ApiLevel') crs = self._settings.get('CachedRowSet') system = self._settings.get('ShowSystemTable') - return level, crs, system + return level, crs, system, self._isRowSetEnabled(level) # OptionModel setter methods def setApiLevel(self, level): self._settings['ApiLevel'] = level + return self._isRowSetEnabled(level) def setCachedRowSet(self, level): self._settings['CachedRowSet'] = level @@ -89,3 +90,5 @@ def _getSettings(self): settings[key] = self._config.getByName(key) return settings + def _isRowSetEnabled(self, level): + return level != 0 diff --git a/uno/lib/uno/options/jdbc/optionview.py b/uno/lib/uno/options/jdbc/optionview.py index d86d2563..866dbdb9 100644 --- a/uno/lib/uno/options/jdbc/optionview.py +++ b/uno/lib/uno/options/jdbc/optionview.py @@ -47,11 +47,16 @@ def __init__(self, ctx, window, handler, options, restart, offset): def dispose(self): self._window.dispose() - def initView(self, level, crs, system): + def initView(self, level, crs, system, enabled): self._getApiLevel(level).State = 1 self._getCachedRowSet(crs).State = 1 + self.enableCachedRowSet(enabled) self._getSytemTable().State = int(system) + def enableCachedRowSet(self, enabled): + for crs in range(3): + self._getCachedRowSet(crs).Model.Enabled = enabled + def setRestart(self, enabled): self._getRestart().setVisible(enabled) diff --git a/uno/rdb/idl/com/sun/star/rest/XRequestResponse.idl b/uno/rdb/idl/com/sun/star/rest/XRequestResponse.idl index da694a43..613c8d44 100644 --- a/uno/rdb/idl/com/sun/star/rest/XRequestResponse.idl +++ b/uno/rdb/idl/com/sun/star/rest/XRequestResponse.idl @@ -64,7 +64,8 @@ interface XRequestResponse: com::sun::star::uno::XInterface [in] boolean DecodeUnicode, [in] string Delimiter); - com::sun::star::io::XInputStream getInputStream([in] long Chunk); + com::sun::star::io::XInputStream getInputStream([in] long ChunkSize, + [in] boolean DecodeUnicode); [attribute] string Encoding;