Commit Graph

131 Commits

Author SHA1 Message Date
Jack Jansen 71707f3bb8 Patch by Mark Day to allow from __future__ imports. Looks harmless
enough, but may have side-effects because it preallocates a single
codeop.Compiler() to compile all statements the user enters.

Just: please review and retract/modify if necessary.
2001-09-07 10:11:31 +00:00
Jack Jansen 0de279b9cd Updated the Popt resources for the applets to the newest version. 2001-09-01 23:37:28 +00:00
Jack Jansen 3c06b9a7d4 Use the new macresource module to open the accompanying resource file (if needed). 2001-08-27 21:41:23 +00:00
Jack Jansen 206bd57355 When we're freezing to sourcecode and one of the modules is a dynamic module that is in a package we freeze that module at toplevel (outside any package). Not optimal, but there is little more we can do as config.c has no way to specify a builtin module has to be dumped into a package. 2001-08-27 13:59:35 +00:00
Jack Jansen dc4d925be9 - A forgotten "from Carbon".
- Made the "killed unknown window" code dependent on a global var,
  so you can easily turn the behaviour off for IDE debugging.
2001-08-27 10:55:41 +00:00
Jack Jansen 4d3052acb0 A few forgotten "from Carbon"s. 2001-08-27 10:54:55 +00:00
Jack Jansen 5a6fdcd371 Import the MacOS toolbox modules from the Carbon package. 2001-08-25 12:15:04 +00:00
Jack Jansen 106fceacb2 Temporarily disabled the import hook. It breaks with the package-based
Carbon and its workaround.
2001-08-19 22:00:20 +00:00
Just van Rossum e6e745fc49 Show the MacPython IDE version in the interactive banner. 2001-08-06 11:12:18 +00:00
Fred Drake 79e75e1916 Use string.ascii_letters instead of string.letters (SF bug #226706). 2001-07-20 19:05:50 +00:00
Just van Rossum 3eec7620be - fixed some re usage, partly so it'll still work when re uses pre instead
of sre, and partly fixing re -> regex porting oversights
- fixed PyFontify.py so it actually *works* again..
2001-07-10 19:25:40 +00:00
Just van Rossum 25ddc6330f - minor cleanup, removed bogus comments
- make method reload handle __private attrs correctly
- fixed whole word search
2001-07-05 07:06:26 +00:00
Just van Rossum 924e18e0b8 don't crash when encountering bad marshal data 2001-07-05 07:03:16 +00:00
Just van Rossum 67456e841c don't blow up when the charno SyntaxError value is None 2001-06-21 21:52:15 +00:00
Just van Rossum b10eb84f29 repaired expandselection and uncomment breakage 2001-06-21 17:51:17 +00:00
Just van Rossum d700d79a73 Override bdb's canonic() method with a no-op: with bdb's version we couldn't edit breakpoints in file-less ("Untitled" script windows). Besides, we did't need it as we always use full path names anyway. 2001-06-20 19:57:55 +00:00
Just van Rossum dc3c617cb8 Some long overdue maintainance. Made all IDE sources 7-bit-clean, to avoid any further encoding conversion troubles. 2001-06-19 21:37:33 +00:00
Jack Jansen dac238bd46 When reading from stdin (with the dialog box) use any partial line on
stdout as the prompt. This makes raw_input() and print "xxx", ; sys.stdin.readline() work a bit more palatable.
2001-05-26 20:01:41 +00:00
Jack Jansen a5ca7dd71a One more macroman<->latin1 conversion victim. 2001-05-23 20:03:06 +00:00
Jack Jansen 6f84ed5afc Fixed macroman<->latin1 conversion. Some chars don't
exist in latin1, but at least the roundtrip results in the
same macroman characters.
2001-05-17 12:45:13 +00:00
Jack Jansen dfebe90c4c Fixed macroman<->latin1 conversion. Some characters don't exist in latin1, but at least the roundtrip gives
the correct macroman characters again.
2001-05-17 12:35:13 +00:00
Jack Jansen fddef433d1 Got module to work under Carbon. Also disabled a few more bits of cfm68k support. 2001-03-20 21:55:51 +00:00
Jack Jansen 26d42df3c1 Added riscos modules to modules that don't have to be included. 2001-03-20 21:55:07 +00:00
Jack Jansen 06646a1be0 Added QDFlushPortBuffer calls. 2001-03-15 14:35:33 +00:00
Jack Jansen fffec05bcb Import kOnSystemDisk from MACFS 2001-03-15 14:33:24 +00:00
Jack Jansen e5c9474f0f Default waittime in the eventloop is now None. At low level it will then be set to GetCaretTime(). 2001-03-08 23:10:37 +00:00
Jack Jansen 53ebe562f5 Handle the ReopenApplication event (by ignoring it). 2001-03-08 23:09:32 +00:00
Jack Jansen dbd0c3a124 Silly typo which caused the stack browser to crash. 2001-03-01 23:15:54 +00:00
Jack Jansen 6223d48933 Added Popt resource for "dont show console"
Changed SIZE resource to be carbon-compatible.
2001-02-27 23:22:51 +00:00
Jack Jansen 316a01093d Waste 2.0 has many more options for the undo label. 2001-02-21 15:45:55 +00:00
Jack Jansen 9ad2752381 Use re in stead of regex, so we get rid of the annoying warning during startup. 2001-02-21 13:54:31 +00:00
Jack Jansen def0d8da5a Get rid of from ... import * 2001-02-09 15:56:19 +00:00
Jack Jansen 64aa1e2c83 Use FSpCreateResFile() in stead of CreateResFile(). 2001-01-29 15:19:17 +00:00
Jack Jansen 565e956cb0 Use CountMenuItems() in stead of CountMItems(). 2001-01-29 15:18:46 +00:00
Jack Jansen afd0aa680a Replace {Enable,Disable,Check}Item with their carbon-compatible equivalents {Enable,Disable,Check}MenuItem. 2001-01-29 13:29:47 +00:00
Jack Jansen 7302340436 Sigh... First test before committing. InvalWindowRect and friends are window object methods. Fixed. 2001-01-23 14:58:20 +00:00
Jack Jansen d829e9e8e3 Replaced InvalRect and friends with the Carbon-compliant InvalWindowRect. 2001-01-23 14:34:49 +00:00
Just van Rossum ff88e460aa more edits to make the text fit (jvr) 2000-10-20 07:49:00 +00:00
Just van Rossum 17f944b6f3 oops, that one caused a syntax error... (jvr) 2000-10-20 07:40:30 +00:00
Just van Rossum c924661508 edits to make the 2.0 copyright fit in the about box again... (jvr) 2000-10-20 07:35:33 +00:00
Just van Rossum a1a335641b Cleaned uthread dependencies (jvr) 2000-10-20 06:37:11 +00:00
Just van Rossum 0f2fd16d15 Hm, I never checked in my incomplete "run with interpreter" mods. UI is there (but is disabled), functionality is not there. 2000-10-20 06:36:30 +00:00
Just van Rossum 6508c7c7e8 fixed 2.0 compat bug 2000-10-20 06:34:57 +00:00
Jack Jansen 136815d939 Oops, not only the Popt versions were wrong, the resources were also short. 2000-10-19 20:34:14 +00:00
Jack Jansen 7941036c4b Updated Popt resources to current version 2000-10-18 09:13:45 +00:00
Jack Jansen b15491ef14 Removed exceptions from the required modules (it's builtin nowadays)
Added _winreg to the non-required modules.
2000-09-14 13:36:06 +00:00
Jack Jansen 4b9f493830 Upped SIZE to 16MB so IDE can run test.autotest (sigh). 2000-09-11 22:47:48 +00:00
Jack Jansen ab0280d252 How-to document for using Python for CGI scripting. Not complete and untested, but I'm checking it in so it won't get lost. 2000-08-25 22:36:13 +00:00
Jack Jansen 9ebf2d2ca4 Moved to unsupported: it never lived up to its expectancies, and for the Mac all the functionality is available in the IDE. 2000-08-20 20:21:38 +00:00
Just van Rossum edd9924474 a minimal test app to show how to build a standalone app with W 2000-07-01 14:31:24 +00:00