Serhiy Storchaka
e0ed2d75c8
Issue #19936 : Added executable bits or shebang lines to Python scripts which
...
requires them. Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface.
2014-01-16 18:59:17 +02:00
Ronald Oussoren
9545a23c7f
In a number of places code still revers
...
to "sys.platform == 'mac'" and that is
dead code because it refers to a platform
that is no longer supported (and hasn't been
supported for several releases).
Fixes issue #7908 for the trunk.
2010-05-05 19:09:31 +00:00
Benjamin Peterson
9cf41d0c9d
normalize shebang lines to #!/usr/bin/env python
2010-03-11 22:33:25 +00:00
Ronald Oussoren
2596758cb4
Fix build issues on OSX 10.6 (issue 6802)
2009-09-06 10:00:26 +00:00
Benjamin Peterson
5b63acd31e
#2503 make singletons compared with "is" not == or !=
...
Thanks to Wummel for the patch
2008-03-29 15:24:25 +00:00
Tim Peters
ae6a5a73dc
Whitespace normalization.
2006-06-07 20:40:06 +00:00
Ronald Oussoren
4b7a6c8b58
* If BuildApplet.py is used as an applet it starts with a version of
...
sys.exutable that isn't usuable on an #!-line. That results in generated
applets that don't actually work. Work around this problem by resetting
sys.executable.
* argvemulator.py didn't work on intel macs. This patch fixes this
(bug #1491468 )
2006-06-07 20:18:44 +00:00
Ronald Oussoren
ff8c022123
A first cut at replacing the icons on MacOS X. This replaces all icons by icons
...
based on the new python.org logo. These are also the first icons that are
"proper" OSX icons.
These icons were created by Jacob Rus.
2006-05-14 20:35:41 +00:00
Jack Jansen
de2ecb8466
Updated version numbers.
2004-12-27 15:53:20 +00:00
Jack Jansen
c77f6dfd92
Fix for #1091468 : DESTROOTed frameworkinstalls fail. Added a --destroot
...
option to various tools, and do the right thing when we're doing a destroot
install.
Will backport to 2.4 and 2.3.
2004-12-27 15:51:03 +00:00
Tim Peters
182b5aca27
Whitespace normalization, via reindent.py.
2004-07-18 06:16:08 +00:00
Jack Jansen
4f9013759b
- Added a note about fixversions.py
...
- Ran it.
2004-07-15 21:30:41 +00:00
Jack Jansen
28ecf70db5
Getting rid of support for MacOS9 and earlier. This is the first step,
...
and the biggest in size, but probably the easiest. Hunting through the
source code comes next.
2003-11-19 14:34:18 +00:00
Jack Jansen
6bf31278ac
Ported from 23maint branch: add icons to BuildApplet.
2003-11-19 13:37:22 +00:00
Jack Jansen
12cb99b33f
Various tweaks to make the packages work better. Still not 100%, though.
2003-07-22 14:31:34 +00:00
Jack Jansen
7327918631
Import EasyDialogs only when needed, so this works if there is no window
...
manager (if it isn't needed).
2003-06-16 13:55:21 +00:00
Jack Jansen
8ba0e80117
Added a --python option, which sets the python to be used in the #! line
...
in the bootstrap script of the applet.
2003-05-25 22:00:17 +00:00
Jack Jansen
ee0325ac9a
Suppress wartning on macfs import.
2003-05-09 10:15:18 +00:00
Jack Jansen
40006e9f7a
Rename funny long suite to Disk_File_Folder.
2003-05-01 22:06:15 +00:00
Jack Jansen
d6abf5d8c7
By default be verbose.
2003-04-29 21:46:31 +00:00
Jack Jansen
a942b9931c
Moved gensuitemodule from Mac/scripts to Lib/plat-mac. Documentation
...
remains to be done.
2003-03-29 23:04:01 +00:00
Jack Jansen
1269be5f4a
- Added an is_scriptable method to test applications for having
...
a scripting dictionary. Made up by me, not guaranteed to be correct
(and, indeed, Internet Explorer does not seem to play by the book).
- Added the interactive main program as a separate routine, so it
can be called from the IDE later. Also made it less interactive by
default: only the input app and output package folder are asked for.
2003-03-29 22:54:00 +00:00
Jack Jansen
0fc192a9cd
- Prefer using events (in stead of poking around in resource files) to
...
get terminology resources. Unfortunately there doesn't seem to be any
application I can ask for the basic StdSuites terminology (?).
- Prefer OSX-native versions of applications over OS9 versions.
2003-03-29 00:11:32 +00:00
Jack Jansen
8307e028b2
Sometimes a class is used as a base class of itself. Obviously there's
...
something I don't understand, but for now ignore this.
Output the file name such that it cannot contain non-ascii characters.
2003-03-29 00:08:24 +00:00
Jack Jansen
00c348328b
Sigh: didn't catch all lists that needed to be sorted.
2003-03-28 23:37:05 +00:00
Jack Jansen
03b9c91aff
- Sort various lists (list of events, OSA-classes, etc) before generating
...
code. This makes it a lot easier to compare the generated code for two
different versions of the suite.
- Various tweaks to the code to generate suites without looking at resource
files manually.
2003-03-28 22:04:22 +00:00
Jack Jansen
0e85e7a636
If GetAppTerminology fails (which seems to be the usual case on OSX?)
...
we try to manually launch the application and send it an ascr/gdte
event to get its terminology.
2003-03-26 23:14:44 +00:00
Jack Jansen
7cb016db80
Not all objects have an _propdict and _privpropdict, so cater for that.
2003-03-23 22:05:53 +00:00
Jack Jansen
47345a794f
Generate all the standard OSA suite packages. Has absolute pathname
...
dependencies all over the place, but this is better than nothing, for now.
2003-03-21 16:30:53 +00:00
Jack Jansen
59cdbce9b1
Got rid of the "enum not found" interaction, and added code to allow
...
overriding the creator signature.
2003-03-21 16:28:09 +00:00
Jack Jansen
714caa0c35
Allow gensuitemodule to be run non-interactively, from the OSX command
...
line. 90% of the work is done, missing enums still cause a dialog to appear.
2003-03-21 16:07:39 +00:00
Jack Jansen
6fa2dc70b8
Added _csv module, and getting rid of macfs.
2003-03-21 12:56:27 +00:00
Jack Jansen
7e0bc112b8
Patch 702620 by Donovan Preston: Fix AE inheritance.
2003-03-21 12:04:19 +00:00
Jack Jansen
fa1bf1c518
First try to use the OSATerminology module to get the terminology
...
resources before reverting to manually reading the resources.
Unfortunately there is still a bug in here somewhere: it doesn't work
for all applications.
2003-03-06 23:04:38 +00:00
Jack Jansen
af1d4225b8
Allow specifiying the destination for --extra files (default: same
...
filename as the source, but in Contents/Resources in the app bundle).
2003-02-24 16:28:37 +00:00
Jack Jansen
5bb97e66dc
Checking mac-specific stuff from the 2.3a2 branch in on the trunk.
2003-02-21 22:33:55 +00:00
Jack Jansen
658375b833
Got rid of macfs.
2003-02-06 23:13:11 +00:00
Jack Jansen
5a79329547
Got rid of FSSpecs.
2003-02-06 22:57:44 +00:00
Jack Jansen
f3f4af5521
Got rid of macfs and made a bit more OSX-friendly.
2003-02-05 23:10:46 +00:00
Just van Rossum
19e02fc67f
removing old junk
2003-02-05 22:59:07 +00:00
Jack Jansen
ab564eea05
Removed unused import of macfs.
2003-02-05 22:53:29 +00:00
Jack Jansen
6d8bca8cb6
I don't think this script serves a useful purpose anymore, and I can't
...
be bothered to fix it.
2003-02-05 22:52:16 +00:00
Just van Rossum
3bd8d0fb9c
patch #678211 from Robin Dunn
2003-02-01 10:07:28 +00:00
Jack Jansen
2373ff4e4f
Fix an omission in the previous checkin.
2003-01-26 22:15:10 +00:00
Jack Jansen
b340acf9fd
Use new file dialogs.
2003-01-26 21:40:00 +00:00
Jack Jansen
df976caa34
Use new file dialogs.
2003-01-26 20:35:47 +00:00
Jack Jansen
d44a3ec63c
Getting rid of StandardGetFile
2003-01-22 14:03:12 +00:00
Jack Jansen
3e82872eca
Merging the various tweaks for MacPython-OS9 2.3a1 back into the trunk.
2003-01-08 16:27:44 +00:00
Jack Jansen
487197dd53
Updated for demise of macfs.
2002-12-24 13:07:58 +00:00
Jack Jansen
9ea729c624
Got rid of non-carbon stuff, and added new Alias, File and Folder modules.
2002-12-13 23:34:03 +00:00