Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								fe9110b2ad 
								
							 
						 
						
							
							
								
								removed a routine that has moved to macglue.c  
							
							
							
						 
						
							2001-05-22 22:37:05 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								b45032e629 
								
							 
						 
						
							
							
								
								Fixed a nasty slowdown in imports in frozen applications: the shortcut  
							
							... 
							
							
							
							for loading modules from the application resource fork stopped working
when sys.path component normalization was implemented. Comparison
of sys.path components is now done by FSSpec in stead of by pathname. 
							
						 
						
							2001-05-22 14:13:02 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								25e0c79487 
								
							 
						 
						
							
							
								
								Another include Carbon/Carbon.h  
							
							
							
						 
						
							2001-05-19 12:57:22 +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 
								
							 
						 
						
							
							
							
							
								
							
							
								f57a4a2e97 
								
							 
						 
						
							
							
								
								Glue code to connect obj_New and obj_Convert routines (the PyArg_Parse and Py_BuildTuple helpers) from one dynamically imported module to another.  
							
							
							
						 
						
							2001-05-17 22:11:44 +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 
								
							 
						 
						
							
							
							
							
								
							
							
								c6cecf55d1 
								
							 
						 
						
							
							
								
								Reset the resource file chain before calling PyMac_OpenPrefFile. I'm not sure why this wasn't a problem before...  
							
							
							
						 
						
							2001-02-28 15:54:18 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								add8b246f6 
								
							 
						 
						
							
							
								
								Release a PYC resource after reading it. No need to keep it incore.  
							
							
							
						 
						
							2001-02-21 15:48:19 +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 
								
							 
						 
						
							
							
							
							
								
							
							
								fab7415831 
								
							 
						 
						
							
							
								
								Made version string shorter for Carbon so it fits on one line.  
							
							
							
						 
						
							2001-02-17 22:00:43 +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 
								
							 
						 
						
							
							
							
							
								
							
							
								c00df0bbba 
								
							 
						 
						
							
							
								
								Trigger keep-console-open on GUSISIOUX_STATE_UNKNOWN. Better than the previous complicated expression.  
							
							
							
						 
						
							2001-01-16 15:54:58 +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 
								
							 
						 
						
							
							
							
							
								
							
							
								8e0ee7761d 
								
							 
						 
						
							
							
								
								Got rid of ifdefs to enable MacTCP GUSI support, Open Transport always works fine nowadays.  
							
							
							
						 
						
							2001-01-12 23:41:46 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								264630e855 
								
							 
						 
						
							
							
								
								When compiling for GUSI and Carbon disable te "keep open on unseen output", for the time being.  
							
							
							
						 
						
							2001-01-11 23:04:32 +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 
								
							 
						 
						
							
							
							
							
								
							
							
								ebadcb1c1d 
								
							 
						 
						
							
							
								
								FSSpec names may be longer on carbon (1024 chars), cater for that in buffer sizes.  
							
							
							
						 
						
							2001-01-09 22:25:49 +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 
								
							 
						 
						
							
							
							
							
								
							
							
								6ff228c6d2 
								
							 
						 
						
							
							
								
								If we're not using GUSI the "keep open on unseen output" becomes the same as "always keep open".  
							
							
							
						 
						
							2001-01-09 22:24:06 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								5afad8315b 
								
							 
						 
						
							
							
								
								Added a c2pstrcpy() function.  
							
							
							
						 
						
							2000-12-12 22:12:14 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								8413b47ba7 
								
							 
						 
						
							
							
								
								Added PyMac_OutputSeen(), which acknowledges all current output in the stdio window, i.e. it acts like input has been read insofar as the keep-console-open option is interested.  
							
							
							
						 
						
							2000-10-19 22:02:16 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								dc86f9ebf9 
								
							 
						 
						
							
							
								
								Made options global (as PyMac_options) so macosmodule can access it.  
							
							
							
						 
						
							2000-10-12 21:23:19 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								4a5eb967b8 
								
							 
						 
						
							
							
								
								Keepconsole is now a 4-way option: never/errorexit/unseen output/always. Default is "unseen output". Upped the Popt version number.  
							
							
							
						 
						
							2000-09-22 21:50:11 +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 
								
							 
						 
						
							
							
							
							
								
							
							
								65c3ee0f66 
								
							 
						 
						
							
							
								
								Use same short banner message as unix/win Python.  
							
							
							
						 
						
							2000-09-08 10:20:37 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								6be3480083 
								
							 
						 
						
							
							
								
								Removed debug output.  
							
							
							
						 
						
							2000-08-25 21:58:00 +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 
								
							 
						 
						
							
							
							
							
								
							
							
								fb106c8c2f 
								
							 
						 
						
							
							
								
								Removed temporary code to disable OT networking (this was a workaround for getpeername() not working in a previous release of GUSI, but it has been fixed).  
							
							
							
						 
						
							2000-08-17 20:04:26 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								d843a018e9 
								
							 
						 
						
							
							
								
								Removed temporary code that always set creator to SimpleText.  
							
							
							
						 
						
							2000-08-17 20:01:24 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								5bdbabd203 
								
							 
						 
						
							
							
								
								Added more prototypes.  
							
							
							
						 
						
							2000-07-24 19:52:52 +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 
								
							 
						 
						
							
							
							
							
								
							
							
								660bb1d1c7 
								
							 
						 
						
							
							
								
								MacPython on MacOSX DP4 gets started in the wrong directory. The workaround (ifdeffed by USE_ARGV0_CHDIR) is to do a chdir() to the folder part of our executable name.  
							
							
							
						 
						
							2000-07-18 09:40:39 +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 
								
							 
						 
						
							
							
							
							
								
							
							
								41e25cc317 
								
							 
						 
						
							
							
								
								include macdefs.h for declaration of getwd, if non-gusi python.  
							
							
							
						 
						
							2000-07-14 22:16:01 +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 
								
							 
						 
						
							
							
							
							
								
							
							
								e17fd2a5af 
								
							 
						 
						
							
							
								
								Got rid of __SC__ ifdefs.  
							
							
							
						 
						
							2000-07-11 22:37:03 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								1af5b082ab 
								
							 
						 
						
							
							
								
								Removed guesstabsize.c, which is obsolete.  
							
							
							
						 
						
							2000-07-11 21:18:44 +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 
								
							 
						 
						
							
							
							
							
								
							
							
								fe38d2998f 
								
							 
						 
						
							
							
								
								PyMac_FindModuleExtension now uses a size_t as its size parameter for compatibility.  
							
							
							
						 
						
							2000-07-03 23:53:40 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								ca23d910f8 
								
							 
						 
						
							
							
								
								Made argc/argv processing work again under carbon.  
							
							
							
						 
						
							2000-06-20 07:40:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								868f0c7155 
								
							 
						 
						
							
							
								
								Oops, default type and creator were reversed.  
							
							
							
						 
						
							2000-06-14 09:12:44 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								490121355e 
								
							 
						 
						
							
							
								
								Removed assorted old ifdefs.  
							
							
							
						 
						
							2000-06-04 22:11:10 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								021da55579 
								
							 
						 
						
							
							
								
								Removed THINK_C support.  
							
							
							
						 
						
							2000-06-04 21:56:05 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								d9f6e92fbf 
								
							 
						 
						
							
							
								
								Removed THINK_C support.  
							
							... 
							
							
							
							Added a CARBON indicator to the version string. 
							
						 
						
							2000-06-04 21:51:36 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jack Jansen 
								
							 
						 
						
							
							
							
							
								
							
							
								33d1ad28cb 
								
							 
						 
						
							
							
								
								Replaced GetFInfo and SetFInfo calls with FspGetFInfo and FspSetFInfo calls, which are carbon-compatible.  
							
							
							
						 
						
							2000-06-02 21:29:59 +00:00