Commit Graph

2389 Commits

Author SHA1 Message Date
Jack Jansen ec694c32a7 Pass None to AHGotoPage(). 2002-09-11 22:05:59 +00:00
Jack Jansen f6b3fddfc3 The debugger source view only understood mac-style linefeeds. Fixed. 2002-09-11 22:05:02 +00:00
Jack Jansen 93ad6a7a3b Converted to Vise 8. 2002-09-11 00:55:48 +00:00
Jack Jansen 17d67f07cd All set for 2.3 installer, except for upgrade of Vise version. 2002-09-10 21:15:44 +00:00
Jack Jansen a0d1833639 Fixed typo spotted by Whomas Touters. 2002-09-10 20:07:34 +00:00
Jack Jansen 47ec141963 Added include guards and C++ extern "C" {} constructs. Partial fix for #607253.
Bugfix candidate.
2002-09-10 12:32:47 +00:00
Jack Jansen 2575022aef Reverted previous change, I was confused. 2002-09-10 12:22:32 +00:00
Jack Jansen 796e5f75e2 Next few steps towards a 2.3 installer. 2002-09-07 00:10:31 +00:00
Jack Jansen 481fddfc46 First steps towards a 2.3 installer. 2002-09-06 23:37:07 +00:00
Jack Jansen 277fc7efce Enable _AH module. 2002-09-06 23:33:40 +00:00
Jack Jansen bc603547ae Import Carbon.AH, not Carbon.Help 2002-09-06 23:33:31 +00:00
Jack Jansen 7f677f49ea Reorganized order of help menu, and don't show Carbon documentation
entries on OS9 (where they are never available, and simply disabling
them might lead people to think otherwise).
2002-09-06 23:03:32 +00:00
Jack Jansen 25a8f0d5f8 Silly me, I enabled the old help module. Fixed. 2002-09-06 22:59:00 +00:00
Jack Jansen b34101162d Added carbon Help module. 2002-09-06 22:41:03 +00:00
Jack Jansen 521dd9f231 Upped the stack size to 256KB. test_class ran afoul of the 64K limit, and this is probably a better fix than lowering the recursion limit. 2002-09-06 21:59:21 +00:00
Jack Jansen fdf427f584 Updated the notes on building a binary installer. 2002-09-06 21:55:47 +00:00
Jack Jansen 997429a5f4 The script was very sloppy about which variables held source pathnames
and which held destination pathnames. Fixed.
2002-09-06 21:55:13 +00:00
Jack Jansen 1f74ed8c4c Fixed a typo in the binary install notes
rewrapped: as usual with my files everything was far wider than 80 chars.
2002-09-06 21:00:55 +00:00
Jack Jansen 3a70e3f9ef Get rid of non-ascii characters. 2002-09-06 20:43:28 +00:00
Jack Jansen 82a9b60b86 Use PyString_CHECK_INTERNED. 2002-09-06 20:42:27 +00:00
Jack Jansen 8ba4220637 Started on documentation for building a MacOSX binary installer.
Unfinished.
2002-09-06 20:24:51 +00:00
Jack Jansen 3337ea731b Remove .pyo files too. 2002-09-06 20:23:09 +00:00
Jack Jansen a6db44f169 Script to generate .pkg packages, donated by Dinu Gherman. This is his
original code, it still needs fiddling to make it work in general
circumstances.
2002-09-06 19:47:49 +00:00
Jack Jansen 94fab762de Generate pythonw.sh on the fly.
Use the build python for as many things as possible.
2002-09-02 12:29:11 +00:00
Jack Jansen e3d9f405e9 Pass -x badsyntax to compileall.
Tweaks to make builds work for non-standard dstroot.
2002-09-02 12:16:00 +00:00
Jack Jansen b2d2bc9a55 Implemented the Help menu. The Python manual can be viewed (if installed)
and the selection can be looked up, and so can the Carbon manual. From the
help menu you can also get to the online documentation, the Python website
and the MacPython page.

Untested in MacPython-OS9.
2002-08-31 01:25:17 +00:00
Jack Jansen 6be89564cc If there's an environment variable PYTHONIDEPATH it points to the IDE
folder. This allows running the IDE from the source tree on OSX.
2002-08-31 01:22:37 +00:00
Jack Jansen f94cadf456 MenuID's are signed. 2002-08-31 01:20:53 +00:00
Jack Jansen fe9acdea8a Typecode for AHTOCType was wrong. Fixed. 2002-08-30 23:02:09 +00:00
Jack Jansen 4e39949d87 Initialize self._helpmenu earlier, so we can use gethelpmenu() while
building the user menus.
2002-08-30 23:01:28 +00:00
Jack Jansen bdbff73feb Fix for Jaguar: use ln for installing symlinks, install no longer works.
Fix for sh: use : in stead of an empty then clause in an if.
2002-08-30 15:14:02 +00:00
Jack Jansen b05e056e9f On Jaguar the default mode for files in the installed product is 444 (or 555)
in stead of 644 (755). This makes a subsequent install fail. Changed
the INSTALL_MODE_FLAG to fix this.
2002-08-30 12:56:08 +00:00
Jack Jansen f21b7063d3 Added support for the help menu. Application.gethelpmenu() will return
it.

Also fixed menu IDs to be signed in do_menudispatch. this is an incompatible
change, but I don't think it'll hurt anyone.
2002-08-29 22:04:15 +00:00
Jack Jansen 983258ed7e Revived the Carbon.Help module, but implementing the MacHelp API in stead
of the defunct Balloons API. Help tags are TBD, but at least this gives
us access to the help menu.
2002-08-29 21:09:00 +00:00
Jack Jansen afb76320ab Don't copy the documentation when using Python.app as an applet template. 2002-08-29 20:20:24 +00:00
Jack Jansen 278a3a22d7 Distutils-based script by Bill Fancher to download the Python documentation
HTML tarball and use it to create a documentation tree readable and
searchable with Apple Help Viewer. The documentation also shows up in
Project Builder (if you add Python.framework to your project).
2002-08-28 22:22:10 +00:00
Jack Jansen 4684a09fc5 - Install a symlink to the documentation (which lives in the framework)
in Python.app, and refer to it in Info.plist. This makes Apple Help
  Viewer recognize the Python documentation.
- Changed the externally visible name of Python.app to "Python" (was PythonW).
2002-08-28 21:27:02 +00:00
Jack Jansen f90367c6d4 This file never made it to the repository, somehow. 2002-08-28 21:19:26 +00:00
Jack Jansen 5472376f0d These were regenerated some time ago (with ascii chars only and
fully qualified imports) but somehow not checked in yet.
2002-08-28 21:18:37 +00:00
Jack Jansen 4f2d89f1f8 Interface to Apple Help Viewer. 2002-08-28 21:16:53 +00:00
Jack Jansen fd372aa8e9 Don't build ConfigurePythonCarbon and ConfigurePythonClassic any longer,
classic Python is gone.
2002-08-22 23:37:00 +00:00
Jack Jansen 5fd945895e For MacPython-OS9 verbose is the default. 2002-08-22 23:36:11 +00:00
Jack Jansen d59f8d0691 Interface to Apple Help Manager. 2002-08-22 23:31:37 +00:00
Jack Jansen f34a8bced2 Moved CoreFoundation type support to bgen/macsupport. 2002-08-22 23:30:49 +00:00
Jack Jansen 286e838f22 Added PyDoc_STR's. 2002-08-22 23:29:45 +00:00
Jack Jansen 0281512b87 Merged the MacPython thanks list into the general acknowledgements.
There's really no point in a separate list of thank-you notes.
2002-08-19 13:17:39 +00:00
Jack Jansen 58ba80a6a6 Refuse to run if the last bit of the destination path contains a # character.
This is a silly workaround for a rather serious bug in MacOSX: if you take
a long filename and convert it to an FSSpec the fsspec gets a magic
cooky (containing a #, indeed). If you then massage the extension of this
fsspec and convert back to a pathname you may end up referring to the
same file. This could destroy your sourcefile. The problem only occcurs
in MacPython-OS9, not MacPython-OSX (I think).

Closes bug #505562.
2002-08-18 21:57:09 +00:00
Jack Jansen 49931887d7 Regenerated with PyDoc_STR() around docstrings. 2002-08-16 09:09:31 +00:00
Jack Jansen 7ca993ed37 Fixed the bugs in the constant definitions, and in the code to test
them.
The FutureWarnings are still there, until a way has been found to
say "I know what I'm doing here when I say 0xff000000".
2002-08-15 22:05:58 +00:00
Jack Jansen 87eea88b5a After generating the Python file with definitions try to run it, so
we catch errors during the build process in stead of later during runtime.
2002-08-15 21:48:16 +00:00