Kurt B. Kaiser
d0e2926d2a
Panel Bar on the Bottom is Probably More Common
2002-12-20 01:22:01 +00:00
Kurt B. Kaiser
a137cc9cb7
Updated.
2002-12-20 01:19:47 +00:00
Jack Jansen
77e8ad4684
Always use self->ob_type->tp_free when freeing an object.
2002-12-19 23:34:40 +00:00
Jack Jansen
6810f92d4d
The extension module macfs has been replaced by a pure Python version.
2002-12-19 23:27:58 +00:00
Jack Jansen
e87663306a
Added the last missing bits of functionality, and fixed a nasty bug where we
...
could overwrite memory.
2002-12-19 23:26:58 +00:00
Jack Jansen
4235e71acc
A replacement for the macfs extension module, implemented with normal
...
(generated) Carbon module functionality.
Not 100% complete yet, but at least the IDE doesn't crash on startup.
2002-12-19 23:26:07 +00:00
Jack Jansen
4f0e05f738
Gone: the constants have been moved to macfs.py (which, upon import, also
...
poses as MACFS for backward compatibility).
2002-12-19 23:24:37 +00:00
Jack Jansen
f955784f0c
Regenerated with inheritance-aware xxxx_Check() macros.
2002-12-19 21:24:35 +00:00
Jack Jansen
5bb2f6497f
Always output an inheritance-aware version of the xxxx_Check() macro. Also
...
fixed that macro to actually work:-)
2002-12-19 20:37:32 +00:00
Martin v. Löwis
03d00d51ba
Fix if-then-else-fi structure.
2002-12-19 19:03:31 +00:00
Neal Norwitz
ee65e22646
Fix bug introduced by SF patch #643835 , Set Next Statement for Python debuggers
...
blockstack_top could be 0 when blockstack[blockstack_top-1]
was referenced (ie blockstack[-1]) which crashed on hpux.
Patch & fix by Richie Hindle
2002-12-19 18:16:57 +00:00
Martin v. Löwis
7e4cfcb6bc
Unsupport --without-universal-newlines.
2002-12-19 16:21:49 +00:00
Neal Norwitz
93344ab036
Update/correct comment
2002-12-19 15:24:11 +00:00
Neal Norwitz
802926482c
Provide mechanism to deprecate functions, types, and struct members.
...
It would be nice to support other compilers besides gcc.
2002-12-19 15:12:26 +00:00
Kurt B. Kaiser
d5e1cef92f
If Edit window has not been saved, offer to save if user tries to Run or
...
Check the module.
2002-12-19 03:25:34 +00:00
Neal Norwitz
dfb8086760
Fix another long vs int mismatch. test_datetime now passes on alpha
2002-12-19 02:30:56 +00:00
Tim Peters
0b0f41cf1f
Fixed typo in string.
2002-12-19 01:44:38 +00:00
Neal Norwitz
c296c63c73
Fix crash on alphas due to mismatch between 'l' format and int variables.
2002-12-19 00:42:03 +00:00
Neal Norwitz
91787cb4b3
Undefine MIN and MAX before defining
...
Some systems (HPUX at least) already define MIN/MAX for us
2002-12-18 23:33:35 +00:00
Neal Norwitz
8feeabb975
SF # 654974, fix unchecked return values in structseq
...
Check return values after memory allocation.
Also use Py_True instead of PyInt_FromLong(1) for bool value.
Backport candidate.
2002-12-18 23:20:39 +00:00
Jack Jansen
543c9253cd
- Added rawdata initializers
...
- Added support for optional FSSpecs and FSRefs to the Alias routines.
NewAlias and friends are still functions, though, not methods.
2002-12-18 23:17:26 +00:00
Tim Peters
ba873472d2
delta_str(): Purged last uses of sprintf (in favor of PyOS_snprintf).
2002-12-18 20:19:21 +00:00
Raymond Hettinger
72a6ddb5ee
Expand log() tests to include long integers.
2002-12-18 16:13:16 +00:00
Andrew M. Kuchling
ca2623a2f9
Check in current, unfinished, draft of datetime docs
...
(Fred, don't bother to add to lib.tex or to proofread this yet.)
2002-12-18 14:59:11 +00:00
Fred Drake
e0f02f0826
Fix some small markup nits.
2002-12-18 02:07:14 +00:00
Neal Norwitz
3e93b4d222
Fix typo spotted by Richie Hindle
2002-12-18 01:20:29 +00:00
Neal Norwitz
06982221bb
SF # 654960, remove unnecessary static variable
...
The static variable (implicit) was not necessary.
The c_globals can be None or True now.
2002-12-18 01:18:44 +00:00
Jack Jansen
1795f29b4b
Fixed silly typo.
...
Added comment (to myself) on what still needs to be done.
2002-12-17 23:29:27 +00:00
Jack Jansen
58fc91f947
This module will shortly replace the builtin module macfs. It is not
...
complete yet, but it should work. It will be finished (and renamed)
shortly.
2002-12-17 23:28:24 +00:00
Greg Ward
3ebf56c60f
Two more typo fixes.
2002-12-17 23:27:41 +00:00
Jack Jansen
ae63756bf8
Include Finder.h too in the list of header files to parse: the finder
...
constants have tradiationally been in MACFS.py.
2002-12-17 22:22:57 +00:00
Jack Jansen
b4289b5771
This now contains constants from Files.h, Aliases.h and Finder.h.
2002-12-17 22:21:57 +00:00
Jack Jansen
e55beefed8
- Added as_pathname and as_tuple methods
...
- Added access to the "data" attribute
- Fixed the FSRef tp_init routine to accept pathnames on OSX
- Changed the FSSpec tp_repr to return something resembling what
macfs returns.
2002-12-17 22:10:46 +00:00
Jack Jansen
ff38505f1a
Added an optional longname argument to Module, which gives the full,
...
externally visible name of the module. This is so that type names can be
shown as "Carbon.File.FSSpec" even though the real name of the module is
"_File".
2002-12-17 22:08:48 +00:00
Kurt B. Kaiser
92b5ca37c2
M ColorDelegator.py
...
M PyShell.py
M ScriptBinding.py
1. Update ScriptBinding.py to highlight a syntax error in the Edit window,
and place the cursor on the error. Add a syntax check to the
Run Script event instead of waiting until the script tries to run and
raises a syntax error in the shell, forcing the user to navigate back
to the Edit window to fix it.
2. Modify tag_config's appropriately in PyShell.py and ColorDelegator.py
3. Some minor clean-up in ScriptBinding.py
2002-12-17 21:16:12 +00:00
Jack Jansen
51cd8a2d24
"time_second" is apparently a #define on MacOSX. Renamed the (static)
...
routine to py_time_second.
2002-12-17 20:57:24 +00:00
Andrew M. Kuchling
6cd77126b4
No point in warning about needing re module; remove helpful message
2002-12-17 18:59:51 +00:00
Andrew M. Kuchling
3c76ad0f8d
Fix comment typo
2002-12-17 18:56:26 +00:00
Greg Ward
1d5d8cf61f
Typo fix.
2002-12-17 18:14:21 +00:00
Gustavo Niemeyer
a080be8b63
* Objects/fileobject.c
...
(file_read): Replaced assertion with mixed sign operation by a simple
comment (thank you Raymond). The algorithm is clear enough in that point.
2002-12-17 17:48:00 +00:00
Michael W. Hudson
529a505da4
This is J. Lewis Muir's patch:
...
[ 629278 ] install lib-dynload .so files mode 555
fixing
[ 583206 ] lib-dynload/*.so wrong permissions
[ 425007 ] Python 2.1 installs shared libs with mode 0700
Phew.
2002-12-17 16:47:17 +00:00
Michael W. Hudson
cfd3884882
This is Richie Hindle's patch
...
[ 643835 ] Set Next Statement for Python debuggers
with a few tweaks by me: adding an unsigned or two, mentioning that
not all jumps are allowed in the doc for pdb, adding a NEWS item and
a note to whatsnew, and AuCTeX doing something cosmetic to libpdb.tex.
2002-12-17 16:15:34 +00:00
Neal Norwitz
f680cc460c
Update doc for getboolean() to match code (ie, returning True/False)
...
Convert remaining uses of 1/0 to True/False
2002-12-17 01:56:47 +00:00
Neal Norwitz
212b43f90c
Add markup for base parameter
2002-12-17 01:24:11 +00:00
Neal Norwitz
046b8a7244
Fix SF # 641111, Undocumented side effect of eval
...
Try to clear up confusion about the current globals being copied
into a globals dict passed to eval(). This wording (more or less)
was suggested in bug report. It should probably be made clearer.
Backport candidate.
2002-12-17 01:08:06 +00:00
Neal Norwitz
e9ce25e512
Fix SF #642742 , property() builtin not documented
...
Added doc for functions new to 2.2: classmethod property staticmethod super
Taken from docstrings. Could use review.
Hope there wasn't a reason why these shouldn't have been added.
Backport candidate.
2002-12-17 01:02:57 +00:00
Neal Norwitz
0f30dbd991
Fix SF # 626275, missing DECREF's in embedding example
...
Tested w/valgrind, all paths except the return on PyInt_AsLong() failure
I think I got all of these right.
Backport candidate.
2002-12-17 00:40:38 +00:00
Kurt B. Kaiser
1bdca5e051
In Shell:
...
1. If a tab is entered at the prompt, allow it to be backspaced away.
2. Eliminate the beep when hitting <enter> at the prompt.
2002-12-16 22:25:10 +00:00
Tim Peters
cfd4a8b639
Made this a little more compatible w/ the sandbox version, which is
...
still needed to test the Python implementatino.
2002-12-16 21:12:37 +00:00
Tim Peters
e820cb60a3
Blurb about new datetime module.
2002-12-16 20:57:22 +00:00