1. 27 Mar, 2005 1 commit
    • Christophe Rhodes's avatar
      Add a half-baked half-finished ISO Prolog syntax. · 2aa1652a
      Christophe Rhodes authored
      Known internal lacunae:
        * does not handle quotations correctly:
          ** fails to recognize '' as an escaped quote character (and similarly
             for other quote characters);
          ** fails to canonize quoted atoms; will fail to identify the operator
             ; from the quoted atom ';';
          ** does not contain any logic for backslash-escaped data.
        * does not implement parsing floating point numbers.
        * comments before directives get italicized.
        * way too long.  Expect some refactoring.
      Known suboptimal interactions with the syntax framework:
        * parses the entire buffer at every keystroke; incremental parsing caused
          a problem at some point and has not (yet) been restored.
        * displays the entire buffer at every keystroke.
        * the incremental lexer gets confused in the presence of comments.
          (see forthcoming mail to climacs-devel)
  2. 23 Mar, 2005 1 commit
  3. 20 Mar, 2005 2 commits
  4. 19 Mar, 2005 1 commit
    • Aleksandar Bakic's avatar
      Persistent/persistent-undo.lisp: new file containing the simple · 48ca0ef4
      Aleksandar Bakic authored
      version of the Undo protocol that relies on persistent buffers. Marks
      are not persistent (yet?), they are only "fixed" to prevent trivial
      climacs.asd: added Persistent/persistent-undo.lisp.
      gui.lisp: added calls to full-redisplay at the end of com-undo and
      com-redo (could not find a better way).
      pane.lisp: added copyright info; fixed a bug in with-undo macro;
      modified extended-binseq2-buffer to inherit from p-undo-mixin; cleaned
      up some mark cloning code.
  5. 18 Mar, 2005 1 commit
    • Robert Strandh's avatar
      Added setf methods for offset of parse-trees. Either a numerical · 236611db
      Robert Strandh authored
      offset can be given, in which case, the start-mark must exist (since
      we don't know the buffer), or else a mark can be given, in which case
      it is cloned.
      Removed references to start-mark from html-syntax.lisp, and removed it
      from the export list of the climacs-syntax package.
  6. 17 Mar, 2005 1 commit
  7. 16 Mar, 2005 2 commits
  8. 15 Mar, 2005 5 commits
  9. 13 Mar, 2005 2 commits
    • Aleksandar Bakic's avatar
      Line-oriented persistent buffer (binseq2). Warning: Need to fix minor · 94f6939a
      Aleksandar Bakic authored
      bugs (related to number-of-lines-in-region, I believe).
      base.lisp: Added faster methods on previous-line, next-line,
      pane.lisp, cl-syntax.lisp, html-syntax.lisp, text-syntax.lisp:
      Replaced some calls to make-instance to calls to clone-mark and (setf
      offset), in order to avoid passing climacs-buffer to marks. This also
      made possible to get rid of delegating methods on syntax.
      climacs.asd: Added Persistent/binseq2.
      packages.lisp: Added binseq2-related symbols.
      Persistent/binseq.lisp, Persistent/obinseq.lisp: Cleanup.
      Persistent/persistent-buffer.lisp: Added code for binseq2-buffer and
      related marks. Also some minor fixes.
    • Robert Strandh's avatar
  10. 11 Mar, 2005 3 commits
  11. 10 Mar, 2005 1 commit
    • Robert Strandh's avatar
      More progress on html-syntax, which may eventually become a model · 5c330694
      Robert Strandh authored
      for many different language syntax modules.
      The display function now traverses the parse tree up as long as a
      valid parse tree exists.  The rest of the display is done from the
      token sequence.  It is likely that all of this can be abstracted out
      and put into syntax.lisp so that html-syntax would just become a
      client among others for this traversal.
      Not only is the cursor still not displayed, whitespace is not handled
      during the traversal of the parse tree.  This will likely be fixed in
      the next few day.
  12. 07 Mar, 2005 1 commit
    • Robert Strandh's avatar
      First attempt at a display function (for html syntax) that uses the · 4f8663ce
      Robert Strandh authored
      output of an incremental lexer and parser.  This code is not complete
        * right now, it uses only the lexer output, and not the parser
        * the cursor is not displayed yet
        * it is too slow, most likely because the output records are all in
          one big bag, as opposed to being tree structured, such as the
          lines of basic syntax.
      The slowness is not a serious problem, because one day, McCLIM will
      have tree-structured output records itself, and because most syntax
      modules (including this one, very soon) will have some tree structure
      itself.  It might be worthwhile to display the part of the buffer
      beyond a parse error in some artificially structured way, such as by
      lines as in the current basic syntax.
  13. 05 Mar, 2005 5 commits
  14. 04 Mar, 2005 1 commit
  15. 02 Mar, 2005 3 commits
  16. 01 Mar, 2005 1 commit
  17. 28 Feb, 2005 1 commit
  18. 27 Feb, 2005 8 commits