Jeffrey Yasskin
7937d939b1
Fix nearly all compilation warnings under Apple gcc-4.0. Tested with OPT="-g
...
-Wall -Wstrict-prototypes -Werror" in both --with-pydebug mode and --without.
There's still a batch of non-prototype warnings in Xlib.h that I don't know how
to fix.
2009-05-29 03:44:31 +00:00
Ronald Oussoren
364b22183c
Remove some old MacPython files that are no longer relevant.
2009-05-19 20:12:17 +00:00
Ronald Oussoren
cc00a262a6
Remove some traces of 'MacPython'
2009-05-19 19:29:24 +00:00
Ronald Oussoren
e392b357e9
Minor update to OSX build-installer script, needed
...
to ensure that the build will succeed in a clean
checkout and with a non-default deployment target.
2009-03-31 13:20:45 +00:00
Ronald Oussoren
008af85dc0
Fix for issue 13095
2009-03-30 20:02:08 +00:00
Ronald Oussoren
354bb5ca67
Fixes issue 5270
2009-03-30 19:56:25 +00:00
Ronald Oussoren
508282e897
* Set a custom icon on the Python installer DMG
...
* Remove last traces of "MacPython"
* Add options to build different flavors of the installer
(still defaulting to a 2-way universal build that
runs on OSX 10.3)
2009-03-30 19:34:51 +00:00
Ronald Oussoren
451e82439d
Remove usage of the deprecated '-cString' and '+stringWithCString:' API's
...
in PythonLauncher, replacing them with the correct counterparts.
2009-03-30 19:22:56 +00:00
Ronald Oussoren
648a4feced
* Updates installed dependencies to latest releaases (bzip, zlib, ...)
...
* Changes code for updating folder icons from Python code
that uses the deprecated Carbon module to a much simpler
Cocoa program in Objective-C
2009-03-30 17:15:29 +00:00
Ronald Oussoren
506e6b0657
This patch fixes issue 1254695 (wrong argument type conversion in Carbon.Qt)
2009-03-30 15:20:46 +00:00
Ronald Oussoren
1ea79913b9
Fix for issue #1113328 .
2009-03-04 22:49:36 +00:00
Ronald Oussoren
a97063a108
Fixes issues 3883 and 5194
2009-03-04 21:35:05 +00:00
Ronald Oussoren
9ff3042650
Fix for issue 5226.
2009-03-04 21:12:17 +00:00
Ronald Oussoren
799868e8a7
Fix issue 5224.
2009-03-04 21:07:19 +00:00
Ronald Oussoren
6290178fc9
Fix issue776533.
2009-02-17 12:38:42 +00:00
Ronald Oussoren
0238497e93
Fix for issue1594
2009-01-02 14:10:20 +00:00
Ronald Oussoren
862359e2e6
Fix for issue 3433
2009-01-02 11:46:05 +00:00
Benjamin Peterson
16a2a1d2ce
revert unrelated change to installer script
2008-12-09 02:05:11 +00:00
Benjamin Peterson
d729aada6a
specify how things are copied
2008-12-09 02:03:03 +00:00
Benjamin Peterson
c310476802
update the mac installer script
2008-10-03 11:52:06 +00:00
Benjamin Peterson
218c6662a4
we're in 2.7 now
2008-10-02 19:00:31 +00:00
Ronald Oussoren
aa8efbf084
Another fix for 4-way universal builds, use the right #ifndef guard
...
to detect the OSX 10.5 SDK.
2008-08-12 12:41:45 +00:00
Ronald Oussoren
5aa0b4d766
Fix build issue on OSX 10.4, somehow this wasn't committed before.
2008-07-22 07:06:33 +00:00
Ronald Oussoren
0bd10fd5cc
Last bit of a fix for issue3381 (addon for my patch in r65061)
2008-07-18 05:48:03 +00:00
Mark Dickinson
1b6c4c80a3
issue #3199 : Fix typo in Mac/Makefile.in
2008-06-25 15:29:32 +00:00
Gregory P. Smith
dd96db63f6
This reverts r63675 based on the discussion in this thread:
...
http://mail.python.org/pipermail/python-dev/2008-June/079988.html
Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names
in the spirit of 3.0 are available via a #define only. See the email thread.
2008-06-09 04:58:54 +00:00
Ronald Oussoren
0d236eb05a
Fix build issue on OSX 10.4
2008-06-06 21:31:33 +00:00
Ronald Oussoren
5640ce2f1e
MacOS X: Enable 4-way universal builds
...
This patch adds a new configure argument on OSX:
--with-universal-archs=[32-bit|64-bit|all]
When used with the --enable-universalsdk option this controls which
CPU architectures are includes in the framework. The default is 32-bit,
meaning i386 and ppc. The most useful alternative is 'all', which includes
all 4 CPU architectures supported by MacOS X (i386, ppc, x86_64 and ppc64).
This includes limited support for the Carbon bindings in 64-bit mode as well,
limited because (a) I haven't done extensive testing and (b) a large portion
of the Carbon API's aren't available in 64-bit mode anyway.
I've also duplicated a feature of Apple's build of python: setting the
environment variable 'ARCHFLAGS' controls the '-arch' flags used for building
extensions using distutils.
2008-06-05 12:58:24 +00:00
Christian Heimes
593daf545b
Renamed PyString to PyBytes
2008-05-26 12:51:38 +00:00
Ronald Oussoren
6cc9fd7bd5
Make gestaltmodule.c 64-bit safe.
2008-05-18 20:47:13 +00:00
Benjamin Peterson
236819310d
Add warnings to and deprecated all those Mac modules
2008-05-12 21:42:13 +00:00
Ronald Oussoren
f2ef92cee7
Fix for #1905 : PythonLauncher not working correctly on OSX 10.5/Leopard
...
This fixes both Python Launchar and the terminalcommand module.
2008-05-02 21:42:35 +00:00
Ronald Oussoren
85f19709f9
Finish fix for issue2573, previous patch was incomplete.
2008-05-02 19:58:56 +00:00
Ronald Oussoren
580c7fec67
Fix for issue #2573 : Can't change the framework name on OS X builds
...
This introduces a new configure option: --with-framework-name=NAME
(defaulting to 'Python'). This allows you to install several copies
of the Python framework with different names (such as a normal build
and a debug build).
2008-05-02 19:45:11 +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
Christian Heimes
c5f05e45cf
Patch #2167 from calvin: Remove unused imports
2008-02-23 17:40:11 +00:00
Christian Heimes
000a074c95
Modified PyImport_Import and PyImport_ImportModule to always use absolute imports by calling __import__ with an explicit level of 0
...
Added a new API function PyImport_ImportModuleNoBlock. It solves the problem with dead locks when mixing threads and imports
2008-01-03 22:16:32 +00:00
Ronald Oussoren
ba687525c5
This "fixes" compilation issues for the Carbon._OSA module on OSX Leopard
...
by purging bindings to OSA's debug API's. Those APIs we're completely
unsupported on OSX 10.4 and are no longer available on OSX 10.5.
Note that this patches a generated file. This is somewhat acceptable because
regenerating the file is non-trivial and wouldn't use system headers anyway.
2007-12-05 20:07:36 +00:00
Georg Brandl
07752aba5e
bug #1154 : release memory allocated by "es" PyArg_ParseTuple format specifier.
2007-09-12 18:29:18 +00:00
Ronald Oussoren
158ad59937
Whitespace changes to make the source more compliant with PEP8 (SF#1589070)
2006-11-07 16:00:34 +00:00
Ronald Oussoren
aa56096aa0
Fix a number of typos in strings and comments (sf#1589070)
2006-11-07 15:53:38 +00:00
Tim Peters
ef3f32f965
Whitespace normalization.
2006-10-18 05:09:12 +00:00
Ronald Oussoren
74d3eef73e
MacOSX: fix permission problem in the generated installer
2006-10-10 07:55:06 +00:00
Ronald Oussoren
b80b6e1e12
MacOSX: add more logic to recognize the correct startup file to patch to the
...
shell profile patching post-install script.
2006-10-08 18:18:26 +00:00
Ronald Oussoren
3778bf526c
Fix for bug #1570284
2006-10-08 17:40:02 +00:00
Ronald Oussoren
5b5d110be6
Add version number to the link to the python documentation in
...
/Developer/Documentation/Python, better for users that install multiple versions
of python.
2006-10-08 17:37:58 +00:00
Ronald Oussoren
a6790f1aab
Tweak Mac/Makefile in to ensure that pythonw gets rebuild when the major version
...
of python changes (2.5 -> 2.6). Bug #1552935 .
2006-09-17 19:23:27 +00:00
Ronald Oussoren
3564c4622f
Port of revision 51902 in release25-maint to the trunk
2006-09-17 18:42:53 +00:00
Ronald Oussoren
63083c3dad
Fix a glaring error and update some version numbers.
2006-09-07 12:03:10 +00:00
Ronald Oussoren
5fb9c20f2a
Updated documentation for the script that builds the OSX installer.
2006-08-02 06:10:10 +00:00