Commit Graph

2995 Commits

Author SHA1 Message Date
Ronald Oussoren 1c3d193960 This patch fixes the handling of a weak-linked
variable and should fix issue #8095.
2010-04-20 08:54:48 +00:00
Ronald Oussoren 1bf02022fe The PythonLauncher change is needed due
to changes in how the BASECFLAGS and CFLAGS
variables get filled by configure.

The Mac/Makefile.in change ensures that
pythonw gets build with the rigth deployment
targets.
2010-04-20 08:53:12 +00:00
Ronald Oussoren ac4b7adadf Explicitly set system default for $PATH to
ensure we have a clean build environment (OSX installer)
2010-04-20 05:50:44 +00:00
Ronald Oussoren 287128aadc Add check to build-installer.py to ensure that
the right version of Tcl/Tk is available (on OSX)

Fixes issue #5651
2010-04-18 14:01:05 +00:00
Ronald Oussoren 7591285fc3 This check-in fixes two problems:
1) A non-critical off-by-one error in pythonw

2) A problem in the configure script that caused
   builds with '--enable-framework --enable-universalsdk=/'
   to fail on OSX 10.6.
2010-04-08 08:13:31 +00:00
Mark Dickinson 920fd66ac6 Ensure 'module removed' warning messages contain the word 'module' or 'package'.
This should fix the test_py3kwarn failure on OS X.  test_support.import_module
also requires this.
2010-04-03 16:41:20 +00:00
Benjamin Peterson 9cf41d0c9d normalize shebang lines to #!/usr/bin/env python 2010-03-11 22:33:25 +00:00
Benjamin Peterson cd0ace391c remove svn:executable from scripts without a shebang line 2010-03-08 02:11:06 +00:00
Ronald Oussoren 2a4ab81633 Fix for issue #7998: pythonw didn't work when --with-framework-name was
specified
2010-03-07 09:04:06 +00:00
Andrew M. Kuchling f2055ae43d Remove Tools/modulator, a reference to it in the docs, and a screenshot of it.
(I asked the BDFL first, and he approved removing it.  The last actual bugfix
to Tools/modulator was in 2001; since then all changes have been search-and-replace:
string methods, whitespace fixes, etc.)
2010-02-22 21:04:02 +00:00
Ronald Oussoren a55af9a9db - Issue #7658: Ensure that the new pythonw executable works on OSX 10.4
- Issue #7714: Use ``gcc -dumpversion`` to detect the version of GCC on
  MacOSX.

- Make configure look for util.h as well as libutil.h. The former
  is the header file that on OSX contains the defition of openpty.

  (Needed to compile for OSX 10.4 on OSX 10.6)

- Use the correct definition of CC to compile the pythonw executable
2010-01-17 16:25:57 +00:00
Ronald Oussoren 724c5b2e7f Add text to Mac/README to warn about non-universal libraries when
building a universal Python. Based on issue7679.
2010-01-17 12:38:11 +00:00
Georg Brandl 8cdc9bc901 More yearly updates. 2010-01-01 13:07:05 +00:00
Ronald Oussoren 92919a66d2 Issue #6834: replace the implementation for the 'python' and 'pythonw' executables on OSX.
The previous implementation used execv(2) to run the real interpreter, which means that
you cannot use the arch(1) tool to select the architecture you want to use for a
universal build because that only affects the python/pythonw wrapper and not the actual
interpreter.

The new version uses posix_spawnv with a number of OSX-specific options that ensure that
the real interpreter is started using the same CPU architecture as the wrapper, and that
means that 'arch -ppc python' now actually works.

I've also changed the way that the wrapper looks for the framework: it is now linked to
the framework rather than hardcoding the framework path. This should make it easier to
provide pythonw support in tools like virtualenv.
2009-12-24 13:30:58 +00:00
Ronald Oussoren 1a13cff7a5 An update to the script that's used to build the binary installer: don't install files in
/usr/local by default. Users can still choose to install files into /usr/local, but by
default we'll only install files in /Library/Framework/Python.framework and
/Applications/Python X.Y/
2009-12-24 13:30:42 +00:00
Ronald Oussoren 3934619da7 Don't use the '==' operator with test, that's an unportable bash-ism.
(Issue 7179)
2009-11-19 17:42:51 +00:00
Ronald Oussoren 209d4c3151 Fix for issue6957: ensure that the OSX installer
installs a version of Python that can build
extensions on OSX 10.6.
2009-09-29 19:34:13 +00:00
Ronald Oussoren 9ebd242fbb * Update the Mac/README file. Add the list of OSX-specific configure options
to that README file with some explanation.

* Be more strict in the configure script: complain loudly when the user has
  specified invalid combinations of OSX-specific configure arguments.

  The error message refers to the Mac/README file for more information.
2009-09-29 13:00:44 +00:00
Ronald Oussoren e50a9fdd2a The 'Navigation Toolbox' is not available at all for 64-bit
code, make this explicit in the C code to avoid confusing
error messages during the build.
2009-09-22 14:24:57 +00:00
Ronald Oussoren c66ced30be * Make it easier to build custom installers (such as a 3-way universal build)
* Upgrade bzip dependency to 1.0.5
2009-09-20 20:16:11 +00:00
Ronald Oussoren 956f4b2520 For for issue 6934: failures in postflight script in OSX installer 2009-09-20 11:19:00 +00:00
Ronald Oussoren 51f0633efd Fix for issue 6851: urllib.urlopen crashes in a thread on OSX 10.6 2009-09-20 10:31:22 +00:00
Ronald Oussoren 2596758cb4 Fix build issues on OSX 10.6 (issue 6802) 2009-09-06 10:00:26 +00:00
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
Ronald Oussoren 26cad08748 This fixes bug #1527397: PythonLauncher runs scripts with the wrong working
directory. It also fixes a bug where PythonLauncher failed to launch scripts
when the scriptname (or the path to the script) contains quotes.
2006-08-01 21:00:57 +00:00
Ronald Oussoren 0f53bb1cbe Make sure the postinstall action that optionally updates the user's profile
on MacOS X actually works correctly in all cases.
2006-08-01 20:30:31 +00:00
Ronald Oussoren 3075e16c51 Fix bug #1517990: IDLE keybindings on OSX
This adds a new key definition for OSX, which is slightly different from the
classic mac definition.

Also add NEWS item for a couple of bugfixes I added recently.
2006-07-25 20:28:55 +00:00
Ronald Oussoren bfbfe1f8b9 Fix for bug #1525447 (renaming to MacOSmodule.c would also work, but not
without causing problems for anyone that is on a case-insensitive filesystem).

Setup.py tries to compile the MacOS extension from MacOSmodule.c, while the
actual file is named macosmodule.c. This is no problem on the (default)
case-insensitive filesystem, but doesn't work on case-sensitive filesystems.
2006-07-25 19:20:54 +00:00
Thomas Heller dd82734aa1 Add missing Py_DECREF. 2006-07-11 16:42:05 +00:00
Ronald Oussoren 9b8b619491 Use staticly build copies of zlib and bzip2 to build the OSX installer, that
way the resulting binaries have a better change of running on 10.3.

This patch also updates the search logic for sleepycat db3/4, without this
patch you cannot use a sleepycat build with a non-standard prefix; with this
you can (at least on OSX) if you add the prefix to CPPFLAGS/LDFLAGS at
configure-time. This change is needed to build the binary installer for OSX.
2006-06-27 12:53:52 +00:00
Ronald Oussoren 3e8d2f6e16 Use a path without a double slash to compile the .py files after installation
(macosx, binary installer). This fixes bug #1508369 for python 2.5.
2006-06-25 21:15:58 +00:00
Ronald Oussoren f3f31abd45 Drop the calldll demo's for macos, calldll isn't present anymore, no need
to keep the demo's around.
2006-06-25 21:14:19 +00:00
Ronald Oussoren d2842a6e86 MacOSX: Add a message to the first screen of the installer that tells
users how to avoid updates to their shell profile.
2006-06-22 18:33:54 +00:00
Neal Norwitz 274facfd1d Fix whitespace, there are memory leaks in this module. 2006-06-16 04:32:43 +00:00
Ronald Oussoren c55555400e - Change fixapplepython23.py to ensure that it will run with /usr/bin/python
on intel macs.
- Fix some minor problems in the installer for OSX
2006-06-11 20:24:45 +00:00
Ronald Oussoren 4fbb080bc1 Use configure to substitute the correct prefix instead of hardcoding 2006-06-11 20:23:29 +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 750e92043e - Patch the correct version of python in the Info.plists at build time, instead
of relying on a maintainer to update them before releases.
- Remove the now empty Mac/OSX directory
2006-06-07 19:38:53 +00:00
Ronald Oussoren 2db3a8f73e And the last bit: move IDLE one level up and adjust makefiles 2006-06-07 19:06:01 +00:00
Ronald Oussoren 32f5d8f1b1 Move Mac/OSX/* one level up 2006-06-07 19:02:03 +00:00
Ronald Oussoren 0e5b70d417 mv Mac/OSX/BuildScript one level up 2006-06-07 18:58:42 +00:00
Ronald Oussoren c629be8a1e Move Mac/OSX/PythonLauncher one level up 2006-06-07 18:58:01 +00:00
Ronald Oussoren 8ec9f866c0 Move Mac/OSX/Tools one level up 2006-06-07 18:57:44 +00:00
Ronald Oussoren 704fbe41b7 A quick hack to ensure the right key-bindings for IDLE on osx: install patched
configuration files during a framework install.
2006-06-06 19:56:00 +00:00
Ronald Oussoren 5b78732a20 * Ensure that "make altinstall" works when the tree was configured
with --enable-framework
* Also for --enable-framework: allow users to use --prefix to specify
  the location of the compatibility symlinks (such as /usr/local/bin/python)
2006-06-06 19:50:24 +00:00
Ronald Oussoren fb2a169ce3 Drop Mac wrappers for the WASTE library. 2006-06-04 14:24:59 +00:00
Ronald Oussoren f70b14fb30 "Import" LDFLAGS in Mac/OSX/Makefile.in to ensure pythonw gets build with
the right compiler flags.
2006-06-04 14:05:28 +00:00
Neal Norwitz a4136e14b9 Remove Mac OS 9 support (http://mail.python.org/pipermail/python-dev/2006-June/065538.html) 2006-06-03 04:49:00 +00:00
Georg Brandl bf92f46572 Convert more modules to METH_VARARGS. 2006-05-29 21:58:42 +00:00
Georg Brandl 5f6861df93 Correct None refcount issue in Mac modules. (Are they
still used?)
2006-05-28 21:57:35 +00:00
Tim Peters 7e8053f921 Whitespace normalization. 2006-05-26 12:31:20 +00:00
Ronald Oussoren 736123605c - Remove previous version of the binary distribution script for OSX
- Some small bugfixes for the IDLE.app wrapper
- Tweaks to build-installer to ensure that python gets build in the right way,
  including sqlite3.
- Updated readme files
2006-05-26 12:23:20 +00:00
Ronald Oussoren 072a24c33a Fix buglet in postinstall script, it would generate an invalid .cshrc file. 2006-05-26 11:17:55 +00:00
Tim Peters 8ff672e62d Add missing svn:eol-style property to text files. 2006-05-23 21:55:53 +00:00
Tim Peters 211219af4f Whitespace normalization. 2006-05-23 21:54:23 +00:00
Ronald Oussoren 69c347655d An improved script for building the binary distribution on MacOSX. 2006-05-23 15:09:57 +00:00
Ronald Oussoren da89b99533 Avoid creating a mess when installing a framework for the second time. 2006-05-23 11:04:24 +00:00
Ronald Oussoren 306b1f31b7 Fix bug #1000914 (again).
This patches a file that is generated by bgen, however the code is now the
same as a current copy of bgen would generate.  Without this patch most types
in the Carbon.CF module are unusable.

I haven't managed to coax bgen into generating a complete copy of _CFmodule.c
yet :-(, hence the manual patching.
2006-05-20 06:17:01 +00:00
Ronald Oussoren bf91f78376 * Change working directory to the users home
directory, that makes the file open/save
  dialogs more useable.
* Don't use argv emulator, its not needed
  for idle.
2006-05-19 18:17:31 +00:00
Ronald Oussoren 3e3cb7904b Fix some minor issues with the generated application bundles on MacOSX 2006-05-18 09:04:15 +00:00
Tim Peters cbd7b756e4 Whitespace normalization. 2006-05-16 23:22:20 +00:00
Ronald Oussoren 100344817c I missed one small detail in my rewrite of the osx build files: the path
to the Python.app template.
2006-05-14 21:07:41 +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
Ronald Oussoren 836b039b7c Rework the build system for osx applications:
* Don't use xcodebuild for building PythonLauncher, but use a normal unix
  makefile. This makes it a lot easier to use the same build flags as for the
  rest of python (e.g. make a universal version of python launcher)
* Convert the mac makefile-s to makefile.in-s and use configure to set makefile
  variables instead of forwarding them as command-line arguments
* Add a C version of pythonw, that we you can use '#!/usr/local/bin/pythonw'
* Build IDLE.app using bundlebuilder instead of BuildApplet, that will allow
  easier modification of the bundle contents later on.
2006-05-14 19:56:34 +00:00
Neal Norwitz 82d4cc27c6 Fix some warnings on Mac OS X 10.4 2006-04-28 05:28:05 +00:00
Ronald Oussoren 6c1074888e This patches fixes a number of byteorder problems in MacOSX specific code. 2006-04-17 13:40:08 +00:00
Neal Norwitz 1bd7127fec Get rid of some warnings on Mac 2006-04-12 04:56:35 +00:00
Neal Norwitz c3264e50e7 Get rid of some warnings. 2006-03-20 02:04:23 +00:00
Neal Norwitz 8786eb5e92 Fix a couple of warnings on Mac OS X. 2006-02-24 15:39:29 +00:00
Neal Norwitz 73afe9aa32 mwh pointed out _Filemodule.c is generated. So to fix the memory leak
this file (the source) must be fixed.

Why isn't there a comment at the top saying the file is generated and
why are both the source and generated file checked in?  Bootstrap problem?

Will backport.
2006-01-25 05:42:22 +00:00
Neal Norwitz 8ac83f3152 This should fix a mem leak on the Mac. Brett tested it. 2006-01-23 07:25:29 +00:00
Martin v. Löwis ab0f947a21 Remove .cvsignore files, as they live in svn:ignore
properties now.
2005-10-30 22:01:41 +00:00
Fred Drake db390c1ad8 fix typos, mostly in comments 2005-10-28 14:39:47 +00:00
Georg Brandl 7eb4b7d177 Fix all wrong instances of "it's". 2005-07-22 21:49:32 +00:00
Tim Peters f5f32b4712 Whitespace normalization. 2005-07-17 23:16:17 +00:00
Jack Jansen d7b76e9f69 Fix for #1236090: FSSpec.as_pathname() crashes.
Turns out patch #1035255 was incomplete, it only patched _Filemodule.c
and not filesupport.py. So regenerating caused as_pathname() to go into
an infinite loop.
2005-07-12 21:25:05 +00:00
Jack Jansen 918a9e2f63 Updated (and regenerated) for name change in tp_init method arguments:
they are now _self, _args and _kwds.
2005-07-03 20:59:44 +00:00
Tim Peters e890682e52 Whitespace normalization. 2005-04-20 17:45:13 +00:00
Jack Jansen 6d22b56b7e Updated to work with current Python docs setup, and added a minimal README. 2005-04-17 21:30:52 +00:00
Tim Peters 5a9fb3c415 Whitespace normalization. 2005-01-07 16:01:32 +00:00
Jack Jansen 5a3c7c39db Oops, there was a tab in there. 2005-01-07 12:56:21 +00:00
Jack Jansen 30620ac641 Workaround for the fact that urllib2 doesn't default to "file:" urls. 2005-01-07 12:50:12 +00:00
Jack Jansen 64585988af Create the wrapper scripts for gcc/g++ too. 2005-01-01 22:33:36 +00:00
Jack Jansen 935ca1018e Just passing -undefined dynamic_lookup isn't enough: we also need to set
the MACOSX_DEPLOYMENT_TARGET environment variable to 10.3 when calling the
loader. And we do this with "env" because distutils apparently doesn't
understand environment variable assignments before command names.
2004-12-28 21:30:35 +00:00
Jack Jansen 078824e4f6 Added quotes around the destroot arguments, so empty destroot works. 2004-12-27 16:13:39 +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
Jack Jansen 6116f07fdc A script to fix Apple-installed Python 2.3 (and a test whether the user
needs to run it in the Makefile).

After installing a newer framework Python the apple-installed Python can
no longer build extension modules, because they will inadvertantly be linked
against the newer framework. This script modifies lib/config/Makefile so
it will link extensions with "-undefined dynamic_lookup", which forestalls
this problem.

Will backport to 2.4 and 2.3.
2004-12-26 23:02:05 +00:00
Brett Cannon 98809b76ae Very minor grammatical fix and removal of a tab. 2004-12-06 06:01:13 +00:00
Raymond Hettinger ec6eb369d5 SF patch #1035255: Remove CoreServices / CoreFoundation dependencies in core
(Contributed by Bob Ippolito.)

This patch trims down the Python core on Darwin by making it
independent of CoreFoundation and CoreServices. It does this by:

Changed linker flags in configure/configure.in
Removed the unused PyMac_GetAppletScriptFile
Moved the implementation of PyMac_StrError to the MacOS module
Moved the implementation of PyMac_GetFullPathname to the
Carbon.File module
2004-11-05 07:02:59 +00:00
Tim Peters 182b5aca27 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
Jack Jansen 122f87fa04 The interpreter popup was never filled with any data, fixed.
Fixes #775878.
2004-07-16 12:36:02 +00:00
Jack Jansen 6e3b425f3f Made preference window resizable (and do the most logical thing on resize) 2004-07-16 12:35:06 +00:00
Jack Jansen 31bca4ef12 Cleaned up list of interpreters. 2004-07-16 12:34:23 +00:00
Jack Jansen ad1654e03a After more than two years of puzzlement Jurjen Bos found the reason for
the double-scroll problem: when you pass a tracker function to TrackControl
you shouldn't call your hit function again afterwards. Fixes #711989.
2004-07-15 22:08:33 +00:00
Jack Jansen 4f9013759b - Added a note about fixversions.py
- Ran it.
2004-07-15 21:30:41 +00:00
Jack Jansen 7323f08422 A script to fix version strings in .plist files. 2004-07-15 16:03:55 +00:00
Jack Jansen ce17cf6da7 The CF inheritance could cause double frees of the underlying objects.
Fixed.
2004-07-15 14:25:48 +00:00
Jack Jansen d9e50f554f CFStringGetUnicode() returned an extra null character at the end of the string.
fixed.
2004-07-15 14:11:30 +00:00
Jack Jansen 3bfc28c12f Make CF module PEP253 based (finally). 2004-07-15 13:42:06 +00:00