summaryrefslogtreecommitdiff
path: root/Source/Modules/ruby.cxx
Commit message (Collapse)AuthorAgeFilesLines
* gcc-5.1 warning fixesWilliam S Fulton2015-04-261-4/+2
|
* Fix C&P references to Python in commentsOlly Betts2015-03-271-2/+2
|
* Create director_common.swg for language-indep codeOlly Betts2015-03-121-0/+1
| | | | | Move -DSWIG_DIRECTOR_STATIC handling there, so this is now supported for all languages with director support, not just Python and PHP.
* The kwargs feature no longer turns on compactdefaultargs for languages that ↵William S Fulton2014-10-211-0/+8
| | | | | | | | don't support kwargs. Affects all languages except Python and Ruby. Closes #242
* Eliminate needless casting away const from string constantsOlly Betts2014-04-301-2/+2
|
* Merge branch 'master' into gsoc2009-matevzWilliam S Fulton2013-10-101-6/+2
|\ | | | | | | | | | | | | | | | | | | Conflicts: Examples/Makefile.in Examples/guile/Makefile.in Lib/php/php.swg Makefile.in Source/CParse/parser.y configure.ac
| * Fix a const_cast in generated code that was generating a <:: digraph when ↵William S Fulton2013-07-011-1/+1
| | | | | | | | | | | | | | | | using the unary scope operator (::) (global scope) in a template type. Affects Python, Ruby, Ocaml. Based on SF patch #341.
| * Apply patch SF #334 - Fix Python default value conversions TRUE->True, ↵William S Fulton2013-01-291-5/+1
| | | | | | | | FALSE->False.
* | Merge branch 'master' into gsoc2009-matevzWilliam S Fulton2013-01-281-280/+296
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | parser.y still to be fixed up Conflicts: Doc/Devel/engineering.html Examples/Makefile.in Lib/allegrocl/allegrocl.swg Lib/csharp/csharp.swg Lib/csharp/enums.swg Lib/csharp/enumsimple.swg Lib/csharp/enumtypesafe.swg Lib/java/java.swg Lib/python/pydocs.swg Lib/r/rtype.swg Source/Include/swigwarn.h Source/Modules/octave.cxx Source/Modules/python.cxx Source/Modules/ruby.cxx Source/Swig/scanner.c Source/Swig/stype.c Source/Swig/swig.h configure.ac
| * Remove cvs/svn Id stringsWilliam S Fulton2013-01-121-2/+0
| |
| * Remove some unused code and pointless variable assignmentsWilliam S Fulton2012-11-231-5/+1
| | | | | | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13932 626c5289-ae23-0410-ae9c-e8d60b6d4f22
| * Remove unnecessary null checks or fix potential null dereferencesWilliam S Fulton2012-11-201-9/+11
| | | | | | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13925 626c5289-ae23-0410-ae9c-e8d60b6d4f22
| * Fix uninitialised member varWilliam S Fulton2012-11-191-5/+11
| | | | | | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13909 626c5289-ae23-0410-ae9c-e8d60b6d4f22
| * Fix segfaults when using filename paths greater than 1024 characters in ↵William S Fulton2012-11-181-2/+5
| | | | | | | | | | | | length - use String * and heap instead of fixed size static char array buffers. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13904 626c5289-ae23-0410-ae9c-e8d60b6d4f22
| * Fix Coverity 'Uninitialized pointer fields' - member variables are now ↵William S Fulton2012-11-141-27/+31
| | | | | | | | | | | | initialized git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
| * Remove DohClose (Close) and replace with calls to DohDelete (Delete) to fix ↵William S Fulton2012-11-141-2/+1
| | | | | | | | | | | | some minor memory leaks in most uses of NewFile. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13885 626c5289-ae23-0410-ae9c-e8d60b6d4f22
| * Cosmetic variable renaming for consistency across language modulesWilliam S Fulton2012-10-271-6/+6
| | | | | | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13874 626c5289-ae23-0410-ae9c-e8d60b6d4f22
| * Fix director typemap searching so that a typemap specified with a name will ↵William S Fulton2012-10-271-38/+9
| | | | | | | | | | | | be correctly matched. Previously the name was ignored during the typemap search. Implemented by ensuring the 'type' attribute in the Node is set up correctly and using the usual Swig_typemap_lookup on the Node. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13873 626c5289-ae23-0410-ae9c-e8d60b6d4f22
| * Fix regression introduced in r12784William S Fulton2011-12-221-2/+0
| | | | | | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12883 626c5289-ae23-0410-ae9c-e8d60b6d4f22
| * Remove warning: 'self' is a ruby keyword, renaming to 'C_self' since ↵William S Fulton2011-12-211-10/+7
| | | | | | | | | | | | improving autodoc for Ruby git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12882 626c5289-ae23-0410-ae9c-e8d60b6d4f22
| * Correct special variables in 'directorargout' typemap. This change will ↵William S Fulton2011-12-201-30/+12
| | | | | | | | | | | | break any 'directorargout' typemaps you may have written. Please change: to and to \n Also fix the named 'directorargout' DIRECTOROUT typemaps for these languages which didn't previously compile and add in , etc expansion.\n [C#, Go, Java, D] Add support for the 'directorargout' typemap.\n [Java] Add (char *STRING, size_t LENGTH) director typemaps. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
| * same class name in different namespaces confusion when using multiple modules.William S Fulton2011-11-131-1/+1
| | | | | | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12837 626c5289-ae23-0410-ae9c-e8d60b6d4f22
| * Remove numerous hard coded 'result' variable name in generated c/c++ ↵William S Fulton2011-10-301-27/+28
| | | | | | | | | | | | wrappers. The variable name is now defined in just one place, making it possible to change the name easily if a target language so wishes - see cwrap.c. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12830 626c5289-ae23-0410-ae9c-e8d60b6d4f22
| * Add in $symname expansion for director methodsWilliam S Fulton2011-08-041-0/+2
| | | | | | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12772 626c5289-ae23-0410-ae9c-e8d60b6d4f22
| * Repeat autodoc fixes for Octave and Ruby as done previously for PythonWilliam S Fulton2011-06-131-105/+160
| | | | | | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12740 626c5289-ae23-0410-ae9c-e8d60b6d4f22
| * Rename python_kwargs testcase to kwargs_feature. Add kwargs_feature to Ruby ↵William S Fulton2011-06-131-1/+1
| | | | | | | | | | | | and fix Ruby warnings when using kwargs feature. Add %kwargs macro for Ruby git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12739 626c5289-ae23-0410-ae9c-e8d60b6d4f22
| * Remove redundant code highlighted by warnings in gcc-4.6William S Fulton2011-03-141-6/+0
| | | | | | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12536 626c5289-ae23-0410-ae9c-e8d60b6d4f22
| * Better consistency in usage displayWilliam S Fulton2011-03-091-5/+6
| | | | | | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12524 626c5289-ae23-0410-ae9c-e8d60b6d4f22
| * [Ruby] Avoid segfault when a method node has no parentNode (SF#3034054).Olly Betts2010-10-011-2/+9
| | | | | | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12237 626c5289-ae23-0410-ae9c-e8d60b6d4f22
| * Line/file reporting corrections for warnings: ↵William S Fulton2010-09-211-1/+1
| | | | | | | | | | | | WARN_RUBY_MULTIPLE_INHERITANCE, WARN_TYPE_UNDEFINED_CLASS, WARN_MODULA3_MULTIPLE_INHERITANCE git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12225 626c5289-ae23-0410-ae9c-e8d60b6d4f22
| * Fix undefined behaviourWilliam S Fulton2010-09-141-14/+0
| | | | | | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12220 626c5289-ae23-0410-ae9c-e8d60b6d4f22
| * Fix undefined behaviour with Ruby and autodoc generationWilliam S Fulton2010-09-141-0/+14
| | | | | | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12218 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* | Improve nullptr constant wrappingWilliam S Fulton2012-09-201-1/+1
|/ | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@13842 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* code style: fix inconsistent NULL pointer comparisonsWilliam S Fulton2010-06-171-6/+6
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Apply Ubuntu patch to fix Ruby and std::vector wrappers with -minherit.William S Fulton2010-04-091-1/+5
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11987 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* minor ruby cleanupWilliam S Fulton2010-03-131-2/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11938 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* add some missing nspace supportWilliam S Fulton2010-03-101-3/+3
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11936 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Add improved namespace support - the nspace feature, working for Java only ↵William S Fulton2010-03-041-2/+2
| | | | | | at the moment. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* SWIG license change - Source moves to GPLv3William S Fulton2010-02-271-2/+6
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* remove some unnecessary castsWilliam S Fulton2010-02-111-3/+3
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11853 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Add typemaps used debugging option (-debug-tmused). Fix missing file/line ↵William S Fulton2010-01-041-2/+2
| | | | | | numbers for typemap warnings and in the output from the -debug-tmsearch/-debug-tmused options git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11802 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* remove extra lookup of directorout typemapWilliam S Fulton2009-06-051-5/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11246 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Fix #2676738 SWIG generated symbol name clashes.William S Fulton2009-03-121-12/+12
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11150 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* add new %begin directive for inserting code at top of wrapper fileWilliam S Fulton2009-02-201-18/+26
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Replaced all [const] String_or_char * to const_String_or_char_ptr, by the ↵Haoyu Bai2009-01-241-8/+8
| | | | | | | | | | | | following command: sed -i "s/\(const \)\?String_or_char \*/const_String_or_char_ptr /g" CParse/* Include/* Modules/* Preprocessor/* Swig/* This is a preparation for moving to new DOH, since for strong typed objects we need the const_String_or_char_ptr class to implicit convert to and from String * or const char *. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11080 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* All languages now define a macro in the generated C/C++ wrapper file ↵William S Fulton2008-12-301-0/+2
| | | | | | indicating which language is being wrapped, eg #define SWIGJAVA git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11018 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* customised ccache support: read the CCACHE_OUTFILES env variable and if ↵William S Fulton2008-11-031-2/+2
| | | | | | exists, the names of all generated files are written to the filename specified in the env variable git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Remove some vc++ /W4 warningsWilliam S Fulton2008-06-211-5/+5
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10540 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Remove old swig-1.1 Swig_typemap_lookup function. Rename ↵William S Fulton2008-05-151-9/+9
| | | | | | Swig_typemap_lookup_new() to Swig_typemap_lookup() git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10453 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Add the optimal attribute to the out typemap for more optimal code ↵William S Fulton2008-05-141-62/+69
| | | | | | generation when returning objects by value git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10450 626c5289-ae23-0410-ae9c-e8d60b6d4f22