Commit Graph

210 Commits (9bbe29b42d5068253dcf746e94de2b48f10f0d54)

Author SHA1 Message Date
Robert Fewell 87285f945e Update gnucash_core.py with gnc-pricedb function name change
5 years ago
koldavi 506fd57989
Fix to_string_with_decimal_point_placed
5 years ago
c-holtermann d3b8a59d7e remove debug information for time conversion
5 years ago
John Ralls a11065b823 Fix fencepost error in calculating the week_num for POSIX timezone rules.
5 years ago
John Ralls 66eca8aab7 Update python/gnucash_business.py to reflect rename of gncOwnerApplyPayment.
5 years ago
Hong Xu e0e77ca39d Add Python example export_account_totals.py
6 years ago
c-holtermann 22f91c407e use same order in comment as in definition of SessionOpenMode enum
6 years ago
c-holtermann 40cfb70fb7 fix SessionOpenMode explanation for SESSION_NORMAL_OPEN
6 years ago
c-holtermann 3e842a7bf6 use urllib.parse.urlparse to check for xml on python Session init
6 years ago
c-holtermann b9c6fc2876 add some unittests for python Session
6 years ago
c-holtermann 0434acbe10 reformat two python example scripts with black
6 years ago
c-holtermann 485d8a65b0 decorate Session.begin with default mode argument
6 years ago
c-holtermann 44e61f4df2 enable Session.__init__() to be provided with existing instance or book
6 years ago
c-holtermann 5833c5afcb add unittests for function_class
6 years ago
c-holtermann 17d606e1f8 enable keyword arguments for default_arguments_decorator
6 years ago
c-holtermann c222503f42 add method decorate_method to function_class.py
6 years ago
c-holtermann ee77b713c2 update example scripts to SessionOpenMode
6 years ago
c-holtermann b073dbc5c3 allow keyword arguments for function_class.py
6 years ago
c-holtermann 4e280b9593 adapt to use of sessionOpenMode in qof_session_begin
6 years ago
c-holtermann 48072f5a4c make SessionOpenMode enum available for python
6 years ago
c-holtermann ee3342d2b4 introduce python submodule deprecation
6 years ago
John Ralls 6a1cb5eecd Replace the three bool parameters to qof_session_begin to an enum.
6 years ago
c-holtermann 0ac59b18b7 make logging accessible from python modules
6 years ago
c-holtermann b13f40aeaf remove translation test
6 years ago
c-holtermann e1701fbdd6 locale is not needed anymore (debug)
6 years ago
c-holtermann 9e678a421e remove debug stuff
6 years ago
c-holtermann 7bf38ef837 test info
6 years ago
c-holtermann ca21f32249 remove global gettext import
6 years ago
c-holtermann efe9b4b606 remove debug info
6 years ago
c-holtermann f788e59318 remove debug stuff (temporarily)
6 years ago
c-holtermann fc87e275fa further debugging
6 years ago
c-holtermann 8d429d8295 further debugging
6 years ago
c-holtermann 2c09fe4f44 debug on travis
6 years ago
c-holtermann 694e5a26ff add test for gettext
6 years ago
c-holtermann 31d2b3cb44 install gettext
6 years ago
c-holtermann 41dc6ddbe2 implement gettext localization for python
6 years ago
John Ralls 320db3270b Remove duplicate decl.
6 years ago
John Ralls 8ff5af4c19 Decouple QofBook creation from QofSession.
6 years ago
Christopher Lam 14ea5d9751 Merge branch 'maint'
6 years ago
John Ralls 6a3fabc30d Fix test failure for timezones west of the prime meridian.
6 years ago
John Ralls b4177bc60a Fix transaction post_date being set to midnight local.
6 years ago
John Ralls de9ee8dede Merge branch 'maint'
6 years ago
Geert Janssens bbeb9a2b62 Drop all gnc-module dependencies and includes from compilation units that no longer use it
6 years ago
c-holtermann 0553576c81 restructure info so that python help will display it
6 years ago
c-holtermann f6cb803192 app_utils needs to be imported to module gnucash to be accessible
6 years ago
Geert Janssens 0cfb40efeb CMake - use configure_file instead of file(COPY ) wherever possible
6 years ago
John Ralls 3ca8fa1229 Merge branch 'maint'
6 years ago
John Ralls e1b0140357 Fix failed build of python tests and failed test in 3.10 tarball.
6 years ago
John Ralls 882fd22ca1 Merge Christoph Holtermann's 'python-app-utils' into maint.
6 years ago
John Ralls fdfaca5575 Merge Christoph Holtermann's 'python-session-instance-constructor' into maint.
6 years ago
c-holtermann e2c37359ef high level python wrappers for app-utils
6 years ago
c-holtermann 4dcdec664a remove whitespace in parentheses (PEP 8)
6 years ago
c-holtermann 43cebedd3d tests for session
6 years ago
c-holtermann daff201ffb don't allow instance=None for wrapper objects
6 years ago
c-holtermann 0da6b851b0 add instance argument to Session constructor
6 years ago
andygoblins 08af4ce9bd context manager examples
6 years ago
andygoblins f1f450cedc make Session a context manager
6 years ago
andygoblins 4502afad4f fix __eq__ in Split and Transaction
6 years ago
Christopher Lam 62c2203d40 Merge branch 'maint'
6 years ago
loftx 7cd2495674 Add Invoice.Unpost() to Python Bindings
6 years ago
Geert Janssens f52c581ddc Merge branch 'dropgml'
6 years ago
Geert Janssens d52aa0a0dd app-utils - remove gnc-module boilerplate
6 years ago
Geert Janssens 4c77f7670e engine - remove gncmod boilerplate
6 years ago
Geert Janssens 1c7f835f47 engine - move guile code to bindings/guile
6 years ago
Geert Janssens a6b7eecd81 core-utils - make the swig generated source file dependent on the core-utils headers
6 years ago
Geert Janssens a1898daf6c core-utils - move python wrapper code to bindings/python
6 years ago
Geert Janssens 33e1ff645c Allow to pass include directories to the add_swig_xyz commands
6 years ago
Geert Janssens df1f033f41 bindings-python - drop references to gnucash-env
6 years ago
Andrey Legayev 34c14b44a9
Remove not needed semicolons in Python bindings
6 years ago
luz.paz 65bb60d621 Fix typos for gnuchash/ doc/ bindings/ and misc.
7 years ago
Geert Janssens 15a35e6a3b Housekeeping - replace plenty of http links with https
7 years ago
Mike Evans 29416292a9 Remove FIX ME
7 years ago
John Ralls fc355958b8 Merge Christoph Holtermann's 'PR-python2to3-rest-api' into maint.
7 years ago
John Ralls b2f25408d7 Merge Christoff Holtermann's 'PR-python-time64-modifications' into maint
7 years ago
John Ralls 8823f7283f Merge Christoph Holtermann's 'PR-python2to3' into maint.
7 years ago
c-holtermann 0c02866964 PyDate_Check works for date and datetime
7 years ago
c-holtermann 18a2688419 typo
7 years ago
c-holtermann db9e98a812 also allow datetime.date
7 years ago
c-holtermann 3884e6abf5 unobfuscate get_date method name
7 years ago
c-holtermann 8ba5e552d9 return None object if return value is FALSE
7 years ago
c-holtermann dafdd702e6 additional author
7 years ago
c-holtermann 79decfb754 deal with functions returning values through arguments
7 years ago
c-holtermann 445ff7e6c9 check for argument type. Also allow int.
7 years ago
c-holtermann c779bcb72f GetOwner may return project instead of owner
7 years ago
c-holtermann 6925ee3115 be prepared for GetDateDue returning null
7 years ago
c-holtermann 876079f8d2 remove TS suffix
7 years ago
c-holtermann 6eae440534 GetDate return unserializable datetime object
7 years ago
c-holtermann b73be1b523 GetInvTaxTable returns unserializable object
7 years ago
c-holtermann b06801185c shebang should be specific to python version (PEP394)
7 years ago
c-holtermann e7d940ac3f iteritems removed in python3
7 years ago
c-holtermann 77727ffc49 python3 does not return list of keys
7 years ago
c-holtermann 64a01f3027 python3 - 'as' needed in exceptions instead of comma
7 years ago
c-holtermann 0068475bb1 xrange has been dropped in python3
7 years ago
c-holtermann 298797a9be fix due to different invoice date handling
7 years ago
Christoph Holtermann 206ed63233 typo
7 years ago
Christoph Holtermann 247d04a544 make executable, remove double -o
7 years ago
Christoph Holtermann 1184e92687 2to3
7 years ago
Christoph Holtermann 002595f4cc add options iOP
7 years ago
Christoph Holtermann 61f7613b8d fix for python3
7 years ago
Rob Reid 9be545f5ce Fixes for new 64-bit time setter/getters
7 years ago