1. 05 Aug, 2009 2 commits
  2. 04 Aug, 2009 17 commits
    • Juri Linkov's avatar
      Commands to add/delete file/directory-local variables. · b4d84ecf
      Juri Linkov authored
      (read-file-local-variable, read-file-local-variable-value)
      (read-file-local-variable-mode, modify-file-local-variable)
      (modify-file-local-variable-prop-line)
      (modify-dir-local-variable): New functions.
      (add-file-local-variable, delete-file-local-variable)
      (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
      (add-dir-local-variable, delete-dir-local-variable)
      (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
      (copy-dir-locals-to-file-locals-prop-line): New commands.
      b4d84ecf
    • Juri Linkov's avatar
      82941b5e
    • Juri Linkov's avatar
    • Chong Yidong's avatar
      * abbrev.el (insert-abbrev-table-description): Prettify output. · 42da39c1
      Chong Yidong authored
      Suggested by Karl Chen.
      42da39c1
    • Dmitry Dzhus's avatar
      * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil. · ad07fb8d
      Dmitry Dzhus authored
      (gdb-overlay-arrow-position): Renamed to
      `gdb-disassembly-position'.
      (gdb-overlay-arrow-position, gdb-thread-position)
      (gdb-disassembly-position): Declare variables.
      (gdb-wait-for-pending): Function now.
      (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
      (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
      compilation goes smoothly.
      (gdb, gdb-non-stop, gdb-buffers): New customization groups.
      (gdb-non-stop-setting): New customization setting which replaces
      `gdb-non-stop' so changing it doesn't break active GDB session.
      (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
      (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
      (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
      (gdb-show-threads-by-default): New customization options.
      (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
      routines.
      (gdb-get-buffer-create): Send buffers update signal when they are
      created.
      (gdb-invalidate-locals, gdb-invalidate-registers)
      (gdb-invalidate-breakpoints)
      (gdb-invalidate-threads, gdb-invalidate-disassembly)
      (gdb-invalidate-memory): Accept update signal.
      (gdb-current-context-command): Use --frame option.
      (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
      Implement `gdb-frame-number' selection logic.
      (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
      whether to show GUD toolbar buttons.
      (gdb-thread-exited): Unselect current thread when it exits.
      (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
      (gdb-mark-line): Routine which sets overlay arrow or inverses
      video on fringeless displays.
      (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
      to build aligned columns of data in GDB buffers and set text
      properties line-by-line.
      (gdb-invalidate-breakpoints)
      (gdb-breakpoints-list-handler-custom)
      (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
      (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
      (gdb-registers-handler-custom): Align data columns.
      (gdb-locals-handler-custom): Now prints data like in variable
      declarations.
      (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
      Removed confusing buttons.
      (gdb-invalidate-threads): Append --frame.
      (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
      between breakpoints/threads buffers.
      (gdb-set-window-buffer): Now can ignore dedicated windows.
      (gdb-propertize-header): Use `gdb-set-window-buffer'.
      (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
      (def-gdb-thread-buffer-gud-command): Replaces
      `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
      for fine thread control.
      (gdb-preempt-existing-or-display-buffer): New function used to
      display bound buffers without breaking window layout.
      (gdb-frame-location): Replaces `gdb-insert-frame-location'.
      (gdb-select-frame): New version of `gdb-frames-select' which now
      sets `gdb-frame-number' so commands may use --frame option instead
      of inner debugger state.
      (gdb-frame-handler): Do not set `gdb-frame-number'.
      (gdb-threads-mode-map): Select threads with mouse.
      
      (I forgot to include sources in previous commit)
      ad07fb8d
    • Dmitry Dzhus's avatar
      * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil. · 78b9fb28
      Dmitry Dzhus authored
      (gdb-overlay-arrow-position): Renamed to
      `gdb-disassembly-position'.
      (gdb-overlay-arrow-position, gdb-thread-position)
      (gdb-disassembly-position): Declare variables.
      (gdb-wait-for-pending): Function now.
      (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
      (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
      compilation goes smoothly.
      (gdb, gdb-non-stop, gdb-buffers): New customization groups.
      (gdb-non-stop-setting): New customization setting which replaces
      `gdb-non-stop' so changing it doesn't break active GDB session.
      (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
      (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
      (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
      (gdb-show-threads-by-default): New customization options.
      (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
      routines.
      (gdb-get-buffer-create): Send buffers update signal when they are
      created.
      (gdb-invalidate-locals, gdb-invalidate-registers)
      (gdb-invalidate-breakpoints)
      (gdb-invalidate-threads, gdb-invalidate-disassembly)
      (gdb-invalidate-memory): Accept update signal.
      (gdb-current-context-command): Use --frame option.
      (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
      Implement `gdb-frame-number' selection logic.
      (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
      whether to show GUD toolbar buttons.
      (gdb-thread-exited): Unselect current thread when it exits.
      (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
      (gdb-mark-line): Routine which sets overlay arrow or inverses
      video on fringeless displays.
      (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
      to build aligned columns of data in GDB buffers and set text
      properties line-by-line.
      (gdb-invalidate-breakpoints)
      (gdb-breakpoints-list-handler-custom)
      (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
      (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
      (gdb-registers-handler-custom): Align data columns.
      (gdb-locals-handler-custom): Now prints data like in variable
      declarations.
      (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
      Removed confusing buttons.
      (gdb-invalidate-threads): Append --frame.
      (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
      between breakpoints/threads buffers.
      (gdb-set-window-buffer): Now can ignore dedicated windows.
      (gdb-propertize-header): Use `gdb-set-window-buffer'.
      (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
      (def-gdb-thread-buffer-gud-command): Replaces
      `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
      for fine thread control.
      (gdb-preempt-existing-or-display-buffer): New function used to
      display bound buffers without breaking window layout.
      (gdb-frame-location): Replaces `gdb-insert-frame-location'.
      (gdb-select-frame): New version of `gdb-frames-select' which now
      sets `gdb-frame-number' so commands may use --frame option instead
      of inner debugger state.
      (gdb-frame-handler): Do not set `gdb-frame-number'.
      (gdb-threads-mode-map): Select threads with mouse.
      78b9fb28
    • Dmitry Dzhus's avatar
      * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create): · 566f3909
      Dmitry Dzhus authored
      Argument `key' renamed to `buffer-type'.
      (gdb-current-context-buffer-name): Do not add thread info to
      buffer name when no thread is selected.
      (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
      command (bug 3794).
      (gdb-thread-selected): Handle `=thread-selected' notification.
      (gdb-wait-for-pending): New macro to deal with congestion problems.
      (gdb-breakpoints-list-handler-custom): Don't fail on pending
      breakpoints.
      (gdb-invalidate-disassembly): Use 'fullname instead of 'file. This
      fixes problem similar to one described in bug 3947.
      (gud-menu-map): More menu items.
      (gdb-init-1): Reset `gdb-thread-number' to nil.
      566f3909
    • Dmitry Dzhus's avatar
      Mention important fix in ChangeLog. · 0d25e058
      Dmitry Dzhus authored
      0d25e058
    • Dmitry Dzhus's avatar
      * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB · 4a31122c
      Dmitry Dzhus authored
      non-stop settings.
      
      * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
      (gdb-current-context-command): Do not append --thread if
      `gdb-thread-number' is nil.
      (gdb-running-threads-count, gdb-stopped-threads-count): New
      variables.
      (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
      (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
      customization options.
      (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
      GUD commands.
      (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'
      (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
      (gdb-setq-thread-number, gdb-update-gud-running): New functions to
      set `gdb-thread-number' and update `gud-running' properly.
      (gdb-running): Update threads list when new threads appear.
      (gdb-stopped): Support non-stop operation and new thread switching
      logic.
      (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
      (gdb-json-partial-output): New set of JSON routines.
      (def-gdb-auto-update-trigger): New `signal-list' optional
      argument.
      (gdb-thread-list-handler-custom): Update `gud-running',
      `gdb-stopped-threads-count' and `gdb-running-threads-count'.
      (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
      (gdb-continue-thread, gdb-step-thread): New commands for fine
      thread execution control.
      (gud-menu-map): New menu items to switch non-stop options.
      (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
      4a31122c
    • Dmitry Dzhus's avatar
      (gdb-rules-name-maker, gdb-rules-buffer-mode) · 4a6bcbc6
      Dmitry Dzhus authored
      (gdb-rules-update-trigger): Accessors for gdb-buffer-rules.
      (def-gdb-auto-update-handler): New nopreserve optional argument.
      (gdb-stack-list-frames-custom): Print stack from top to bottom.
      4a6bcbc6
    • Dmitry Dzhus's avatar
      (gdb-pc-address): Removed unused variable. · 9e919cee
      Dmitry Dzhus authored
      (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
      (gdb-parent-mode): New mode to derive other GDB modes from.
      (gdb-display-disassembly-for-thread)
      (gdb-frame-disassembly-for-thread): New commands for threads
      buffer.
      9e919cee
    • Dmitry Dzhus's avatar
      (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to · e7086683
      Dmitry Dzhus authored
      handle pending triggers.
      (gdb-threads-mode-map, def-gdb-thread-buffer-command)
      (def-gdb-thread-buffer-simple-command)
      (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
      (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
      (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread): New
      commands which show buffers bound to thread.
      (gdb-stack-list-locals-regexp): Removed unused regexp.
      e7086683
    • Dmitry Dzhus's avatar
      (gdb-get-buffer, gdb-get-buffer-create, gdb-init-1) · a5c9f540
      Dmitry Dzhus authored
      (gdb-bind-function-to-buffer, gdb-add-subscriber)
      (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
      (gdb-update): We now store all GDB buffers in a list so that they
      can be updated by traversing a list instead of calling invalidate
      triggers explicitly
      (def-gdb-trigger-and-handler): New macro to define trigger-handler
      pair for GDB buffer.
      (gdb-stack-buffer-name): Add thread information.
      a5c9f540
    • Dmitry Dzhus's avatar
      * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name) · 20f12ed8
      Dmitry Dzhus authored
      (gdb-locals-buffer-name, gdb-registers-buffer-name)
      (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
      to (gud-comint-buffer) in *-buffer-name functions
      because (gdb-get-target-string) already does that.
      (gdb-locals-handler-custom, gdb-registers-handler-custom)
      (gdb-changed-registers-handler): Rewritten without regexps.
      20f12ed8
    • Dmitry Dzhus's avatar
      (gdb-thread-number): New variable. · 98bf8494
      Dmitry Dzhus authored
      (gdb-current-context-command): New macro which adds --thread
      option to command.
      (gdb-threads-mode-map): Select thread with SPC
      (gdb-thread-list-handler-custom): Mark current thread with overlay
      arrow. Synchronize GDB thread and Emacs thread.
      (gdb-select-thread): New command which selects current thread.
      (gdb-invalidate-frames, gdb-invalidate-locals)
      (gdb-invalidate-registers): Use --thread option.
      98bf8494
    • Michael Albinus's avatar
      * net/tramp.el (top): Make check for tramp-gvfs loading more · 2ac33804
      Michael Albinus authored
      robust.
      (tramp-handle-insert-file-contents): `unwind-protect' must be
      inside `with-parsed-tramp-file-name'.
      2ac33804
    • Michael Albinus's avatar
  3. 03 Aug, 2009 4 commits
  4. 02 Aug, 2009 14 commits
  5. 01 Aug, 2009 3 commits