Commit graph

16,508 commits

Author SHA1 Message Date
William S Fulton
09cfc53bdf Better error detection in some java testcases 2014-03-01 16:14:36 +00:00
William S Fulton
736c6b953e C# project files update
- Update project files to use Visual Studio 2005 (minimum supported .NET
  is now 2.0 which is what VS 2005 supports).
- Add project files for arrays example (requires /unsafe)
- Fix support so that the project files work straight out the box on 64
  bit systems (32 bit compile is the default).
- Fix support for 64 bit builds - use the x64 platform.
2014-03-01 04:35:00 -08:00
William S Fulton
aaa71288b1 Cosmetic changes to lua.cxx after recent changes 2014-02-28 23:15:29 +00:00
William S Fulton
d957d37636 Minor code improvements after Lua changes. 2014-02-28 19:49:53 +00:00
William S Fulton
0da97a9d3e Fix illegal C++ symbols 2014-02-28 19:19:44 +00:00
William S Fulton
f011481f2b Cosmetic tweaks to lua runtime 2014-02-28 19:15:51 +00:00
William S Fulton
58caa38616 Restore Lua C++11 rvalue reference 2014-02-28 19:15:51 +00:00
William S Fulton
e208f85bea Lua html documentation fixes/improvements. 2014-02-28 19:15:45 +00:00
William S Fulton
52c106d27f Revert unnecessary changes in keyword_rename test 2014-02-27 20:23:32 +00:00
William S Fulton
c36800713b Use unix fileformat 2014-02-27 20:12:53 +00:00
William S Fulton
1be97ed26c Merge Lua changes - branch 'class_p1' of github.com:v-for-vandal/swig into v-for-vandal-class_p1
* 'class_p1' of github.com:v-for-vandal/swig:
  Fixing registerClass. No more wrap: unnecessary attributes
  Fixed registerMethod to work like registerVariable
  Switched to Swig_name_* functions
  Return MIN_OPT_LEVEL for elua
  add nspace_extend test case
  updated documentation following comd options renaming
  Options in alphabetical order
  Members renaming
  target_name -> lua_name
  Fixing cmd options, again
  Fixing segfault
  Removed class_parent_nspace
  Fixes to module options
  Rename methods to make it clear what 'symbols table' they operate on.
  Small documenation fixes
  Updating Lua documentation
  Eliminating namespaces_hash and using symbols table instead
  Attempt to catch unreproducable bug from Travis CI build
  Small bugfixes
  Bugfixes for eLua. eLua emulation mode
  Add compatibility option for old-style inheritance
  Add support for C-style enums in C mode. And tests.
  Style fixes. Comments fixes. Fixing cmd options. etc
  Some fixes for elua
  Attempt to fix unreproducable bug (from Travis CI build)
  Fixes for examples. Wrapped keywords into guardian in keyword_rename test
  Remove some typos
  Remove some obsolete code
  Manually beautifying luarun.swg
  Code beautifier
  Valuewrapper test
  Removing obsolete debug code
  Bugfixes
  A few bugfixes
  Some class bases iteration improvements
  Fixes for elua
  Bugfixes
  Bugfixes. CMD args handling. Code cleanup
  Bugfixes
  Preparations before pull request - part 1
  More changes. Mostly to the would-be class library
  Fixing issuse with v2-compatible static function names
  Add pointer guard
  Add runtime test
  Bugfixes
  nspace.i example is working
  Initial implementation - everything compiles but might not work
2014-02-27 20:04:08 +00:00
William S Fulton
3aa689d276 Add summary about nested class support added over the last few months 2014-02-26 00:13:18 +00:00
Artem Serebriyskiy
c6dd6b0726 Fixing registerClass. No more wrap: unnecessary attributes 2014-02-25 14:36:03 +04:00
Artem Serebriyskiy
fadc9c8f31 Fixed registerMethod to work like registerVariable 2014-02-25 14:11:53 +04:00
Artem Serebriyskiy
4a94345c9a Switched to Swig_name_* functions 2014-02-25 12:51:28 +04:00
Olly Betts
48476af609 Remove semicolons after function definitions 2014-02-24 10:13:11 +13:00
Olly Betts
431b9b16e7 Update one dead link and remove another 2014-02-24 10:11:11 +13:00
Olly Betts
0de4cf13a8 Further cleaning up of class examples 2014-02-24 10:10:24 +13:00
William S Fulton
7f40ae3570 C# project files update
- Update project files to use Visual Studio 2005 (minimum supported .NET
  is now 2.0 which is what VS 2005 supports).
- Add project files for arrays example (requires /unsafe)
- Fix support so that the project files work straight out the box on 64
  bit systems (32 bit compile is the default).
- Fix support for 64 bit builds - use the x64 platform.
2014-02-23 15:47:42 +00:00
Artem Serebriyskiy
be6723df1e Return MIN_OPT_LEVEL for elua 2014-02-23 16:30:23 +04:00
Artem Serebriyskiy
d1bfd8a517 add nspace_extend test case 2014-02-23 14:23:55 +04:00
Olly Betts
34c97ffdbd Improve the class example for several languages.
Fix numerous inaccuracies in index.html (where it exists) and eliminate
unnecessary differences between the example code being wrapped.
2014-02-23 18:24:51 +13:00
Olly Betts
2f3bf144c6 Fix assorted comment and documentation typos 2014-02-23 17:15:22 +13:00
Artem Serebriyskiy
087a66a658 updated documentation following comd options renaming 2014-02-23 02:08:34 +04:00
William S Fulton
894de07c3d Add missing executable bit 2014-02-22 21:24:55 +00:00
William S Fulton
be49f5caee Another revert fragment <stdexcept> for non-UTL languages 2014-02-22 20:53:26 +00:00
William S Fulton
4f3c77051f Slight wording change when running test-suite
Should be easier to parse 'by eye'
2014-02-22 20:51:27 +00:00
Artem Serebriyskiy
dac0e989e3 Options in alphabetical order 2014-02-22 19:01:48 +04:00
Artem Serebriyskiy
166b19e860 Members renaming 2014-02-22 18:26:46 +04:00
Artem Serebriyskiy
f12d8aa174 target_name -> lua_name 2014-02-22 18:06:47 +04:00
Artem Serebriyskiy
77a7069f9e Fixing cmd options, again 2014-02-22 17:56:21 +04:00
Artem Serebriyskiy
ec629beb31 Fixing segfault 2014-02-22 15:46:22 +04:00
William S Fulton
2feb2e6fc6 Revert fragment <stdexcept> for non-UTL languages 2014-02-22 01:11:40 +00:00
William S Fulton
91f4828a4a Fix missing fragment name in warning message about missing fragment 2014-02-22 01:04:50 +00:00
William S Fulton
bf313809ae Fix Lua examples for running under Lua 5.2
Includes cherry picking parts of
ce2760f77e
2014-02-22 00:43:18 +00:00
Paweł Tomulik
0ed98c0606 added example with %pythonbegin
This was requested in PR #7 but overlooked. Contains an example where
one does: from __future__ import absolute_import using %pythonbegin
directive.
2014-02-21 19:12:59 +00:00
William S Fulton
ae7b34ce03 Remove duplicate header includes in director.swg 2014-02-21 19:07:35 +00:00
William S Fulton
0d9a8721f4 Move some header file includes into fragments for UTL languages 2014-02-21 19:02:14 +00:00
William S Fulton
d55692c31e Fix warning suppression using %warnfilter for PHP reserved class names.
The features need to be merged in before issuing a warning as
%warnfilter is a %feature.
2014-02-21 08:29:20 +00:00
Olly Betts
c5bc0aa472 Improve Examples/README 2014-02-21 08:14:24 +13:00
Olly Betts
de7ed84f77 Recommend compiling with PIC consistently.
While shared objects with non-PIC code work on some architectures
(notably x86), unless code is always PIC on that arch (not true for x86)
doing so requires runtime relocations, which prevents the object
actually being shared, and means such segments can't be marked as
read-only.
2014-02-21 08:09:58 +13:00
Olly Betts
bdb45cacea Merge pull request #140 from cdunham/master
Remove register storage class declarations
2014-02-20 11:36:12 +13:00
Curtis Dunham
fe91d6449f Remove register storage class declarations
They're unnecessary, anacronistic, deprecated in modern
standards, generally ignored, useless, and (most importantly)
clang complains about them.
2014-02-19 11:58:27 -06:00
Artem Serebriyskiy
b30aa53709 Removed class_parent_nspace 2014-02-19 16:02:49 +04:00
Artem Serebriyskiy
2767f2a55e Fixes to module options 2014-02-19 14:05:29 +04:00
Olly Betts
66b22e6178 Improve ignore pattern for vim swap files to not match SWIG *.swg files 2014-02-19 23:05:15 +13:00
Olly Betts
1097fc99ff [Lua] Add keyword warnings for Lua keywords and Basic Functions. 2014-02-19 23:04:40 +13:00
Olly Betts
dcf121f534 Make Lib/ocaml/swigp4.ml a non-generated file.
We used to have configure substitute values into it, but that's not been
the case for just over 3 years, since patch #3151788 was applied.
2014-02-19 22:35:45 +13:00
Artem Serebriyskiy
4eef510e33 Rename methods to make it clear what 'symbols table' they operate on. 2014-02-19 13:34:50 +04:00
Artem Serebriyskiy
00f59ac497 Small documenation fixes 2014-02-19 13:34:50 +04:00