Commit Graph

465 Commits

Author SHA1 Message Date
Jack Jansen 4b76ba3280 High-level interface to Internet Config
(and readability fix to icgluetest.py)
1997-01-09 16:26:23 +00:00
Jack Jansen 3beb3363d4 Minimal test of icglue module 1997-01-07 16:17:44 +00:00
Jack Jansen c75e1d052b Added Application.cleanup method which asks all windows to close
themselves and returns true if they did.
1996-12-23 17:22:40 +00:00
Jack Jansen b7e82c1c0c Raise a more intellegible error in the case of missing keyword args 1996-10-23 15:43:04 +00:00
Jack Jansen 3a4b3b0132 Fixed flashing in ProgressBar update. 1996-10-15 16:11:50 +00:00
Jack Jansen 30fe363fd8 Fixed progressbar cleanup 1996-10-04 15:21:00 +00:00
Jack Jansen b1667ef782 Menu callbacks can be strings, in which case they will be looked up in
the top window.
The menubar is redrawn in the event loop in stead of for every change.
1996-09-26 16:17:08 +00:00
Jack Jansen 0d1069e42f Finally *tested* effect of fg and bg yield values (and changed them:-) 1996-09-22 22:15:20 +00:00
Jack Jansen 433a48ef36 Regenerated to use aetools.Error in stead of MacOS.Error. 1996-09-20 15:29:08 +00:00
Jack Jansen c46f56e35f - Added optional "start" argument to TalkTo initialializer, which
starts the app (if needed).
- Added aetools.Error, which is returned in case of server-generated
  errors (better than MacOS.Error, which was raised previously)
1996-09-20 15:28:28 +00:00
Jack Jansen 0585d41198 Convenience routines: wrappers around some of the scriptable finder
functionality.
1996-09-20 15:26:20 +00:00
Jack Jansen 35bfd3f9d7 Created Finder 7.0 AE interface and a test program that uses the
finder to launch an application.
1996-09-19 10:49:53 +00:00
Jack Jansen 4cb945454a Added _quit() method similar to FrameWork in stead of setting
self.quitting by hand.
1996-09-17 12:36:35 +00:00
Jack Jansen 647535d390 - Use a flag (self.quitting) as preferred method of exiting mainloop
- Added optional "nomenubar" argument to Application.__init__
1996-09-17 12:35:43 +00:00
Jack Jansen 57d53a90d9 - Optionally copy file times for copy/copytree (default on)
- Added touch(file) routine to tell the finder a files icon or
  something has changed (*finally* found out how to do this)
1996-09-15 22:13:26 +00:00
Jack Jansen f4c4f9e9e1 (preliminary) framework for scriptable applications 1996-09-09 01:46:11 +00:00
Jack Jansen 4a5be817da Symbolic names for all error codes from Errors.h and errno.h 1996-09-05 15:17:01 +00:00
Jack Jansen 4634130aad Added setwatchcursor() and setarrowcursor() functions 1996-08-28 13:53:07 +00:00
Jack Jansen bbe2ae168c Re-binhexed 1996-08-20 16:18:42 +00:00
Jack Jansen eb1284be97 New waste release 1996-08-06 16:05:24 +00:00
Jack Jansen 84c21a803e Regenerated from CW9 includes (only QuickDraw really got a few new values) 1996-08-02 11:22:55 +00:00
Jack Jansen 880e6eb409 Removed debug output 1996-08-01 15:30:33 +00:00
Jack Jansen 8431733c07 Allow only one selection (this tests settability of selFlags) 1996-07-26 16:04:29 +00:00
Jack Jansen 16038ee18e Regenerated 1996-07-26 16:03:49 +00:00
Jack Jansen ded835c7f5 Mods by Just:
- Better staggering of windows
- Windows have zoombox by default, and zooming works
- DrawControls->UpdateControls
- Better scrollbar show/hide
1996-07-26 14:01:07 +00:00
Jack Jansen 0acb7f7a57 Module to handle PYC resources 1996-05-31 13:02:21 +00:00
Jack Jansen 0f6dc5b888 Added MenuItem methods setstyle(), seticon(), setmark() 1996-04-23 16:18:33 +00:00
Jack Jansen c4eec9fce1 - Confine window moves to screen boundaries
- Added windowbounds() function to help programmer with staggering
  windows
- Added event parameter to idle routine
- Added settext(label) method to menu entries
- Erase/invalidate only visRgn in stead of everything
- Correctly handle clicks in inactive ControlWindows
1996-04-19 16:00:28 +00:00
Jack Jansen 2cc41604c7 Minimal waste test program, modified from ttedit. 1996-04-19 15:57:52 +00:00
Jack Jansen 7bfc875270 Fixed ScrolledWindow to disable scrollbars if everything is visible. 1996-04-16 14:35:43 +00:00
Jack Jansen 6528b1feff An interface to WASTE, an all-singing-all-dancing TextEdit replacement. 1996-04-16 14:27:51 +00:00
Jack Jansen e353215bf7 Added ScrolledWindow (a window with one or two scrollbars) 1996-04-12 16:24:44 +00:00
Jack Jansen c9c0dd3420 Fixed ttedit to actually work
Fixed minor update bug in tlist
1996-04-11 15:40:32 +00:00
Jack Jansen cef2c597fe Added enable(onoff) method to menus and menu items 1996-04-11 15:39:01 +00:00
Jack Jansen 0b690db57a Added region argument to various ...Update calls.
Also, some rsrc files got rebinhexed (sigh)
1996-04-10 14:49:41 +00:00
Jack Jansen fcdf4378ac TextEdit sample code (not yet complete) 1996-04-10 14:43:17 +00:00
Jack Jansen 0701d623e9 Added TextEdit interface 1996-04-10 14:42:32 +00:00
Jack Jansen 94a71aba52 re-binhexed 1996-03-20 16:25:52 +00:00
Jack Jansen ef51d1351c Removed addpack calls 1996-03-20 16:24:56 +00:00
Jack Jansen f63abad4e9 Removed addpack calls for toolbox modules. 1996-03-20 16:22:01 +00:00
Jack Jansen bb653772f5 Oops... I Inadvertently lost their cvs files... 1996-03-18 14:21:15 +00:00
Jack Jansen 1a06e1d6ba Binhexer fixed 1996-03-18 13:34:25 +00:00
Jack Jansen 52a40ac03b Added option to set queue size 1996-03-18 13:33:48 +00:00
Jack Jansen 0603319846 Use MacOS.openrf (if it is available) for opening resource forks
Copy in .5Mb chunks in stead of 1Mb
1996-03-12 13:33:34 +00:00
Jack Jansen db9ff36ad9 Added checkmenu() method (to checkmark an entry) and delete() method
to remove a menu.
1996-03-12 13:32:03 +00:00
Jack Jansen d390325bbb Modules implementing WWW and URL suite, and a module to control netscape. 1996-01-29 15:45:59 +00:00
Jack Jansen 7e156a70fa Added missing get() method 1996-01-29 15:45:09 +00:00
Jack Jansen 3a50f8a51e - Added FontInfo support
- Added (read-)access to members of [C]GrafPort object
1996-01-11 16:17:14 +00:00
Jack Jansen 195e33efa2 - Fixed bug in getfillable()
- Added setcallback() method to set a user-callback
1996-01-09 17:15:57 +00:00
Jack Jansen 6259af9bbb An interface to the font manager 1996-01-09 17:15:16 +00:00
Jack Jansen c8a9949407 Various fixes/enhancements, thanks to Ivan and Just:
- Added window.SetPort() method
- Added optional bounds and resid parameters to Window.open()
- Fixed apple-menu DA handling
- Fixed activate-event handling
- Added default Application.makeusermenus() (File:Quit only)
1996-01-08 23:50:13 +00:00
Jack Jansen 29c612111b A different binhexer, apparently:-( 1996-01-02 12:15:45 +00:00
Jack Jansen 6601964f7b Fixed example 1996-01-02 12:09:30 +00:00
Jack Jansen b696b252b3 Added missing newline 1995-12-21 15:38:14 +00:00
Jack Jansen 6f47bf44ca Minor bugfix in keyboard input handling 1995-12-12 15:03:35 +00:00
Jack Jansen 425e9eb6cb - Added color window/pixmap support
- Added support for obtaining pixmap data
- Added OptResObj_* routines for optional handles
1995-12-12 15:02:03 +00:00
Jack Jansen cb4eaadd68 QuickTime support (not yet functional) 1995-11-30 15:03:59 +00:00
Jack Jansen b996856d12 Component mgr support 1995-11-30 15:03:09 +00:00
Jack Jansen 330f57699f - Added support for PicHandle
- Added (by hand, through winedit.py) support for WindowPeek accessor
  functions that are currently declared as macros.
1995-11-14 10:48:54 +00:00
Jack Jansen a01a8f78cb New universal headers, a few bit-flags were added. 1995-11-14 10:46:59 +00:00
Jack Jansen 54c8f7e4bb - Fixed handling of InsetRect, OffsetRect, MapRect
- Added support for PatHandle, CursHandle
- Regenerated from new universal headers.
1995-11-14 10:46:01 +00:00
Jack Jansen cdaa3d95b8 Universal header changes: some new bits defined. 1995-11-14 10:43:24 +00:00
Jack Jansen 754d4a4fa0 Regenerated because of minor changes in universal headers 1995-11-14 10:41:55 +00:00
Jack Jansen da38f2d6a3 Added 2 missing SetPort calls 1995-11-14 10:15:42 +00:00
Jack Jansen 3a87f5bb09 Added a ProgressBar() class (which shows a progress bar). Needs new
resource.
1995-11-14 10:13:49 +00:00
Jack Jansen 38186782e5 Added idle() method, called when no events are available. 1995-11-10 14:48:36 +00:00
Jack Jansen a8a277cbdc Fixed positioning of icon on copy() 1995-10-09 23:27:06 +00:00
Jack Jansen d40f3c60ca New universal headers 1995-10-09 23:12:22 +00:00
Jack Jansen 732151473b Fixed bug in optional argument error checking (and generated all
suites anew).
1995-10-09 23:09:23 +00:00
Jack Jansen 8426477bbb Modified/recreated to use keyword arguments 1995-10-03 14:35:58 +00:00
Guido van Rossum 1dc366f109 add (dummy) mode arg to open() 1995-09-01 22:55:11 +00:00
Jack Jansen 0949055ddf its all in the name... 1995-08-31 13:43:08 +00:00
Jack Jansen 8961847e18 Modeless dialog test 1995-08-31 13:42:35 +00:00
Jack Jansen 423c798b3c copy() can now create destination path 1995-08-31 13:40:03 +00:00
Jack Jansen f5101ee5dc Constants useful when using macfs module 1995-08-31 13:38:44 +00:00
Jack Jansen 13dc4f71a9 Fixed dialog-window event handling 1995-08-31 13:38:01 +00:00
Jack Jansen d4c26469d6 Generated anew 1995-08-17 14:35:56 +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 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 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 a4b1d0030e Interface to the Mac List Manager. 1995-08-14 11:46:24 +00:00
Jack Jansen 5968badb65 - Use new names
- Use AEInteractWithUser
1995-07-29 15:34:25 +00:00
Jack Jansen 39fe80b7da Initial revision 1995-07-29 15:33:43 +00:00
Jack Jansen e87e7a56bd New test program for server AE handling 1995-07-29 15:32:30 +00:00
Jack Jansen 7874b5d88c minor fix 1995-07-29 15:31:10 +00:00
Jack Jansen 5050199787 Fixed incorrect call to InstallHandler and a few other things 1995-07-29 13:58:41 +00:00
Jack Jansen e4b4038cb2 Various toolbox routines have gotten new names. 1995-07-17 13:25:15 +00:00
Jack Jansen bc608646a8 The three most important suites, generated by gensuitemodule 1995-07-17 11:43:59 +00:00
Jack Jansen 5ccd826aab Gensuitemodule generates python classes from aete/aeut resources
test_suite is a tiny test program for such a generated class
1995-07-17 11:43:20 +00:00
Jack Jansen 40775bafab Split aepack and aetypes off from aetools (it was getting too big)
Added support for all basic types mentioned in Apple Event Registry
Added support for automatically-generated suites.
1995-07-17 11:42:23 +00:00
Jack Jansen 5ae5fdf901 Generated anew after fixing aescan.py 1995-07-17 11:40:10 +00:00
Jack Jansen 7d0bc8343f Ported to Universal Header 2.0.1f (i.e. CW6) 1995-06-09 20:56:31 +00:00
Jack Jansen b81cf9d61c Trying again to check it in. Changes to:
- Use Universal Headers as input
- Change addpack calls to not depend on Guido's disklayout
- Checkge testprograms to use new names for some functions
1995-06-06 13:08:40 +00:00
Jack Jansen ae8a68f40c Trying again to check it in. Changes to:
- Use Universal Headers as input
- Change addpack calls to not depend on Guido's disklayout
- Checkge testprograms to use new names for some functions
1995-06-06 12:55:40 +00:00
Jack Jansen c7cfb95559 Rather massive changes:
- Make the stuff run on Jack's machine (and hopefully all machines) in
  stead of Guido's only (addpack stuff)
- Use the Universal Headers in stead of the Think headers
- Fixed the test programs to use the new routine names
1995-06-05 22:34:12 +00:00
Jack Jansen 1ff2f218ca Removed seeks beyond eof (MW doesn't support them) 1995-04-23 22:10:18 +00:00
Guido van Rossum 8f4b6adb77 two new modules for the Mac toolbox 1995-04-05 09:18:35 +00:00
Guido van Rossum e56db434a9 first cut at the whole quickdraw.h header file ... 1995-03-19 22:49:50 +00:00
Guido van Rossum 7a84c5a354 pseudo progress bar (not finished) 1995-03-10 14:47:38 +00:00
Guido van Rossum 227a4232e6 the usual 1995-03-10 14:42:57 +00:00
Jack Jansen 3b0a5cdb23 Initial revision 1995-03-07 16:40:18 +00:00
Guido van Rossum e26c263e71 more stuff 1995-02-28 09:11:41 +00:00
Guido van Rossum 0437e89041 fix bug in filterproc interface 1995-02-21 20:56:21 +00:00
Guido van Rossum 9784295b15 another round... ported to __SC__ 1995-02-19 15:59:49 +00:00
Guido van Rossum 872eeebf6d completed aete decoded now that I have the docs 1995-02-14 09:47:42 +00:00
Guido van Rossum 315592383e more support for different kinds of objects 1995-02-05 16:59:27 +00:00
Guido van Rossum 17448e2408 Committed a more or less working version. 1995-01-30 11:53:55 +00:00
Guido van Rossum a48061a580 shelve.py: database of persistent objects, on top of pickle.py and anydbm.py
pickle.py: new low-level persistency module (used to be called flatten)
dbmac.py: stupid dbm clone for the Mac
anydbm.py: generic dbm interface (should be extended to support gdbm)
1995-01-10 00:31:14 +00:00
Jack Jansen 115590d22f This file (which is Guido's) was somehow missing... 1994-12-14 13:07:43 +00:00
Guido van Rossum 50399ae583 mac -> os (can't this go now dircache is universal?) 1992-03-31 19:05:44 +00:00
Guido van Rossum bdfcfccbe5 New == syntax 1992-01-01 19:35:13 +00:00
Guido van Rossum fbe0a8e090 macpath.cat --> join 1991-08-16 13:27:45 +00:00
Guido van Rossum 217a5fa3c3 Initial revision 1990-12-26 15:40:07 +00:00