Commit graph

2902 commits

Author SHA1 Message Date
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