Commit graph

4,316 commits

Author SHA1 Message Date
Surendra Singhi
bd050b97b4 Added my name.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7486 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 02:10:07 +00:00
William S Fulton
e5e699d2dd html validation fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7485 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-22 22:41:20 +00:00
William S Fulton
663f4ed451 section numbering update after running makefile
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7484 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-22 22:35:56 +00:00
William S Fulton
2a1b4e0ce6 1.3.26 update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7483 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-22 22:34:45 +00:00
William S Fulton
18994d5a5f operator tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7482 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-22 22:31:01 +00:00
William S Fulton
4c80e1ea69 add test for assigment operator
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-22 22:30:28 +00:00
William S Fulton
d4db912fa2 provide default names for operators
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-22 22:29:39 +00:00
William S Fulton
4b7cd27186 Updates for 1.3.26
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7479 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-22 22:28:55 +00:00
Charlie Savage
a557be3f21 Fixed compile problem on windows. The code defines a template called max - however, Windows already defines a macro called max. The fix is to undefine the macro.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-22 03:22:05 +00:00
Kevin Ruland
11b2f467cd Added words stating limited PHP5 support.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7477 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-21 15:22:29 +00:00
William S Fulton
bf48768e04 Lua improvements - Mark Gossage patch #1295168
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7476 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 20:57:30 +00:00
William S Fulton
b4a56ba679 Lua improvements - Mark Gossage patch #1295168
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 20:43:43 +00:00
William S Fulton
8cf9666be2 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7474 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 20:38:24 +00:00
William S Fulton
ea9f2494ff Lua improvements - Mark Gossage patch #1295168
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7473 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 20:12:37 +00:00
William S Fulton
76d58c55cb Lua improvements - Mark Gossage patch #1295168
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7472 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 20:05:06 +00:00
William S Fulton
d0381c8141 New Lua examples - Mark Gossage patch #1295168
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7471 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 20:00:56 +00:00
William S Fulton
afda89dc49 Mark Gossage patch 1295168
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 19:35:23 +00:00
Kevin Ruland
92c5d2a22b Fix error message in %typemap(in) SWIGTYPE*.
Change handling of char[ANY] out.  Now return null padding.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7469 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 14:50:16 +00:00
Kevin Ruland
b35cc31dd1 Change handling of char[ANY] output typemaps, have it return the null
padding and use t_output_helper.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 14:44:56 +00:00
Kevin Ruland
91a076f516 Convert PHP nulls into NULL pointers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7467 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 14:44:11 +00:00
Kevin Ruland
9cd0336266 Print variables from both C and PHP prior to modifications.
Call name_set() with a much shorter argument to make sure
nulls are padded.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 14:43:12 +00:00
Kevin Ruland
2a8891e6a0 Change length of name to 5.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7465 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 14:41:57 +00:00
Kevin Ruland
798499eff7 Change length of name to 5 to make manipulation easier.
Print out the individual characters of name[].
Use Print_point() function in print_vars().


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7464 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 14:40:55 +00:00
Kevin Ruland
455035e04e In create_simple_make(), use CXX to link the extension module when
either -c++ or -withcxx is used.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7463 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 13:55:23 +00:00
Kevin Ruland
24442fb756 Change example so it builds Foo_get() and Foo_set() wrappers. Use these
wrappers in the runme.php4.  Added wrapped method print_Foo() just to make
sure all is working.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7462 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 13:53:44 +00:00
Kevin Ruland
e1145cb383 Use named typemaps "REF" in add() function. Corresponds to recent changes
in phppointer.i


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7461 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 13:52:41 +00:00
Kevin Ruland
bd694705d0 Add include.php file and include it using pragma.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7460 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-20 02:33:05 +00:00
William S Fulton
20f6f843a8 fix symbol clash on windows for ruby
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7459 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-19 08:52:32 +00:00
William S Fulton
61af5b436f Undo formatting mods from earlier commit which messed up the table of contents generation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7458 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-18 22:07:16 +00:00
Kevin Ruland
a93bf86070 Update to documentation to cover new features and additions to php module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7457 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:26:27 +00:00
Kevin Ruland
cfb985d925 Change typemap to use variable name REF.
Added additional typemaps for other simple types (integers, doubles, strings).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7456 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:25:49 +00:00
Kevin Ruland
9c1a6a85f3 Switch typechecks for simple data types to allow conversion.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7455 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:24:05 +00:00
Kevin Ruland
e40a114246 Change one argument to string to show silent conversion to doubles and
prove no accidental data loss.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7454 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:22:26 +00:00
Kevin Ruland
1ea3104707 Added a string to the argument list.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7453 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:20:50 +00:00
Kevin Ruland
ce5e38367c Added an example showing use of %pragmas and init/shutdown code injection.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7452 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:19:56 +00:00
Kevin Ruland
1935c2d69d Fix test cases to always use intp wrappers. This is required because of changes
to the default handling of pointer and references to basic types.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7451 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:18:15 +00:00
Marcelo Matus
938b799365 CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7450 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 00:44:06 +00:00
Marcelo Matus
eef3f9169d fix example max macro/template and external max macro conflicts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 00:35:38 +00:00
Marcelo Matus
285ecebd14 Add -nocppcast. Now the default is to use the cppcast operator. If this seems to break your code... your welcome\!, it means it was broken before and you never notice. Use -nocppcast only for very old C++ compilers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 00:34:04 +00:00
Kevin Ruland
3083a9fe90 Removed the -xmlout from swig.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7447 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 15:50:50 +00:00
Surendra Singhi
e9e0e0bb51 Added links to Lisp and Lua support.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7446 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 05:34:05 +00:00
Surendra Singhi
43dca699e1 Initial revision. Something about UFFI and AllegroCL, has to be written.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7445 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 05:33:09 +00:00
Surendra Singhi
34e19845db Update my personal info.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7444 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 05:27:26 +00:00
Surendra Singhi
7d6a223b7d Changed the chapter number from 30 to 31.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 05:27:12 +00:00
Surendra Singhi
8aa2c9d0d3 Added chapter for Common Lisp.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 05:26:35 +00:00
William S Fulton
f54eeee5f3 unsigned long long director fixes (bug 1238798)
Also missing cvs commit for director fixes for SWIGTYPE


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-14 22:07:44 +00:00
Marcelo Matus
485ee19139 add missing directorin typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-14 14:38:46 +00:00
Marcelo Matus
be51f8389d add missing directorin typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-14 14:36:57 +00:00
William S Fulton
dec7f07eb1 jweak cast fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7437 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-13 21:03:01 +00:00
William S Fulton
5b2e9e54ca test directors with classes passed by value, ref and pointer
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-13 21:02:21 +00:00