Hi All,
Here is Eric Ludlam's announce of Semantic 1.4 beta 13 :-)
Enjoy,
David
---------- D�but du message initial -----------
De : [EMAIL PROTECTED]
A : [EMAIL PROTECTED]
Copies :
Date : Mon, 17 Dec 2001 22:14:27 -0500
Objet : [cedet-semantic] Semantic 1.4 beta 13
Howdy,
I've posted semantic 1.4 beta 13 today. The changelog is attached
below. Hopefully this will be the last beta as long as no major
problems are detected.
Of course, a full release of semantic 1.4 means I have to make full
releases of speedbar and eieio first. Oy.
Thanks to everyone who helped out.
Have fun
Eric
----------
2001-12-18 Eric M. Ludlam <[EMAIL PROTECTED]>
* tests/test.cpp: Added templates.
Added const * const example.
* semantic.el (semantic-bovinate-toplevel):
When doing a full reparse, lex the
buffer before clearing the cache. If an error occurs, the cache will
be safe.
* semantic-c.el: New c.bnf supporting templates.
(semantic-c-nonterminal-protection): If type type of a type is
unknown in a parent, specify an unknown protection.
* c.bnf (TEMPLATE): New token
(declaration): Added template
(template, template-specifier, template-specifier-type-list,
template-var, opt-template-equal, template-type,
template-definition): New rules
(typeformbase): Added tempalte specified type and class :: types.
* semantic-make.el: New make.bnf
* make.bnf: Removed parens and $ from symbol syntax types.
Added IFEQ and IFNEQ tokens
Added BACKSLASH and DOLLAR tokens
Added IFEQ and IFNEQ rule matches
Added $(VAR) types to expression.
Support backslash terminated lines for variables.
2001-12-15 ponced <ponced@choochoo>
* wisent/wisent-java-tags.bnf, wisent/wisent-java-tags.el: New file.
* wisent/wisent.el (wisent-lookahead):
New variable. Hold the lookahead lexical token
after parse error.
(wisent-parse): Use the above.
* wisent/wisent-bovine.el (wisent-lexer-lookahead): New variable.
(wisent-lexer-wrapper): Use the above to push the lookahead
token back in the lexical input stream.
(wisent-unmatched-syntax): New variable.
(wisent-collect-unmatched-syntax): Use the above.
(wisent-bovinate-nonterminals): Push unmatched lookahead tokens in
the unmatched syntax stream. Minor performance enhancement.
(wisent-bovinate-from-nonterminal-full): Use 1 as default depth for
`semantic-flex'. Reverse the result list.
(wisent-bovinate-region-until-error): Reverse the result list.
(wisent-bovinate-toplevel): [full parse] Don't clear the unmatched
cache after parsing! Reverse the result list.
* semantic-bnf.el (semantic-bnf-to-lalr-EXPANDTHING):
Fixed missing quote.
2001-12-15 Eric M. Ludlam <[EMAIL PROTECTED]>
* tests/test.make: New test for makefile things.
2001-12-12 Eric M. Ludlam <[EMAIL PROTECTED]>
* semantic.el:
Small language changes to doc strings suggested by Alex Schroeder
<[EMAIL PROTECTED]>
* semantic.texi:
Small language changes suggested by Alex Schroeder <[EMAIL PROTECTED]>
2001-12-08 Eric M. Ludlam <[EMAIL PROTECTED]>
* semantic-util-modes.el (semantic-auto-parse-bovinate): Use
`semantic-flex-unterminated-syntax-end-function' instead of
`semantic-flex-unterminated-syntax-throw-symbol' to throw lexical issues.
* semantic.el (semantic-flex-unterminated-syntax-end-function):
New variable
(semantic-flex): Use above var instead of old throw variable.
2001-12-07 ponced <ponced@choochoo>
* wisent/wisent-bovine.el (wisent-bovinate-toplevel): Check if
`semantic-before-toplevel-bovination-hook' allow to parse.
When doing a full re-parse clear the cache just before setting the new
one. This way, if an error occurs, we can capture it, and leave the
old state behind.
* senator.el (senator-mode-menu-item-format):
New option. Format of menu item
labels in the "Modes" menu when displaying through a window system.
(senator-mode-menu-item-format-tty): New option. Format of menu item
labels in the "Modes" menu when using a text-only terminal.
(senator-build-mode-menu-items): Use the above options. On window
system minor mode labels as now simple text items. Emacs displays
them as menu titles in bold face.
2001-12-07 Eric M. Ludlam <[EMAIL PROTECTED]>
* semantic-c.el (semantic-toplevel-c-bovine-table, semantic-c-keyword-table):
New c.bnf
(semantic-c-reconstitute-token): For functions, add methodconst, and
pure-virtual
* c.bnf (UNDERP, UNDERUNDERP): Fix typo in summary
(opt-stars): Add opt-starmod
(opt-starmod, STARMOD): New rule
(func-decl): Un-splic $7 in match2
(variablearg): Let varname handle stars and refs.
(arg-list): Explicit (void) match added
(fun-or-proto-end): Add pure-virtual case return.
* Project.ede: Update version
* semantic-make.el: New make.bnf
* make.bnf: Added ifdef, and ifndef tokens. (Oy)
* make.bnf: Added ifdef, and ifndef commands.
* semantic.el (semantic-before-toplevel-bovination-hook):
New hook suggested by Klaus Berndl.
(semantic-bovinate-toplevel): Do not parse anything if above hook returns nil.
When a full reparse is needed, do not clear the cache till after the
parse has happened, and everything was successful.
2001-12-04 Eric M. Ludlam <[EMAIL PROTECTED]>
* semantic-c.el (semantic-toplevel-c-bovine-table): New c.bnf
(semantic-c-nonterminal-children): New override fcn
(semantic-default-c-setup): Add above override.
* c.bnf (extern-c): Add quotes to the "C" string regex.
* semanticdb.el (semanticdb-default-save-directory): New variable.
(semanticdb-project-database): Added `reference-directory' slot.
(semanticdb-create-database): Simplified if to existence of the found DB
(semantic-get-database): Use `semantic-file-loaded-p'
(semantic-file-loaded-p): Moved. Use eieio call.
(semanticdb-file-table): Tables use file name w/out path.
(semanticdb-full-filename): Tables use file name w/out path.
(semanticdb-write-directory-p): Use new reference directory for tables.
(semanticdb-cache-filename): New function to calc filename of a DB.
(semanticdb-semantic-init-hook-fcn): use above Fcn for directory name.
Always set the reference directory slot in the DB.
Specify the file of new tables as the file name sans directory.
* semantic-util-modes.el (semantic-auto-parse-bovinate):
Enable syntax error `throw'ing. Catch
those errors, and do not pester the user who is probably in the
middle of thinking important thoughts, and is uninterested in having
Emacs complain about such things.
* semantic.el (semantic-flex-unterminated-syntax-throw-symbol):
New variable
(semantic-flex): `throw' an error for incomplete syntax when above is non-nil.
* working.el (working-message):
Only display a canned message for the first entry.
(working-status-forms): Clear mode line when using modeline mode.
(working-status-timeout): Clear mode line when using modeline mode.
2001-12-03 ponced <ponced@choochoo>
* semantic-util-modes.el (semantic-auto-parse-timer):
Moved before first use.
(semantic-auto-parse-idle-time): Added `:set' clause to re-setup the
`semantic-auto-parse-timer' when the idle time value is changed.
2001-12-03 Eric M. Ludlam <[EMAIL PROTECTED]>
* semantic.el: Updated version to 1.4 beta 13
2001-11-30 ponced <ponced@choochoo>
* working.el (append global-mode-string):
Quoted `working-mode-line-message'.
2001-11-30 Eric M. Ludlam <[EMAIL PROTECTED]>
* semantic-util-modes.el (global-semantic-show-dirty-mode): Doc fix.
(semantic-show-dirty-mode-setup): Doc fix.
Use `semantic-make-local-hook' alias.
(global-semantic-show-unmatched-syntax-mode): Doc fix
(semantic-show-unmatched-syntax-mode-setup):
Use `semantic-make-local-hook' alias.
(semantic-auto-parse-working-in-modeline-flag): New variable
(global-semantic-auto-parse-mode): Doc Fix
(semantic-auto-parse-bovinate): Doc fix.
Use the mode-line to display working messages when auto-parsing.
(semantic-auto-parse-mode-setup): Doc Fix
(semantic-auto-parse-mode): Doc Fix
(global-semantic-summary-mode): Doc Fix
(semantic-summary-mode-setup): Doc Fix
(semantic-summary-mode): Doc Fix
* working.el (working-message):
Added sit-for to help force modeline updates.
* semantic-c.el: New c.bnf fix for include filename.
* c.bnf (filename): Fixed OLE to get the string from filename prefix.
* working.el:
If `global-mode-string' is available, use it as the location to
display mode-line based working messages.
* senator.el (senator-minor-mode-setup):
Use `semantic-make-local-hook' alias.
* semantic-imenu.el (semantic-create-imenu-index):
Use `semantic-make-local-hook' alias.
* semantic.el (semantic-make-local-hook): New alias
(semantic-set-toplevel-bovine-cache): Use this alias.
* semantic-util-modes.el (semantic-auto-parse-bovinate):
Enable quiting during a parse.
* semantic-load.el: Add .bnf as a speedbar extension.
New variable `semantic-load-turn-useful-things-on'.
Consider which-func to be non-useful.
Consider show-dirty-mode non-useful.
Do not load semantic-sb for speedbar. This already happens.
* semantic-util.el (semantic-bucketize):
Remove ref to speedbar in doc string.
* semanticdb.el (semanticdb-semantic-init-hook-fcn):
When a table isn't valid, do not
force a parse. This will happen in time.
* semantic-bnf.el:
Changed how speedbar support for BNF files were added.
* semantic-c.el: New c.bnf supporting float.h.
* c.bnf:
Added support for float.h, where `float' was snagged as a keyword.
2001-11-26 ponced <ponced@choochoo>
* semantic.el (semantic-flex): Handle broken strings.
* senator.el (senator-minor-mode-name):
Defined as constant. Moved just before it
is first used.
(senator-minor-mode-isearch-suffix): Ditto.
(senator-minor-mode-on-hook): Removed.
(senator-minor-mode-off-hook): Removed.
(senator-minor-mode): Don't run on/off mode hooks.
(senator-register-mode-menu-entry["Summaries"]): Added.
(senator-register-mode-menu-entry"[Which Function"]): Added when
'which-func feature is available.
* semantic-util-modes.el (semantic-propertize):
New function. Return a copy of STRING with
text properties added.
(semantic-mode-line-prefix): New option. Prefix added to minor mode
indicators in the mode line. The default value use
`semantic-propertize' to have this string displayed in 'bold face on
Emacs 21 :-)
(semantic-mode-line-update): Skip empty strings. Use
`semantic-mode-line-prefix'.
(semantic-show-dirty-mode-on-hook): Removed.
(semantic-show-dirty-mode-off-hook): Removed.
(semantic-show-dirty-mode): Don't run on/off mode hooks.
(semantic-show-unmatched-syntax-mode-on-hook): Removed.
(semantic-show-unmatched-syntax-mode-off-hook): Removed.
(semantic-show-unmatched-syntax-mode): Don't run on/off mode hooks.
(semantic-auto-parse-mode-on-hook): Removed.
(semantic-auto-parse-mode-off-hook): Removed.
(semantic-auto-parse-mode): Don't run on/off mode hooks.
(global-semantic-summary-mode): New function. Toggle global use of
`semantic-summary-mode'.
(global-semantic-summary-mode): New variable. If non-nil enable
global use of summary mode.
(semantic-summary-mode-hook): New hook. Run at the end of function
`semantic-summary-mode'.
(semantic-summary-mode-map: New variable. Keymap for summary minor
mode.
(semantic-summary-mode: New variable. Non-nil if summary minor mode
is enabled.
(semantic-summary-mode-setup: New function. Setup
`semantic-summary-mode'.
(semantic-summary-mode): New function. Minor mode to show useful
things about tokens in echo area.
(semantic-add-minor-mode[semantic-summary-mode]): Added.
* semantic-load.el: Added autoloads for `semantic-summary-mode'.
(when semantic-load-turn-everything-on): Use
`global-semantic-summary-mode'.
2001-11-26 emacsman <emacsman@choochoo>
* semantic.texi: Added "Lexer Overview" and "Lexer Output" nodes.
2001-11-23 emacsman <emacsman@choochoo>
* semantic.texi: Fixed a typo in last checkin. Sorry.
* semantic.texi: Created "Overview" and "Semantic Components" chapters.
2001-11-22 Eric M. Ludlam <[EMAIL PROTECTED]>
* semantic-sb.el (semantic-fetch-dynamic-bovine):
Set out to t when there is no parser available.
2001-11-21 ponced <ponced@choochoo>
* senator.el (senator-minor-mode-name): Use "n" as default value.
(senator-minor-mode-isearch-suffix): Use "i" as default value.
(senator-jump-regexp): Added autoload cookie.
(senator-register-mode-menu-entry["Senator"]): No more use
`senator-mode'.
(senator-status): Renamed from `senator-mode'.
(senator-mode-line-update): Renamed from `senator-show-status'. Use
`senator-status'. Use `semantic-mode-line-update' instead of
`force-mode-line-update'. Removed "Emacs 21 goodies".
(senator-minor-mode-setup): Removed call to `senator-show-status'.
(senator-minor-mode): Use `senator-mode-line-update' instead
of `force-mode-line-update'.
(senator-isearch-toggle-semantic-mode): Ditto.
(senator-isearch-mode-hook): Ditto.
(semantic-add-minor-mode[senator-minor-mode]): Use 'senator-status.
(semantic-add-minor-mode[senator-isearch-semantic-mode]): Added.
* semantic-util-modes.el (semantic-update-mode-line):
New option. If non-nil show enabled
minor modes in the mode line.
(semantic-minor-modes-status): New variable. String displayed in the
mode line to show the Semantic minor modes which are locally enabled.
(semantic-minor-mode-alist): New variable. Alist saying how to show
Semantic minor modes in the mode line.a
(semantic-mode-line-update): New function. Update display of Semantic
minor modes in the mode line.
(semantic-add-minor-mode): Update `semantic-minor-mode-alist'. Lazily
install `semantic-minor-modes-status' as a dummy minor mode used to
show Semantic minor modes status in the mode line.
(semantic-show-dirty-mode): Use `semantic-mode-line-update'.
(semantic-show-unmatched-syntax-mode): Ditto.
(semantic-auto-parse-mode): Ditto.
(semantic-add-minor-mode[semantic-show-dirty-mode]): Use "d" to
indicate that the minor mode is enabled.
(semantic-add-minor-mode[semantic-show-unmatched-syntax-mode]): Use
"u" to indicate that the minor mode is enabled.
(semantic-add-minor-mode[semantic-auto-parse-mode]): Use "a" to
indicate that the minor mode is enabled.
* semanticdb.el (global-semanticdb-minor-mode): Fixed bad setting of
`semanticdb-global-mode'.
2001-11-19 emacsman <emacsman@choochoo>
* semantic.texi:
Added comments on semantic-flex and in "document" node.
This is only the first of many additions to be made in the future.
2001-11-17 Eric M. Ludlam <[EMAIL PROTECTED]>
* tests/test.cpp: Added extern "C" samples.
2001-11-17 ponced <ponced@choochoo>
* senator.el (senator-last-local-item-name): Removed.
(senator-last-global-item-name): Removed.
(senator-new-menu-item-name): Removed.
(senator-modes-menu-cache): New variable. Cache the last computed
value of the "Modes" sub-menu.
(senator-register-command-menu): Renamed from
`senator-register-mode-menu-item'. Register and return a command menu
specification instead of a pre-build menu item.
(senator-register-mode-menu-entry): Clear the cached menu. Register
specifications instead of actual menu items. Thus the menu building
is clearly a separated task.
(senator-base-local-label): New constant. Default name of the menu
item used to change minor mode buffer local setting.
(senator-base-global-label): New constant. Default name of the menu
item used to change minor mode global setting.
(senator-uniquify-count): New variable. Used to generate unique menu
item names.
(senator-build-command-menu-item): New function. Return a command
menu item with an unique name.
(senator-build-mode-menu-items): With window system display minor mode
labels as a disabled menu items to get a consistent look of the
"Modes" menu both in Emacs and XEmacs. On text-only terminal no more
use the hard coded strings " (In this buffer)" and " (Globally)" but
the corresponding default name constant.
(senator-build-modes-menu): Compute the value of the menu only if
necessary. Return a cached value when available.
Use "--" instead of single "-" for menu separator. The "Emacs Lisp
Reference Manual" says that "separator-type is a string starting with
two or more dashes".
(senator-menu-bar): Use "--" instead of single "-" for menu separator.
(semantic database menu item): When selected show if the database is
persistent (saved on disk) or only available for the current session.
2001-11-17 Eric M. Ludlam <[EMAIL PROTECTED]>
* semantic-texi.el (semantic-default-texi-setup): Added autoload
* semantic-c.el (semantic-toplevel-c-bovine-table): New c.bnf
(semantic-expand-c-nonterminal): Expand batched extern "c" entries.
(semantic-default-c-setup): Added autoload
* c.bnf (declaration): Added extern-c entry
(extern-c-contents, extern-c): new rules
* semantic-bnf.el (bnf-mode, semantic-bnf-mode): Added autoload
* semantic-chart.el (semantic-chart-nonterminals-by-token):
Added autoload
(semantic-chart-database-size): Added autoload
(semantic-chart-nonterminal-complexity-token): Added autoload
* semanticdb.el (global-semanticdb-minor-mode): Added autoload
* semantic-el.el (semantic-default-elisp-setup): Added autoload
* semantic-java.el (semantic-default-java-setup): Added autoload
* semantic-make.el (semantic-default-make-setup): Added autoload
* semantic-scm.el (semantic-default-scheme-setup): Added autoload
* semantic-skel.el (semantic-default-skel-setup): Fixed typo in name.
2001-11-14 ponced <ponced@choochoo>
* semantic-sb.el (semantic-fetch-dynamic-bovine):
Fixed. Didn't get the tokens
returned by `semantic-bovinate-toplevel'.
* senator.el (senator-menu-item): Moved before it is first used.
(senator-last-local-item-name): New variable.
(senator-last-global-item-name): Ditto.
(senator-registered-mode-entries): Ditto.
(senator-registered-mode-settings): Ditto.
(senator-new-menu-item-name): New function. Return a new unique
generated menu item name.
(senator-register-mode-menu-item): New function. Register a minor
mode menu item.
(senator-register-mode-menu-entry): New function. Register a minor
mode menu entry.
(senator-build-mode-menu-items): New function. Return menu items for
a registered minor mode.
(senator-build-modes-menu): New function. Build and return the
"Modes" menu.
(senator-global-mode-options): Removed.
(senator-global-mode-options-save): Renamed to
`senator-save-registered-mode-settings'.
(open code): Added registration of Semantic minor modes.
(senator-menu-bar): Use `senator-build-modes-menu' to dynamically
build the "Modes" sub-menu based on registered minor modes.
2001-11-14 Eric M. Ludlam <[EMAIL PROTECTED]>
* semantic.texi (miscellaneous): Renamed
(minor modes): Added variable options for all the modes listed.
* semantic-util-modes.el: (semantic-show-dirty-mode-*hook),
(semantic-show-unmatched-syntax-mode-*hook),
(semantic-unmatched-syntax-face),
(semantic-auto-parse-mode-*hook): Add * as a user option.
2001-11-13 Eric M. Ludlam <[EMAIL PROTECTED]>
* semantic-util-modes.el (semantic-show-unmatched-syntax):
Remove message about no bad syntax.
2001-11-12 ponced <ponced@choochoo>
* senator.el (senator-global-mode-options):
New constant. List of Semantic minor
modes which can be enabled globally.
(senator-global-mode-options-save): New command. Save current values
of `senator-global-mode-options' using Custom."
(senator-menu-bar): New menu items in the "Modes" sub-menu to toggle
minor modes globally and save these settings via custom.
* semanticdb.el (global-semanticdb-minor-mode):
Set `semanticdb-global-mode' to the
minor mode status.
2001-11-10 Eric M. Ludlam <[EMAIL PROTECTED]>
* semantic.texi (miscellaneous):
Added `[global-]semantic-auto-parse-mode'.
2001-11-10 ponced <ponced@choochoo>
* semantic.el (semantic-rebovinate-token):
Removed specific error handler.
(semantic-bovinate-nonterminal): Added general error handler.
--
Eric Ludlam: [EMAIL PROTECTED], [EMAIL PROTECTED]
Home: www.ultranet.com/~zappo Siege: www.siege-engine.com
Emacs: http://cedet.sourceforge.net GNU: www.gnu.org
_______________________________________________
cedet-semantic mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/cedet-semantic
____________________________________________________________
Faites un voeu et puis Voila ! www.voila.fr
Avec Voila Mail, consultez vos e-mails sur votre mobile Wap.