403 Commits

Author SHA1 Message Date
Emmanuel Briot
dac424abe6 (Register_Module): PyGTK requires sys.argv for its error messages, but this
is not available by default when in non-interactive mode. Workaround this


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@97991 936e1b1b-40f2-da11-902a-00137254ae57
2006-07-17 15:46:10 +00:00
Emmanuel Briot
0d4a4b4ec8 Add support for PyGTK if it was detected by configure. Part of F130-004
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@97986 936e1b1b-40f2-da11-902a-00137254ae57
2006-07-17 14:25:05 +00:00
Emmanuel Briot
05323bdffd (GPS.exec_in_console): This function should be activated even if pygtk
was not found (found by code reading)
(Register_Module): Try and detect PyGTK only if it was also activated at
 compile-time, since we need special support for it. Part of F130-004


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@97985 936e1b1b-40f2-da11-902a-00137254ae57
2006-07-17 14:24:38 +00:00
Emmanuel Briot
e120ec7b8a Activate the interface for PyGTK only if the later was found and enabled by
the user at compile-time. Part of F130-004


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@97984 936e1b1b-40f2-da11-902a-00137254ae57
2006-07-17 14:22:48 +00:00
Emmanuel Briot
1e29a309af (Load_Dir): Store the full path name for the script name, so that actions
defined in this script will be reported with the full name


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@97382 936e1b1b-40f2-da11-902a-00137254ae57
2006-06-15 12:11:16 +00:00
Emmanuel Briot
01e1421779 (Current_Script): New subprogram, part of DB18-004
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@97327 936e1b1b-40f2-da11-902a-00137254ae57
2006-06-14 12:52:43 +00:00
Pascal Obry
5900367065 (Initialize): Kill warning on Old_Handler (useless assignment).
Related to F518-012.


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@96877 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-21 08:03:05 +00:00
Arnaud Charlet
56ceee8fdf Revert previous change for now, which is not compatible with python 2.4
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@96751 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-05 15:25:41 +00:00
Arnaud Charlet
5566512293 Fix warning on 64 bits machines.
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@96750 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-05 14:53:55 +00:00
Arnaud Charlet
d3fd9b595d Minor code clean up to follow more closely C code. and avoid potential
subtle incompatibilities with C.


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@96738 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-05 14:08:33 +00:00
Arnaud Charlet
92d8395f0f Minor reformatting.
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@96737 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-05 14:08:06 +00:00
Arnaud Charlet
e9706777c6 Minor reformatting.
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@96735 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-05 12:28:15 +00:00
Arnaud Charlet
ae7eca42ec Minor reformatting.
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@96734 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-05 12:22:41 +00:00
Arnaud Charlet
6e4dda07b1 Fix improper use of varargs C functions and use wrappers instead.
Should fix python errors under x86_64.
Part of F504-026.


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@96726 936e1b1b-40f2-da11-902a-00137254ae57
2006-05-05 11:02:01 +00:00
Arnaud Charlet
fee8729e85 Reorganize Tools menu by adding new menu sections: Views, Browsers, Consoles
Also duplicate some menus in Views for user convenience (e.g. Project Explorer
 which was previousely only available via the Project menu).
For EA06-012.


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@96171 936e1b1b-40f2-da11-902a-00137254ae57
2006-03-31 08:41:03 +00:00
Nicolas Setton
322c6614e8 Replace the types of Column parameters and variables by non-ambiguous versions.
For EC02-015.


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@95848 936e1b1b-40f2-da11-902a-00137254ae57
2006-03-17 16:48:17 +00:00
Emmanuel Briot
6bc41173b9 ("GPS.Entity.__cmp__"): allow for any of the two entities to be null. Fix
error that occurred when using tests like "if context.entity() != None:"


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@95436 936e1b1b-40f2-da11-902a-00137254ae57
2006-02-20 14:37:02 +00:00
Emmanuel Briot
8820103e18 ("GPS.exec_in_console"): new function, part of F120-025
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@95396 936e1b1b-40f2-da11-902a-00137254ae57
2006-02-17 10:15:30 +00:00
Emmanuel Briot
d6904ca72e (Execute, returning a String_List): New subprogram, for F213-017
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@95283 936e1b1b-40f2-da11-902a-00137254ae57
2006-02-13 14:55:53 +00:00
Emmanuel Briot
5b141422e4 Minor comment update
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@95282 936e1b1b-40f2-da11-902a-00137254ae57
2006-02-13 14:55:24 +00:00
Emmanuel Briot
8b61bbbf6b Adapted to new API in GPS.Kernel.Scripts, since Get_Data for a file now
returns directly the Virtual_File, instead of an encapsulating record.
 Continued work for F117-029
Remove subprograms no longer declared in gps-kernel-scripts.ads


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@95221 936e1b1b-40f2-da11-902a-00137254ae57
2006-02-09 12:11:56 +00:00
Emmanuel Briot
f68b27d69b Adapted to new API in GPS.Kernel.Scripts, where Class_Instance is now a
tagged type (F117-029)
(Set_Data, Get_Data): mostly removed, since they are now implemented
 directly in gps-kernel-scripts.ads, and each scripting language no
 longer needs to rewrite its own.
(Initialize_IO): Removed, since no longer needed. The work is in fact
 already done by Override_Default_IO


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@95207 936e1b1b-40f2-da11-902a-00137254ae57
2006-02-08 15:56:34 +00:00
Emmanuel Briot
5033a40e93 (Initialize_IO): Removed, since no longer needed in fact. The work is
already done in Override_Default_IO


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@95206 936e1b1b-40f2-da11-902a-00137254ae57
2006-02-08 15:55:28 +00:00
Emmanuel Briot
9440933efe (ada_py_refcount_msg): new subprogram used for debugging purposes
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@95205 936e1b1b-40f2-da11-902a-00137254ae57
2006-02-08 15:55:02 +00:00
Emmanuel Briot
2412baecd1 Minor comment update
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@95204 936e1b1b-40f2-da11-902a-00137254ae57
2006-02-08 15:54:42 +00:00