Commit Graph

68684 Commits

Author SHA1 Message Date
Guido van Rossum 541c8c0b2e Added many new functions 1991-05-05 20:13:41 +00:00
Guido van Rossum 97ad2d80e5 Added divmod and abs methods for numbers 1991-05-05 20:11:43 +00:00
Guido van Rossum 05ab111b1d Enabled (and fixed) newvarobject() 1991-05-05 20:10:41 +00:00
Guido van Rossum edcc38aac5 Initial revision 1991-05-05 20:09:44 +00:00
Guido van Rossum 0046695d0c Added divmod and abs, fixed negative powers 1991-05-05 20:08:27 +00:00
Guido van Rossum 175a9ea8c8 Pre-define MS-DOS separator 1991-05-05 20:07:59 +00:00
Guido van Rossum eba1b5efe1 Added (dummy) divmod and (functional) abs.
Fixed comments in number methods list
1991-05-05 20:07:00 +00:00
Guido van Rossum e3a204fe47 Added long integer support. 1991-05-05 20:05:35 +00:00
Guido van Rossum faf9c960a2 Renamed class members to instances and class methods to instance methods
,.
1991-05-05 20:04:55 +00:00
Guido van Rossum e8122f19a0 Renamed class methods to instance methods (which they are) 1991-05-05 20:03:07 +00:00
Guido van Rossum d4905454cc Added long() and support for longs in int() and float();
turned abs() and divmod() into generic versions;
added pow().
1991-05-05 20:00:36 +00:00
Guido van Rossum 9227c0e184 Added longobject.h 1991-05-05 20:00:02 +00:00
Guido van Rossum 67fa160744 Minor improvements. Removed footnote about CWI pathnames. 1991-04-23 14:14:57 +00:00
Guido van Rossum a9d5c228f9 Added \dataitem command; removed DRAFT from title; changed a word
in the reference to the reference document.
1991-04-23 14:11:26 +00:00
Guido van Rossum ab2885ee96 Clarify comment. 1991-04-21 19:34:48 +00:00
Guido van Rossum a31b9ccbbc Delay zero after successful action. 1991-04-21 19:33:53 +00:00
Guido van Rossum fa0e726154 Remove reference to util. 1991-04-21 19:33:30 +00:00
Guido van Rossum e2e162ec42 Initial revision 1991-04-21 19:32:43 +00:00
Guido van Rossum 40b0f3aa0e Use built-in file.read() instead of util.readfile(). 1991-04-21 19:31:39 +00:00
Guido van Rossum 001fa6a20f Don't sleep if msecs <= 0. 1991-04-21 19:31:10 +00:00
Guido van Rossum fb9149c401 Support delayed destroy. Use built-in remove.
Dispatch needn't check for win = self.win.
1991-04-21 19:28:44 +00:00
Guido van Rossum a82a27585a Use text object's new settext() method. 1991-04-21 19:27:48 +00:00
Guido van Rossum 7912b008cf Add destrpy() method. 1991-04-21 19:27:28 +00:00
Guido van Rossum b8f5c093dc Use built-in remove() method of lists instead of util.remove. 1991-04-21 19:26:45 +00:00
Guido van Rossum 80c9d88cbf New hacks for include files to get time_t in the most portable way.
Added Turbo C milli functions (courtesy Mark Anacker)
Disable THINK C sleep for 4.0
1991-04-16 08:47:51 +00:00
Guido van Rossum 753e2bfbbf Initial revision 1991-04-16 08:45:40 +00:00
Guido van Rossum 27201069c0 Add filled drawing methods and polygon methods.
Sort some method lists.
Increase max #menus, and give more reasonable error message
if exceeded.
Remove window setfont method.
1991-04-16 08:43:03 +00:00
Guido van Rossum a5900aa549 Move allobjects.h to front (needed by THINK C precompiled headers) 1991-04-16 08:42:06 +00:00
Guido van Rossum bfe14c5c92 Add warning about Lambert's bug. 1991-04-16 08:41:06 +00:00
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