1. 02 Agu, 2002 1 kayıt (commit)
  2. 13 Haz, 2002 1 kayıt (commit)
  3. 11 Haz, 2002 1 kayıt (commit)
  4. 30 May, 2002 1 kayıt (commit)
    • Guido van Rossum's avatar
      SF #558432: Prevent Annoying ' ' from readline (Holker Krekel). · 84271bb3
      Guido van Rossum yazdı
          readline in all python versions is configured
          to append a 'space' character for a successful
          completion. But for almost all python expressions
          'space' is not wanted (see coding conventions PEP 8).
          For example if you have a function 'longfunction'
          and you type 'longf<TAB>' you get 'longfunction '
          as a completion. note the unwanted space at the
          end.
      
          The patch fixes this behaviour by setting readline's
          append_character to '\0' which means don't append
          anything. This doesn't work with readline < 2.1
          (AFAIK nowadays readline2.2 is in good use).
      
          An alternative approach would be to make the
          append_character
          accessable from python so that modules like
          the rlcompleter.py can set it to '\0'.
      
      [Ed.: I think expecting readline >= 2.2 is fine.  If a completer wants
      another character they can append that to the keyword in the list.]
      84271bb3
  5. 21 Nis, 2002 1 kayıt (commit)
  6. 31 Mar, 2002 1 kayıt (commit)
  7. 25 Mar, 2002 1 kayıt (commit)
  8. 24 Mar, 2002 1 kayıt (commit)
  9. 03 Mar, 2002 1 kayıt (commit)
  10. 13 Şub, 2002 1 kayıt (commit)
  11. 12 Ock, 2002 1 kayıt (commit)
  12. 28 Kas, 2001 2 kayıt (commit)
  13. 19 Eki, 2001 1 kayıt (commit)
    • Guido van Rossum's avatar
      SF patch #443759: Add Interface to readline's add_history · b6c1d523
      Guido van Rossum yazdı
      This was submitted by Moshe, but apparently he's too busy to check it
      in himself.  He wrote:
      
          Here is a function in GNU readline called add_history,
          which is used to manage the history list. Though Python
          uses this function internally, it does not expose it to
          the Python programmer. This patch adds direct interface
          to this function with documentation.
      
          This could be used by friendly modules to "seed" the
          history with commands.
      b6c1d523
  14. 30 Eyl, 2001 1 kayıt (commit)
  15. 01 Agu, 2001 1 kayıt (commit)
  16. 10 Tem, 2001 1 kayıt (commit)
  17. 13 Nis, 2001 1 kayıt (commit)
    • Guido van Rossum's avatar
      Clean up the unsightly mess around the readline header files. We now · b0e51b29
      Guido van Rossum yazdı
      always:
      
      - #undef HAVE_CONFIG_H (because otherwise chardefs.h tries to include
        strings.h)
      
      - #include readline.h and history.h
      
      and we never declare any readline function prototypes ourselves.
      
      This makes it compile with readline 4.2, albeit with a few warnings.
      Some of the remaining warnings are about completion_matches(), which
      is renamed to rl_completion_matches().
      
      I've tested it with various other versions, from 2.0 up, and they all
      seem to work (some with warnings) -- but only on Red Hat Linux 6.2.
      
      Fixing the warnings for readline 4.2 would break compatibility with
      3.0 (and maybe even earlier versions), and readline doesn't seem to
      have a way to test for its version at compile time, so I'd rather
      leave the warnings in than break compilation with older versions.
      b0e51b29
  18. 10 Ock, 2001 1 kayıt (commit)
  19. 02 Eki, 2000 1 kayıt (commit)
  20. 20 Eyl, 2000 1 kayıt (commit)
  21. 16 Eyl, 2000 1 kayıt (commit)
  22. 01 Eyl, 2000 1 kayıt (commit)
  23. 31 Agu, 2000 1 kayıt (commit)
  24. 04 Agu, 2000 1 kayıt (commit)
  25. 03 Agu, 2000 2 kayıt (commit)
  26. 23 Tem, 2000 1 kayıt (commit)
  27. 22 Tem, 2000 1 kayıt (commit)
  28. 21 Tem, 2000 1 kayıt (commit)
    • Thomas Wouters's avatar
      Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)', · f3f33dcf
      Thomas Wouters yazdı
      and a couple of functions that were missed in the previous batches. Not
      terribly tested, but very carefully scrutinized, three times.
      
      All these were found by the little findkrc.py that I posted to python-dev,
      which means there might be more lurking. Cases such as this:
      
      long
      func(a, b)
      	long a;
      	long b; /* flagword */
      {
      
      and other cases where the last ; in the argument list isn't followed by a
      newline and an opening curly bracket. Regexps to catch all are welcome, of
      course ;)
      f3f33dcf
  29. 19 Tem, 2000 1 kayıt (commit)
  30. 10 Tem, 2000 1 kayıt (commit)
  31. 09 Tem, 2000 1 kayıt (commit)
  32. 06 Tem, 2000 1 kayıt (commit)
  33. 28 Haz, 2000 1 kayıt (commit)
  34. 03 May, 2000 1 kayıt (commit)
    • Guido van Rossum's avatar
      Vladimir Marangozov's long-awaited malloc restructuring. · b18618da
      Guido van Rossum yazdı
      For more comments, read the patches@python.org archives.
      For documentation read the comments in mymalloc.h and objimpl.h.
      
      (This is not exactly what Vladimir posted to the patches list; I've
      made a few changes, and Vladimir sent me a fix in private email for a
      problem that only occurs in debug mode.  I'm also holding back on his
      change to main.c, which seems unnecessary to me.)
      b18618da
  35. 29 Şub, 2000 1 kayıt (commit)
  36. 18 Kas, 1999 1 kayıt (commit)
    • Guido van Rossum's avatar
      Patches by Kannan Vijayan: · b960e7a7
      Guido van Rossum yazdı
      new:
      readline.get_begidx() -> int
      	gets the beginning index in the command line string
      	delimiting the tab-completion scope.  This would
      	probably be used from within a tab-completion
      	handler
      
      readline.get_endidx() -> int
      	gets the ending index in the command line string
      	delimiting the tab-completion scope.  This would
      	probably be used from within a tab-compeltion
      	handler
      
      readline.set_completer_delims(string) -> None
      	sets the delimiters used by readline as word breakpoints
      	for tab-completion
      
      readline.get_completer_delims() -> string
      	gets the delimiters used by readline as word breakpoints
      	for tab-completion
      
      fixed:
      readline.get_line_buffer() -> string
      	doesnt cause a debug message every other call
      b960e7a7
  37. 29 Ock, 1999 1 kayıt (commit)
  38. 27 Ock, 1999 1 kayıt (commit)