Commit graph

173 commits

Author SHA1 Message Date
Marcelo Matus
b670533614 fix several compiler warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8531 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 22:58:49 +00:00
Marcelo Matus
993954c2fb add checking code for fwrite, problem reported by Michal Marek
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8472 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-17 00:52:34 +00:00
Marcelo Matus
41ea394b6e fix seg fault with feature:callback
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8178 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 09:50:50 +00:00
Marcelo Matus
42a0fd0134 use const in HashGetAttr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8168 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 04:19:43 +00:00
Marcelo Matus
dfd35441ec fixes and docs in %rename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8160 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-01 11:01:12 +00:00
Marcelo Matus
a32d40e0f1 add better support for encoder, command including
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8149 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:38:29 +00:00
Marcelo Matus
d7a6140c7a fix confusion with --/++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7982 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-14 07:27:02 +00:00
Marcelo Matus
34e0da0d4d more memory leaks fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7921 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-04 01:16:57 +00:00
Marcelo Matus
b66f1e672b fix many/many memory leaks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7904 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-30 21:32:27 +00:00
Marcelo Matus
597f6f6e28 fix compiler warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7899 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-29 01:58:31 +00:00
Marcelo Matus
3413b92e7a remove many memory leaks and cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-29 01:47:10 +00:00
Marcelo Matus
cf1585fef7 add NewStringEmpty, use more StringEuqual and less Strcmp
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-28 17:32:56 +00:00
Marcelo Matus
35ebeba612 extra check only in debug mode
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7894 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-28 02:45:05 +00:00
Marcelo Matus
5bffd9e6af add direct methods StringLen and HashGetAttr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7890 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-28 02:36:26 +00:00
Marcelo Matus
c56a36cf7f add direct HashCheckAttr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 09:58:26 +00:00
Marcelo Matus
5f29037ae3 add the Equal method to the DOH objects and other speed ups
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7883 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:38:44 +00:00
Marcelo Matus
726de6fc52 last performance improvements, and typemaps fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7865 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-24 09:20:24 +00:00
Marcelo Matus
1c7786574f improve cpp performance
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7862 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-23 03:10:00 +00:00
Marcelo Matus
c974e55455 add GetFlagAttr/SetFlagAttr to deal with flag attributes as callbak and ref/unref
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7603 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-07 13:16:21 +00:00
William S Fulton
33486da5a5 New functions GetFlag and SetFlag
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7561 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 21:34:01 +00:00
William S Fulton
1e86fe52c3 minor typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7417 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-08 22:35:37 +00:00
William S Fulton
6247abbd01 Better error message displayed when file cannot be opened
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7416 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-08 22:31:21 +00:00
Marcelo Matus
f906b4d5e7 fix sorting problem with template types, strcmp can't be used directly with the DOH_String type. Use Cmp
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-26 07:06:10 +00:00
Marcelo Matus
8b64b4702e fix fabrice sort problem, maybe
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7386 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-23 09:43:55 +00:00
William S Fulton
1f9ca483c9 Fix for crash in DohStrstr, bug #1190921
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7204 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-21 00:31:30 +00:00
William S Fulton
f9ca6ab4c0 gcc-4.0 warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7167 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-24 20:34:51 +00:00
Marcelo Matus
508fd65f13 fix string cmp old change
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7098 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-22 09:51:29 +00:00
William S Fulton
5d657e01ae const warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6945 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 21:00:52 +00:00
John Lenz
f6964f285f - Improve the runtime type sytesm
- Update all languages to new type system
- Add DohSortList function
- Fix mzscheme Examples/Makefile


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-01 00:08:24 +00:00
William S Fulton
06bc02c126 warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6551 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 21:34:01 +00:00
William S Fulton
c486c70075 Fix to keep gcc-3.4 happy
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6523 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 21:18:09 +00:00
Marcelo Matus
ddbf2915aa fix '0' array filling
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 02:22:15 +00:00
William S Fulton
9f158cbd5d Just fixed comment (strncmp is ANSI C so will be present on all systems as SWIG requires an ANSI compiler)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6278 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-27 20:17:36 +00:00
Marcelo Matus
26265006cc back to strncmp, is not clear if memcmp is faster
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6272 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-27 08:41:51 +00:00
Marcelo Matus
ce680838a6 CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6269 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-26 01:14:49 +00:00
Henning Thielemann
483d8b4367 added basic Modula-3 support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5776 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-19 11:45:29 +00:00
William S Fulton
238e948bbe Eric Sunshine patch - Mods to work on NextStep
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-22 22:42:18 +00:00
William S Fulton
8377edf02a Various warning fixes for .NET 2003 cl /W4 to work barring one warning and for gcc -ansi -Wall -pedantic to be warning free:
const fixes and function prototype declarations matching the definition etc


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-15 22:46:07 +00:00
Dave Beazley
f0b686d62c [ 829317 ] Adds DohSplitLines function
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5214 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-31 17:36:37 +00:00
Dave Beazley
4cf4dad108 Major refactoring of DOH List/Hash iterators. See CHANGES
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-11 20:26:57 +00:00
Dave Beazley
66036e07bd Warning cleanup. Etc.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-15 19:37:27 +00:00
William S Fulton
e81b4cd86c warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4925 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-25 09:36:59 +00:00
William S Fulton
fc09393e6a Minor tweak to remove warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4773 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-07 18:58:36 +00:00
Dave Beazley
881e79e042 Fixed meta-leak.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-10 19:20:09 +00:00
Dave Beazley
9f47936dd0 Memory diagnostics. Huge memory leak cleanup related to templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-27 23:17:27 +00:00
Dave Beazley
4cad223e98 Missing declaration
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4636 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-27 17:28:35 +00:00
Dave Beazley
732612cac3 String enhancements. Slice deletion
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4629 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-26 03:28:00 +00:00
Dave Beazley
3446ba2648 Fixed problem with NOQUOTE string replacement.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4627 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-25 20:10:15 +00:00
Dave Beazley
d060c1b248 Enhancement to Swig_require(), Swig_save(), Swig_restore()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 21:10:49 +00:00
Dave Beazley
71748e9622 Refinement of noquote string replace to fix
[ 605162 ] Typemap local variables.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4366 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-20 19:46:35 +00:00