Commit Graph

3104 Commits

Author SHA1 Message Date
Jack Jansen 9f37c6d91c Added ResObj_OptNew, like ResObj_New but returns None when passed NULL. 1995-08-17 14:29:23 +00:00
Jack Jansen caf7505edc Added WhichWindow function to obtain window object given WindowPtr (as
returned by event routines)
1995-08-17 14:28:27 +00:00
Jack Jansen 2f21246c96 Test of list in dialog 1995-08-17 14:27:08 +00:00
Jack Jansen b4e47839eb Uses new FrameWork, has multiple windows 1995-08-17 14:26:23 +00:00
Jack Jansen 8ce4d51068 Different arg to GetEventHandler (but I cannot really remember fixing
this.... Hope it is correct)
1995-08-17 14:24:35 +00:00
Jack Jansen 7e0da905e3 Made separate window class (and subclasses for special windows like
dialogs). This is an incompatible change.
1995-08-17 14:18:20 +00:00
Jack Jansen ac7c0dfa93 Indent bug 1995-08-17 14:17:39 +00:00
Sjoerd Mullender 9c4585acfa Removed addbase.__del__ because it can't work.
If code keeps a reference to self.fp or any of its methods, you don't
want to close self.fp just because no explicit reference is kept to self.
1995-08-15 11:33:39 +00:00
Jack Jansen ebed45fe0f Documented MacOS module. 1995-08-14 13:40:05 +00:00
Jack Jansen 0e1337437c Documented PromptGetFile and optional prompt to GetDirectory. 1995-08-14 13:39:16 +00:00
Jack Jansen 4518577b24 Fixed incorrect tex-code for readline 1995-08-14 13:38:36 +00:00
Jack Jansen 479c1b3008 Put debug output inside 'if DEBUG'. 1995-08-14 12:41:20 +00:00
Jack Jansen 7a58336511 Various fixes: missing imports, missing calls to
MacOS.HandleEvent. Also, prints are now inside 'if DEBUG'.
1995-08-14 12:39:54 +00:00
Jack Jansen 01c2309f2d Useful routines on a mac:
- mkalias makes a finder alias
- copy copies a file, finder info, resources and all.
- copytree does the same for a whole tree.
1995-08-14 12:38:42 +00:00
Jack Jansen 32486f5662 Added PyMac_PromptGetFile, removed stuff gone to other sources. 1995-08-14 12:36:37 +00:00
Jack Jansen 819f1770f6 Lots of stuff moved to other files.
Include pythonresources.h.
1995-08-14 12:35:10 +00:00
Jack Jansen c2e6dd8179 New file: list resource-ids in one place. 1995-08-14 12:34:42 +00:00
Jack Jansen 56b14d4484 Lots of stuff removed: gone to various other files. 1995-08-14 12:33:48 +00:00
Jack Jansen 696c95800e This is completely different from the old mainmain (which wasn't used
anymore) and is the new main program for MacPython. Built from bits
and pieces of config.c, macglue.c and pythonmain.c.
1995-08-14 12:33:20 +00:00
Jack Jansen 12fce3eda9 macgetpath - sys.path setting code factored out of config.c and
macglue.c
macgetplatform - factored out of config.c
1995-08-14 12:31:44 +00:00
Jack Jansen f717ac29f0 Merged Jack's macgetcompiler.c and Guido's maccompiler.c and named the
result macgetcompiler.c (after all, *I* did the merging:-)
1995-08-14 12:30:15 +00:00
Jack Jansen 0e1c0ce4b0 Renumbered dialogs:
128-255	are for interpreter use
256-511 are for extension modules, libraries, etc
512 and above are for applications
1995-08-14 12:24:05 +00:00
Jack Jansen d5d5f462f9 Added new call PromptGetFile (like StandardGetFile, but accepts a
prompt) and added optional prompt to GetDirectory.
1995-08-14 12:22:56 +00:00
Jack Jansen 9c45a6504f Added missing initializer and extra error check. 1995-08-14 12:21:50 +00:00
Jack Jansen 9062fa2fb5 Added prompts to various file-select dialogs
Renumbered resources to above 512
1995-08-14 12:21:12 +00:00
Jack Jansen ad169272fb Added List.slb alias 1995-08-14 12:20:22 +00:00
Jack Jansen 3050a2dc5f Binhexify any .rsrc file in a tree 1995-08-14 12:19:20 +00:00
Jack Jansen eaeb1c825d Added missing 'leftchar' initializer. 1995-08-14 12:17:57 +00:00
Jack Jansen dc977a99e0 Shuffled include's around (name conflict on Mac wrt teclick()) 1995-08-14 12:17:18 +00:00
Jack Jansen 9d19a914d0 Added prompt to getfile dialog
Renumbered resources
1995-08-14 12:14:55 +00:00
Jack Jansen ec38010808 Added basic mac documentation. 1995-08-14 11:55:07 +00:00
Jack Jansen a4b1d0030e Interface to the Mac List Manager. 1995-08-14 11:46:24 +00:00
Sjoerd Mullender f33a69f273 Temporary fix for access statement.
Definition of Error was missing.
1995-08-14 07:49:51 +00:00
Guido van Rossum e2cb7274ea exec() -> exec 1995-08-11 14:24:47 +00:00
Guido van Rossum a49d94af08 test for specific bug in vars() 1995-08-11 14:24:35 +00:00
Guido van Rossum 1d59df28ac added select_present and select_range to Entry widget 1995-08-11 14:21:06 +00:00
Guido van Rossum abad1cc647 renamed DbShelf->DbfilenameShelf;added BsdDbShelf (David Ely) 1995-08-11 14:19:16 +00:00
Guido van Rossum e03a86c3d9 change default flag to match dbm/gdbm 1995-08-11 14:18:27 +00:00
Guido van Rossum 1035a892a1 make sure the path ends in a slash in reload() 1995-08-11 13:56:04 +00:00
Guido van Rossum fe4254eb08 warn about bacslash-s lacking 1995-08-11 00:31:57 +00:00
Guido van Rossum 9c3241d6d0 exec() -> exec 1995-08-10 19:46:50 +00:00
Guido van Rossum 1a16c868d4 remove file: from list of protocols taking host 1995-08-10 19:45:41 +00:00
Guido van Rossum 30642ab29f changed version :-) 1995-08-10 19:44:54 +00:00
Guido van Rossum eae892d232 added note about missing features 1995-08-10 19:43:53 +00:00
Guido van Rossum a62b1003a6 noted obsolescence; exec() -> exec 1995-08-10 19:43:04 +00:00
Guido van Rossum 894a7bb995 default tabsize to 8 1995-08-10 19:42:05 +00:00
Guido van Rossum 1859600357 fix reload use of __filename__ 1995-08-10 19:40:39 +00:00
Guido van Rossum ba3e46b9ce fix stupid typo: r->RDLK 1995-08-10 19:38:36 +00:00
Guido van Rossum 99bf06b2fc same thing as for dospath, plus HOMEDRIVE/HOMEPATH support 1995-08-10 19:34:50 +00:00
Guido van Rossum 92794e30cb don't print Cannot open/stat messages 1995-08-10 19:32:22 +00:00