Commit graph

56 commits

Author SHA1 Message Date
William S Fulton
e208f85bea Lua html documentation fixes/improvements. 2014-02-28 19:15:45 +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
Artem Serebriyskiy
087a66a658 updated documentation following comd options renaming 2014-02-23 02:08:34 +04: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
Artem Serebriyskiy
00f59ac497 Small documenation fixes 2014-02-19 13:34:50 +04:00
Artem Serebriyskiy
3d36a69d81 Updating Lua documentation 2014-02-19 13:34:50 +04:00
William S Fulton
ea2e615cec Fix some typos in directive names 2013-05-12 19:14:59 +01:00
William S Fulton
a358958e72 Update docs with missing example.c compilation - Bug 3545858
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13514 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-05 11:02:49 +00:00
William S Fulton
127e772693 HTML doc section update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13023 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-28 15:33:58 +00:00
Olly Betts
2f5fc8dd2d Fix typos
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13011 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-20 23:32:48 +00:00
William S Fulton
399b4e120b html corrections
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13006 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-19 18:31:46 +00:00
Olly Betts
b874b14db8 Lua 5.2.x is definitely supported now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12970 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-08 12:16:08 +00:00
Olly Betts
c0254c6331 Drop warning the SWIG-generated wrappers for Lua have only been tested using
mingw, as this is definitely no longer true.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12969 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-08 12:13:58 +00:00
Olly Betts
fec1ecc6c5 Fix typos
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-05 04:07:07 +00:00
Olly Betts
67993c8786 Escape literal > to >
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-14 11:15:06 +00:00
Olly Betts
dce1a85757 Fix typos
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-14 11:12:12 +00:00
William S Fulton
d005a2cc3f New section numbering adding in Android chapter
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12869 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-10 16:53:04 +00:00
William S Fulton
9dda4dd3fd Lua documentation patch on %newobject from Thomas Pollak
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12854 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-01 20:30:21 +00:00
William S Fulton
2587e92ba9 Add eLua documentation patch from patch 3408012.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12816 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-24 13:59:54 +00:00
William S Fulton
932f47a845 SF patch #3394339 from Torsten Landschoff - new option -nomoduleglobal to disable installing the module table into the global namespace. Require call also returns the module table instead of a string
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12780 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-08-22 19:27:56 +00:00
William S Fulton
005b70be3a Chapter renumbering after adding D chapter
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12376 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-07 20:05:44 +00:00
William S Fulton
863aab5b4c Chapter renumbering after Go added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12112 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-10 06:10:55 +00:00
Olly Betts
3f47ff6988 Fix more doubled word typos
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12040 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-23 03:43:31 +00:00
William S Fulton
673ce4551e Fix numerous broken links reported by linkchecker
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11924 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-06 23:23:43 +00:00
William S Fulton
9006dc90ce Correctly mangle the html section names to prevent name clashes in the pdf document
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11921 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-06 19:35:25 +00:00
William S Fulton
e554146aac Fix a few inconsistencies in reporting of file/line numberings including modifying the overload warnings to now be two line warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11813 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-01-09 19:34:43 +00:00
William S Fulton
43e07da0f6 Update warnings to newer slightly modified warning format
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11810 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-01-09 00:56:02 +00:00
William S Fulton
eff5b3452c html fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11104 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-31 23:14:02 +00:00
William S Fulton
2a70d76d2e auto formatting mods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11076 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-21 19:06:13 +00:00
Mark Gossage
e604e46b17 [Lua] Added contract support for requiring that unsigned numbers are >=0
Rewrote much of Examples/Lua/embed3. 
Added a lot of to the Lua documentation.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11061 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-13 01:42:25 +00:00
William S Fulton
9ed9e006bc new section numbering since adding in ccache chapter
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10991 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-20 01:49:58 +00:00
Mark Gossage
11647d87e8 [lua] Added a typemap DISOWN for SWIGTYPE* and SWIGTYPE[], and support for %delobject feature.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-27 01:58:30 +00:00
Xavier Delacour
652cf605fa Some documentation improvements for Octave.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-22 19:54:50 +00:00
Mark Gossage
e543cd9040 [lua] added %luacode feature, documentation & examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10312 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-17 08:50:59 +00:00
Mark Gossage
8350c724f5 [lua] updated docs for exceptions
added new examples (exception,embed2)
update typmaps

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10300 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-06 09:44:48 +00:00
William S Fulton
c99fe90574 Put the chapters back in order after erroneously incorrectly reordering them in last checkin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10294 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-02 22:41:58 +00:00
William S Fulton
f74c2b9ede Add in Octave and R sections
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10292 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-02 22:13:14 +00:00
Mark Gossage
75fef26210 [lua] update lua.html
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10187 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-12-12 01:14:21 +00:00
Mark Gossage
f87371fe8c [lua] extras compability for lua 5.1, fixed a static link name conflict
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-10 09:30:49 +00:00
Mark Gossage
c3ec8fdce3 [lua] Fix a bug in SWIG_ALLOC_ARRAY()
improved the error messages for incorrect arguments.
Changed the output of swig_type() to use the human readable form of the type, rather than the raw swig type.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-05 01:31:51 +00:00
William S Fulton
5ec6a8ea61 changes after running the html checker
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9861 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-02 21:38:54 +00:00
Mark Gossage
61fdde65cc Fixed issues with C++ classes and hierachies across multiple source files.
Fixed imports test case & added run test.
Added Examples/imports.
Added typename for raw lua_State*
Added documentation on native functions.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9748 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-02 02:20:29 +00:00
Olly Betts
8d304ae602 Escape < and > in HTML since unescaped instances confuse htmldoc and cause it
to mangle the "one HTML page" version of the manual.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9662 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-26 01:12:09 +00:00
Mark Gossage
a997938b63 Added a lua specific carrays.i which adds the operator[] support.
modified the main code to make it not emit all the class member functions & accessors

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9642 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-22 04:59:16 +00:00
Mark Gossage
bc08e0f335 making setting immutables an error
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9626 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-21 04:53:12 +00:00
William S Fulton
1a439a9e19 $self special variable for %extend
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9530 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-08 00:54:28 +00:00
William S Fulton
b156d65219 html fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8955 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-04 23:43:20 +00:00
Mark Gossage
fad49549ea Small update Lua documents on troubleshooting problems
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-24 03:17:51 +00:00
William S Fulton
95374a8424 minor html fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8329 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 21:32:12 +00:00
Mark Gossage
e0f65b85b1 fixed mistakes in the manual
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8080 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 10:01:36 +00:00