Commit Graph

108855 Commits

Author SHA1 Message Date
Guido van Rossum ac029489d0 Added pwd and grp modules 1991-04-16 08:39:39 +00:00
Guido van Rossum 0a697f686f BUGFIX! Instructions are unsigned bytes. 1991-04-16 08:39:12 +00:00
Guido van Rossum 569fce7901 Rename class methods to instance methods (at least where user-visible) 1991-04-16 08:38:43 +00:00
Guido van Rossum 864407d112 Initial revision 1991-04-10 19:48:25 +00:00
Guido van Rossum 0ee42cdcf9 Incorporated MSDOS changes (untested). 1991-04-08 21:01:03 +00:00
Guido van Rossum 1ff6cb4f4f Made utime use much more portable.
Incorporated i386 mods.
(Oh, BTW, the "right" python name is now posix.utime, not utimes!
1991-04-08 20:59:13 +00:00
Guido van Rossum d9d2c8246c This is no longer needed, since all these functions are now built-in
(with different interfaces).
Change the module definition to call the built-in functions,
for compatibility.
1991-04-07 13:43:34 +00:00
Guido van Rossum 6179fe6a08 Don't us sys.ps1 and sys.ps2.
Exercise trailing comma in tuples.
1991-04-07 13:42:52 +00:00
Guido van Rossum fac38b7c40 Added join() and joinfields() functions.
Fixed center().
Rewrote ljust() and rjust().
1991-04-07 13:42:19 +00:00
Guido van Rossum 2d844d1ddc Initial revision 1991-04-07 13:41:50 +00:00
Guido van Rossum fa54064967 Support packing whole trees. 1991-04-07 13:40:56 +00:00
Guido van Rossum fc61383fad Support [...] ranges. Also [!...] for negated ranges, SYSV shell style. 1991-04-07 13:40:02 +00:00
Guido van Rossum 117dbcb2fe Added window list management functionality.
Automatically call self.destroy() if WE_CLOSE event dispatched.
Added keyboard, alternate drawing and getwindow interface.
Call child's realize method.
1991-04-07 13:37:05 +00:00
Guido van Rossum 4f4794a9a0 Added alternate drawing, realize and getwindow interfaces
(why not keyboard?)
1991-04-07 13:36:09 +00:00
Guido van Rossum aa57a9d733 Added keyboard, alternate drawing, realize and getwindow interfaces. 1991-04-07 13:33:39 +00:00
Guido van Rossum 9ddba3e9ee Enabled logicop arguments (LO_*). 1991-04-07 13:33:03 +00:00
Guido van Rossum efba63ba1c Added dummy realize() method. 1991-04-07 13:32:19 +00:00
Guido van Rossum cbe6b53e1b New: getwindow() parent method and realize() child method. 1991-04-07 13:31:53 +00:00
Guido van Rossum db46c0e4f8 Fix window.setfont() to call drawing_setfont internally. 1991-04-04 17:26:32 +00:00
Guido van Rossum 324aa79f66 Add declaration of struct _node, for scoping reasons. 1991-04-04 15:44:12 +00:00
Guido van Rossum 50429a1d2c More flexible font setting (mainly for the Mac). 1991-04-04 15:24:07 +00:00
Guido van Rossum 0bd2441e00 Added external interface to readline, for raw_input(). 1991-04-04 15:21:57 +00:00
Guido van Rossum 26203aa422 Use fileobject's filegetline() to implement unlimited raw_input(). 1991-04-04 15:20:41 +00:00
Guido van Rossum 6590d4a250 Hack for THINK C time function.
Made more functions externally visible.
1991-04-04 10:49:03 +00:00
Guido van Rossum daa8bb334d Optimized single-character strings gotten from s[i]. 1991-04-04 10:48:33 +00:00
Guido van Rossum e6c67a7263 Added isatty() for MPW. 1991-04-04 10:47:59 +00:00
Guido van Rossum 054ff1f29e Added opcodes to load local/global variables 1991-04-04 10:45:01 +00:00
Guido van Rossum eb183da74f Added 'softspace' interface to replace 'needspace' printing hack. 1991-04-04 10:44:06 +00:00
Guido van Rossum 282914b7b0 Added error checking for numeric constants; added local/global variable
optimization.
1991-04-04 10:42:56 +00:00
Guido van Rossum 572fd57b5a Changed 'class member' to 'instance'. 1991-04-04 10:42:27 +00:00
Guido van Rossum 21ed88cfe2 Change ugly 'class member' to more normal 'instance'. 1991-04-04 10:42:10 +00:00
Guido van Rossum 374a92261b Moved support functions after main function; added prototypes;
Fixed 'needspace' hack to use a flag in the stdout file object;
added local and global variable lookup cases.
1991-04-04 10:40:29 +00:00
Guido van Rossum 5662746a9e Made millitimer() and millisleep() global (what the heck...). 1991-04-03 19:15:32 +00:00
Guido van Rossum 0c2290bd53 Added font, color and default scroll bars interfaces. 1991-04-03 19:12:14 +00:00
Guido van Rossum 71f477c797 Added forward declarations. 1991-04-03 19:09:02 +00:00
Guido van Rossum 7a904edcbf Moved get*doublearg() routines here from mathmodule.c 1991-04-03 19:06:26 +00:00
Guido van Rossum 5b7f945bc3 Moved get*doublearg() routines to modsupport.c 1991-04-03 19:06:03 +00:00
Guido van Rossum 4a450d06c7 Swapped list_ass_item and list_ass_slice to satisfy Standard C. 1991-04-03 19:05:18 +00:00
Guido van Rossum 66f1fa83f1 Added forward declaration (to satisfy Standard C). 1991-04-03 19:03:52 +00:00
Guido van Rossum d594c91293 Added Getnamev() macro. 1991-04-03 19:03:22 +00:00
Guido van Rossum a0c191eaa2 Initial revision 1991-04-03 19:02:31 +00:00
Guido van Rossum 88671aeabb Added declaration for dict2insert. 1991-04-03 19:02:06 +00:00
Guido van Rossum 2abc7a6a9a Added font manager initialization. 1991-04-03 19:01:18 +00:00
Guido van Rossum e543a94746 Satisfy Standard C rules about struct scope. 1991-04-03 19:00:55 +00:00
Guido van Rossum 62d4624ea3 Create code string with initial size of 1000 instead of 0. 1991-04-03 19:00:23 +00:00
Guido van Rossum b8824952cb Define and use GETNAMEV macro. 1991-04-03 18:59:50 +00:00
Guido van Rossum b6a6bdc7db Optimized stringitem. 1991-03-06 13:15:02 +00:00
Guido van Rossum bf109736d9 Return value of drawing_generic was ignored! Foo! 1991-03-06 13:14:12 +00:00
Guido van Rossum e7ef22ef41 Include patchlevel.h (to ensure it is distributed with the rest). 1991-03-06 13:09:35 +00:00
Guido van Rossum ed98d48027 Added repeat (for list*integet).
Added methods remove(), reverse() and index().
1991-03-06 13:07:53 +00:00