Skip to content
Snippets Groups Projects
Commit 35575081 authored by Patrick Barroca's avatar Patrick Barroca :grin:
Browse files

Merge branch 'dev#41303_disable_libraries_bookmarks' into 'WIP'

Dev#41303 disable libraries bookmarks

See merge request !1978
parents 4e8f69a3 3e50a1ca
1 merge request!1978Dev#41303 disable libraries bookmarks
Pipeline #169 passed with stage
in 8 minutes and 40 seconds
Showing
with 1504 additions and 1199 deletions
- #41303 : ajout d'une option pour activer / désactiver globalement la gestion des favoris bibliothèques
\ No newline at end of file
......@@ -84,9 +84,9 @@ class Class_AdminVarLoader extends Storm_Model_Loader {
? self::filterByUserRole(array_map(
function($clef) {
return ($var = Class_AdminVar::find($clef)) ?
$var : Class_AdminVar::set($clef, '');
$var : Class_AdminVar::set($clef, Class_AdminVar::getValueOrDefault($clef));
},
array_keys($this->knownVars()[$controller])))
array_keys($this->knownVars()[$controller])))
: [];
}
......@@ -211,7 +211,8 @@ class Class_AdminVarLoader extends Storm_Model_Loader {
],
'album' => $this->_getAlbumVars(),
'users' => ['NDAYS_EXPIRY_NOTICE' => Class_AdminVar_Meta::newDefault($this->_('Prévenir l\'utilisateur xx jour(s) avant l\'expiration de son abonnement (par défaut 30 jours).'), ['value' => 30]),
'DISABLE_SUGGESTIONS' => Class_AdminVar_Meta::newOnOff($this->_('Désactivation des suggestions d\'achats'))->bePrivate()],
'DISABLE_SUGGESTIONS' => Class_AdminVar_Meta::newOnOff($this->_('Désactivation des suggestions d\'achats'))->bePrivate(),
'ENABLE_BOOKMARKABLE_LIBRARIES' => Class_AdminVar_Meta::newOnOff($this->_('Les utilisateurs peuvent sélectionner des bibliothèques favorites pour leurs recherche'), ['value' => 1])],
'redmine' => ['REDMINE_SERVER_URL' => Class_Adminvar_Meta::newDefault($this->_('Url du serveur redmine'))->bePrivate(),
'REDMINE_PROXY_URL' => Class_Adminvar_Meta::newDefault($this->_('Url du proxy Redmine'))->bePrivate(),
'REDMINE_PROJECT_ID' => Class_Adminvar_Meta::newDefault($this->_('Identifiant du project Redmine'))->bePrivate()],
......@@ -455,7 +456,7 @@ class Class_AdminVarLoader extends Storm_Model_Loader {
* @return bool
*/
public function isModuleEnabled($name) {
if (!$value = Class_AdminVar::get($name)) {
if (!$value = Class_AdminVar::getValueOrDefault($name)) {
return false;
}
......
......@@ -40,9 +40,12 @@ class Class_User_Settings {
public static function isBookmarkLibraryReady() {
return Class_Profil::getCurrentProfil()->isItemAnnexDisplay()
? 1 < Class_CodifAnnexe::countBy([])
: 1 < Class_Bib::countBy([]);
return
Class_AdminVar::isModuleEnabled('ENABLE_BOOKMARKABLE_LIBRARIES')
&&
(Class_Profil::getCurrentProfil()->isItemAnnexDisplay()
? 1 < Class_CodifAnnexe::countBy([])
: 1 < Class_Bib::countBy([]));
}
......
......@@ -28,7 +28,7 @@ class ZendAfi_View_Helper_Bookmarks extends ZendAfi_View_Helper_BaseHelper {
$bookmarks = $search_result->fetchFacetsAndTags($preferences)['bookmarks'];
$criteres = $search_result->getCriteresRecherche();
if(!$preferences['bookmarks_enabled'])
if (!$preferences['bookmarks_enabled'] || !Class_User_Settings::isBookmarkReady())
return '';
$this->_bookmarks = $bookmarks ? $bookmarks : [];
......@@ -82,10 +82,10 @@ class ZendAfi_View_Helper_Bookmarks extends ZendAfi_View_Helper_BaseHelper {
$this->view->url(['module' => 'opac',
'controller' => 'abonne' ,
'action' => 'settings'], null, true),
$this->_('Modifier mes favoris (bibliothèques, domaines, ...)'),
$this->_('Modifier mes favoris'),
['class' => 'bookmarks_edit',
'data-popup' => 'true',
'title' => $this->_('Modifier mes favoris (bibliothèques, domaines, ...) dans une boîte de dialogue')]);
'title' => $this->_('Modifier mes favoris dans une boîte de dialogue')]);
......
2010-03-29 reedom <fujinaka.tohru@gmail.com>
* [ADD] New command `geben-find-file', bound to 'C-c f' in geben-mode.
* [ADD] New custom variable `geben-get-tramp-spec-for'.
* [CHG] If there only single session alive, `geben-end' ends the session
without port inquiry.
2009-11-19 reedom <fujinaka.tohru@gmail.com>
* [ADD] An additional parameter `session-port' to `geben-proxy', to tell the
proxy to use that port for for incoming debugging session.
* [ADD] The 5th element to `geben-dbgp-default-proxy', for the same purpose
of above.
2009-05-09 reedom <fujinaka.tohru@gmail.com>
* [ADD] New command `geben-run-to-cursor', bound to 'c' in geben-mode.
* [FIX] With Komodo's Perl Debugging Extension, GEBEN possibly caused
an internal error when user attempted to set a lineno breakpoint
at a blank line.
2009-05-08 reedom <fujinaka.tohru@gmail.com>
* [ADD] New variable `geben-version'.
* [ADD] New command `geben-clear-breakpoints', bound to 'U' in geben-mode.
* [ADD] New custom variable `geben-query-on-clear-breakpoints'.
* [ADD] New custom variable `geben-pause-at-entry-line'.
* [ADD] New command `geben-toggle-pause-at-entry-line-flag'.
* [CHG] Key bindings of `geben-set-redirect' is assigned to `>'.
* [CHG] Key bindings of `geben-show-backtrace is also assigned to `t'.
* [FIX] Even if you unset a breakpoint successfully in the current
session, it was not removed from the persist storage.
2009-04-30 reedom <fujinaka.tohru@gmail.com>
* [ADD] Add a new command `geben-eval-current-word'.
2009-02-25 reedom <fujinaka.tohru@gmail.com>
* [FIX] With HTTP server running on Windows GEBEN failed to
create script file copies.
* [FIX] Now `eval' command works against PHP(Xdebug) same as
before.
2009-02-07 reedom <fujinaka.tohru@gmail.com>
* [FIX] Suppressed unwanted focus changing: when the context
variable buffer was visible in any window, the focus was
moved from the debugging buffer to the context variable
buffer after proceeding any continuous command.
2009-01-22 reedom <fujinaka.tohru@gmail.com>
* [FIX] Bug in Makefile: cannot byte-compile geben.el if the
working directory is not one of the Emacs' default
directories.
2009-01-10 reedom <fujinaka.tohru@gmail.com>
* [FIX] Implemented `geben-quit-window'
* [FIX] Type mismatch error was occurred in breakpoint list mode
when any breakpoint deletion was executed.
2009-01-08 reedom <fujinaka.tohru@gmail.com>
* [CHG] Redesigned.
* [CHG] Make not to require an external DBGp client program.
2008-11-06 reedom <fujinaka.tohru@gmail.com>
* [FIX] When setting breakpoint which needed fileuri against
remote script file interactively, GEBEN asked with
invalid fileuri as a default.
* [FIX] Once debugger engine passed invalid fileuri, which
have http:// scheme instead of file://, GEBEN made
Emacs raise exceptions at exitting Emacs.
2008-11-04 reedom <fujinaka.tohru@gmail.com>
* [ADD] Added Makefile.
* [ADD] New commands `geben-mode-help' and similar to display
description and key bindings of GEBEN's each mode.
* [CHG] Face definition: `geben-backtrace-fileuri'
* [CHG] Face definition: `geben-breakpoint-face'
2008-11-01 reedom <fujinaka.tohru@gmail.com>
* [CHG] Dropped Emacs 21.4 due to use tree-widget.el for the
context buffer.
* [ADD] New command `geben-display-context and related commands.
2008-10-29 reedom <fujinaka.tohru@gmail.com>
* [CHG] Renamed `ogeben-debug-target-remotep'
to `geben-always-use-mirror-file-p'.
* [CHG] Renamed `geben-close-remote-file-after-finish'
to `geben-close-mirror-file-after-finish'.
2008-10-27 reedom <fujinaka.tohru@gmail.com>
* [FIX] Location path for remotely fetched source files.
2008-10-25 reedom <fujinaka.tohru@gmail.com>
* [CHG] Rearranged function/variable appearance order
* [FIX] hit-value of breakpoints were ignored.
* [FIX] In the breakpoint list buffer it was not able for
breakpoints except line type to went to setting
line.
* [FIX] Breakpoint marker handling was not enough for
breakpoints except line type.
2008-10-24 reedom <fujinaka.tohru@gmail.com>
* [FIX] Improved session finishing handling.
* [FIX] When reopen a debuggee script file which has
any line breakpoints, GEBEN had failed to restore
overlays.
* [CHG] Wrote some breakpoints related code to overcome
the difference between DBGp server implementation.
2008-10-23 reedom <fujinaka.tohru@gmail.com>
* [ADD] Support for Komodo Debugger Extentions are added.
2008-10-22 reedom <reedom_@users.sourceforge.net>
* [ADD] Supports a kind of breakpoint features found in
DBGp specification.
* [ADD] New command `geben-breakpoint-menu' and related
commands to set a kind of breakpoint.
Assigned to `B' key in geben-mode.
* [ADD] New command `geben-breakpoint-list' and related
commands to display defined breakpoint list.
Assigned to `C-c b' key in geben-mode.
* [ADD] New face `geben-breakpoint-fileuri'.
* [ADD] New face `geben-breakpoint-lineno'.
* [ADD] New face `geben-breakpoint-function'.
* [ADD] Custom variable `geben-dbgp-feature-list'.
* [DEL] Custom variable `geben-dbgp-feature-alist' is
now obsolete.
2008-10-15 reedom <reedom_@users.sourceforge.net>
* [FIX] Runtime errors on Emacs 21.4.
2008-10-13 reedom <reedom_@users.sourceforge.net>
* [CHG] Improved redirection buffer scrolling behavior.
2008-10-13 reedom <reedom_@users.sourceforge.net>
* [ADD] New command 'geben-where'.
Assigned to `w' key in geben-mode.
* [ADD] New face `geben-backtrace-fileuri'.
* [ADD] New face `geben-backtrace-lineno'.
* [CHG] Renamed DBGp client's buffer name to `*GEBEN process*.
* [FIX] Macro version of `geben-dbgp-redirect-buffer-visiblep'
causes runtime error on Emacs 22.1.1.
2008-10-11 reedom <reedom_@users.sourceforge.net>
* [ADD] STDOUT and STDERR redirection features.
* [ADD] New command `geben-set-redirect'.
Assigned to `t' key in geben-mode.
* [ADD] Custom variable `geben-dbgp-redirect-stdout'.
* [ADD] Custom variable `geben-dbgp-redirect-stderr'.
* [ADD] Custom variable `geben-dbgp-redirect-combine'.
* [ADD] Custom variable `geben-dbgp-redirect-coding-system'.
* [ADD] Custom variable `geben-dbgp-redirect-buffer-init-hook'.
2008-10-10 reedom <reedom_@users.sourceforge.net>
* [ADD] Backtrace display feature.
* [ADD] New command `geben-backtrace'.
Assigned to `d' key in geben-mode.
* [ADD] Custom variable `geben-display-window-function'.
* [FIX] `defface' caused an error on Emacs 21.4 because of using
the newly added attribute `min-color'.
2008-10-09 reedom <reedom_@users.sourceforge.net>
* [ADD] Variable `geben-dbgp-current-stack'.
2008-10-08 reedom <reedom_@users.sourceforge.net>
* [FIX] Fixed increasing breakpoints as often as entering
debugging session.
* [UPD] Now GEBEN sets/unsets breakpoint in off session state.
* [FIX] Make GEBEN do not send commands while off session state.
* [ADD] New argument QUIT to `geben' command. It can be specified
by the prefix arg, as typing like `M-x C-u geben'.
It asks executed GEBEN to quit.
2008-10-08 reedom <reedom_@users.sourceforge.net>
* [FIX] Macro version of `geben-what-line' didn't run on Meadow 3.00.
* [FIX] Byte compiled geben.el could raise undefined symbol error.
2008-10-07 reedom <reedom_@users.sourceforge.net>
* [ADD] Custom face `geben-breakpoint-face'.
* [ADD] Suppress inquiry of DBGp client termination at exiting emacs.
2008-10-06 reedom <reedom_@users.sourceforge.net>
* [UPD] Now GEBEN manages buffer modification around where line-no
breakpoint set. If there was line insertion before
breakpoint, GEBEN moves the following line-no breakpoints
downwards. Highlight effect(overlay) will be managed as it
should be.
* [ADD] Custom variable `geben-temporary-file-directory'.
* [ADD] Custom variable `geben-close-remote-file-after-finish'.
* [ADD] Custom variable `geben-show-breakpoints-debugging-only'.
2008-10-05 reedom <reedom_@users.sourceforge.net>
* [FIX] Make GEBEN to call `step_into' at the end of the
initial state to place debugger's cursor at the
entry point of the debuggee script.
* [FIX] Make GEBEN to call `stop' at the stopping state
to finish up a debugging session as user expect.
* [ADD] Custom variable `geben-dbgp-feature-alist'.
* [UPD] Now GEBEN send `feature_set' commands with the variable
`geben-dbgp-feature-alist' in the initial state.
* [ADD] Custom variable `geben-dbgp-command-line'.
2008-10-04 reedom <reedom_@users.sourceforge.net>
* geben.el: [CHG] Removed dependency on CEDET. With this changing
many functions were removed/renamed/added
* geben.el: [CHG] Moved all of GEBEN implementation to geben.el.
2007-07-04 thoney_f(reedom) <reedom_@users.sourceforge.net>
* geben-dbgp.el: [FIX] geben-response-eval didn't decode `PHP object'.
* geben-dbgp.el: [FIX] An overlay-arrow-position leaved after finishing
a debug session.
2006-12-26 thoney_f(reedom) <reedom_@users.sourceforge.net>
* Released version 0.01, a sample implementation.
This diff is collapsed.
2016-08-14 Matthew Carter <m@ahungry.com>
* [ADD] New tag release 1.1.0
* [FIX] Remove reference to obsolete mailing list
* [FIX] Use user-emacs-directory over assumed ~/.emacs.d for
default when #'expand-file-name call fails
* Merged contributions from Syohei YOSHIDA <syohex@gmail.com>
- [FIX] cl-lib.el over cl.el cleanup
- [FIX] Load cl.el at compile time for using lexical let
* Merged contributions from ksjogo <jogo@kronberger-spiele.de>
- [ADD] New defcustom geben-show-redirect-buffers
- [ADD] User filtering for fileuris via defcustom
geben-dbgp-session-user-filter-uri-regexp
- [FIX] Report user filter reason when using previous addition
- [ADD] Geben full frame mode via geben-full-frame-mode setting
- [ADD] Rudimentary markdown for README file
* Merged contributions from tijsmallaerts <tijs.mallaerts@gmail.com>
- [ADD] Option to control scroll margin via defcustom geben-scroll-margin
- [ADD] Predefined breakpoints can now be set outside of the
interactive session using geben-session-enter-hook, and setting
the defcustom geben-predefined-breakpoints to t
2016-06-14 Matthew Carter <m@ahungry.com>
* [CHG] Change defstruct call to cl-defstruct.
2016-05-08 Matthew Carter <m@ahungry.com>
* [CHG] Change flet call to cl-flet.
2016-05-08 Matthew Carter <m@ahungry.com>
* [CHG] Change defmacro* call to cl-defmacro.
2016-04-30 Matthew Carter <m@ahungry.com>
* [CHG] Took over maintenance of project.
Modernize codebase/remove deprecated Emacs calls.
Relicense from GPLv2 to GPLv3.
2016-02-12 Ignacio Torres Masdeu <i@itorres.net>
* [FIX] Mangle defadvice that interfered with the use of
open-network-stream globaly.
2010-03-29 reedom <fujinaka.tohru@gmail.com>
* [ADD] New command `geben-find-file', bound to 'C-c f' in geben-mode.
* [ADD] New custom variable `geben-get-tramp-spec-for'.
* [CHG] If there only single session alive, `geben-end' ends the session
without port inquiry.
2009-11-19 reedom <fujinaka.tohru@gmail.com>
* [ADD] An additional parameter `session-port' to `geben-proxy', to tell the
proxy to use that port for for incoming debugging session.
* [ADD] The 5th element to `geben-dbgp-default-proxy', for the same purpose
of above.
2009-05-09 reedom <fujinaka.tohru@gmail.com>
* [ADD] New command `geben-run-to-cursor', bound to 'c' in geben-mode.
* [FIX] With Komodo's Perl Debugging Extension, GEBEN possibly caused
an internal error when user attempted to set a lineno breakpoint
at a blank line.
2009-05-08 reedom <fujinaka.tohru@gmail.com>
* [ADD] New variable `geben-version'.
* [ADD] New command `geben-clear-breakpoints', bound to 'U' in geben-mode.
* [ADD] New custom variable `geben-query-on-clear-breakpoints'.
* [ADD] New custom variable `geben-pause-at-entry-line'.
* [ADD] New command `geben-toggle-pause-at-entry-line-flag'.
* [CHG] Key bindings of `geben-set-redirect' is assigned to `>'.
* [CHG] Key bindings of `geben-show-backtrace is also assigned to `t'.
* [FIX] Even if you unset a breakpoint successfully in the current
session, it was not removed from the persist storage.
2009-04-30 reedom <fujinaka.tohru@gmail.com>
* [ADD] Add a new command `geben-eval-current-word'.
2009-02-25 reedom <fujinaka.tohru@gmail.com>
* [FIX] With HTTP server running on Windows GEBEN failed to
create script file copies.
* [FIX] Now `eval' command works against PHP(Xdebug) same as
before.
2009-02-07 reedom <fujinaka.tohru@gmail.com>
* [FIX] Suppressed unwanted focus changing: when the context
variable buffer was visible in any window, the focus was
moved from the debugging buffer to the context variable
buffer after proceeding any continuous command.
2009-01-22 reedom <fujinaka.tohru@gmail.com>
* [FIX] Bug in Makefile: cannot byte-compile geben.el if the
working directory is not one of the Emacs' default
directories.
2009-01-10 reedom <fujinaka.tohru@gmail.com>
* [FIX] Implemented `geben-quit-window'
* [FIX] Type mismatch error was occurred in breakpoint list mode
when any breakpoint deletion was executed.
2009-01-08 reedom <fujinaka.tohru@gmail.com>
* [CHG] Redesigned.
* [CHG] Make not to require an external DBGp client program.
2008-11-06 reedom <fujinaka.tohru@gmail.com>
* [FIX] When setting breakpoint which needed fileuri against
remote script file interactively, GEBEN asked with
invalid fileuri as a default.
* [FIX] Once debugger engine passed invalid fileuri, which
have http:// scheme instead of file://, GEBEN made
Emacs raise exceptions at exitting Emacs.
2008-11-04 reedom <fujinaka.tohru@gmail.com>
* [ADD] Added Makefile.
* [ADD] New commands `geben-mode-help' and similar to display
description and key bindings of GEBEN's each mode.
* [CHG] Face definition: `geben-backtrace-fileuri'
* [CHG] Face definition: `geben-breakpoint-face'
2008-11-01 reedom <fujinaka.tohru@gmail.com>
* [CHG] Dropped Emacs 21.4 due to use tree-widget.el for the
context buffer.
* [ADD] New command `geben-display-context and related commands.
2008-10-29 reedom <fujinaka.tohru@gmail.com>
* [CHG] Renamed `ogeben-debug-target-remotep'
to `geben-always-use-mirror-file-p'.
* [CHG] Renamed `geben-close-remote-file-after-finish'
to `geben-close-mirror-file-after-finish'.
2008-10-27 reedom <fujinaka.tohru@gmail.com>
* [FIX] Location path for remotely fetched source files.
2008-10-25 reedom <fujinaka.tohru@gmail.com>
* [CHG] Rearranged function/variable appearance order
* [FIX] hit-value of breakpoints were ignored.
* [FIX] In the breakpoint list buffer it was not able for
breakpoints except line type to went to setting
line.
* [FIX] Breakpoint marker handling was not enough for
breakpoints except line type.
2008-10-24 reedom <fujinaka.tohru@gmail.com>
* [FIX] Improved session finishing handling.
* [FIX] When reopen a debuggee script file which has
any line breakpoints, GEBEN had failed to restore
overlays.
* [CHG] Wrote some breakpoints related code to overcome
the difference between DBGp server implementation.
2008-10-23 reedom <fujinaka.tohru@gmail.com>
* [ADD] Support for Komodo Debugger Extentions are added.
2008-10-22 reedom <reedom_@users.sourceforge.net>
* [ADD] Supports a kind of breakpoint features found in
DBGp specification.
* [ADD] New command `geben-breakpoint-menu' and related
commands to set a kind of breakpoint.
Assigned to `B' key in geben-mode.
* [ADD] New command `geben-breakpoint-list' and related
commands to display defined breakpoint list.
Assigned to `C-c b' key in geben-mode.
* [ADD] New face `geben-breakpoint-fileuri'.
* [ADD] New face `geben-breakpoint-lineno'.
* [ADD] New face `geben-breakpoint-function'.
* [ADD] Custom variable `geben-dbgp-feature-list'.
* [DEL] Custom variable `geben-dbgp-feature-alist' is
now obsolete.
2008-10-15 reedom <reedom_@users.sourceforge.net>
* [FIX] Runtime errors on Emacs 21.4.
2008-10-13 reedom <reedom_@users.sourceforge.net>
* [CHG] Improved redirection buffer scrolling behavior.
2008-10-13 reedom <reedom_@users.sourceforge.net>
* [ADD] New command 'geben-where'.
Assigned to `w' key in geben-mode.
* [ADD] New face `geben-backtrace-fileuri'.
* [ADD] New face `geben-backtrace-lineno'.
* [CHG] Renamed DBGp client's buffer name to `*GEBEN process*.
* [FIX] Macro version of `geben-dbgp-redirect-buffer-visiblep'
causes runtime error on Emacs 22.1.1.
2008-10-11 reedom <reedom_@users.sourceforge.net>
* [ADD] STDOUT and STDERR redirection features.
* [ADD] New command `geben-set-redirect'.
Assigned to `t' key in geben-mode.
* [ADD] Custom variable `geben-dbgp-redirect-stdout'.
* [ADD] Custom variable `geben-dbgp-redirect-stderr'.
* [ADD] Custom variable `geben-dbgp-redirect-combine'.
* [ADD] Custom variable `geben-dbgp-redirect-coding-system'.
* [ADD] Custom variable `geben-dbgp-redirect-buffer-init-hook'.
2008-10-10 reedom <reedom_@users.sourceforge.net>
* [ADD] Backtrace display feature.
* [ADD] New command `geben-backtrace'.
Assigned to `d' key in geben-mode.
* [ADD] Custom variable `geben-display-window-function'.
* [FIX] `defface' caused an error on Emacs 21.4 because of using
the newly added attribute `min-color'.
2008-10-09 reedom <reedom_@users.sourceforge.net>
* [ADD] Variable `geben-dbgp-current-stack'.
2008-10-08 reedom <reedom_@users.sourceforge.net>
* [FIX] Fixed increasing breakpoints as often as entering
debugging session.
* [UPD] Now GEBEN sets/unsets breakpoint in off session state.
* [FIX] Make GEBEN do not send commands while off session state.
* [ADD] New argument QUIT to `geben' command. It can be specified
by the prefix arg, as typing like `M-x C-u geben'.
It asks executed GEBEN to quit.
2008-10-08 reedom <reedom_@users.sourceforge.net>
* [FIX] Macro version of `geben-what-line' didn't run on Meadow 3.00.
* [FIX] Byte compiled geben.el could raise undefined symbol error.
2008-10-07 reedom <reedom_@users.sourceforge.net>
* [ADD] Custom face `geben-breakpoint-face'.
* [ADD] Suppress inquiry of DBGp client termination at exiting emacs.
2008-10-06 reedom <reedom_@users.sourceforge.net>
* [UPD] Now GEBEN manages buffer modification around where line-no
breakpoint set. If there was line insertion before
breakpoint, GEBEN moves the following line-no breakpoints
downwards. Highlight effect(overlay) will be managed as it
should be.
* [ADD] Custom variable `geben-temporary-file-directory'.
* [ADD] Custom variable `geben-close-remote-file-after-finish'.
* [ADD] Custom variable `geben-show-breakpoints-debugging-only'.
2008-10-05 reedom <reedom_@users.sourceforge.net>
* [FIX] Make GEBEN to call `step_into' at the end of the
initial state to place debugger's cursor at the
entry point of the debuggee script.
* [FIX] Make GEBEN to call `stop' at the stopping state
to finish up a debugging session as user expect.
* [ADD] Custom variable `geben-dbgp-feature-alist'.
* [UPD] Now GEBEN send `feature_set' commands with the variable
`geben-dbgp-feature-alist' in the initial state.
* [ADD] Custom variable `geben-dbgp-command-line'.
2008-10-04 reedom <reedom_@users.sourceforge.net>
* geben.el: [CHG] Removed dependency on CEDET. With this changing
many functions were removed/renamed/added
* geben.el: [CHG] Moved all of GEBEN implementation to geben.el.
2007-07-04 thoney_f(reedom) <reedom_@users.sourceforge.net>
* geben-dbgp.el: [FIX] geben-response-eval didn't decode `PHP object'.
* geben-dbgp.el: [FIX] An overlay-arrow-position leaved after finishing
a debug session.
2006-12-26 thoney_f(reedom) <reedom_@users.sourceforge.net>
* Released version 0.01, a sample implementation.
This diff is collapsed.
Version 1.1.0 (2016-08-14)
* See CHANGELOG for this date (lots of contributions from people)
Version 1.0.3 (2016-06-14)
* Fix cl.el call
- Changed defstruct to cl-defstruct.
Version 1.0.2 (2016-05-08)
* Fix cl.el call
- Changed flet to cl-flet.
Version 1.0.1 (2016-05-08)
* Fix cl.el call
- Changed defmacro* to cl-defmacro.
Version 1.0.0 (2016-04-30)
* Modernized codebase:
- Removed deprecated calls to ``cl'' library.
Version 0.26 (20010-03-29)
* new command:
......@@ -57,7 +81,7 @@ Version 0.21 (2009-01-10)
Version 0.20 (2009-01-08)
Redesigned.
Redesigned.
From this release GEBEN does not require an external DBGp client
program.
......@@ -79,7 +103,7 @@ Version 0.19 (2008-11-06)
Version 0.18 (2008-11-04)
From this release GEBEN has shifted from beta stage.
Incompatible changes:
* GEBEN dropped Emacs 21.4 support.
Now GEBEN requires Emacs 22.1 and later.
......@@ -110,7 +134,7 @@ Version 0.16 (2008-10-25)
* fixed: improved session finishing handling.
* fixed: when reopen a debuggee script file which has any line
breakpoints, GEBEN had failed to restore overlays.
Version 0.15 (2008-10-22)
Visible changes:
......@@ -168,7 +192,7 @@ Version 0.11 (2008-10-08)
Version 0.10 (2008-10-07)
Incompatible changes:
* Removed dependencies on `CEDET' package.
* Removed dependencies on `CEDET' package.
Visible changes:
* fixed: Improved line-no breakpoint handling.
......@@ -181,7 +205,7 @@ Version 0.10 (2008-10-07)
- geben-show-breakpoints-debugging-only
* custom face added:
- geben-breakpoint-face
Version 0.01 (2006-12-26)
* Sample implementation.
GEBEN-0.26 (Beta)
GEBEN-1.1.0
-----------------
GEBEN is a software package that interfaces Emacs to DBGp protocol
......@@ -29,7 +29,7 @@ REQUIREMENTS
- etc.
[client side]
- Emacs22.1 or later
- Emacs 24 or later
BIG CHANGES
......@@ -67,26 +67,7 @@ INSTALLATION
[client side]
1. Unpack GEBEN source code package and change directory to the
unpacked directory.
<With GNU make command>
a. run `make'(or `gmake', depends on your environment).
b. If you are an administrator, Run: sudo make install
b' Or Run: SITELISP=$HOME/path/to/install make install
<Without GNU make command>
a. Byte compile 'dbgp.el'.
b. Byte compile `geben.el'.
c. Copy `dbgp.elc', `geben.elc' and entire `tree-widget' directory to
any directory where Emacs can find.(Or add the path to `load-path'
list)
<common>
2. Insert autoload hooks into your .Emacs file.
-> (autoload 'geben "geben" "PHP Debugger on Emacs" t)
3. Restart Emacs.
- M-x package-install geben [![MELPA](https://melpa.org/packages/geben-badge.svg)](https://melpa.org/#/geben)
DEBUGGING
---------
......@@ -110,25 +91,26 @@ Here is an illustration on PHP debugging.
5. Now the buffer is under the minor-mode 'geben-mode'.
You can control the debugger with several keys.
spc step into/step over
i step into
o step over
r step out
g run
c run to cursor
b set a breakpoint at a line
B set a breakpoint interactively
u unset a breakpoint at a line
U clear all breakpoints
\C-c b display breakpoint list
> set redirection mode
\C-u t change redirection mode
d display backtrace
t display backtrace
v display context variables
\C-c f visit script file
w where
q stop
- spc step into/step over
- i step into
- o step over
- r step out
- g run
- c run to cursor
- e eval php expression
- b set a breakpoint at a line (see: defcustom geben-predefined-breakpoints)
- B set a breakpoint interactively
- u unset a breakpoint at a line
- U clear all breakpoints
- \C-c b display breakpoint list
- > set redirection mode
- \C-u t change redirection mode
- d display backtrace
- t display backtrace
- v display context variables
- \C-c f visit script file
- w where
- q stop
When you hit any unbound key of `geben-mode', GEBEN will ask you to
edit the original script file. Say yes and GEBEN will attempts to
......@@ -161,29 +143,14 @@ Known Issues
- If Xdebug is not loaded not as `zend_extension', some feature do
not work as expectedly (e.g. step_into).
SUPPORT
-------
We all time need your supports - bug reports, feature requests,
code/documents/design contributions, and donations.
To submit one or more of them, please visit our web site.
http://code.google.com/p/geben-on-emacs/
We always need your support - bug reports, feature requests,
and code/documents/design contributions.
Also there are mailinglists.
For usage questions:
http://groups.google.com/group/geben-users
For package contributions:
http://groups.google.com/group/geben-dev
Your posts will make GEBEN development progress.
Thank you.
--
To submit one or more of them, please visit our web site.
reedom <fujinaka.tohru@gmail.com>
https://github.com/ahungry/geben
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment