Commit graph

857 commits

Author SHA1 Message Date
Oliver Buchtala
050219d998 Merge branch 'devel' of https://github.com/Neha03/gsoc2012-javascript into devel
Conflicts:
	.project
	COPYRIGHT
	Doc/Manual/style.css
	Examples/Makefile.in
	Examples/test-suite/common.mk
	Lib/typemaps/strings.swg
	Makefile.in
	Source/DOH/fio.c
	Source/Makefile.am
	Source/Modules/emit.cxx
	Source/Modules/javascript.cxx
	configure.in

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13764 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 00:56:48 +00:00
Oliver Buchtala
8168750c1b Add example for string marshalling to v8 specification.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13761 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 00:52:16 +00:00
Oliver Buchtala
67a3de9a93 Add example for inheritance to v8 specification.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13760 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 00:52:02 +00:00
Oliver Buchtala
e8dd979d16 Update v8 specification.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 00:51:29 +00:00
Oliver Buchtala
0fd30dc60f Add examples to specification of v8 code generator.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13757 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 00:51:16 +00:00
Oliver Buchtala
badf090cb5 Extend and rename v8 helper functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13756 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 00:51:00 +00:00
Oliver Buchtala
90bbc6430b Update v8 specification.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13747 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 00:48:24 +00:00
Oliver Buchtala
83ac719315 Add manual generated v8 wrapper examples to v8 specification.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13745 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 00:47:51 +00:00
Oliver Buchtala
a0b71935f2 Update v8 code generator specification.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13744 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 00:47:38 +00:00
Oliver Buchtala
4bcfca05dd Add some implementation details to specification of v8 code generator.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13742 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 00:46:31 +00:00
Oliver Buchtala
e888d7a892 Add a document about mapping C++ language features to Javascript.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13741 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 00:46:18 +00:00
Oliver Buchtala
5b5fdb171e Add a paragraph about control flow analysis to V8 specification.
Control flow analysis for use cases:
- static variables
- simple class
- class properties
- class methods
- static class variables and functions
- inheritance.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13740 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 00:46:03 +00:00
Oliver Buchtala
ba40fffd91 Add initial specification of code generator templates for V8 module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13738 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-09-08 00:45:35 +00:00
William S Fulton
8aeb72ef3b swig-2.0.6 release date and summary
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13025 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-29 21:52:27 +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
William S Fulton
88fa632715 Fix %fragment error in docs and improve preprocessing and delimiters section - SF bug 3519394
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13022 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-28 15:30:19 +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
e464aa021b Bump version to 2.0.6
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13009 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-19 21:30:06 +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
William S Fulton
40c6b36614 Add 2.0.5 release date
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-19 06:16:07 +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
7d6da8d319 Update examples to talk about a version of Perl which we actually still
support.
Use $ for the shell prompt character, since that matches what most users
will see.
Compile code for shared use with -fPIC, since that's required for most
architectures, and a good idea even on x86.
Fix Sun C++ example to use CC not g++ for invoking the compiler.
Drop space before colon in prose. 


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-27 04:18:36 +00:00
Ian Lance Taylor
602730a327 Add support for new features available in gccgo 4.7, notably calling
Entersyscall and Exitsyscall around calls to wrapped C/C++ code.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12940 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-20 22:35:40 +00:00
Xavier Delacour
6cd79f4320 Use -globals . to load global variables in module namespace (from Karl Wette)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12908 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-02-27 17:07:16 +00:00
William S Fulton
320a83627c Expand docs on advanced %ignore
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12907 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-02-16 20:28:16 +00:00
William S Fulton
280666ed38 Add PCRE build instructions to Windows build instructions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12894 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-01-07 23:42:15 +00:00
William S Fulton
5ef2affe53 Use public visibility for pointer constructor and getCPtr() when using nspace fixes and docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12888 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-23 20:03:09 +00:00
William S Fulton
b2b2dd65de Ruby doc improvements after directorargout typemap changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12878 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-20 21:17:21 +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
98daf4763d Fix typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-10 18:32:43 +00:00
William S Fulton
b89178af5c Tidy up: remove unused pictures
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-10 17:09:46 +00:00
William S Fulton
f571b357e7 Add Android docs - supporting screenshots
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12870 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-10 17:03:50 +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
4d67b06dd8 Add Android docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12867 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-10 14:55:40 +00:00
Olly Betts
5cf5f252d3 Improvements to PHP documentation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-12-06 00:39:19 +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
6e56d87471 Fix inconsistencies in Java and C# getCPtr() and pointer constructor visibility - change to protected/internal from public. Add SWIG_JAVABODY_PROXY, SWIG_JAVABODY_TYPEWRAPPER and SWIG_CSBODY_PROXY, SWIG_CSBODY_TYPEWRAPPER for users to easily change when using multiple modules.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12844 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-25 21:20:47 +00:00
William S Fulton
6a74028e65 Fix inconsistencies in Java and C# getCPtr() and pointer constructor visibility - change to protected/internal from public. Add SWIG_JAVABODY_PROXY, SWIG_JAVABODY_TYPEWRAPPER and SWIG_CSBODY_PROXY, SWIG_CSBODY_TYPEWRAPPER for users to easily change when using multiple modules.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12843 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-25 20:56:56 +00:00
William S Fulton
931c331f9f Remove non ascii characters from docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12839 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-16 07:56:34 +00:00
William S Fulton
e00bbdc591 Add docs on special variable expansion in typemap warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12834 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-11-04 19:51:17 +00:00
William S Fulton
690185fe85 Correct docs on javainterfaces typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12823 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-10-09 17:52:08 +00:00
William S Fulton
5923117e81 HTML cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12817 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-24 14:01:20 +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
4c6f66577a Add warnings for badly named destructors. Fix %extend and destructors for templates - they weren't always being wrapped. Fix destructor "name" attribute.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12804 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-09-13 06:15:29 +00:00
Xavier Delacour
458dfd497b Updated bits of the documentation, mostly about the Octave-specific command-line arguments and the module command-line arguments that were added in swig 2.0.4, and the new module-loading behaviour. Also changed example_wrap.cxx to example_wrap.cpp, since mkoctfile doesn't recognise .cxx as a C++ extension. (thanks to Karl Wette)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12795 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-08-31 20:55:12 +00:00
William S Fulton
c794d08597 Fix %newobject when used in conjunction with %feature(ref). The code from the ref feature was not always being generated for the function specified by %newobject. Documentation for ref and unref moved from Python to the C++ chapter.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12783 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-08-23 19:29:10 +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