Commit Graph

2820 Commits

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