<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Mac/Python/macmain.c, branch 2.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Mac/Python/macmain.c?h=2.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Mac/Python/macmain.c?h=2.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2003-02-25T14:19:07Z</updated>
<entry>
<title>Removed debug output. Fixes #635570</title>
<updated>2003-02-25T14:19:07Z</updated>
<author>
<name>Jack Jansen</name>
<email>jack.jansen@cwi.nl</email>
</author>
<published>2003-02-25T14:19:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=11450a4de4df7623c0a9f512f34e1c5ff72cc3d1'/>
<id>urn:sha1:11450a4de4df7623c0a9f512f34e1c5ff72cc3d1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added a few printfs in case of unexpected situations during application startup.</title>
<updated>2002-10-29T22:03:45Z</updated>
<author>
<name>Jack Jansen</name>
<email>jack.jansen@cwi.nl</email>
</author>
<published>2002-10-29T22:03:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=dbb8c75ba08491ff876b1faed384aeccc3b20358'/>
<id>urn:sha1:dbb8c75ba08491ff876b1faed384aeccc3b20358</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bqackport of 1.73:</title>
<updated>2002-02-24T23:07:04Z</updated>
<author>
<name>Jack Jansen</name>
<email>jack.jansen@cwi.nl</email>
</author>
<published>2002-02-24T23:07:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=11c8a87da0704066189e57a90e3d377fd9bdf7d6'/>
<id>urn:sha1:11c8a87da0704066189e57a90e3d377fd9bdf7d6</id>
<content type='text'>
In MachoPython, don't simulate argc/argv unless we have argc=1 and argv[1]
starts with "-psn_". This means the drag-and-drop continues to work as
expected, but we can now also do
/Applications/Python.app/Contents/MacOS/python script.py
from the command line, which is a lot easier with debugging. Pressing &lt;option&gt;
at this point also has the expected effect of opening the options dialog!
</content>
</entry>
<entry>
<title>Moved macfsn hackery from macmain.c to macfsmodule.c so it loads</title>
<updated>2001-10-31T22:55:08Z</updated>
<author>
<name>Just van Rossum</name>
<email>just@letterror.com</email>
</author>
<published>2001-10-31T22:55:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ab57c7dcfc684d6f10468f6dc88dfa1b24ea967f'/>
<id>urn:sha1:ab57c7dcfc684d6f10468f6dc88dfa1b24ea967f</id>
<content type='text'>
on demand instead of at startup.
</content>
</entry>
<entry>
<title>Mod by Donovan Preston to allow MacPython to live in a Python.app bundle and understand the __main__.py convention used there for applets. This gives us applets that work on both OS9 and OSX! (Although "applet" may not be the correct word for something that is going to be multimegabyte:-).</title>
<updated>2001-10-30T22:48:36Z</updated>
<author>
<name>Jack Jansen</name>
<email>jack.jansen@cwi.nl</email>
</author>
<published>2001-10-30T22:48:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5ded1bf5c7773b7a13e1907e3cfb4826c402d7b2'/>
<id>urn:sha1:5ded1bf5c7773b7a13e1907e3cfb4826c402d7b2</id>
<content type='text'>
But: the code is currently disabled, as it requires CodeWarrior 7 and I'm still using 6.
</content>
</entry>
<entry>
<title>Mods by Donovan Preston (with changes by me to make them "go with the flow")</title>
<updated>2001-09-11T13:08:10Z</updated>
<author>
<name>Jack Jansen</name>
<email>jack.jansen@cwi.nl</email>
</author>
<published>2001-09-11T13:08:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=998a40a6d40a4ee5272f8683fbc3e9c801867fca'/>
<id>urn:sha1:998a40a6d40a4ee5272f8683fbc3e9c801867fca</id>
<content type='text'>
that will detect an __main__.py or __rawmain__.py in the application bundle.
This file is then exectued as the main script. We now have applets in
MachO Python!!!

The difference between __main__ and __rawmain__ is that the former gets a
complete simulated argv (so you can drop files on the applet and the script
sees them in sys.argv) while the latter skips the argv simulation and the
&lt;option&gt;key dialog. This keeps the AppleEvent that started the app intact,
as well as the funny "-psn_xxxx" argv[1] argument, so the script can do
with these what it wants.
</content>
</entry>
<entry>
<title>Failing to import macfsn is not a fatal error.</title>
<updated>2001-09-11T11:29:31Z</updated>
<author>
<name>Jack Jansen</name>
<email>jack.jansen@cwi.nl</email>
</author>
<published>2001-09-11T11:29:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6438e1d280167a9dcf0eb82bb7b7aff11b082a59'/>
<id>urn:sha1:6438e1d280167a9dcf0eb82bb7b7aff11b082a59</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Changes to make these work under OSX as the main program for a</title>
<updated>2001-09-05T22:07:52Z</updated>
<author>
<name>Jack Jansen</name>
<email>jack.jansen@cwi.nl</email>
</author>
<published>2001-09-05T22:07:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=dff7770b7f19b3cfdcbcbc4dc205f53ef6170c2d'/>
<id>urn:sha1:dff7770b7f19b3cfdcbcbc4dc205f53ef6170c2d</id>
<content type='text'>
fullblown drag and drop application. To my surprise it is starting
to work already: Python actually executes a script dropped on it.

To be done:
- Make sure this still works in MacPython
- Don't lose argv[0] in the process
- Applet support
</content>
</entry>
<entry>
<title>Added preferences/startup options for division warning</title>
<updated>2001-09-01T22:37:54Z</updated>
<author>
<name>Jack Jansen</name>
<email>jack.jansen@cwi.nl</email>
</author>
<published>2001-09-01T22:37:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ff5d8aaa28f16fc6b34b61d6926881cc31a9626d'/>
<id>urn:sha1:ff5d8aaa28f16fc6b34b61d6926881cc31a9626d</id>
<content type='text'>
and accepting unix-style newlines on input.

Also (finally) added a startup option to get -vv behaviour.

Moved __convert_to_newlines to main.c because that's easier with the newline option.
</content>
</entry>
<entry>
<title>Merging appropriate 2.1.1 fixes back into the main trunk.</title>
<updated>2001-08-03T13:31:36Z</updated>
<author>
<name>Jack Jansen</name>
<email>jack.jansen@cwi.nl</email>
</author>
<published>2001-08-03T13:31:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=cbed91b4db6817b7bbbb12ede40bfb5d26a9bf14'/>
<id>urn:sha1:cbed91b4db6817b7bbbb12ede40bfb5d26a9bf14</id>
<content type='text'>
</content>
</entry>
</feed>
