Commit Graph

2560 Commits

Author SHA1 Message Date
Jack Jansen 2bc4a47c86 WASTEconst.py goes one level above the toolbox directory. 2003-02-21 22:11:45 +00:00
Jack Jansen d7c1723742 Added a method WMAvailable(). This will return True if and only if there
is a window manager and we can connect to it, i.e. if it is safe to try
and put up windows.

As a side effect the first call will make the current process frontmost.
2003-02-21 16:31:11 +00:00
Jack Jansen cef2f7cd18 Use pythonw as the default interpreter also for .py scripts (overridable
by the user), as this will cause the least surprises with scripts
brought over from other unixen. Suggested by Kevin Altis.
2003-02-19 10:37:08 +00:00
Jack Jansen 4ccf3e14f0 Undid half of the previous checkin: continue using BuildApplet for most
applets. PackageManager is still built with bundlebuilder itself.
2003-02-18 23:33:39 +00:00
Jack Jansen 3d3b74677a Optionally honour #! paths in scripts. Fixes #676358. 2003-02-17 15:40:00 +00:00
Jack Jansen fd3e54c68e When building an applet clear out the tempfile and dir afterwards. 2003-02-16 21:28:51 +00:00
Jack Jansen d2c684f79f Moved setupDocs.py to Doc/setup.py and did some cleanup. It now at least
allows bdist, but it's still one big hack:-(
2003-02-14 23:46:22 +00:00
Jack Jansen 4ab8437e7f Allow opening of alternate databases. 2003-02-14 14:13:25 +00:00
Jack Jansen f68043c4a9 Got building documentation from source to work. 2003-02-14 12:47:14 +00:00
Jack Jansen c13f19f1fc Icons for the package manager. 2003-02-12 16:20:23 +00:00
Jack Jansen 3a146b6c7d Photoshop source file for package manager icon. 2003-02-12 16:16:52 +00:00
Jack Jansen d78003671a Use bundlebuilder directly to build applets. 2003-02-12 15:42:49 +00:00
Jack Jansen ffb8fef6d5 Allow this to run both standalone and as a window in the IDE. 2003-02-12 15:39:56 +00:00
Jack Jansen a359a3d0ac More int() around float arguments. 2003-02-12 15:39:16 +00:00
Jack Jansen c0452da1b8 Create applets slightly differently: by saving the sourcecode to a
temporary location. This is needed to makethings work with the new
buildtools based on bundlebuilder.
2003-02-12 15:38:37 +00:00
Jack Jansen 113af98c89 Renamed InstallManager to PackageManager, finished a first stab at the
implementation and integrated it into the IDE.
2003-02-12 12:47:56 +00:00
Jack Jansen 9c679f8128 In a MultiList select all cells in the row, not only the first one. 2003-02-12 12:47:00 +00:00
Jack Jansen 73019a6321 An install manager window for the IDE and standalone use. Unfinished. 2003-02-11 23:15:33 +00:00
Jack Jansen 726b238860 - More int() calls around floating point numbers passed where integers are
expected.
- Fixed resizing of multi-column lists, somewhat.
2003-02-11 16:26:26 +00:00
Jack Jansen 658375b833 Got rid of macfs. 2003-02-06 23:13:11 +00:00
Jack Jansen 5a79329547 Got rid of FSSpecs. 2003-02-06 22:57:44 +00:00
Jack Jansen e7ee17c58e Got rid of macfs and FSSpecs in general (pathnames or FSRefs are now
used everywhere).
2003-02-06 22:32:35 +00:00
Jack Jansen f3f4af5521 Got rid of macfs and made a bit more OSX-friendly. 2003-02-05 23:10:46 +00:00
Just van Rossum 19e02fc67f removing old junk 2003-02-05 22:59:07 +00:00
Jack Jansen ab564eea05 Removed unused import of macfs. 2003-02-05 22:53:29 +00:00
Jack Jansen 6d8bca8cb6 I don't think this script serves a useful purpose anymore, and I can't
be bothered to fix it.
2003-02-05 22:52:16 +00:00
Jack Jansen 611b9f6697 Added "Open File by Name" command which presens a filename dialog. If
the clipboard contains a filename that filename is used as the default.
2003-02-05 15:41:09 +00:00
Jack Jansen d424836f3a Cast various floats to ints so we don't get warnings. 2003-02-05 15:40:05 +00:00
Jack Jansen 8d4f06a73a Added itertools module. 2003-02-05 13:36:50 +00:00
Jack Jansen b9fa1a9ec5 Changed an edit instruction because of a changed parameter name (sigh). 2003-02-04 15:35:07 +00:00
Jack Jansen 52377e05be The FSAliasFile routines also have an in/out parameter. 2003-02-02 23:00:21 +00:00
Just van Rossum 3bd8d0fb9c patch #678211 from Robin Dunn 2003-02-01 10:07:28 +00:00
Jack Jansen 60ffc2bafc Added a missing INCREF in pathname(). 2003-01-28 23:29:46 +00:00
Jack Jansen 50abec8fc4 Install "python$(VERSION)" into /usr/local as the symlink to the framework,
and also create a symlink "python" pointing to "python$(VERSION)".
Fixes #675745.
2003-01-28 21:45:44 +00:00
Jack Jansen fd0b00e0a7 Use new file dialogs. 2003-01-26 22:15:48 +00:00
Jack Jansen 2373ff4e4f Fix an omission in the previous checkin. 2003-01-26 22:15:10 +00:00
Jack Jansen b340acf9fd Use new file dialogs. 2003-01-26 21:40:00 +00:00
Jack Jansen df976caa34 Use new file dialogs. 2003-01-26 20:35:47 +00:00
Jack Jansen 2b3ce3ba3f FSRef and EasyDialogs pathname support was pretty much broken in MacPython-OS9. Fixed. 2003-01-26 20:22:41 +00:00
Jack Jansen d44a3ec63c Getting rid of StandardGetFile 2003-01-22 14:03:12 +00:00
Just van Rossum 7a503a4ee6 Fix bug #670845: cut & clear in the output window now work, in that
- clear clears the entire buffer
  - cut doesn't cut, but copies.
2003-01-20 09:02:23 +00:00
Jack Jansen 9c564755b8 Added a convenience routine pathname() which accepts either a string, unicode,
FSSpec or FSRef object and returns an 8-bit pathname (utf8 encoded).
2003-01-19 22:59:52 +00:00
Jack Jansen e58962af4d Fixed the first two bugs in the new file dialogs (found by Just):
- AskFileForSave didn't work for string return values
- filterProc didn't work.
2003-01-17 23:13:03 +00:00
Jack Jansen b2a57722a8 It turns out that some calls return AEDesc records that are "borrowed",
the AEDesc data shouldn't be disposed when the Python object is.

Added a C call AEDesc_NewBorrowed() to create these objects and a Python
method old=AEDesc.AutoDispose(onoff) to change auto-dispose state.
2003-01-17 23:11:17 +00:00
Jack Jansen c99b675ff4 For reasons unknown previewProc and filterProc were disabled. Enabled them. 2003-01-17 16:14:31 +00:00
Jack Jansen 2d0909b9cb Implemented FSCatalogInfo structure support, and used this to implement
FSSpec.SetDates() and GetDates(). Closes #662836.
2003-01-15 22:36:16 +00:00
Jack Jansen bc65521567 Implemented FSCatalogInfo. 2003-01-12 23:01:46 +00:00
Jack Jansen b2fcd086c7 Started on implementing support for FSCatalogInfo. Doesn't work yet, don't
try it.
2003-01-09 23:37:37 +00:00
Just van Rossum c1a9cab8f0 interpret utf-8 file names on OSX 2003-01-09 23:20:31 +00:00
Just van Rossum addc11edf0 removed silly & mask, avoiding FutureWarning 2003-01-09 22:54:37 +00:00