Commit Graph

24 Commits

Author SHA1 Message Date
Christian Heimes 05e8be17fd Merged revisions 60990-61002 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r60990 | eric.smith | 2008-02-23 17:05:26 +0100 (Sat, 23 Feb 2008) | 1 line

  Removed duplicate Py_CHARMASK define.  It's already defined in Python.h.
........
  r60991 | andrew.kuchling | 2008-02-23 17:23:05 +0100 (Sat, 23 Feb 2008) | 4 lines

  #1330538: Improve comparison of xmlrpclib.DateTime and datetime instances.
  Remove automatic handling of datetime.date and datetime.time.
  This breaks backward compatibility, but python-dev discussion was strongly
  against this automatic conversion; see the bug for a link.
........
  r60994 | andrew.kuchling | 2008-02-23 17:39:43 +0100 (Sat, 23 Feb 2008) | 1 line

  #835521: Add index entries for various pickle-protocol methods and attributes
........
  r60995 | andrew.kuchling | 2008-02-23 18:10:46 +0100 (Sat, 23 Feb 2008) | 2 lines

  #1433694: minidom's .normalize() failed to set .nextSibling for last element.
  Fix by Malte Helmert
........
  r61000 | christian.heimes | 2008-02-23 18:40:11 +0100 (Sat, 23 Feb 2008) | 1 line

  Patch #2167 from calvin: Remove unused imports
........
  r61001 | christian.heimes | 2008-02-23 18:42:31 +0100 (Sat, 23 Feb 2008) | 1 line

  Patch #1957: syslogmodule: Release GIL when calling syslog(3)
........
  r61002 | christian.heimes | 2008-02-23 18:52:07 +0100 (Sat, 23 Feb 2008) | 2 lines

  Issue #2051 and patch from Alexander Belopolsky:
  Permission for pyc and pyo files are inherited from the py file.
........
2008-02-23 18:30:17 +00:00
Barry Warsaw 780028e14c Change the way hex type-ins are displayed. The old way was way too
fragile.  Now the leading "0x" on hex numbers are displayed as labels
and the type-in entry fields just accept the hex digits.  Be sure to
strip off the "0x" string when displaying hex values too.

Also, de-string-module-ification, and other Python 2.x improvements.
2001-07-10 21:50:44 +00:00
Barry Warsaw 1bbc048310 Special case around some of the nastier annoyances with the type-in
fields.  You can now backspace out the 0 in 0x0, and you can clear the
field when in decimal mode.  There are still some oddities about
typing into these fields, but it should be much less annoying.  The
real solution is to ditch the update-while-typing "feature".
2001-02-01 21:31:58 +00:00
Barry Warsaw f72d580d5e sticky should be NSEW to fix pixel weirdness at right edge 1998-10-22 18:48:45 +00:00
Barry Warsaw ca07ba00ac Many changes to support a second mode of operation. Pynche can now be
run either as a standalone application (by running pynche or
pynche.pyw), or as a modal dialog inside another application.  This
can be done by importing pyColorChooser and running askcolor().  The
API for this is the same as the tkColorChooser.askcolor() API, namely:

    When `Okay' is hit, askcolor() returns ((r, g, b), "name").  When
    `Cancel' is hit, askcolor() returns (None, None).

Note the following differences:

    1. pyColorChooser.askcolor() takes an optional keyword `master'
       which if set tells Pynche to run as a modal dialog.  `master'
       is a Tkinter parent window.  Without the `master' keyword
       Pynche runs standalone.

    2. in pyColorChooser.askcolor() will return a Tk/X11 color name as
       "name" if there is an exact match, otherwise it will return a
       color spec, e.g. "#rrggbb".  tkColorChooser can't return a
       color name.

There are also some UI differences when running standalone vs. modal.
When modal, there is no "File" menu, but instead there are "Okay" and
"Cancel" buttons.

The implementation of all this is a bit of a hack, but it seems to
work moderately well.  I'm not guaranteeing the pyColorChooser.Chooser
class has the same semantics as the tkColorChooser.Chooser class.
1998-10-22 03:25:59 +00:00
Barry Warsaw 8a09e1ccda Saving/Restoring state into ~/.pynche file 1998-10-20 20:45:46 +00:00
Barry Warsaw 8934af00d8 Fixes for some type-in strangeness 1998-10-07 02:44:17 +00:00
Barry Warsaw c2d8f573eb __togglehex(): Simplify 1998-10-06 16:08:39 +00:00
Barry Warsaw 73290dff30 hexp() => hexp_var() 1998-10-06 15:50:36 +00:00
Barry Warsaw 6831c30143 hexp(): New function 1998-10-06 15:49:19 +00:00
Barry Warsaw a398924c6a __normalize(): Preserve the location of the icursor and restore it so
that Left/Right arrow keys and C-a C-e all work.
1998-10-06 15:47:45 +00:00
Barry Warsaw 69a4ab5a04 Docstring 1998-10-02 16:27:40 +00:00
Barry Warsaw 231c8c0895 Gridify this widget 1998-10-01 14:26:57 +00:00
Barry Warsaw 85e6965071 Fixed toggle b/w hex and decimal 1998-10-01 13:41:05 +00:00
Barry Warsaw 0fa6e4b421 Added options to visible window 1998-10-01 02:57:05 +00:00
Barry Warsaw 420201972e Got updating with Return/Tab working 1998-09-29 20:02:27 +00:00
Barry Warsaw 885b371e33 Un PMW-ified 1998-09-29 19:51:18 +00:00
Barry Warsaw 627857e957 Add option for no updates on typing 1998-03-16 23:09:04 +00:00
Barry Warsaw 5bfac8d7fd Integrate with OptionsWindow... need to hook into Tab key 1998-03-10 00:17:30 +00:00
Barry Warsaw d7300f8f56 __modified(): Make sure `rgbs' is a tuple 1998-02-18 00:06:20 +00:00
Barry Warsaw 2e965add30 __validate(): test for None-age, not not-ness 1998-02-13 21:29:13 +00:00
Barry Warsaw 4b0d67d592 typo 1998-02-12 19:52:46 +00:00
Barry Warsaw 4a445c689c #Layout looks good, as does validation, and delegate chaining 1998-02-11 17:11:34 +00:00
Barry Warsaw 2e6c13f150 Initial revision 1998-02-10 00:13:06 +00:00