Skip to content

Releases: mabuchilab/NiceLib

v0.7.1

29 May 21:22
Compare
Choose a tag to compare

Added

  • pack argument for build_lib to configure struct packing
  • override argument for build_lib to configure whether repeated declarations are supported.

v0.7

30 Oct 22:55
Compare
Choose a tag to compare

Added

  • use_handle flag for defining static midlevel methods
  • LibFunction kwarg support for Python 3.3 and later
  • Path for community edition of Visual Studio (thanks @DerekK88)

Changed

  • Fixed to_py_src to handle unsigned int, long int, and double constants
  • Consolidated warnings for un-pythonable macros

0.6

01 Mar 06:52
Compare
Choose a tag to compare
0.6

Added

  • Better support for libs with absolute paths
  • pycparser extension for parsing C++isms
  • Warnings against using using NiceObjectDef and tuple-based Sigs
  • Support for #include_next directive
  • Lexing support for u/U/L-prefixed char literals
  • Python source generation of char literals
  • Include "include-fixed" directory in INCLUDE_DIRS

Changed

  • Fixed error on fileless header parsing
  • Fixed StopIteration issue caused by PEP 479
  • Improved error message for invalid LibFunction input args
  • Fixed duplicate struct issue exposed by pycparser 2.19

0.5.2

24 Jul 01:00
Compare
Choose a tag to compare

(0.5.2) 2018-7-9

Changed

  • Fixed free_buf-related bug caused by typo (thanks @Gene2002)

(0.5) 2018-2-20

Added

  • Support for custom-named build files
  • Support for passing args to build() function (via load_lib())
  • Support for passing only header source to build_lib()
  • Auto-casting to void * for arrays and pointer 'inout' args
  • Sig and ArgHandler system
  • RetHandler system
  • Parsing and storing of C-function argnames
  • Function signatures in LibFunction docstrings
  • Support for relative-path lookup of headers
  • Support for loading low-level bindings without using a package
  • NiceObject subclass definition-based syntax for defining NiceObject subclasses (makes sense, right?)
  • Tests of argname parsing
  • Tests of low- and mid-level bindings, using a toy .so library
  • Official support for "hybrid" functions--hand-written functions wrap an autogenerated midlevel binding
  • New LibMethod object which is a bound-method version of a LibFunction

Changed

  • Use per-module loggers
  • Warn on missing env vars in header paths
  • Overhauled internals of mid-level bindings system
  • NiceClassMeta to NiceObjectMeta
  • Use NiceObjectMeta as a metaclass for NiceObject
  • Dropped TravisCI testing of Py 3.3 in favor of 3.6
  • Begin transitioning to _-surrounded flag names, e.g. _prefix -> _prefix_, to make them prettier and more official-looking

Removed

  • Never-completed mock system

0.4

14 Nov 02:37
Compare
Choose a tag to compare
0.4
Prepare for release 0.4

0.3.1

26 May 23:01
Compare
Choose a tag to compare
Prep for release 0.3.1

0.3

07 Apr 22:23
Compare
Choose a tag to compare
0.3
Prep for release 0.3

0.2

13 Aug 01:22
Compare
Choose a tag to compare
0.2
Prep for release 0.2

0.1

30 Jun 01:06
Compare
Choose a tag to compare
0.1

NiceLib's debut