Commit Graph

2986 Commits

Author SHA1 Message Date
Ronald Oussoren 94e44a935b Issue #14455: fix handling of unsigned long long values for binary plist files
Values in the range of an unsigned long long, but outside of the range
of a signed long long were serialized as a negative value.

Due to a bug in PyObjC my test scripts indicated that the previous behavior
matched Apple's plist code, instead the handle large unsigned values correctly.

The change to plistlib.py is from a patch by Serhiy.
2014-02-06 11:19:18 +01:00
Ned Deily 2aa15d8097 Issue #20465: Update SQLite shipped with OS X installer to 3.8.3. 2014-02-04 18:44:17 -08:00
Serhiy Storchaka 18cc3da508 Issue #19936: Remove executable bits from C source files and several forgotten
test files.
2014-01-16 18:50:53 +02:00
Serhiy Storchaka 7f470d0f9c Issue #19936: Remove executable bits from C source files and several forgotten
test files.
2014-01-16 18:48:45 +02:00
Serhiy Storchaka 8f8ec92de8 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.  Fixed
shebang lines in the unittestgui and checkpip scripts.
2014-01-16 17:33:23 +02:00
Serhiy Storchaka b992a0e102 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.  Fixed
shebang line to use python3 executable in the unittestgui script.
2014-01-16 17:15:49 +02:00
Ronald Oussoren 6db6653bbc Issue #14455: Fix some issues with plistlib
* Negative integer support in binary plists was broken

* Better exception for invalid data

* Fix the versionadded/versionchanged markup in the documentation

* Add the interface cleanup to what's new for 3.4
2014-01-15 11:32:35 +01:00
Ned Deily 84d3256c9d Update copyright dates in Mac plists. 2014-01-01 13:06:02 -08:00
Ned Deily cb0613b860 Update copyright dates in Mac plists. 2014-01-01 13:05:03 -08:00
Ned Deily b94efe6cef Fix typo in and reformat OS X Installer ReadMe 2013-11-23 18:40:41 -08:00
Ned Deily aa6a212a4e Issue #15663: Revert OS X installer built-in Tcl/Tk support for 3.4.0b1. 2013-11-23 03:30:11 -08:00
Ned Deily 4a281a12f1 Issue #19551: Update installer Welcome file. 2013-11-23 00:24:15 -08:00
Ned Deily 9fa4ced804 Update third-party libraries for OS X installers:
XZ 5.0.3 -> 5.0.5
    SQLite 3.7.13 -> 3.8.1
2013-11-22 22:54:02 -08:00
Ned Deily 41ab6c3b1a Issue #19551: PEP 453 - OS X installer now installs or upgrades pip by default. 2013-11-22 22:25:43 -08:00
Ned Deily 322f5ba0d8 Issue #19553: PEP 453 - "make install" and "make altinstall" now install or
upgrade pip by default, using the bundled pip provided by the new ensurepip
module.  A new configure option, --with-ensurepip[=upgrade|install|no], is
available to override the default ensurepip "--upgrade" option.  The option
can also be set with "make [alt]install ENSUREPIP=[upgrade|install\no]".
2013-11-21 23:01:59 -08:00
Ned Deily b8f944f0b7 Issue #19649: On OS X, the same set of file names are now installed
in bin directories for all configurations: non-framework vs framework,
and single arch vs universal builds.  pythonx.y-32 is now always
installed for 64-bit/32-bit universal builds.  The obsolete and
undocumented pythonw* symlinks are no longer installed anywhere.
2013-11-21 22:42:25 -08:00
Ronald Oussoren c5cf797342 Issue #14455: plistlib now supports binary plists and has an updated API.
This patch adds support for binary plists on OSX to plistlib (based
on a patch by 'dpounces').

The patch also cleans up the API for the plistlib module.
2013-11-21 15:46:49 +01:00
Ned Deily be47cffcb2 Issue #15663: merge build-installer.py changes 2013-11-05 02:50:49 -08:00
Ned Deily 6fc5f98480 Issue #15663: Revert OS X installer built-in Tcl/Tk support for 3.3.3.
Some third-party projects, such as matplotlib and PIL/Pillow,
depended on being able to build with Tcl and Tk frameworks in
/Library/Frameworks.  They were unable to build with the built-in
Tcl/Tk and/or execute correctly.
2013-11-05 02:44:17 -08:00
Ned Deily f20ee9391c Issue #19373: merge from 3.3 2013-10-27 19:50:34 -07:00
Ned Deily 94764b24aa Issue #19373: Apply upstream change to Tk 8.5.15 fixing OS X 10.9
screen refresh problem.
2013-10-27 19:49:29 -07:00
Ned Deily 246eb11058 Issue #15663: Force IDLE.app to run the GUI process in 32-bit mode.
This mitigates the current Aqua Tk refresh problem on OS X 10.9
by backporting 2.7.x behavior and is transparent to the user.
2013-10-26 22:22:07 -07:00
Ned Deily 050fcd51cc Issue #15663: OS X installer builtin Tcl/Tk support
Make it easier for users to make use of the backup _tkinter linked
with the third-party Tcl and Tk frameworks in /Library/Frameworks.
The two tkinter variants are now installed in separate directories
under a new lib-tkinter.  This allows per-user selection by
manipulating sys.path, directly or with PYTHONPATH.  If this
proves useful, we can supply a more convenient user interface
to supply the paths.  For now, this remains somewhat experimental.
2013-10-26 03:16:44 -07:00
Ned Deily b9dcfea092 Issue Issue #15663: merge from 3.3 2013-10-26 22:23:20 -07:00
Ned Deily f87cfce450 Issue #15663: OS X installer builtin Tcl/Tk support
Make it easier for users to make use of the backup _tkinter linked
with the third-party Tcl and Tk frameworks in /Library/Frameworks.
The two tkinter variants are now installed in separate directories
under a new lib-tkinter.  This allows per-user selection by
manipulating sys.path, directly or with PYTHONPATH.  If this
proves useful, we can supply a more convenient user interface
to supply the paths.  For now, this remains somewhat experimental.
2013-10-26 03:17:44 -07:00
Ned Deily a4f6b006e1 Sync 2.7.x, 3.3.x, and 3.4.x versions of OS X build-installer.py. 2013-10-25 00:47:38 -07:00
Ned Deily 4b7a023149 Issue #19019: Change the OS X installer build script to use CFLAGS instead
of OPT for special build options.  By setting OPT, some compiler-specific
options like -fwrapv were overridden and thus not used, which could result
in broken interpreters when building with clang.
2013-10-25 00:46:02 -07:00
Ned Deily 5b3582c919 Issue #15663: Tcl/Tk 8.5.15 is now included with the OS X 10.6+
64-bit/32-bit installer for 10.6+.  It is no longer necessary
to install a third-party version of Tcl/Tk 8.5 to work around the
problems in the Apple-supplied Tcl/Tk 8.5 shipped in OS X 10.6
and later releases.
2013-10-25 00:41:46 -07:00
Ned Deily 29eec66711 Issue #19019: Change the OS X installer build script to use CFLAGS instead
of OPT for special build options.  By setting OPT, some compiler-specific
options like -fwrapv were overridden and thus not used, which could result
in broken interpreters when building with clang.
2013-10-18 21:16:05 -07:00
Ned Deily 87adb6ef38 Issue #14499: Fix several problems with OS X universal build support:
1. ppc arch detection for extension module builds broke with Xcode 5
    2. ppc arch detection in configure did not work on OS X 10.4
    3. -sysroot and -arch flags were unnecessarily duplicated
    4. there was no obvious way to configure an intel-32 only build.
2013-10-18 21:09:56 -07:00
Ned Deily ea41d5f27c Issue #15663: Update OS X installer to use Tcl/Tk 8.5.15. 2013-10-18 20:49:27 -07:00
Ned Deily 5375b491a6 Update OS X installer for building on 10.9. 2013-10-18 20:42:32 -07:00
Ned Deily ac25ca10ed Update OS X installer for building on 10.9. 2013-10-18 20:41:16 -07:00
Ned Deily dcdd79459d Issue #19128: Remove nonfunctional, unused Mac help indexing tool from repo. 2013-09-29 11:46:50 -07:00
Ned Deily 981b69318d Issue #15663: Tcl/Tk 8.5.14 is now included with the OS X 10.6+
64-bit/32-bit installer for 10.6+.  It is no longer necessary
to install a third-party version of Tcl/Tk 8.5 to work around the
problems in the Apple-supplied Tcl/Tk 8.5 shipped in OS X 10.6
and later releases.
2013-09-06 01:18:36 -07:00
Ezio Melotti d640fe2af5 #18803: merge with 3.3. 2013-08-26 01:33:30 +03:00
Ezio Melotti 7c4a7e6f3c #18803: fix more typos. Patch by Févry Thibault. 2013-08-26 01:32:56 +03:00
Ned Deily 362532bc48 Fix OS X installer build script to handle the pretty-printed _sysconfigdata.py
when removing references to temporary build files.  This is not an elegant
solution but it does isolate changes to just build-installer.py.
2013-08-01 15:39:47 -07:00
Ronald Oussoren 071029fac6 (3.3->default) Issue #18377: Code cleanup in Python Launcher
This changeset fixes a number of compiler warnings in the Python Launcher
binary for OSX. It also cleans up whitespace usage in those sources.
2013-07-07 09:54:08 +02:00
Ronald Oussoren 4e327c9d1c Issue #18377: Code cleanup in Python Launcher
This changeset fixes a number of compiler warnings in the Python Launcher
binary for OSX. It also cleans up whitespace usage in those sources.
2013-07-07 09:53:08 +02:00
Ronald Oussoren 361b28dbd4 (3.3->default) Issue #12990: The "Python Launcher" on OSX could not launch python scripts that have paths that include wide characters. 2013-07-06 13:25:44 +02:00
Ronald Oussoren fd1c69e2a4 Issue #12990: The "Python Launcher" on OSX could not launch python scripts that have paths that include wide characters. 2013-07-06 13:20:57 +02:00
Terry Jan Reedy dd61f8f389 Merge with 3.3: Issue #17047: removed doubled words in Doc/*,
Mac/*, and Tool/* found by Serhiy Storchaka and Matthew Barnett
2013-03-11 17:27:28 -04:00
Terry Jan Reedy caeb6bea9b Merge with 3.2: Issue #17047: removed doubled words in Doc/*,
Mac/*, and Tool/* found by Serhiy Storchaka and Matthew Barnett
2013-03-11 17:26:33 -04:00
Terry Jan Reedy 65e69b3718 Issue #17047: removed doubled words in Doc/*, Mac/*, and Tool/*
found by Serhiy Storchaka and Matthew Barnett
2013-03-11 17:23:46 -04:00
Ned Deily c1eb48a8fd Issue #15587: merge from 3.3 2013-02-01 23:17:34 -08:00
Ned Deily 380f7a186f Issue #15587: merge from 3.2 2013-02-01 23:15:51 -08:00
Ned Deily 9cd864dcbf 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:12:42 -08:00
Ned Deily 32e12c9c44 Issue #16256: merge from 3.3 2013-02-01 14:06:24 -08:00
Ned Deily 8214b9b293 Issue #16256: merge from 3.2 2013-02-01 14:05:26 -08:00