Commit Graph

3015 Commits

Author SHA1 Message Date
Guido van Rossum e03f277a22 fix bug in close() 1995-08-28 02:58:31 +00:00
Guido van Rossum 66017aa1b8 fix leaks in keys(); fix bug in close() 1995-08-28 02:58:00 +00:00
Guido van Rossum 05870115fc rd_object() with exception is fatal error 1995-08-28 02:56:20 +00:00
Guido van Rossum 69f6ee6a9d err_badcall() is fatal error 1995-08-28 02:55:48 +00:00
Guido van Rossum 97162b5b95 exec() -> exec 1995-08-28 02:54:01 +00:00
Guido van Rossum 9d8c5a4cf3 add errno.h 1995-08-28 02:53:41 +00:00
Guido van Rossum 84c8c7f9ee 1.3b1 notes 1995-08-28 02:44:24 +00:00
Guido van Rossum 45ee2eaf29 improve ac_sys_system/release, add ac_syts_cpu 1995-08-28 02:44:00 +00:00
Jack Jansen d4c26469d6 Generated anew 1995-08-17 14:35:56 +00:00
Jack Jansen b95ea18a4c Added ResObj_OptNew declaration 1995-08-17 14:32:23 +00:00
Jack Jansen 91a6398b17 Use ResObj_OptNew for GetDialogItem return value: the handle returned
may be NULL (for user items, for instance).
1995-08-17 14:30:52 +00:00
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