Commit Graph

2927 Commits

Author SHA1 Message Date
Terry Jan Reedy 6bf9b85859 Issue #17047: removed doubled words in Doc/*, Mac/*, and Tool/*
found by Serhiy Storchaka and Matthew Barnett
2013-03-11 17:09:58 -04:00
Ned Deily 6e7da15279 Issue #15587: Enable Tk high-resolution text rendering on Macs with
Retina displays.  Applies to Tkinter apps, such as IDLE, on OS X
framework builds linked with Cocoa Tk 8.5+.
Suggested by Kevin Walzer
2013-02-01 23:10:56 -08:00
Ned Deily acf7b95219 Issue #16256: OS X installer now sets correct permissions for doc directory. 2013-02-01 13:58:00 -08:00
Ned Deily e1c9794957 Issue #14018: Backport OS X installer updates from 3.3. 2013-01-29 00:07:46 -08:00
Ned Deily ec8f8f7959 Issue #15782: Prevent compile errors of OS X Carbon modules _Fm, _Qd, and
_Qdoffs when compiling with an SDK of 10.7 or later.  The OS X APIs they
wrap have long been deprecated and have now been removed with 10.7.
These modules were already empty for 64-bit builds and have been removed
in Python 3.  (Original patch by Ronald Oussoren.)
2013-01-09 22:04:35 -08:00
Ned Deily 93b0b25fe0 Update copyright dates in Mac plists. 2013-01-01 12:06:15 -08:00
Ned Deily b07b730e06 Issue #14346: Fix some typos in the Mac/README file.
(Patch by Dionysios Kalofonos)
2012-03-17 10:25:27 -07:00
Ned Deily c5df563041 Issue #12627: Implement PEP 394 for OS X framework builds.
OS X framework builds already created versioned symlinks for all
executables and scripts installed in the framework bin directory,
of the general form ${cmd} - ${cmd}2.7.  The changes here add a
hierarchy of ${cmd} -> ${cmd}2 -> ${cmd}2.7.  Per previous
practice, all of the links are created in the framework bin
directory for both the install and altinstall targets.  This is
consistent with the long-standing recommendation to manage multiple
framework versions by adding and ordering framework bin directories
on $PATH.  Also, per past practice, symlinks to all framework bin
entries are created in $prefix/bin (by default, /usr/local/bin)
for the install target and only versioned links are created for
altinstall, although the use of these links is not recommended
for framework builds and their installation is optional with
the standard OS X installers.
2012-02-19 02:19:12 +01:00
Ned Deily 24b03477f5 Update copyright dates in Mac plists. 2012-01-01 01:08:08 -08:00
Ned Deily 22f63b50e3 Issue #11217: For 64-bit/32-bit Mac OS X universal framework builds,
ensure "make install" creates symlinks in --prefix bin for the "-32"
files in the framework bin directory like the installer does.
2011-05-28 05:56:14 -07:00
Ezio Melotti c2077b0d9b #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 12:34:31 +02:00
Ezio Melotti 24b07bcba3 #11515: fix several typos. Patch by Piotr Kasprzyk. 2011-03-15 18:55:01 +02:00
Ned Deily e6cc7d6427 Merged revisions 88475 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88475 | ned.deily | 2011-02-21 12:44:27 -0800 (Mon, 21 Feb 2011) | 3 lines

  Issue #11268: Prevent Mac OS X Installer failure if Documentation
  package had previously been installed.
........
2011-02-21 21:00:09 +00:00
Ned Deily 68adfdcd84 Issue #11079: The /Applications/Python x.x folder created by the Mac
OS X installers now includes a link to the installed documentation.
2011-02-07 16:52:25 +00:00
Ned Deily 53c460d5fb Merged revisions 88004,88006,88235 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88004 | ned.deily | 2011-01-14 20:44:12 -0800 (Fri, 14 Jan 2011) | 4 lines

  #10907: Update OS X installer build README to better reflect
          current build practices.
........
  r88006 | ned.deily | 2011-01-14 21:29:12 -0800 (Fri, 14 Jan 2011) | 6 lines

  #10843: Update third-party library versions used in OS X 32-bit
          installer builds: bzip2 1.0.6, readline 6.1.2, SQLite 3.7.4
          (with FTS3/FTS4 and RTREE enabled), and ncursesw 5.5 (wide-char
          support enabled).
........
  r88235 | ned.deily | 2011-01-29 10:56:28 -0800 (Sat, 29 Jan 2011) | 5 lines

  Issue #11054: Allow Mac OS X installer builds to again work on 10.5 with
  the system-provided Python.  Also, properly guard a new Python 3 only
  installer build step so that build-installer.py can stay compatible
  with the 2.7 version.  (with release manager approval for 3.2rc2)
........
2011-01-30 01:43:40 +00:00
Ned Deily 2a6f4b3327 Merged revisions 88003 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88003 | ned.deily | 2011-01-14 20:37:12 -0800 (Fri, 14 Jan 2011) | 5 lines

  #10907: Warn OS X 10.6 IDLE users to use ActiveState Tcl/Tk 8.5,
          rather than the currently problematic Apple-supplied one,
          when running with the 64-/32-bit installer variant.
........
2011-01-30 00:18:47 +00:00
Georg Brandl 0b95c3b1f9 Merged revisions 87791 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87791 | georg.brandl | 2011-01-06 11:05:26 +0100 (Do, 06 Jan 2011) | 1 line

  #10844: update copyright years in Mac plists.
........
2011-01-09 08:00:33 +00:00
Ronald Oussoren 517858adb5 Fix for issue #10406: enable Rstrip extension on OSX
Without this patch the Rstrip extension for IDLE is not enabled on OSX,
while it is enabled on other platforms.

Patch by Ned Deily.
2010-12-07 16:13:17 +00:00
Ronald Oussoren 1e0a998d13 Merged revisions 85742 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85742 | ronald.oussoren | 2010-10-20 14:56:56 +0200 (Wed, 20 Oct 2010) | 8 lines

  Don't lie about the supported architectures in the OSX installer

  Without this patch the i386/x86_64 installer for OSX 10.6
  lies in the ReadMe file and the "Important Information" screen
  of the installer (that is, the installer claims it supports
  the i386 and ppc architectures insetead of the ones it really
  supports)
........
2010-10-20 13:01:04 +00:00
Georg Brandl c9a6320b00 Fix compiler warning about unused variables. 2010-10-17 06:13:26 +00:00
Ronald Oussoren 8928e32cb0 Merged revisions 85062 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85062 | ronald.oussoren | 2010-09-28 16:38:31 +0200 (Tue, 28 Sep 2010) | 3 lines

  Fix for issue #9568.
........
2010-09-28 14:43:59 +00:00
Ronald Oussoren ec2fe00639 Merged revisions 85059 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85059 | ronald.oussoren | 2010-09-28 15:57:58 +0200 (Tue, 28 Sep 2010) | 5 lines

  Add support for the ZSH shell to the "Update Shell Profile" script
  on MacOSX.

  Patch by Sylvain Mora, issue #9701.
........
2010-09-28 14:01:49 +00:00
Ronald Oussoren 0969c67bf5 Fix for issue 9392: without this patch a framework build will not install
2to3-2.7, while a versioned copy is installed of other tools and a versioned copy of2to3 is installed by python 2.6, 3.1 and the 3.2 alpha.
2010-07-29 13:18:19 +00:00
Ronald Oussoren 2f4f63a453 Fix for issue 9275: the OSX installer no longer installs links in /usr/local
This was an unintentional change to the 2.7 installer, and confuses users.
2010-07-23 11:11:26 +00:00
Ronald Oussoren 3ceab01cef The code in _scproxy (a mac specific helper module to
detect proxy settings) had the wrong logic for detecting
if the checkbox 'Exclude simple hostnames' is checked. This
checkin fixes that.

As a result the test failure 'Issue8455' goes away on systems
where the checkbox is not checked.

I'm carefully avoiding saying that is fixes that issue,
test_urllib2_localnet assumes that system proxy settings are
empty (not just on OSX, see Issue8455 for details).
2010-06-22 09:32:22 +00:00
Ronald Oussoren 27c72e9e5c Fix for issue8868: without this patch 'MacOS.WMAvailable()' will return
False on MacOSX 10.5 or earlier and scripts won't be able to access GUI
functionality.
2010-06-02 03:47:14 +00:00
Antoine Pitrou c83ea137d7 Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00: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
Ronald Oussoren 9663ddaa74 Add notes about uninstalling a framework install to
Mac/README. Fixes issue 7107.
2010-04-30 15:11:22 +00:00
Ronald Oussoren 5d18cc6b46 Fix for issue 8476 2010-04-30 14:58:39 +00:00
Ronald Oussoren 01d149fc1f Fix for issue #3646: with this patch it is possible to do a
framework install of Python in your home directory (on OSX):

   $ configure --enable-framework=${HOME}/Library/Frameworks
   $ make && make install

Without this patch the framework would get installed just fine,
but 'make install' would try to install the application bundles
and command-line tools outside the user's home, which doesn't work
for non-admin users (and is bad form anyway).
2010-04-30 11:20:14 +00:00
Martin v. Löwis 896c4777c6 Issue #8475: Pass absolute interpreter path to
"make html".
2010-04-22 11:34:36 +00:00
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