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
Jack Jansen
75694501ca
Get rid of incorrect use of OSAGetCurrentDialect. Fixes #884085 .
2004-07-15 13:21:16 +00:00
Jack Jansen
0701bd64aa
Fix for #860242 : use correct names in the "save preferences" dialog.
2004-06-03 21:55:46 +00:00
Jack Jansen
30184f3611
- Fix for #862941 : "run with commandline python" crashed. Fixed.
...
- Prefer to use pythonw (if it exists) for "run with commandline python".
2004-06-03 21:27:15 +00:00
Jack Jansen
76375745d5
On startup, attempt to set the working directory to $HOME.
...
Fixes #913581 .
2004-06-03 14:15:50 +00:00
Jack Jansen
8d562e6b4f
Very large scripts folders could crash the IDE, because it runs out
...
of Menu IDs (of which there are only 255 in Carbon). Fixed by stopping
examining the scripts folder when we allocate menu ID 200.
Fixes #959291 . Need to backport.
2004-06-03 13:31:51 +00:00
Jack Jansen
29eb8c315d
Do an actual test for xcodebuild, in stead of relying on the user to
...
uncomment the relevant section.
2004-06-02 20:06:38 +00:00
Jack Jansen
43285d4d3d
CGMainDisplayID() doesn't exist on 10.1, so don't try to call it when
...
building for that platform.
2004-06-02 13:44:05 +00:00
Jack Jansen
fe99927630
- Allow easy opening of experimental database, if pimp >= 0.4
...
- Allow easy access to the PackMan homepage, for even more databases.
2004-02-28 23:19:42 +00:00
Jack Jansen
e7e9bf2727
kLsUnknownType and kLSUnknownCreator were ints in stead of OSTypes.
...
Reported by Bob Ippolito.
2004-02-24 21:49:10 +00:00
Jack Jansen
49be4cc861
Setup file to allow the QuickTime for 2.4 to be compiled
...
for MacPython 2.3 (and, hopefully, python 2.3 for windows too).
2004-02-24 21:25:31 +00:00
Walter Dörwald
70a6b49821
Replace backticks with repr() or "%r"
...
From SF patch #852334 .
2004-02-12 17:35:32 +00:00
Jack Jansen
69387e19ef
More cases of input parameters passed by reference without const.
2004-01-11 22:52:12 +00:00
Jack Jansen
ae57b7f843
Added support for APIs in QuickTimeMusic.h. This one is a bit dodgy:
...
the header file seems to be hand-written and missing the "const" keywords
for input parameters passed by reference.
2004-01-11 22:27:42 +00:00
Jack Jansen
2e5e6445e7
Added support for APIs in MediaHandlers.h.
2004-01-09 23:18:47 +00:00
Jack Jansen
cb2117a83c
Allow passing NULL pointers by passing None. This also works for the
...
factory functions, so you can call quicktime functions that are implemented
as methods on NULL too.
Still don't allow quicktime functions to return NULL pointers, though: I
think this always signals an error condition.
2004-01-04 22:33:33 +00:00
Jack Jansen
007b8eb7c4
Added interfaces for most of the stuff in QuickTimeComponents.h.
2004-01-03 17:23:27 +00:00
Jack Jansen
067782438e
Added support for ImageCompression.h APIs.
2004-01-02 23:51:22 +00:00
Jack Jansen
59f7dc9b40
Updated for QuickTime 6.0, Universal Header 3.4.2.
2004-01-02 23:27:42 +00:00
Jack Jansen
0b565a6e42
- Renamed OSA.ComponentInstance to OSA.OSAComponentInstance. It is not
...
a real subtype of Cm.ComponentInstance right now, it turns out that is
too difficult.
- OSA.OSAComponentInstance initializer does accept a Cm.ComponentInstance
instance, though, so at least things are becoming useable.
2003-12-10 15:18:18 +00:00
Jack Jansen
2e20a63bc9
Make this module Python 2.3 compatible, and add a setup script that allows
...
it to be built for that python.
2003-12-09 15:06:18 +00:00
Jack Jansen
2af4ce8f30
Made this module compatible with Python2.3, and added a temporary setup
...
script that allows it to be built for that Python.
2003-12-09 14:51:21 +00:00
Just van Rossum
001734ca7f
fixed long standing typo
2003-12-07 18:11:51 +00:00
Jack Jansen
67ff6d9930
Finished update to UH 3.4.2.
2003-12-06 00:00:17 +00:00
Jack Jansen
da6081fccb
Ported to Universal Headers 3.4.2. Qd and Qt remain to be done.
...
Completely untested.
2003-12-03 23:20:13 +00:00
Jack Jansen
fe3fe4adb5
Adding an interface to the high-level Open Scripting Architecture,
...
by request of Donovan Preston. In return, he promised to use this
to create a Python OSA component, which would turn Python
into a first-class OSA scripting language (like AppleScript itself).
2003-12-03 22:34:19 +00:00
Jack Jansen
07f1dfa91c
Blacklisting LSInit and LSTerm, which are deprecated. Partial fix for 853558.
2003-12-03 20:52:07 +00:00
Jack Jansen
7d0a609e6f
An interface to the LaunchServices API.
2003-12-02 23:01:43 +00:00
Jack Jansen
ac5d667e9f
Fix (workaround, actually) for bug #844676 : deselecting "show hidden" can
...
cause an index error. We now select the first package if this threatens
to happen. Will backport.
2003-11-27 23:19:33 +00:00
Jack Jansen
9cc4fcd649
Package Mnager error dialogs could refer to hidden packages, which was
...
confusing. To be on the safe side we always show hidden packages before
showing error dialogs. Will backport.
2003-11-27 23:12:17 +00:00
Jack Jansen
a775dd176c
the "idle" script has moved from Lib/idlelib to Tools/scripts.
2003-11-27 22:54:28 +00:00
Jack Jansen
c09857ab78
Added some help to OSX/Dist/README.txt, plus all the information
...
from the OS9 readme that is still relevant.
Got rid of Distributions/readme.txt.
2003-11-20 13:50:28 +00:00
Jack Jansen
7107c1aff3
Got rid of macglue.h, replacing it by pymactoolbox.h where relevant.
...
Cleaned up various things in the toolbox modules.
2003-11-20 13:31:00 +00:00
Jack Jansen
3305d2487d
Got rid of macglue.h, moved the little bit that remains relevant
...
to pymactoolbox.h (where it should have been in the first place).
2003-11-20 13:28:19 +00:00
Jack Jansen
8d902aba1c
No longer used.
2003-11-20 13:27:33 +00:00
Jack Jansen
eddc1449ba
Getting rid of all the code inside #ifdef macintosh too.
2003-11-20 01:44:59 +00:00
Jack Jansen
bc2fbc74ed
Getting rid of one more TARGET_API_MAC_OSX.
2003-11-19 22:43:57 +00:00
Jack Jansen
a53f4eba19
Getting rid of code conditional on TARGET_API_MAC_*.
2003-11-19 16:34:04 +00:00
Jack Jansen
9588770e25
PyDoc_STR is always defined nowadays (and has been for quite some time:-)
2003-11-19 16:18:02 +00:00
Jack Jansen
e48cef7aba
Getting rid of WITHOUT_FRAMEWORKS and ACCESSOR_CALLS_ARE_FUNCTIONS:
...
MacOS9isms.
2003-11-19 16:13:35 +00:00
Jack Jansen
37249c5524
WITHOUT_FRAMEWORKS conditional code bites the dust: this was for
...
pre-carbon MacOS9 support.
2003-11-19 15:32:46 +00:00
Jack Jansen
f387e2d12b
Gone: all this functionality is now in the Carbon.File and Folder modules.
2003-11-19 15:30:41 +00:00
Jack Jansen
fb2765666f
Getting rid of support for the ancient Apple MPW compiler.
2003-11-19 15:24:47 +00:00
Jack Jansen
d338b6e317
Removing the obvious OS9-only documents§
2003-11-19 14:54:25 +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
6045b9c935
Temporary fix for buildon on both Panther and Jaguar.
2003-11-19 13:56:40 +00:00
Jack Jansen
652b28c6f5
Moved various files over from the release23-maint branch.
2003-11-19 13:53:55 +00:00
Jack Jansen
42f3b9ae4a
Upped version
2003-11-19 13:50:21 +00:00
Jack Jansen
e41072378d
Upped version numbers, and converted to UTF-16.
2003-11-19 13:49:28 +00:00
Jack Jansen
2586aa810e
Upped.
2003-11-19 13:48:13 +00:00
Jack Jansen
9feabbdcd2
This file is utf-16, not utf-8 (or ascii).
2003-11-19 13:47:22 +00:00
Jack Jansen
d48364e8b1
Forward port of various fixes that were initially only done on the
...
release23-maint branch:
- Remember the scroll position when rebuilding the browser (as we do far
too often). Fixes #824430 .
- Allow for the documentation to be inside PythonIDE as well as in
the Python.app inside the framework (the original location for 2.3).
- Updated version numbers
- In PythonIDE, add the Tools/IDE directory as the second entry in
sys.path in stead of as the first, leaving PythonIDE.app/Contents/Resources
as the first one.
- The code for setting the working directory to $HOME was both incorrect
and in the wrong place, fixed.
- On OSX the default location for IDE scripts is now
$HOME/Library/Python/IDE-Scripts.
2003-11-19 13:45:26 +00:00
Jack Jansen
6bf31278ac
Ported from 23maint branch: add icons to BuildApplet.
2003-11-19 13:37:22 +00:00
Jack Jansen
c86c9de7d4
Added a site
2003-11-19 13:33:47 +00:00
Jack Jansen
47e8f16b1e
Upped version
2003-11-19 13:33:19 +00:00
Just van Rossum
4e6b3c55d0
Fix for [ 782686 ]: new files used \r as the default line separator
...
instead of os.linesep.
2003-11-18 22:41:16 +00:00
Just van Rossum
7e94a9aae3
fix for bug [819860]: make sure the buffer gets emptied, even if WEInsert() fails
2003-10-12 19:27:24 +00:00
Jack Jansen
d1f46c8970
Don't export the SPB type as "SPB", because it shadows the method SPB,
...
which is really important. This is a stopgap measure, as only the generated
C code is adapted. Fixes #776533 .
2003-07-24 22:25:03 +00:00
Jack Jansen
f31bd453a5
Added instructions on setting the proxy host.
2003-07-24 21:46:40 +00:00
Jack Jansen
18452a4bf2
MacPython-OS9 has its own copy of the interrupt handling code. Added PyErr_SetInterrupt() here too.
2003-07-23 11:39:28 +00:00
Jack Jansen
1fb83c155f
Don't force boot-disk-only install, for reasons unknown it causes more
...
problems than it solves. In stead, put a warning near the top of the
welcome message. Fixes (or, rather works around) bug #764975 .
2003-07-23 10:51:55 +00:00
Jack Jansen
dffeaf4732
Scripts runs with pythonw no longer had full window manager access due
...
to the name change of Python.app/Contents/MacOS/python to
Python.app/Contents/MacOS/Python. Fixes #776116 .
2003-07-23 10:49:17 +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
f7538163b0
Files used for the 2.3rc1+ binary installer. This one has the size problem
...
fixed. It also attempts to force boot-disk-only installs, but this seems to
lead to a problem that you have to deselect and reselect the installation disk.
If no-one comes up with a fix RSN I'll revert to the previous situation and
explain in the readme that you cannot install on a non-system-disk.
2003-07-22 13:45:26 +00:00
Jack Jansen
40b2e83924
We erronuously re-used the pimpinstaller object if there were multiple installs.
...
This lead to a duplication of error messages (and installs). Fixes #764615 .
2003-07-21 22:11:07 +00:00
Jack Jansen
a7203d1037
Because plistlib doesn't catch all possible errors that can
...
happen while parsing a plistfile feeding an ill-formatted file to
pimp may cause an exception. As a stopgap we use an unqualified except
and print an error message "Unspecified error, probably ill-formatted
database". Fixes #765621 .
2003-07-21 22:03:14 +00:00
Fred Drake
8851c62b81
removed trailing tabs in several places, including after the final
...
newline
2003-07-07 17:38:26 +00:00
Jack Jansen
dd614fdc51
Fixed lots of minor issues found by Edward Moy: incorrect version
...
strings, non-standard naming of things in bundles, etc.
2003-07-04 13:06:14 +00:00
Jack Jansen
276b2900b8
Added missing newline at end of file.
2003-07-04 12:05:25 +00:00
Jack Jansen
078afc86f2
Files used for 2.3b2 macpython binary distribution.
2003-07-04 11:06:36 +00:00
Jack Jansen
75132e84e1
Moved two sentences around to make them clearer.
2003-07-03 21:33:02 +00:00
Jack Jansen
ebab26a709
Skip noticed that the document talks about "setting PythonLauncher as the
...
default application" but doesn't give a clue on how to do this. Refer to
Apple Help.
2003-07-02 22:09:30 +00:00
Jack Jansen
42fbc6961e
Tooltip for tab/space consistency check was the wrong way around. Spotted
...
by Skip.
2003-07-02 22:08:28 +00:00
Jack Jansen
e2ff8be761
Moved the IDE tutorial to a directory with a shorter name. The long
...
name was giving problems with some tar implementations.
2003-07-02 09:20:09 +00:00
Jack Jansen
01d49fa283
Slight clarification on running the examples from the Finder.
2003-06-29 00:24:12 +00:00
Jack Jansen
d163b85a07
Suggest people visit www.python.org/packman if the default database
...
cannot be found.
2003-06-29 00:17:23 +00:00
Jack Jansen
006ebebe5a
By default build docs, don't download them.
2003-06-28 23:38:04 +00:00
Jack Jansen
d2544e32f5
Give compileall a -d option so it works correctly in the face of
...
DESTDIR being non-null.
2003-06-21 22:07:16 +00:00
Jack Jansen
d7cccdd591
Added a field that allows the user to set sys.argv-style arguments
...
to the script. Fixes #757544 .
2003-06-20 22:21:03 +00:00
Jack Jansen
b6b988bceb
Cop out, and set things to be group-writeable recursively. The various
...
xxxMODE flags don't cut it. Also set the umask to 2 before doing the
compileall on the destination system.
2003-06-20 21:40:57 +00:00
Jack Jansen
7c0d7ba99d
Updated.
2003-06-20 15:14:08 +00:00
Jack Jansen
c30d7c37ee
At startup, test that PythonLauncher is the default application for files
...
of type .py, .pyw and .pyc. If not, post a warning.
2003-06-20 14:36:58 +00:00
Jack Jansen
94d09f84be
Installation of PythonLauncher has been failing silently, probably since
...
the DESTDIR patch. Fixed.
2003-06-20 14:33:38 +00:00
Jack Jansen
8cf644df52
Install Demo and Tools too.
2003-06-19 22:45:37 +00:00
Jack Jansen
7b9a386ef9
MacPython-2.3 has progressed so far that building a set of Mac 2.3
...
extensions on top of Python 2.2 no longer seems feasible.
2003-06-19 22:44:57 +00:00
Jack Jansen
a1b77584f2
Added a target frameworkinstallextras (OSX framework build specific,
...
and not part of a normal frameworkinstall) that installs Demo and Tools
and a readme file into /Applications/MacPython-2.3/Extras. This will
give people access to the demos and tools if they instal Python through
the binary installer.
2003-06-19 22:35:20 +00:00
Jack Jansen
e53be4e855
dded notes on reporting bugs and becoming an active developer.
2003-06-19 21:25:44 +00:00
Jack Jansen
0b1b5adaee
- Added a "community" section.
...
- Cleaned up the HTML.
2003-06-18 22:10:27 +00:00
Jack Jansen
fc3542f678
- Create TMPDIR only if it doesn't exist yet
...
- Set the installer to use our permissions, not influenced by the umask.
2003-06-18 21:28:44 +00:00
Jack Jansen
53e54fd934
Make sure the files in the installer have group "admin", otherwise
...
administrators can still not add packages.
2003-06-17 14:36:54 +00:00
Jack Jansen
7006fa14d8
Allow passing a build directory on the command line. Also, if the
...
build directory is found to exist we don't clean it up. We also
use configure -C. All this lets us keep build directories, which
graeatly speeds up the process of debugging installers.
2003-06-16 15:12:16 +00:00
Jack Jansen
e5370655dc
Only fix up pathnames in installed scripts when needed, i.e. when not installing
...
to /. Pathnames are correct for installing to / since the DESTDIR patch.
2003-06-16 15:10:47 +00:00
Jack Jansen
a93b3cc9c2
Added a note about FSRef tests failing on MacOS 8.6.
2003-06-16 13:57:09 +00:00
Jack Jansen
e748f0358f
This wasn't ansified. Fixed.
2003-06-16 13:56:05 +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
d3295baad7
Patch #755147 by Brian Lenihan:
...
- Build idle from new location
- use ln -fsn when linking files.
2003-06-16 09:47:25 +00:00
Jack Jansen
880be6f1cf
Use the new, now preferred, form of referring to object specifiers (through
...
the object, not the module).
2003-06-13 14:32:49 +00:00
Jack Jansen
2a97dcce09
Use splitlines() in stead of split() to split lines, and added a method
...
shortdescription() so the code to split off the first line of the
description isn't all over the place.
2003-06-01 20:03:43 +00:00
Jack Jansen
ac8bd9175b
Forgot the code to initialize the glue for the new CFObj_ routines.
2003-05-31 22:09:33 +00:00
Jack Jansen
9f0c5754a6
- Get the database from a different place.
...
- Added support for multi-line descriptions. Doesn't look nice
yet in Package Manager.
2003-05-29 22:07:27 +00:00
Jack Jansen
20b15bbc56
Example database for Package Manager.
2003-05-28 18:57:52 +00:00
Jack Jansen
f7c822073e
Alternate fix for #728744 : use OSA and Apple Help Indexing Tool's idleStatus
...
indicator to wait for the help indexing to finish.
2003-05-27 22:47:55 +00:00
Jack Jansen
4eb45e7804
Added functions CFObj_New and CFObj_Convert, general functions to convert
...
between CF objects and their Python representation. Fixes 734695.
2003-05-27 21:39:58 +00:00
Jack Jansen
31fa845c01
Added Help menu. Fixes #731635
2003-05-27 14:10:37 +00:00