403 Commits

Author SHA1 Message Date
Emmanuel Briot
8944622e99 (Python_Project_Command_Handler, Python_Location_Command_Handler, Free,
Nth_Arg, Get_Data): Fix memory leaks


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85913 936e1b1b-40f2-da11-902a-00137254ae57
2003-11-18 13:28:47 +00:00
Emmanuel Briot
1510f201b9 (Print_Refcount): New subprogram
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85912 936e1b1b-40f2-da11-902a-00137254ae57
2003-11-18 13:28:46 +00:00
Emmanuel Briot
8a7bf50ec4 (Print_Refcount): New subprograms
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85911 936e1b1b-40f2-da11-902a-00137254ae57
2003-11-18 13:28:45 +00:00
Emmanuel Briot
666befa6ad (Py_InitModule): Change the name of the C function we import, to be compatible
with debug-enabled python libraries


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85910 936e1b1b-40f2-da11-902a-00137254ae57
2003-11-18 13:28:44 +00:00
Emmanuel Briot
e535b90a50 Add new Debug_Handle to see *all* output of python, to help debugging. This
is deactivated by default


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85864 936e1b1b-40f2-da11-902a-00137254ae57
2003-11-14 14:35:16 +00:00
Emmanuel Briot
2878d3758f (Execute_Command): Print a clear error message in the console if the command
is not valid. More user friendly


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85846 936e1b1b-40f2-da11-902a-00137254ae57
2003-11-14 09:52:46 +00:00
Emmanuel Briot
ce08222261 (create, Free, Set_Nth_Arg): New subprograms
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85816 936e1b1b-40f2-da11-902a-00137254ae57
2003-11-13 11:05:11 +00:00
Emmanuel Briot
1c32054955 (ada_pyfunction_check, ada_pyfunction_get_globals, ada_pyfunction_get_code,
ada_pyfunction_get_closure, ada_pyfunction_get_defaults,
 ada_PyEval_EvalCodeEx): New subprograms


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85809 936e1b1b-40f2-da11-902a-00137254ae57
2003-11-13 09:27:52 +00:00
Emmanuel Briot
a59dc3ba17 (Execute_Command, taking a Callback_Data): New subprogram
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85808 936e1b1b-40f2-da11-902a-00137254ae57
2003-11-13 09:27:50 +00:00
Emmanuel Briot
c831532d5b (PyFunction_Check, PyFunction_Get_Code, PyFunction_Get_Globals,
PyFunction_Get_Defaults, PyFunction_Get_Closure): New subprograms


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85807 936e1b1b-40f2-da11-902a-00137254ae57
2003-11-13 09:27:49 +00:00
Emmanuel Briot
458e046bb8 (PyFunction_Check): New subprogram
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85806 936e1b1b-40f2-da11-902a-00137254ae57
2003-11-13 09:27:48 +00:00
Emmanuel Briot
ceed56a725 Minor comment update
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85805 936e1b1b-40f2-da11-902a-00137254ae57
2003-11-13 09:27:46 +00:00
Emmanuel Briot
19072313fd (Execute_Command, returning boolean): New subprogram
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85778 936e1b1b-40f2-da11-902a-00137254ae57
2003-11-12 13:53:36 +00:00
Emmanuel Briot
f57a9b6ee6 (PyObject_HasAttrString): New subprogram
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85776 936e1b1b-40f2-da11-902a-00137254ae57
2003-11-12 13:53:33 +00:00
Emmanuel Briot
177dfcc1c0 (Project_HasAttrString): New subprogram
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85775 936e1b1b-40f2-da11-902a-00137254ae57
2003-11-12 13:53:32 +00:00
Emmanuel Briot
76188dc9e1 (Run_Command): Now return the result of running the python command
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85774 936e1b1b-40f2-da11-902a-00137254ae57
2003-11-12 13:53:31 +00:00
Emmanuel Briot
7de9d452f1 (Run_Command_Get_Result): Removed, since Run_Command now does the same thing
(Run_Command): Now return the return value of the python command


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85773 936e1b1b-40f2-da11-902a-00137254ae57
2003-11-12 13:53:30 +00:00
Nicolas Setton
d481e42278 (Free): Use the C free function to free memory allocated in C.
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85474 936e1b1b-40f2-da11-902a-00137254ae57
2003-10-16 14:57:23 +00:00
Emmanuel Briot
054c013ce1 (Run_Command): Partial undo of 1.25, since it broke the display of the prompt
in the Python console.


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85393 936e1b1b-40f2-da11-902a-00137254ae57
2003-10-09 19:24:29 +00:00
Emmanuel Briot
be028b1a19 (Run_Command): Fix uninitialized variable
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85340 936e1b1b-40f2-da11-902a-00137254ae57
2003-10-08 09:27:59 +00:00
Emmanuel Briot
f0b58764e5 (Run_Command): Properly reset the temporary console to null if necessary
(Process_Gtk_Events): Do nothing if we are hiding the output of the script.
 Fixes a problem where adding an action with a python filter to a contextual
 menu was disabling the whole contextual menu


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85322 936e1b1b-40f2-da11-902a-00137254ae57
2003-10-06 17:13:30 +00:00
Emmanuel Briot
b0805478ef Added .gpssnprj
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85223 936e1b1b-40f2-da11-902a-00137254ae57
2003-09-24 12:14:39 +00:00
Emmanuel Briot
2434fcb2e2 (Execute_Command): New parameter Show_Command
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85052 936e1b1b-40f2-da11-902a-00137254ae57
2003-09-16 14:33:54 +00:00
Emmanuel Briot
fb8cf62913 (Ref): New subprogram
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@84963 936e1b1b-40f2-da11-902a-00137254ae57
2003-09-10 08:57:22 +00:00
Emmanuel Briot
0bd332d563 (Key_Press_Handler): Fix completion in Python console
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@84962 936e1b1b-40f2-da11-902a-00137254ae57
2003-09-10 08:57:11 +00:00