Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								b760923b20 
								
							 
						 
						
							
							
								
								Got rid of 68k-Mac and other outdated ifdefs.  
							
							
							
						 
						
							2001-08-07 15:30:23 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								a5bca579fd 
								
							 
						 
						
							
							
								
								PyMac_GetFSSpec must be called via the dylib glue code on OSX.  
							
							
							
						 
						
							2001-08-03 15:39:27 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								cbed91b4db 
								
							 
						 
						
							
							
								
								Merging appropriate 2.1.1 fixes back into the main trunk.  
							
							
							
						 
						
							2001-08-03 13:31:36 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								2c278ed4a5 
								
							 
						 
						
							
							
								
								Fixed another case of the PyArg_Parse 'h' semantic change problem, sigh...  
							
							
							
						 
						
							2001-07-12 21:48:10 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								4e566ab904 
								
							 
						 
						
							
							
								
								Implemented minimal FSRef support, plus conversion between FSRefs, FSSpecs and pathnames where applicable.  
							
							... 
							
							
							
							PyMac_GetFSSpec and PyMac_BuildFSSpec have moved to macfsmodule from macglue.
These mods are untested on OSX. 
							
						 
						
							2001-07-08 22:07:23 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									unknown 
								
							 
						 
						
							
							
							
							
								
							
							
								f428aef3b2 
								
							 
						 
						
							
							
								
								Don't promise mac-japanese encoding as we don't have a codec for it.  
							
							... 
							
							
							
							Return a reasonable name for the general macos exception (MacOS.Error). 
							
						 
						
							2001-07-04 22:36:27 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								741e0378e4 
								
							 
						 
						
							
							
								
								Moved PyMac_GetFullPath from macgetargv.c to macglue.c. It should  
							
							... 
							
							
							
							have been there in the first place. 
							
						 
						
							2001-05-19 12:55:57 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								8bb1dc1f8d 
								
							 
						 
						
							
							
								
								Merged mactoolboxglue.c into macglue.c. A later step will be to separate out  
							
							... 
							
							
							
							the stuff that is only needed on classic-MacOS. 
							
						 
						
							2001-05-19 12:31:09 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								0194ad5c7d 
								
							 
						 
						
							
							
								
								Got the first MacPython module working under MacOSX/MachO (gestalt). Main changes  
							
							... 
							
							
							
							are including Carbon/Carbon.h in stead of the old headers (unless WITHOUT_FRAMEWORKS
is defined, as it will be for classic MacPython) and selectively disabling all the
stuff that is unneeded in a unix-Python (event handling, etc). 
							
						 
						
							2001-05-12 22:46:35 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								6e68a7e74f 
								
							 
						 
						
							
							
								
								Be more sensible about when to use TARGET_API_MAC_OS8 in stead of !TARGET_API_MAC_CARBON. This should greatly facilitate porting stuff to OSX in its MachO/BSD incarnation.  
							
							
							
						 
						
							2001-05-12 21:31:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								15f1c08d96 
								
							 
						 
						
							
							
								
								- Raise console window on input. Fixes Carbon hang.  
							
							... 
							
							
							
							- Better handling of menu bar save/restore.
- Override abort() so it honours the "keep console window" flag. 
							
						 
						
							2001-04-25 22:07:27 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								657ba27dde 
								
							 
						 
						
							
							
								
								More changes to attempt to get the menubar back on exit. Without success:-(  
							
							
							
						 
						
							2001-02-17 22:02:07 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								8a38714ba0 
								
							 
						 
						
							
							
								
								Bit the bullet and added a private GUSISIOUX for Python. This makes the delayconsole and keepopen code neater. Also tells Sioux to behave better with events, and handles cmd-. during print better. The pythonpreferences have also changed due to this.  
							
							
							
						 
						
							2001-02-11 01:08:04 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								340eb88fa8 
								
							 
						 
						
							
							
								
								On MacOSX StackSpace() may lie because it doesn't know about the stack rlimit. For now we set a hard limit of 256K (default rlimit is 512K).  
							
							
							
						 
						
							2001-02-02 22:40:28 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								d7b68021ce 
								
							 
						 
						
							
							
								
								Fixed Carbon command-dot handling. There is still a problem, though, and you may have to hit it repeatedly.  
							
							
							
						 
						
							2001-01-12 23:42:28 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								6ba34aa07f 
								
							 
						 
						
							
							
								
								Disabled a few other routines that are available in CarbonLib.  
							
							
							
						 
						
							2001-01-11 23:03:56 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								91faef83ca 
								
							 
						 
						
							
							
								
								Don't need to define c2pstrcpy() on Carbon: it's in CarbonLib.  
							
							
							
						 
						
							2001-01-09 22:24:56 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								5afad8315b 
								
							 
						 
						
							
							
								
								Added a c2pstrcpy() function.  
							
							
							
						 
						
							2000-12-12 22:12:14 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								53bafd97d0 
								
							 
						 
						
							
							
								
								PyOS_CheckStack now understands multiple threads. Other threads are not stack-checked, but at least they don't appear to always be out of stack.  
							
							
							
						 
						
							2000-09-08 22:05:48 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								14a9171cff 
								
							 
						 
						
							
							
								
								Cheaper implementation of PyOS_CheckStack: only call StackSpace once and keep a sentinel in a static variable.  
							
							
							
						 
						
							2000-08-25 21:57:23 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								1f9f2f4c49 
								
							 
						 
						
							
							
								
								Added PyMac_getscript() which returns the pythonic name of the current script. Not ideal and not complete, but good enough for the time being. Idea and most of the code by Fredrik Lund.  
							
							
							
						 
						
							2000-07-24 19:50:16 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								74a1e63a89 
								
							 
						 
						
							
							
								
								Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef.  
							
							
							
						 
						
							2000-07-14 22:37:27 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								bb7e213a8b 
								
							 
						 
						
							
							
								
								PyMac_PromptGetFile and PyMac_GetDirectory don't exist in carbonpython.  
							
							
							
						 
						
							2000-07-14 22:15:24 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								9ae898b415 
								
							 
						 
						
							
							
								
								ANSIfication step 2: make sure all needed prototypes are available, and all needed  
							
							... 
							
							
							
							header files included. 
							
						 
						
							2000-07-11 21:16:03 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								d88296d25a 
								
							 
						 
						
							
							
								
								ANSIfication step 1: get rid of Py_PROTO and Py_FPROTO.  
							
							
							
						 
						
							2000-07-11 19:51:05 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								021da55579 
								
							 
						 
						
							
							
								
								Removed THINK_C support.  
							
							
							
						 
						
							2000-06-04 21:56:05 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								bb6d83a8c4 
								
							 
						 
						
							
							
								
								Removed (within an #ifdef) Carbon-incompatabilities:  
							
							... 
							
							
							
							- Use TickCount() in stead of LMGetTicks()
- Don't use xxxGetFile event filter
- Don't call SystemTask or HandleSysWindowEvent (is this also automatically handled under os9??)
- Don't scan event queue for cmd-. (to be fixed at some point). 
							
						 
						
							2000-06-02 21:27:11 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								2d1306b7cf 
								
							 
						 
						
							
							
								
								Started on GUSI2 and threading support.  
							
							
							
						 
						
							2000-04-07 09:10:49 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								3d7575406f 
								
							 
						 
						
							
							
								
								If there's an error in an fsspec argument raise MacOS.Error, not ValueError.  
							
							
							
						 
						
							2000-01-24 09:56:06 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								b734adef4b 
								
							 
						 
						
							
							
								
								Added PyMac_BuildOptStr255, which returns None on a null pointer.  
							
							
							
						 
						
							1999-12-17 17:15:50 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								8bb573e2ab 
								
							 
						 
						
							
							
								
								Oops, PLstring funcs should be "pascal". Funny this never caused problems before...  
							
							
							
						 
						
							1999-12-12 21:37:14 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								8f5725af60 
								
							 
						 
						
							
							
								
								First bits and pieces of appearance support: an init routine, a global flag PyMac_AppearanceCompliant (exported thru MacOS). If USE_APPEARANCE  
							
							... 
							
							
							
							is off the code is disabled (but the variables are still there, set to 0). 
							
						 
						
							1999-12-07 23:08:10 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								7e1fb7c92d 
								
							 
						 
						
							
							
								
								New about box, with the version mesage filled in in a text item, and  
							
							... 
							
							
							
							PLstrcmp() fixed. (Just) 
							
						 
						
							1998-07-31 09:36:30 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								1e2260fcb4 
								
							 
						 
						
							
							
								
								All import-related code has moved to macimport.c.  
							
							... 
							
							
							
							There's also new support for importing code fragments: if a file on
sys.path contains a PYD resource with resourcename equal to the name
of the module to be imported this PYD resource should contain a
(pascal) string with the name of a code fragment to load. This allows
freezing Python programs without access to source or a development
environment. 
							
						 
						
							1998-07-13 13:37:12 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								fa68b07526 
								
							 
						 
						
							
							
								
								Print message when we load a PYC resource, if verbose import flag is on.  
							
							
							
						 
						
							1998-06-26 14:52:04 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								bbf4be2c2f 
								
							 
						 
						
							
							
								
								Incorrect argument for PyMacBuildwide()  
							
							
							
						 
						
							1998-04-23 13:20:17 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								d58cd630eb 
								
							 
						 
						
							
							
								
								Added PyMac_{Get,Build}wide. These should support python longints at  
							
							... 
							
							
							
							some point in the future. 
							
						 
						
							1998-04-21 15:24:39 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								efaada75e4 
								
							 
						 
						
							
							
								
								- Universal Headers 3 mods  
							
							... 
							
							
							
							- Started on menubar-restore code (but it still doesn't work 100%) 
							
						 
						
							1998-02-20 16:03:15 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								213649023c 
								
							 
						 
						
							
							
								
								Bug fix for fast module location  
							
							
							
						 
						
							1997-10-08 15:32:46 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								c73f83c8d9 
								
							 
						 
						
							
							
								
								Fixed for new "import dir.module" semantics. Needs accompanying fix in  
							
							... 
							
							
							
							import.c (yes Guido, I'll send it tomorrow) 
							
						 
						
							1997-10-07 21:48:31 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								0c96887d35 
								
							 
						 
						
							
							
								
								Handle systemclicks ourselves, in stead of passing them to Sioux. This  
							
							... 
							
							
							
							fixes (or masks?) a bug with Python becoming unreactive during
time.sleep() if you have already switched applications before. 
							
						 
						
							1997-08-26 13:20:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								a8441ded7a 
								
							 
						 
						
							
							
								
								Added (dummy) PyOS_FiniInterrupts  
							
							
							
						 
						
							1997-08-08 14:57:37 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								36ed506f09 
								
							 
						 
						
							
							
								
								Added PyMac_SetEventHandler which allows you to replace complete event  
							
							... 
							
							
							
							handling in inner loop with python code. Also move (previously
machine independent) PyErr_CheckSignals here, so we can propagate
exceptions in event handling code. 
							
						 
						
							1997-06-20 16:18:15 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								eda78634a4 
								
							 
						 
						
							
							
								
								Make imports faster on the Mac, by  
							
							... 
							
							
							
							- Remembering whether sys.path components refer to files or folders,
- Using mac-specific code to check for file existence, in stead of trying
  to fopen() each possible file.
These mods need an accompanying mod to import.c. 
							
						 
						
							1997-06-12 15:29:46 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								caa7c46ac4 
								
							 
						 
						
							
							
								
								- Restore SIOUX menubar just before exiting, if the console window is kept  
							
							... 
							
							
							
							open (so the user can quit with cmd-Q, print, etc)
- Removed a few unused routines 
							
						 
						
							1997-06-12 10:49:13 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								e3ae0dfeb7 
								
							 
						 
						
							
							
								
								Removed old scheduler parameterizing calls and replaced with something  
							
							... 
							
							
							
							a bit easier to use and understand 
							
						 
						
							1997-06-03 15:28:29 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								a39f1b0ce2 
								
							 
						 
						
							
							
								
								- Added Py_GetProgramFullPath  
							
							... 
							
							
							
							- Added PyMac_StopGUSISpin and have it called at exit time (fixes crash
  when exiting with sockets open)
- Added PLstr... funcs needed by gusi: those provided by StdCLib are
  broken under cfm68k 
							
						 
						
							1997-05-23 15:35:14 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								08c3be35c3 
								
							 
						 
						
							
							
								
								Changed the few old routine names still used to the new ones  
							
							... 
							
							
							
							Started working on MSL support 
							
						 
						
							1997-04-08 15:27:00 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								c587301e2e 
								
							 
						 
						
							
							
								
								- Changed GestaltEqu.h to Gestalt.h  
							
							... 
							
							
							
							- Changed FragLoader.h to CodeFragments.h
- Removed Desk.h 
							
						 
						
							1997-02-24 13:59:38 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								7e94404081 
								
							 
						 
						
							
							
								
								Only go into eventloop/interrupt check 10 times per second  
							
							
							
						 
						
							1997-02-20 15:23:18 +00:00