Commit Graph

2755 Commits

Author SHA1 Message Date
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
Jack Jansen 9592fe9a49 Fixed the DESTDIR modifications to also allow MacOSX framework builds
to be installed to a different location. This should make the OSX binary
installer building a lot simpler.
2003-05-25 22:01:32 +00:00
Jack Jansen 8ba0e80117 Added a --python option, which sets the python to be used in the #! line
in the bootstrap script of the applet.
2003-05-25 22:00:17 +00:00
Just van Rossum 8d97b9bd36 fixed some DeprecationWarnings 2003-05-25 20:44:37 +00:00
Just van Rossum 0ed39577dd modernized ColorPicker somewhat 2003-05-24 20:14:24 +00:00
Jack Jansen bc06feae9c Pydoc also needs its #! line massaged. Fixes #733199. 2003-05-09 15:09:50 +00:00
Jack Jansen a226b5723a Pass DIRMODE and FILEMODE to Mac/OSX/Makefile on framework builds (and
honor them). Use this when building the MacOSX binary installer to
get group-writeable files.

Ths fix works for directories and executables, not for files just yet,
because of bug #735274.
2003-05-09 15:08:39 +00:00
Just van Rossum ba5db20558 also support cmd-. in the interactive window 2003-05-09 11:47:23 +00:00
Jack Jansen ee0325ac9a Suppress wartning on macfs import. 2003-05-09 10:15:18 +00:00
Just van Rossum eb64af9201 add explicit support for cancelling a running script (CFM-based MacPython had this built-in) 2003-05-09 08:58:02 +00:00
Just van Rossum 476736eed6 more dead code removal 2003-05-09 08:33:58 +00:00
Just van Rossum 5ef0e7cc47 dead code removal 2003-05-09 08:27:33 +00:00
Jack Jansen e9709e7e34 Merged 2.3b1 welcome message to the trunk. 2003-05-07 09:41:56 +00:00
Jack Jansen a6872b86a1 Merged 1.2.2.1 fixes:
- Don't generate README, but ask the user to provide it.
- Create destination dir, if needed.
- Updated for 2.3b1.
2003-05-07 08:58:11 +00:00
Jack Jansen 9a79182316 Fix for #731643: allow "lookup in documentation" to also work if the
interactive window is frontmost.
2003-05-06 14:28:31 +00:00
Just van Rossum d77bee1476 fixed typo 2003-05-03 00:38:26 +00:00
Just van Rossum 4e2d23226f Install automatic GIL switcher upon IDE startup.
(Jack: maybe this could/should be done in Framework.py instead, that way
apps don't have to think about it. PackMan springs to mind...)
2003-05-03 00:31:35 +00:00
Just van Rossum 6767eed22a Short and sweet module doing something very useful: for event loop
based threads, release the GIL when the event loop goes to sleep,
and acquire it again when the event loop wakes up again. OSX-only.
2003-05-03 00:18:55 +00:00
Just van Rossum d797e7b507 Fixed age-old beginner's error: don't start the main loop as a side
effect of an import. (This is one step towards threading support in
the IDE.)
2003-05-02 23:40:29 +00:00
Jack Jansen 40006e9f7a Rename funny long suite to Disk_File_Folder. 2003-05-01 22:06:15 +00:00
Jack Jansen b616f17902 Added a note about Stefan Deibels list of contacts. 2003-04-29 21:49:30 +00:00
Jack Jansen 8ddc3f0fa6 The new bundlebuilder-generated applets contain an absolute reference
to the Python used to create them (in the #! line). Therefore, when your
Python installation is moved the applets become invalid. As the
binary distribution is installed in a different place than where it was
created we need to fix up the #! lines.
2003-04-29 21:48:46 +00:00
Jack Jansen d6abf5d8c7 By default be verbose. 2003-04-29 21:46:31 +00:00
Jack Jansen 8c46ce9add Allow setting the auto dispose flag on window objects. 2003-04-22 13:55:23 +00:00
Jack Jansen f776dee6dd Hiding packages was done incorrectly. Fixed. 2003-04-22 13:53:33 +00:00
Jack Jansen 84c2b1b9aa Oops, 'k' is the new format code for un unchecked 32 bit quantity,
not 'K'.
2003-04-17 20:44:21 +00:00
Jack Jansen ecc6635ae4 Converted manually written code to the new K format specifier.
Untested, but at least it still compiles.
2003-04-17 20:40:07 +00:00
Jack Jansen 36b5198381 Refer people to the help pages on failure to load the database. 2003-04-16 12:40:21 +00:00
Jack Jansen 64509b33a7 Added a note on getting 404 Not Found errors when loading the database. 2003-04-16 12:39:03 +00:00
Jack Jansen a950d7b24f Added support for per-user installs.
Don't show psuedo-packages by default, added a button to show them.
Cleaned up interface a little (not enough, though).
2003-04-16 12:17:56 +00:00
Jack Jansen 4323090d95 Adapted GUI for per-user install. Doesn't do anything yet, though 2003-04-15 21:59:42 +00:00
Jack Jansen b60352992f The minimal scripting example now actually works. 2003-04-01 22:30:23 +00:00
Jack Jansen aca44e2771 Added a File->Generate OSA Suite command. 2003-03-31 15:11:14 +00:00
Jack Jansen 71ad9fb74f Added 1-page introductions to creating GUIs in Python and the OSA
interface.
2003-03-31 15:10:46 +00:00
Jack Jansen a942b9931c Moved gensuitemodule from Mac/scripts to Lib/plat-mac. Documentation
remains to be done.
2003-03-29 23:04:01 +00:00
Jack Jansen 1269be5f4a - Added an is_scriptable method to test applications for having
a scripting dictionary. Made up by me, not guaranteed to be correct
  (and, indeed, Internet Explorer does not seem to play by the book).
- Added the interactive main program as a separate routine, so it
  can be called from the IDE later. Also made it less interactive by
  default: only the input app and output package folder are asked for.
2003-03-29 22:54:00 +00:00
Jack Jansen 0fc192a9cd - Prefer using events (in stead of poking around in resource files) to
get terminology resources. Unfortunately there doesn't seem to be any
application I can ask for the basic StdSuites terminology (?).
- Prefer OSX-native versions of applications over OS9 versions.
2003-03-29 00:11:32 +00:00
Jack Jansen 8307e028b2 Sometimes a class is used as a base class of itself. Obviously there's
something I don't understand, but for now ignore this.

Output the file name such that it cannot contain non-ascii characters.
2003-03-29 00:08:24 +00:00