annotate libinterp/corefcn/module.mk @ 16420:81ec95768520

use octave-link instead of hook for edit function * octave-main-thread.cc (edit_hook_fcn): Delete. (octave_main_thread::run): Don't install callback function for edit function. * octave-qt-link.h, octave-qt-link.cc (octave_qt_link::do_edit_file): Pass file as string instead of octave_value_list. Return status. * interpfcn/octave-link.h, interpfcn/octave-link.cc: Move here from interp-core directory. * libinterp/interp-core/module.mk, libinterp/interpfcn/module.mk: Update file lists. * octave-link.h: Don't include oct-obj.h. (octave_link::edit_file, octave_link::do_edit_file): Return bool. * octave-link.cc (F__octave_link_edit_file__): New function. * edit.m: Call __octave_link_edit_file__ instead of __execute_edit_hook__. * __execute_edit_hook__.cc: Delete * libinterp/corefcn/module.mk (COREFCN_SRC): Remove it from the list.
author John W. Eaton <jwe@octave.org>
date Wed, 03 Apr 2013 23:16:37 -0400
parents f9a737fd8829
children 2f766ceeb03e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15039
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
1 EXTRA_DIST += \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
2 corefcn/module.mk
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
3
15083
83749bb7f538 maint: Move autogenerated option functions to corefcn/ directory.
Rik <rik@octave.org>
parents: 15075
diff changeset
4 ## Options functions for Fortran packages like LSODE, DASPK.
83749bb7f538 maint: Move autogenerated option functions to corefcn/ directory.
Rik <rik@octave.org>
parents: 15075
diff changeset
5 ## These are generated automagically by configure and Perl.
83749bb7f538 maint: Move autogenerated option functions to corefcn/ directory.
Rik <rik@octave.org>
parents: 15075
diff changeset
6 OPT_HANDLERS = \
83749bb7f538 maint: Move autogenerated option functions to corefcn/ directory.
Rik <rik@octave.org>
parents: 15075
diff changeset
7 corefcn/DASPK-opts.cc \
83749bb7f538 maint: Move autogenerated option functions to corefcn/ directory.
Rik <rik@octave.org>
parents: 15075
diff changeset
8 corefcn/DASRT-opts.cc \
83749bb7f538 maint: Move autogenerated option functions to corefcn/ directory.
Rik <rik@octave.org>
parents: 15075
diff changeset
9 corefcn/DASSL-opts.cc \
83749bb7f538 maint: Move autogenerated option functions to corefcn/ directory.
Rik <rik@octave.org>
parents: 15075
diff changeset
10 corefcn/LSODE-opts.cc \
83749bb7f538 maint: Move autogenerated option functions to corefcn/ directory.
Rik <rik@octave.org>
parents: 15075
diff changeset
11 corefcn/Quad-opts.cc
83749bb7f538 maint: Move autogenerated option functions to corefcn/ directory.
Rik <rik@octave.org>
parents: 15075
diff changeset
12
83749bb7f538 maint: Move autogenerated option functions to corefcn/ directory.
Rik <rik@octave.org>
parents: 15075
diff changeset
13 OPT_INC = \
15271
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents: 15258
diff changeset
14 $(top_builddir)/liboctave/numeric/DASPK-opts.h \
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents: 15258
diff changeset
15 $(top_builddir)/liboctave/numeric/DASRT-opts.h \
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents: 15258
diff changeset
16 $(top_builddir)/liboctave/numeric/DASSL-opts.h \
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents: 15258
diff changeset
17 $(top_builddir)/liboctave/numeric/LSODE-opts.h \
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents: 15258
diff changeset
18 $(top_builddir)/liboctave/numeric/Quad-opts.h
15083
83749bb7f538 maint: Move autogenerated option functions to corefcn/ directory.
Rik <rik@octave.org>
parents: 15075
diff changeset
19
15271
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents: 15258
diff changeset
20 $(OPT_HANDLERS): corefcn/%.cc : $(top_builddir)/liboctave/numeric/%.in
15083
83749bb7f538 maint: Move autogenerated option functions to corefcn/ directory.
Rik <rik@octave.org>
parents: 15075
diff changeset
21 $(PERL) $(top_srcdir)/build-aux/mk-opts.pl --opt-handler-fcns $< > $@-t
83749bb7f538 maint: Move autogenerated option functions to corefcn/ directory.
Rik <rik@octave.org>
parents: 15075
diff changeset
22 mv $@-t $@
83749bb7f538 maint: Move autogenerated option functions to corefcn/ directory.
Rik <rik@octave.org>
parents: 15075
diff changeset
23
83749bb7f538 maint: Move autogenerated option functions to corefcn/ directory.
Rik <rik@octave.org>
parents: 15075
diff changeset
24 $(OPT_INC) : %.h : %.in
15271
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents: 15258
diff changeset
25 $(MAKE) -C $(top_builddir)/liboctave/numeric $(@F)
15083
83749bb7f538 maint: Move autogenerated option functions to corefcn/ directory.
Rik <rik@octave.org>
parents: 15075
diff changeset
26
15057
46b19589b593 maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents: 15039
diff changeset
27 COREFCN_SRC = \
15039
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
28 corefcn/__contourc__.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
29 corefcn/__dispatch__.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
30 corefcn/__lin_interpn__.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
31 corefcn/__pchip_deriv__.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
32 corefcn/__qp__.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
33 corefcn/balance.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
34 corefcn/besselj.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
35 corefcn/betainc.cc \
15075
b62b0b85369c move more files to corefcn directory
John W. Eaton <jwe@octave.org>
parents: 15057
diff changeset
36 corefcn/bitfcns.cc \
15039
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
37 corefcn/bsxfun.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
38 corefcn/cellfun.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
39 corefcn/colloc.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
40 corefcn/conv2.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
41 corefcn/daspk.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
42 corefcn/dasrt.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
43 corefcn/dassl.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
44 corefcn/det.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
45 corefcn/dlmread.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
46 corefcn/dot.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
47 corefcn/eig.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
48 corefcn/fft.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
49 corefcn/fft2.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
50 corefcn/fftn.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
51 corefcn/filter.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
52 corefcn/find.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
53 corefcn/gammainc.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
54 corefcn/gcd.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
55 corefcn/getgrent.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
56 corefcn/getpwent.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
57 corefcn/getrusage.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
58 corefcn/givens.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
59 corefcn/hess.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
60 corefcn/hex2num.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
61 corefcn/inv.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
62 corefcn/kron.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
63 corefcn/lookup.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
64 corefcn/lsode.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
65 corefcn/lu.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
66 corefcn/luinc.cc \
15075
b62b0b85369c move more files to corefcn directory
John W. Eaton <jwe@octave.org>
parents: 15057
diff changeset
67 corefcn/mappers.cc \
15039
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
68 corefcn/matrix_type.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
69 corefcn/max.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
70 corefcn/md5sum.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
71 corefcn/mgorth.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
72 corefcn/nproc.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
73 corefcn/pinv.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
74 corefcn/quad.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
75 corefcn/quadcc.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
76 corefcn/qz.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
77 corefcn/rand.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
78 corefcn/rcond.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
79 corefcn/regexp.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
80 corefcn/schur.cc \
15075
b62b0b85369c move more files to corefcn directory
John W. Eaton <jwe@octave.org>
parents: 15057
diff changeset
81 corefcn/sparse.cc \
15039
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
82 corefcn/spparms.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
83 corefcn/sqrtm.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
84 corefcn/str2double.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
85 corefcn/strfind.cc \
15075
b62b0b85369c move more files to corefcn directory
John W. Eaton <jwe@octave.org>
parents: 15057
diff changeset
86 corefcn/strfns.cc \
15039
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
87 corefcn/sub2ind.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
88 corefcn/svd.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
89 corefcn/syl.cc \
15075
b62b0b85369c move more files to corefcn directory
John W. Eaton <jwe@octave.org>
parents: 15057
diff changeset
90 corefcn/syscalls.cc \
15039
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
91 corefcn/time.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
92 corefcn/tril.cc \
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
93 corefcn/typecast.cc
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
94
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
95 noinst_LTLIBRARIES += corefcn/libcorefcn.la
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
96
15057
46b19589b593 maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents: 15039
diff changeset
97 corefcn_libcorefcn_la_SOURCES = $(COREFCN_SRC)
15417
dd371063e414 build: Add FFTW_XCPPFLAGS to corefcn convenience library CPPFLAGS
Rik <rik@octave.org>
parents: 15271
diff changeset
98 corefcn_libcorefcn_la_CPPFLAGS = $(liboctinterp_la_CPPFLAGS) $(FFTW_XCPPFLAGS)
15039
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
diff changeset
99