summaryrefslogtreecommitdiff
path: root/emacs
Commit message (Expand)AuthorAgeFilesLines
* remove GDS...It is with a sigh that I do this. Farewell, old friend GDS; your bits will live on, reclaimed and reused in the new debugger. * module/Makefile.am: * module/ice-9/gds-client.scm: * module/ice-9/gds-server.scm: Remove these; we favor Geiser now. * emacs/Makefile.am: * emacs/gds-faq.txt: * emacs/gds-scheme.el: * emacs/gds-server.el: * emacs/gds-test.el: * emacs/gds-test.sh: * emacs/gds-test.stdin: * emacs/gds-tutorial.txt: * emacs/gds.el: Remove GDS files. The docs are still around, as they need to be folded into the docmentation of the new debugger. Andy Wingo2010-09-249-1910/+2
* deprecate arity access via (procedure-properties proc 'arity)...* libguile/procprop.h (scm_sym_arity): Deprecate. I didn't move it to deprecated.h though, because that might have some boot implications -- though I didn't check. * libguile/procprop.c (scm_procedure_properties) (scm_set_procedure_properties_x, scm_procedure_property) (scm_set_procedure_property_x): Deprecate access to a procedure's arity via procedure-properties. Users should use procedure-minimum-arity. * module/ice-9/channel.scm (eval): * module/ice-9/session.scm (arity): * module/language/tree-il/analyze.scm (validate-arity): Fix up instances of (procedure-property x 'arity) to use procedure-minimum-arity. Andy Wingo2010-04-171-5/+2
* GDS usability: operation without a mouse...Derek Peschel provided this patch and described it as follows. "Most of the time I use Terminal in OS X, rather than xterm. I also don't bother with the GUI versions of Emacs. So unfortunately I have no mouse support in Emacs. Also the system I'm testing Guile on thinks my terminal doesn't support color and I haven't fixed it yet. The attached patch makes GDS more usable for me. "With no mouse, the "[click here to show error stack]" design is very inconvenient. You added a C-M (return) binding at some point. I copied that, but I also changed the message to show it. And I made the return work when the cursor is after the right bracket." * emacs/gds-scheme.el (gds-display-results): Make "click here" message more helpful for people without mice. Also extend text properties so that a RET key press works at the end of that line. Neil Jerram2009-09-221-2/+4
* Fix GDS utility client startup...* emacs/gds-scheme.el (gds-start-utility-guile): Use buffer-local variable gds-client instead of client, as client is actually unbound when the process-filter lambda runs. (i.e. This isn't Scheme code!) Neil Jerram2009-08-281-8/+8
* Merge branch 'ossau-gds-dev'...Conflicts: THANKS Neil Jerram2009-08-277-18/+645
|\
| * Support multiple concurrent instances of Emacs + GDS server...By: - Making the Unix socket name unique (for each Emacs instance), by appending Emacs's PID to it. - Changing the GDS server to listen on both Unix domain and TCP (and not to mind if the TCP bind fails, which will happen if another GDS instance has already bound to the TCP port number). - Adding this unique Unix socket name to the environment (as GDS_UNIX_SOCKET_NAME), so that Guile clients started from inside Emacs can pick it up. - Changing the GDS client code to look for GDS_UNIX_SOCKET_NAME in the environment, and to connect to the Unix socket with that name instead of over TCP. Guile clients started outside Emacs will not find GDS_UNIX_SOCKET_NAME and so will fall back to using TCP. This means they will connect to whichever Emacs + GDS server instance started first. * emacs/gds-server.el (gds-start-server): Take both Unix socket name and TCP port args, instead of just one (which could be either Unix or TCP), and pass these on to `run-server'. Remove unused optional bufname arg. * emacs/gds.el (gds-unix-socket-name, gds-tcp-port): New variables. (gds-socket-type-alist): Removed. (gds-run-debug-server): Pass gds-unix-socket-name and gds-tcp-port to gds-start-server. Add the Unix socket name to the environment. (gds-server-socket-type): Note now obsolete. * ice-9/gds-client.scm (connect-to-gds): Get Unix socket name from environment, and connect to this in preference to using TCP. * ice-9/gds-server.scm (run-server): Take both Unix socket name and TCP port args. Listen and accept connections on both. Neil Jerram2008-12-132-18/+22
| * Add GDS test and documentation files...(Transferred from the remains of the old standalone guile-debugging project at gna.org.) * emacs/gds-faq.txt, emacs/gds-test.el, emacs/gds-test.sh, emacs/gds-test.stdin, emacs/gds-tutorial.txt: New files. Neil Jerram2008-12-125-0/+617
| * Add a GDS protocol hook, that we can use for testing...* emacs/gds.el (gds-protocol-hook): New hook. (gds-debug-protocol): Run this hook for each received protocol form. Neil Jerram2008-12-111-0/+6
* | Make GDS resilient to autocompilation comments...* emacs/gds-scheme.el (gds-start-utility-guile): Make the extraction of client number more robust; in particular when the client emits comments (about auto compilation) before the number. Neil Jerram2009-08-271-2/+7
* | Change Guile license to LGPLv3+...(Not quite finished, the following will be done tomorrow. module/srfi/*.scm module/rnrs/*.scm module/scripts/*.scm testsuite/*.scm guile-readline/* ) Neil Jerram2009-06-1713-144/+137
|/
* Remove everything to do with GDS Breakpoints...(which I now regard as an unsuccesful experiment) This commit makes all affected files the same in master as they are in branch_release-1-8. * doc/ref/api-debug.texi (Breakpoints): Removed. * doc/ref/scheme-using.texi (GDS Introduction, GDS Getting Started, Displaying the Scheme Stack): Remove mentions of breakpoints. (Setting Specific Breakpoints, Setting GDS-managed Breakpoints, Setting and Managing Breakpoints, Listing and Deleting Breakpoints, Moving and Losing Breakpoints): Removed. * emacs/gds-scheme.el (gds-bufferless-breakpoints, gds-bpdef:behaviour, gds-bpdef:type, gds-bpdef:file-name, gds-bpdef:proc-name, gds-bpdef:lc, gds-breakpoint-number, gds-breakpoint-buffers, gds-breakpoint-programming, gds-breakpoint-cache, gds-breakpoint-face, gds-breakpoints-file-name, gds-delete-lost-breakpoints, gds-bpdefs-cache, gds-read-breakpoints-file, gds-adopt-breakpoints, gds-adopt-breakpoint, gds-make-breakpoint-overlay, gds-send-breakpoint-to-client, gds-default-breakpoint-type, gds-set-breakpoint, gds-defun-name-region, gds-breakpoint-overlays-at, gds-write-breakpoints-file, gds-fold-breakpoints, gds-delete-breakpoints, gds-delete-breakpoint, gds-breakpoint-at-point, gds-union, gds-user-selected-breakpoint, gds-describe-breakpoints, gds-describe-breakpoint, gds-after-save-update-breakpoints, gds-breakpoint-map): Removed. (gds-nondebug-protocol): Removed handling for `breakpoint' and `get-breakpoints'. * emacs/gds.el (gds-scheme-first-load): Removed. * ice-9/debugging/Makefile.am (ice9_debugging_sources): Removed breakpoints.scm and load-hooks.scm. * ice-9/debugging/breakpoints.scm: Removed. * ice-9/debugging/load-hooks.scm: Removed. * ice-9/gds-client.scm (handle-nondebug-protocol): Remove everything to do with breakpoints. (breakpoints, set-gds-breakpoints): Removed. (run-utility): Call `connect-to-gds' instead of `set-gds-breakpoints'. Neil Jerram2008-12-102-533/+0
* Add `ChangeLog-2008' files to the distribution.Ludovic Courtès2008-09-121-2/+2
* Rename `ChangeLog' files to `ChangeLog-2008'.Ludovic Courtès2008-09-121-0/+0
* Remove `.cvsignore' files.Ludovic Courtès2008-09-111-16/+0
* Single stepping through code from Emacs...When you use GDS to evaluate Scheme code from Emacs, you can now use `C-u' to indicate that you want to single step through that code. See `Evaluating Scheme Code' in the manual for more details. * scheme-using.texi (Evaluating Scheme Code): Document use of `C-u' prefix with evaluation commands. * gds-scheme.el (gds-eval-region, gds-eval-expression) (gds-eval-defun, gds-eval-last-sexp): Support `C-u' prefix, meaning that user wants to single step through the code. * gds-client.scm (handle-nondebug-protocol): Add support for setting a trap on code that is about to be evaluated. Neil Jerram2008-07-172-19/+39
* * gds-scheme.el (gds-display-results): Use save-selected-window... instead of switching to other-window in order to return to the proper window in frames with more than two windows. Neil Jerram2007-02-062-33/+39
* (gds-display-results): Add another binding for...gds-show-last-stack (RET). (scheme-mode-map): And another: C-h S. (scheme-mode-map): And an alternative C-h G binding for gds-apropos, as we probably should not be using C-h C-g. Neil Jerram2007-01-172-0/+11
* *** empty log message ***Neil Jerram2006-11-132-1/+6
* (gds-socket-type-alist): New....(gds-run-debug-server): Use gds-server-socket-type and gds-socket-type-alist instead of gds-server-port-or-path. (gds-server-socket-type): New, replacing gds-server-port-or-path. Neil Jerram2006-10-142-5/+18
* * gds.el (gds-run-debug-server): Use variable...gds-server-port-or-path instead of hardcoded 8333. (gds-server-port-or-path): New. * gds-server.el (gds-start-server): Change port arg to port-or-path, to support Unix domain sockets. * gds-client.scm (connect-to-gds): Try to connect by Unix domain socket if TCP connection fails. * gds-server.scm (run-server): Update to support listening on a Unix domain socket. Neil Jerram2006-10-123-9/+26
* * gds-server.el (gds-start-server): Change "ossau" to "ice-9"....* gds-scheme.el (gds-start-utility-guile): Change "ossau" to "ice-9". Neil Jerram2006-08-183-3/+10
* * Makefile.am: New file....* gds.el, gds-scheme.el, gds-server.el: New files. Neil Jerram2006-06-195-0/+1809
* merge from 1.8 branchKevin Ryde2006-04-167-7/+7
* Remove GDS files.Neil Jerram2005-07-099-0/+5
* The FSF has a new address.Marius Vollmer2005-05-2313-2506/+18
* *** empty log message ***Marius Vollmer2004-07-061-3/+13
* Document removal of guileint.Neil Jerram2004-03-102-2/+6
* Remove guileint files.Neil Jerram2004-03-1012-2551/+0
* *** empty log message ***Neil Jerram2004-02-251-20/+0
* * gds-client.scm (handle-instruction-1): In `eval' protocol, catch... and report read errors nicely. * gds.el (gds-display-buffers): Don't select the GDS window. Neil Jerram2004-02-253-25/+45
* * gds-tutorial.txt, gds-problems.txt: New files.Neil Jerram2004-02-224-1/+27
* * gds.el: Add requirements: cl, comint, info.... (gds-guile-program): New. (gds-start): When starting or restarting, kill captive if it exists. Use gds-guile-program instead of just "guile". (gds-mode): Use widget minor mode. (gds-client-ref): New optional client arg. (gds-update-buffers): Don't call widget-setup. (gds-heading-face): New. (gds-insert-interaction): Various prettifications. (gds-heading-insert): New. (gds-choose-client): Check that numbers in client and gds-client are still valid. (gds-eval-expression, gds-apropos): Remove text properties from expression to evaluate. (gds-mode-map): Don't set widget-mode-map as parent. (gds-start-captive): Use gds-guile-program instead of just "guile". * gds-client.scm (install-breakpoints): Bugfix: avoid null lists in traversal. (eval-thread, gds-eval): Where expression has multiple parts, modify output to say which part is being evaluated. Neil Jerram2004-02-213-31/+104
* * Makefile.am (TAGS_FILES): Use this variable instead of...ETAGS_ARGS so that TAGS can be built using separate build directory. * Makefile.am (TAGS_FILES): Use this variable instead of ETAGS_ARGS so that TAGS can be built using separate build directory. * debugger/breakpoints/Makefile.am (TAGS_FILES), debugger/Makefile.am (TAGS_FILES), Makefile.am (TAGS_FILES): Use this variable instead of ETAGS_ARGS so that TAGS can be built using separate build directory. * primitives/Makefile.am (TAGS_FILES), internals/Makefile.am (TAGS_FILES), Makefile.am (TAGS_FILES): Use this variable instead of ETAGS_ARGS so that TAGS can be built using separate build directory. * Makefile.am, goops/Makefile.am (TAGS_FILES): Use this variable instead of ETAGS_ARGS so that TAGS can be built using separate build directory. * Makefile.am (TAGS_FILES): Use this variable instead of ETAGS_ARGS so that TAGS can be built using separate build directory. Mikael Djurfeldt2004-02-092-2/+8
* * gds.el (gds-handle-client-input): Handle new `thread-status'... protocol. (gds-display-slow-eval): New. (gds-client-ref): Bugfix: buf -> (cdr buf). (gds-display-buffers): Bugfix: minimum overlay end value is 1, not 0. (gds-evals-in-progress): New. (gds-results): New. (gds-insert-interaction): Show evaluations in progress (with button to interrupt them) and results of last help or evaluation. (gds-interrupt-eval): New. (gds-debug-trap-hooks, gds-up, gds-down): New. (gds-eval-region, gds-eval-expression): Include abbreviated code in eval correlator. (gds-abbreviated-length, gds-abbreviated): New. (gds-mode-map): New keys for gds-debug-trap-hooks, gds-up, gds-down. (gds-debug-menu): New menu entries for gds-up, gds-down. * gds-client.scm (gds-connect): Enable trapping for gds-eval stacks. (ui-read-thread-proc): Write 'running status earlier. (stack->emacs-readable): Limit stack length to 'depth debug option. (handle-instruction): Update format of eval correlator. (handle-instruction-1): Resolve module names from root module instead of from current module. (resolve-module-from-root): New. (handle-instruction-1): New protocol `interrupt-eval'. (eval-thread-table): New. (eval-thread): Add thread to eval-thread-table; write new protocol to frontend to communicate eval thread status; update for new correlator format; bind correlator local before entering loop2. (gds-eval): Use start-stack 'gds-eval-stack to rebase stack. * gds.el (gds-start, gds-start-captive): Do `process-kill-without-query' as soon as processes started, ... (gds-shutdown, gds-kill-captive): ... instead of here. (gds-display-results): More clearly show unspecified results; show results in interaction view instead of in separate window. (gds-send): Add sent protocol to transcript. Neil Jerram2004-02-044-59/+240
* Simplify algorithm for popping up windows.Neil Jerram2004-01-263-98/+179
* Reorg gds-send args; use evaluation correlatorNeil Jerram2004-01-202-51/+48
* Implement eval threads.Neil Jerram2004-01-202-166/+328
* Add GDS docNeil Jerram2004-01-203-0/+13
* Initial support for setting source breakpoints.Neil Jerram2003-11-273-4/+233
* Work in progress.Neil Jerram2003-11-192-9/+35
* Work in progress.Neil Jerram2003-11-192-347/+463
* *** empty log message ***Rob Browning2003-11-171-0/+4
* new file.Rob Browning2003-11-171-0/+2
* Lots of ongoing development.Neil Jerram2003-11-112-384/+456
* Moved all gds files here; plus ongoing work on them.Neil Jerram2003-11-115-0/+600
* Work on debugger frontend code.Neil Jerram2003-10-161-40/+133
* UI frontend work: eval support.Neil Jerram2003-10-062-25/+279
* Debugger UI asynchronous thread support.Neil Jerram2003-10-042-3/+18
* Work (in progress) on new debugging frontend.Neil Jerram2003-09-251-0/+748
* Rewrite enhanced editing logic - sexp-track.el.Neil Jerram2003-08-313-352/+0