Commit Graph

108131 Commits

Author SHA1 Message Date
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
Guido van Rossum ce5ba841d9 Fixed read() and readline() to do arbitrarily long reads.
And readline() now reads null bytes correctly.
Added tell(), seek() and flush().
1991-03-06 13:06:18 +00:00
Guido van Rossum 7ff04b39db Dependencies on mod[123].tex. 1991-02-19 17:24:20 +00:00
Guido van Rossum 958ab3dd72 Split into a root file (this one) and three subfile mod[123].tex. 1991-02-19 17:23:29 +00:00
Guido van Rossum 17d82ce78a Added readfile() and readopenfile() functions. 1991-02-19 13:04:40 +00:00
Guido van Rossum 261cbb2165 Use readfile from util.py. 1991-02-19 13:02:13 +00:00
Guido van Rossum 56098fa2d4 Use garamod as alternative style. 1991-02-19 12:54:06 +00:00
Guido van Rossum 8ec6350d78 Made function items bold; other changes? 1991-02-19 12:53:17 +00:00
Guido van Rossum a95e463d1e Minor changes. 1991-02-19 12:52:52 +00:00
Guido van Rossum 14f7aae080 Remove Emacs garbage. 1991-02-19 12:52:33 +00:00
Guido van Rossum f70e43a073 Added copyright notice. 1991-02-19 12:39:46 +00:00
Guido van Rossum 7927384a1d Added version that opens a pipe to /bin/pwd. 1991-02-19 12:28:18 +00:00
Guido van Rossum 426035c543 Added BSD implementations of millisleep. 1991-02-19 12:27:35 +00:00
Guido van Rossum 2d14e21382 Call winit() here instead of in main initialization. 1991-02-19 12:26:49 +00:00
Guido van Rossum 7f133ed073 Call the init function of a built-in module here.
,
1991-02-19 12:23:57 +00:00
Guido van Rossum 59e53a564c Turned the list of init calls into a table (see import.c). 1991-02-19 12:22:24 +00:00
Guido van Rossum 865828d7cf Reversed min and max (to alphabetical order). 1991-02-19 12:21:50 +00:00
Guido van Rossum a08095ab02 Hack to open resource fork on the Mac: open(filename, '*rb'). 1991-02-13 23:25:27 +00:00
Guido van Rossum 33f1770ed8 Add getdefwinpos, getdefwinsize;
and improve mouse clipping for textedit blocks.
1991-02-13 23:19:39 +00:00
Guido van Rossum 253919f3b7 Fix stringcompare when strings contain null bytes. 1991-02-13 23:18:39 +00:00
Guido van Rossum 5153e5ecd7 Updated to reflect the change to TeX. 1991-01-25 13:29:53 +00:00
Guido van Rossum 20aca5aa39 Took out (di)troff references.
Changed dependencies somewhat.
1991-01-25 13:29:04 +00:00
Guido van Rossum 4c22cb2f31 Changed code environment into \bcode and \ecode macros.
Learned a lot about these things.
1991-01-25 13:28:15 +00:00
Guido van Rossum 5ce78f11fc Changed code environment into \bcode and \ecode macros.
Small lay-out improvements.
Took out a ref or two to "python -s".
1991-01-25 13:27:18 +00:00
Guido van Rossum d38b7648c0 Changed \begin{code} and \end{code} into \bcode and \ecode.
Small lay-out improvements.
1991-01-25 13:26:13 +00:00