403 Commits

Author SHA1 Message Date
Pascal Obry
ea18b440b5 (Load_Python_Startup_Files): Use a raw string to avoid Python to interprete
escaped sequences.
Fixes D525-001.


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@88488 936e1b1b-40f2-da11-902a-00137254ae57
2004-07-05 17:42:33 +00:00
Pascal Obry
82bfc622b6 Minor reformatting.
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@88458 936e1b1b-40f2-da11-902a-00137254ae57
2004-07-02 18:06:55 +00:00
Emmanuel Briot
98449ce2e2 Allow redirecting python output to any window (D617-014)
Major cleanup in the handling of consoles (only one class handles that,
 instead of 2). This gives more flexibility to Python scripts


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@88386 936e1b1b-40f2-da11-902a-00137254ae57
2004-06-18 14:24:59 +00:00
Emmanuel Briot
25289c5ea6 (Create_Scrolled_Window, Set_Console): New subprograms
Add support for redirecting the output of python commands to any window
 D617-014


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@88385 936e1b1b-40f2-da11-902a-00137254ae57
2004-06-18 14:23:56 +00:00
Emmanuel Briot
699f1bbfa6 Previous check in was for D603-010
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@88238 936e1b1b-40f2-da11-902a-00137254ae57
2004-06-03 15:12:17 +00:00
Emmanuel Briot
7cada8f7e9 (Run_Command): Properly handle nested blocks. We used to report an error
about expecting an indented block


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@88237 936e1b1b-40f2-da11-902a-00137254ae57
2004-06-03 15:11:20 +00:00
Arnaud Charlet
ceeb3f13e5 Add missing constant keyword.
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@87861 936e1b1b-40f2-da11-902a-00137254ae57
2004-04-02 13:50:03 +00:00
Emmanuel Briot
fe36f622f5 Use the version of Entities.Get_Name that return a String_Access, more
efficient


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@87768 936e1b1b-40f2-da11-902a-00137254ae57
2004-03-25 14:01:44 +00:00
Emmanuel Briot
348a1f1bdf Use the new Exception_Handle to display traces related to exceptions, so
that these messages can always be displayed while running the testsuites,
 while hiding all the other messages if needed. Helps discover new regressions
 in the LI structures


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@87613 936e1b1b-40f2-da11-902a-00137254ae57
2004-03-17 08:03:58 +00:00
Arnaud Charlet
c8bca67091 (Create_Python_Console): Raise python console.
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@87510 936e1b1b-40f2-da11-902a-00137254ae57
2004-03-15 09:58:20 +00:00
Emmanuel Briot
e9730d177d Merge the branch manu_new_li, for the support of the new LI structures
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@87494 936e1b1b-40f2-da11-902a-00137254ae57
2004-03-12 13:57:29 +00:00
Pascal Obry
c580f18a14 Minor reformatting.
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@86741 936e1b1b-40f2-da11-902a-00137254ae57
2004-01-16 13:32:47 +00:00
Pascal Obry
f0c992604e (Execute_File): Call Python execfile with Filename as a raw string to avoid
Windows backslash to be parsed.
Fix Python script on Windows.


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@86653 936e1b1b-40f2-da11-902a-00137254ae57
2004-01-10 11:56:16 +00:00
Arnaud Charlet
301d9c3cab Minor reformatting.
Update calls to Get_Declaration_File_Of, Get_Other_File_Of.


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@86403 936e1b1b-40f2-da11-902a-00137254ae57
2003-12-17 10:51:09 +00:00
Arnaud Charlet
8d3256a344 Minor reformatting.
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@86193 936e1b1b-40f2-da11-902a-00137254ae57
2003-12-04 09:03:47 +00:00
Emmanuel Briot
a2586d94bc (Nth_Arg): Display clearer error messages for invalid parameters (ie number and
expected type of the mismatched parameter)


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@86149 936e1b1b-40f2-da11-902a-00137254ae57
2003-12-03 09:00:41 +00:00
Arnaud Charlet
a177c903c3 Simplify previous change.
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@86104 936e1b1b-40f2-da11-902a-00137254ae57
2003-12-01 17:08:51 +00:00
Arnaud Charlet
e50699fc61 (Load_Python_Startup_Files): Only consider .py files, ignore others.
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@86102 936e1b1b-40f2-da11-902a-00137254ae57
2003-12-01 16:43:26 +00:00
Nicolas Setton
3d7d9b0f91 Use the new style preference instead of the font preference.
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85977 936e1b1b-40f2-da11-902a-00137254ae57
2003-11-20 13:09:16 +00:00
Arnaud Charlet
f1f4762ead Removed, patch has no effect.
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85946 936e1b1b-40f2-da11-902a-00137254ae57
2003-11-19 15:33:53 +00:00
Arnaud Charlet
15b0b96b9a Remove incorrect hunk.
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85945 936e1b1b-40f2-da11-902a-00137254ae57
2003-11-19 15:11:53 +00:00
Arnaud Charlet
7c6bc63aa8 Patch file against python 2.3.2 sources to fix handling of global
variables under Windows.


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85934 936e1b1b-40f2-da11-902a-00137254ae57
2003-11-19 10:48:52 +00:00
Emmanuel Briot
fc66c1004e (Primitive_Free): New parameter Free_Pointer
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85920 936e1b1b-40f2-da11-902a-00137254ae57
2003-11-18 15:25:11 +00:00
Emmanuel Briot
d27df4f887 (Nth_Arg): Remove incorrect comment. Fix Storage_Error that happened when
using class instances


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85916 936e1b1b-40f2-da11-902a-00137254ae57
2003-11-18 14:31:52 +00:00
Emmanuel Briot
b6d47e6d7b (ada_py_initmodule4): Simple wrapper around python's function, since the latter
might be in fact a macro if python was compiled with debug options
(ada_py_print_refcount): New subprogram, support for debugging memory leaks


git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@85914 936e1b1b-40f2-da11-902a-00137254ae57
2003-11-18 13:28:48 +00:00