Statistics
| Branch: | Tag: | Revision:

root / gnuradio-core / src / lib / swig @ 8e8335e2

# Date Author Comment
8e8335e2 04/21/2012 04:05 pm Johnathan Corgan

core: add SWIG macro for namespaced blocks

f919f9dc 04/13/2012 10:36 pm Tom Rondeau

Removed whitespace and added dtools/bin/remove-whitespace as a tool to do this in the future.

The sed script was provided by Moritz Fischer.

2bf64459 04/01/2012 08:13 pm Tom Rondeau

Removes all references to guile and scheme, which are no longer needed.

The remaining pmt_serial_tags.scm is parsed by Python already. Future modifications could change this format to not confuse the point.

fcdac045 03/16/2012 08:57 pm Tom Rondeau

Merge branch 'master' into next

Conflicts:
gruel/src/swig/Makefile.am

f9a07338 03/16/2012 08:09 pm Josh Blum

gruel: created common swig include file

This work taken from gruel_work_squashed

Common swig file includes:
  • Language independent exception handler
  • Wrapper for python calls that may block
Benefits:
  • More common swig code, less copy pasta
  • Wrapper for blocking python calls handles...
00420d32 12/08/2011 09:48 pm Johnathan Corgan

Removed autotools, gr-waveform, some cleanup

Nick Foster owes Nick Corgan a six-pack of beer!

67d0b6b3 12/07/2011 12:59 am Tom Rondeau

docs: fixes some warnings.

There is way too much institutional knowledge in these makefiles now. Another reason I'm glad we're going to cmake, which is being kept more sane as all of the problems are already known.

0370cfc8 12/05/2011 03:58 pm Tom Rondeau

docs: more fixes for generated swig files. This worked before the merge, but this forces the build system to generate these before processing the other swig files.

fe2e6f80 12/04/2011 04:10 pm Tom Rondeau

docs: better install of swig docs .i files since we actually have a variable to take care of it already.

0408e48c 11/28/2011 06:11 am Tom Rondeau

docs: installing generated _doc.i files under autotools.

0a21e258 11/27/2011 07:56 pm Tom Rondeau

docs: autotools Makefile.am generates empty swig_docs .i files; builds in autotools and cmake.

The autotools build does not auto-generate the Python documentation for each block like we do with the cmake build, but the empty .i files are required to build things regardless. The swig_doc.py and doxyxml files are distributed with the autotools build in case someone wants to generate this on their own (see README.doxyxml for how to do this)....

11d58fe2 11/17/2011 07:40 am Josh Blum

work on swig docs, added to core and digital

0b3a4a2c 11/05/2011 04:44 am Josh Blum

cmake: fixed up swig deps properly for make -j*

Also took the time to fix up the swig index file generation.
This may have not-been auto-regenerating before as well.

9789365e 10/21/2011 05:38 am Josh Blum

tags: added swigging for gr_tags header

a57f7484 10/19/2011 11:21 pm Josh Blum

swig: fix rules for generated index files

71c0f14a 10/09/2011 12:11 am Josh Blum

gr: the CMakeLists.txt took a chill pill

ef7ab8e0 10/03/2011 08:59 pm Josh Blum

core: make the lib/swig depend on the generated targets

15ae4167 09/29/2011 08:16 am Josh Blum

swig: added python script to auto-extract dependencies

74ec2b60 09/29/2011 06:03 am Josh Blum

Merge branch 'next' of http://gnuradio.org/git/gnuradio into next

21e9139f 09/27/2011 05:32 pm Johnathan Corgan

Merge branch 'master' into next

5b1c7b73 09/27/2011 05:23 pm Josh Blum

swig: language independent exception handler

d50ffb57 09/08/2011 06:14 am Josh Blum

core: added source deps to swig files (regen on .h,.i)

accb9f2f 07/21/2011 02:04 am Josh Blum

gr: squashed cmakelists.txt into one commit

f914499f 07/21/2011 01:38 am Josh Blum

core: API declaration macros for core class and function symbols

3a5d0529 02/28/2011 12:03 am Ben Reynwar

Minor bug fixes (from last two commits)

315f45c2 02/27/2011 08:40 pm Ben Reynwar

Removing docstring generation from this branch.

44ad2b33 01/30/2011 08:36 pm Ben Reynwar

Fixed Makefiles to generate swig_doc.i

d1d4c8fd 01/30/2011 04:50 pm Ben Reynwar

Merged upstream from next

dad65db9 01/06/2011 03:56 am Eric Blossom

Have swig/guile wrap enums and constants as scheme variables, not functions.

08907ee9 12/11/2010 12:15 am Eric Blossom

Use load-extension-global instead of load-extension

55685f7a 12/07/2010 07:16 am Eric Blossom

Merge branch 'next' into guile-next

  • next: (116 commits)
    Adding new example script for using the new PFB arbitrary resampler interface. One resampler takes user-generated taps and another resampler just takes the resampling rate. Both input and output signals are plotted....
6df0423f 12/04/2010 07:34 am Eric Blossom

Regenerated Makefile.swig.gen's

0b5f6611 12/04/2010 07:30 am Eric Blossom

Rename libguile- to libguile-gnuradio- to match guile library naming convention.

The stuff in gnuradio-core ends up with funky names, but that could
be fixed by renaming gnuradio_core_filter.i -> core_filter.i etc.

ed55c41c 12/04/2010 04:30 am Ben Reynwar

Merge branch 'grorg-master'

d692a41f 11/25/2010 01:29 am Eric Blossom

Major Makefile.am housecleaning. Passes distcheck.

Move all occurrences of swig_built_sources out of Makefile.am's.
Move all SWIG related use of BUILT_SOURCES out of Makefile.am's.
Clean up 'if PYTHON' conditionalization in gr-*

Still left to do: fix Makefile.swig CLEANFILES and no_dist_files...

522073fa 11/24/2010 11:20 pm Tom Rondeau

Adding typedef for uint64_t and int64_t so we can use them through SWIG.

e4eb47f0 11/22/2010 03:43 am Eric Blossom

Clean up lib/swig/Makefile.am, Makefile.common and Makefile.swig

Confirmed that it builds and make checks on all four combintations
of --{enable,disable}-{python,guile}.

Have not tested make dist, but expect that there may be some problems
with it. I'm pretty sure that not all files that need to be removed...

d4ed4d96 11/22/2010 01:07 am Rob Savoye

go back to the generating the lists here, so make check works again

ac2fcdb9 11/22/2010 12:44 am Rob Savoye

remove -/gnuradio_swig_bug_workaround.h, it's not generated anymore.

734791df 11/22/2010 12:43 am Rob Savoye

don't generate this file anymore

f2e0c5b9 11/19/2010 01:39 am Rob Savoye

regenerated

9631c1fa 11/19/2010 01:39 am Rob Savoye

don't generate the list of scripts here, use the version in Makefile.swig

4eadee57 11/17/2010 09:54 pm Eric Blossom

Add support for guile std::vector< std::complex<float> >.

8180bb1d 11/17/2010 05:33 am Eric Blossom

regenerated

c80fdf28 11/16/2010 07:49 am Eric Blossom

Modify GR_SWIG_BLOCK_MAGIC to not strip package prefix when using
GUILE outside of gnuradio-core.

This avoids the problem with the guile bindings where multiple blocks
end up with the name gr:sink (e.g., audio_alsa_sink). With this
change, it ends us as gr:audio-alsa-sink....

df92b7c6 11/10/2010 09:01 pm Eric Blossom

regenerated

53c6be5b 11/10/2010 08:17 pm Eric Blossom

update .gitignore

5c81f275 11/10/2010 08:17 pm Eric Blossom

Remove .gitignore from empty directory

81867e5d 11/10/2010 08:17 pm Eric Blossom

Create guile QA framework.

Also moves hand coded files out of gnuradio-core/src/lib/swig/gnuradio
that were getting nuked by make clean.

406bd9d6 11/10/2010 08:15 pm Eric Blossom

Reduce guile load time from 4.5 to 1.2 seconds.

Rewrite re-export-all to only export symbols from the module name supplied.

0939607d 11/10/2010 08:15 pm Rob Savoye

regenerated

2b11c904 11/10/2010 08:15 pm Rob Savoye

regenerated

f81c5677 11/10/2010 08:15 pm Rob Savoye

add script names to swig_built_sources, not BUILT_SOURCES. Clean the generated files than now live in subdirectories.

f2f013ec 11/10/2010 08:15 pm Eric Blossom

Rename coerce.scm to runtime-shim.scm. Modify core.scm to use runtime-shim.

76c90f91 11/10/2010 08:15 pm Eric Blossom

Export a few more items

8fe7f0fe 11/10/2010 08:15 pm Eric Blossom

Cleanup gr:connect and gr:disconnect for Guile.

Rename {dis,}connect to {dis,}primitive_connect in .i file.
Update python code to reflect change.

df6f365b 11/10/2010 08:15 pm Eric Blossom

Routines to coerce blocks and connect them

f7d9be06 11/10/2010 08:15 pm Rob Savoye

move good comment to here where it belongs

40fac3c4 11/10/2010 08:13 pm Rob Savoye

regenerated

589f7bfa 11/10/2010 08:13 pm Eric Blossom

Modules now load cleanly!

da69e1c1 11/10/2010 08:13 pm Eric Blossom

gnuradio-core modules are almost loading cleanly.

cbfffe41 11/10/2010 08:13 pm Eric Blossom

Move sizeof_* from gnuradio.i to runtime.i to avoid multiple definitions

299aba57 11/10/2010 08:13 pm Eric Blossom

Version that builds guile goops bindings, but dependencies are hosed.

Doesn't compile cleanly, but does enough to allow experimentation with
goops wrappers. We're currently seeing the nasty interaction between
the package system, the "export" syntax, and generic-functions....

27d1af7c 11/10/2010 08:13 pm Eric Blossom

Add %typecheck for complex.

Fixes problem with moving-average-cc.

5939ce69 11/10/2010 08:13 pm Eric Blossom

Move std_complex.i to gnuradio-core/src/lib/swig/guile.

Seems to basically work. There's some simple test code inline
in gnuradio_core_general.i.

0a81b7d4 11/10/2010 08:13 pm Eric Blossom

rm gnuradio_swig.scm. Got turned into gnuradio_core.scm

d1685679 11/10/2010 08:13 pm Eric Blossom

Missed a few: s/_swig_py_/_/

70dd1dc6 11/10/2010 08:13 pm Eric Blossom

rename s/gnuradio_swig_python/gnuradio_core/g

412a0043 11/10/2010 08:13 pm Eric Blossom

regenerate

c8e09b54 11/10/2010 08:13 pm Eric Blossom

s/_swig_py_/_core_/g

6421d470 11/10/2010 08:13 pm Eric Blossom

regenerate

fba8a45e 11/10/2010 08:13 pm Eric Blossom

Rename guile libs to libguile-* and install them in $(libdir).

This follows the Guile recommendations and should remove the need for
adding an additional directory to LD_LIBRARY_PATH.

6b5c73eb 11/10/2010 08:13 pm Eric Blossom

Remove #warning from gr_swig_block_magic.i

1e34972f 11/10/2010 08:13 pm Eric Blossom

Rengenerate Makefile.swig.gen's

98c246e2 11/10/2010 08:13 pm Eric Blossom

Remove leading _ from guile library names coded into .i files

1b95d66c 11/10/2010 08:13 pm Eric Blossom

Set new install locations for guile scm code and libraries.

I think we may want to rename the guile .so's and install them into
libdir instead...

0b80f3a4 11/10/2010 08:13 pm Eric Blossom

Remove dead and broken code from GR_SWIG_BLOCK_MAGIC.

Looks like this hasn't been used since we converted the hier_block
stuff to C++, and it's been broken since then.

00ba4204 11/10/2010 08:13 pm Eric Blossom

Move #ifdef SWIGPYTHON outside of %define

There's apparently a time-of-evaluation issue here.
The docs say they reevaluate the contents of %define at expansion
time. Apparently SWIGPYTHON et al. aren't defined in whatever scope
that may be.

b61a156d 11/10/2010 08:13 pm Eric Blossom

Move common stuff outside of if PYTHON

e3ea18ee 11/10/2010 08:10 pm Eric Blossom

Move TOP_SWIG_IFILES outside of if PYTHON

827f95ce 11/10/2010 08:10 pm Eric Blossom

Add stub for gnuradio_swig.scm to get make to work

cba092c9 11/10/2010 08:10 pm Rob Savoye

correct typo in script name

aa162012 11/10/2010 08:10 pm Rob Savoye

regenerated

cf8f2a00 11/10/2010 08:10 pm Rob Savoye

move new suffix rules to common Makefile so everything can use them.

75aed928 11/10/2010 08:10 pm Rob Savoye

add comments

5650ee3c 11/10/2010 08:10 pm Rob Savoye

regenerated

03418fed 11/10/2010 08:10 pm Rob Savoye

regenerated

05c1f489 11/10/2010 08:10 pm Rob Savoye

use suffixes to build scm and py files

9cc65810 11/10/2010 08:10 pm Rob Savoye

correct which lines are under comment

1812c93c 11/10/2010 08:10 pm Rob Savoye

load the general and gengen files, now that they compile.

221ad7b1 11/10/2010 08:10 pm Rob Savoye

put the ifdef in the right place

3e5e6838 11/10/2010 08:10 pm Eric Blossom

gitignore more swig generated files

f64af4b3 11/10/2010 08:10 pm Eric Blossom

gitignore swig generated files

bb04443e 11/10/2010 08:10 pm Rob Savoye

correct copyright date

d3d187f1 11/10/2010 08:10 pm Rob Savoye

improve comment

5ea1059c 11/10/2010 08:10 pm Rob Savoye

regenerated

0876f100 11/10/2010 08:10 pm Rob Savoye

install the scm files for guile too

2ecda7dd 11/10/2010 08:10 pm Rob Savoye

load what'll load for now

c4f8aab8 11/10/2010 08:10 pm Rob Savoye

add top level guile file

2038e098 11/10/2010 08:10 pm Rob Savoye

use foreach...subst to make a list of generated files instead of cut & paste for BUILT_SOURCES