-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathChangeLog
21895 lines (16176 loc) · 766 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2009-02-27 Eric M. Ludlam <[email protected]>
* tests/Makefile (Tests_MISC): Add testsppcomplete.c
* tests/Project.ede ("semantic/tests"): Add testsppcomplete.c
* symref/semantic-symref-global.el (semantic-symref-tool-global):
Fix case problem in doc.
* symref/semantic-symref.el (semantic-symref-tool-alist):
Add cscope support.
* symref/Makefile (symref_LISP): Add semantic-symref-cscope.el
* symref/Project.ede (symref): Add semantic-symref-cscope.el
* symref/semantic-symref-cscope.el: CScope support for symref.
2009-02-26 Eric M. Ludlam <[email protected]>
* semantic-ia-utest.el (semantic-ia-utest-file-list):
Add testsppcomplete.c
* tests/testsppcomplete.c: Completions test with lots of nested macros.
* tests/testsppreplaced.c (noodle): New macro tests.
* tests/testsppreplace.c (Amacro, mf_Amacro, noodle): New macro tests.
* semantic-lex-spp.el (semantic-lex-spp-token-macro-to-macro-stream):
Save the arglist.
When a symbol in the macro stream can be replaced by a macro, also
calculate if there are arguments that can be used, and use them.
(semantic-lex-spp-merge-streams): Delete spp-replace-replace token info.
(semantic-lex-spp-analyzer-push-tokens-for-symbol):
Before doing a macro replacement, perform a high level token
dereference for tokens that refer to macros that refer to more macros.
(semantic-lex-spp-stream-for-macro): Delete spp-replace-replace stuff.
* bovine/semantic-c.el (semantic-cpp-lexer):
Do not do spp replacement inside the preprocessor.
* semantic-lex.el (semantic-lex-token-p): Fixed.
2009-02-25 Eric M. Ludlam <[email protected]>
* semanticdb-debug.el (semanticdb-dump-all-table-summary):
Fix create output buffer correctly.
* doc/user-guide.texi (SymRef):
Refer to idutils. Add semantic-symref-tool-alist doc.
2009-02-24 Eric M. Ludlam <[email protected]>
* symref/semantic-symref.el (semantic-symref-tool-alist): New variable.
(semantic-symref-detect-symref-tool): Use above instead of inline detection.
* symref/semantic-symref-idutils.el (semantic-symref-tool-idutils):
Add autoload cookie.
* bovine/semantic-c.el (semantic-lex-cpp-define):
Remove direct replacement code, as it is
now handled properly in semantic-lex-spp.
* semantic-lex-spp.el (semantic-lex-spp-token-macro-to-macro-stream):
Add in large descriptive comments.
Regroup code, change names of some internal variables.
Use `semantic-lex-token-class' instead of `car' where apropriate.
* ctags/Makefile (EMACSFLAGS): New variable
(ctags): Use above.
* bovine/Makefile (EMACSFLAGS): New variable.
(bovinator, languages): Use above.
* wisent/Makefile (EMACSFLAGS): New variable
(tools,wisent,languages): Use above.
* symref/semantic-symref.el (semantic-symref-detect-symref-tool):
Add idutils detection.
* symref/Makefile (EMACSFLAGS): New flag
(symref_LISP): Add semantic-symref-idutils.el
(symref): Use EMACSFLAGS
* symref/Project.ede (symref): Add semantic-symref-idutils.el
* semantic-fw.el (semantic-find-file-noselect):
Change first version of Emacs to
support :safe value for enable-local-variables to 22.0
* Makefile (EMACSFLAGS): New variable.
(init,semantic,utils,Database,tools,Analyzer,Languages,maintenance)
(tests): Use above.
2009-02-23 Eric M. Ludlam <[email protected]>
* symref/semantic-symref-idutils.el:
Support for idutils is Semantic Symref.
2009-02-22 Eric M. Ludlam <[email protected]>
* semantic-lex-spp.el (semantic-lex-spp-simple-macro-to-macro-stream):
Update comments.
(semantic-lex-spp-token-macro-to-macro-stream): remove null and single
token cases.
(semantic-lex-spp-macro-to-macro-stream): Adopt tests for null, single
token, and put the conditionals in front of
semantic-lex-spp-token-macro-to-macro-stream and
semantic-lex-spp-simple-macro-to-macro-stream to make those fcns simpler.
* semantic-lex-spp.el (semantic-lex-spp-symbol-set):
Rename arg from obarray to obarray-in.
(semantic-lex-spp-one-token-and-move-for-macro):
If found token extends past MAX, then crop it.
* semantic-fw.el (semantic-find-file-noselect):
Set enable-local-variables to different
values depending on Emacs version.
2009-02-21 Eric M. Ludlam <[email protected]>
* semantic-lex-spp.el: (semantic-lex-spp-macro-symbol-obarray)
(semantic-lex-spp-project-macro-symbol-obarray)
(semantic-lex-spp-project-dynamic-symbol-obarray)
(semantic-lex-spp-symbol): Doc fixes.
(semantic-lex-spp-set-dynamic-table)
(semantic-lex-spp-reset-hook): Doc fix.
(semantic-lex-spp-reset-dynamic-table): Deleted.
(semantic-lex-spp-simple-macro-to-macro-stream):
(semantic-lex-spp-macro-with-args): Moved.
(semantic-lex-spp-simple-macro-to-macro-stream)
(semantic-lex-spp-token-macro-to-macro-stream): New, extracted from:
(semantic-lex-spp-macro-to-macro-stream): Call above two fcns.
(semantic-lex-spp-one-token-to-txt): Doc fix.
(semantic-lex-spp-write-test): Doc fix.
(semantic-lex-spp-write-utest): New.
(semantic-lex-spp-describe): Moved.
2009-02-19 Eric M. Ludlam <[email protected]>
* semantic-analyze.el (semantic-analyze-current-context):
Allow display of context if there
is no bounds in the context.
(semantic-analyze-current-context-default):
Allow context objects to be created with no bounds IF they are
function arguments or assignments.
Revamped the order and conditional for how these items are created.
Original patch from hannes.janetzek.
(semantic-analyze-context::semantic-analyze-pulse):
Don't pulse if the bounds are empty.
2009-02-17 Eric M. Ludlam <[email protected]>
* bovine/semantic-c.el (semantic-lex-spp-merge-streams):
Deleted. Moved to semantic-lex-spp.el
(semantic-lex-cpp-hashhash): Change output to be a 'spp-concat class token.
* semantic-lex-spp.el (semantic-lex-spp-merge-streams):
New. Moved from semantic-c.
(semantic-lex-spp-use-headers-flag): Doc fix.
* semantic-lex-spp.el (commentary):
Add todo item on namespace in a macro issue.
* tests/testsppreplaced.c (foo):
add replacement code for macro-in-a-macro.
* tests/testsppreplace.c (semantic-lex-cpp-define):
Add macro in a macro.
* bovine/semantic-c.el (semantic-lex-cpp-define):
Extract macro merge into a fcn.
(semantic-lex-spp-merge-streams): New fcn from above.
Add in support for spp-replace-replace doing a replcement.
* semantic-utest.el: (semantic-utest-PHP-buffer-contents)
(semantic-utest-PHP-name-contents): New
(semantic-utest-makebuffer): Use semantic-find-file-noselect.
(semantic-utest-PHP): New.
(semantic-utest-Csharp): Test for csharp mode before testing.
(semantic-utest-Erlang, semantic-utest-Texi):
Comment out for now.
(semantic-utest-main): Add PHP.
Uncomment csharp.
2009-02-16 Eric M. Ludlam <[email protected]>
* ctags/semantic-ectag-parse.el (semantic-ectag-parse-file-with-mode):
Protect against mode startup failure.
(semantic-ectag-split-fields): Add struct support.
2009-02-14 Eric M. Ludlam <[email protected]>
* doc/user-guide.texi (Idle Completions Mode): Update doc for a fcn.
* semantic-complete.el: (semantic-complete-analyze-inline)
(semantic-complete-analyze-inline-idle):
Update doc.
* NEWS: Add semanticdb-cleanup-cache-files, and note at top.
* semantic-load.el (semantic-load-enable-minimum-features):
Add comment about cleaning up cache files.
2009-02-12 Eric M. Ludlam <[email protected]>
* semantic-ia-utest.el (semantic-ia-utest-file-list):
Add teststruct.cpp
* tests/teststruct.cpp: Testing structs and inheritance.
* bovine/c.by (semantic-tag-type-superclass-protection):
Default protection is "unspecified", which really means, figure it out later.
* semantic-tag.el (semantic-tag-type-superclass-protection):
Support an "unspecified" inheritance model.
* bovine/semantic-gcc.el: Patch from Alastair Rankine:
(semantic-gcc-setup): Also look for --with-gxx-include-dir
when calculating cpp include path.
2009-02-07 Eric M. Ludlam <[email protected]>
* senator.el (senator-prefix-map):
Add transpose and copy-to-register bindinds.
(senator-menu-bar): Add two transpose functions to menu.
(senator-copy-tag): Copy body to kill ring. Add help msg.
(senator-kill-tag): Add help message.
(senator-yank-tag): Add help message.
2009-02-05 Eric M. Ludlam <[email protected]>
* semanticdb-file.el (semanticdb-cleanup-cache-files): New command.
2009-02-04 Eric M. Ludlam <[email protected]>
* semanticdb-file.el (replace-regexp-in-string): Deleted.
Moved to cedet-files.el
* semantic-fw.el: Patch from DaveS
(semantic-find-file-noselect): Disable auto-insert, and local
variables and eval.
2009-02-02 Eric M. Ludlam <[email protected]>
* bovine/semantic-c.el (semantic-c-reconstitute-token):
For functions, pull off 9th part for
the template specifier.
* tests/testtemplates.cpp (NS):
Add ref into this namespace. Also add a using.
(main): Add new tests for parsing namespace symbols with template
specifiers.
* bovine/c.by (typeformbase):
Add :template-specifier to 2nd to last rule.
Use special namespace-symbol rule.
(func-decl): Add template specifier info to production.
(namespace-symbol-for-typeformbase): New rule.
* senator.el (senator-adebug-tag): New command.
(senator-prefix-map): Add above onto "/"
2009-02-01 Eric M. Ludlam <[email protected]>
* tests/Makefile (Tests_MISC):
Add testtemplates.cpp and testjavacomp.java
* tests/Project.ede ("Tests"):
Add testtemplates.cpp and testjavacomp.java
* semantic-ia-utest.el (semantic-ia-utest-file-list):
Add in testtemplates.cpp and
testjavacomp.java
* tests/testjavacomp.java: New tests for smart completion in java.
* tests/testsubclass.cpp (i_dont_have_symrefs): New symref test.
* bovine/semantic-c.el (semantic-c-member-of-autocast): New option.
(semantic-c-dereference-typedef)
(semantic-c--instantiate-template)
(semantic-c--template-name-1)
(semantic-c--template-name)
(semantic-c-dereference-template)
(semantic-c-dereference-member-of): New functions.
(semantic-analyze-dereference-metatype): Updated to handle a
list of dereferencing options.
* doc/tags.texi (Tag Internals): Add below.
(Copying Tags): Move clone/copy and add semantic-tag-deep-copy-one-tag.
* semantic-tag.el (semantic-tag-deep-copy-one-tag): Doc update.
* semantic-tag.el: (semantic-tag-set-name)
(semantic-tag-deep-copy-one-tag): New API fcns
(semantic--tag-deep-copy-attributes)
(semantic--tag-deep-copy-value)
(semantic--tag-deep-copy-tag-list): New private functions.
* semantic-analyze-debug.el: Patch from 'Raf'
(semantic-analyzer-debug-missing-innertype): Get the car of
dereferenced metatypes.
* tests/testtemplates.cpp:
New test file for dereferencing smart pointers.
* semantic-analyze-fcn.el: Patch from 'Raf'.
(semantic-analyze-tag-type): Rename ttype localvar to type-declaration.
Pass type-declaration to dereference-metatype-stack as 3rd arg.
(semantic-analyze-dereference-metatype-stack)
(semantic-analyze-dereference-metatype): Accept 3rd arg of
type-declaration used for more complex dereferences.
2009-01-31 Eric M. Ludlam <[email protected]>
* symref/semantic-symref.el (semantic-symref-find-references-by-name):
Add new arg to return the
tool used for the search.
* semantic-ia-utest.el (semantic-sr-utest-buffer-refs):
Provide some more debugging info.
* semantic-analyze-complete.el (semantic-analyze-possible-completions):
If no context was provided or found, then issue a useful error.
* semantic-load.el (semantic-load-enable-excessive-code-helpers):
Add `semantic-highlight-func-mode' as on.
* senator.el ("Highlight Func"): New menu item.
* semantic-util-modes.el (semantic-stickyfunc-tag-to-stick): New util.
(semantic-stickyfunc-fetch-stickyline): Use above.
(*-semantic-highlight-func-*): New minor mode.
* doc/minor-modes.texi (Code Helpers): Add below.
(Highlight Func Mode): New section.
* semanticdb.el (semanticdb-create-table-for-file-not-in-buffer):
Remove debug statement.
* semantic-ede-grammar.el (semantic-ede-proj-target-grammar::project-compile-target):
Fix loading up grammar files while compiling.
2009-01-29 Eric M. Ludlam <[email protected]>
* Project.ede (semantic): Updated to 2.0pre6.
* bovine/Makefile, ctags/Makefile, doc/Makefile, symref/Makefile, tests/Makefile, wisent/Makefile, Makefile (VERSION):
Updated to 2.0pre6.
* semantic.el (semantic-version): Updated to 2.0pre6.
* semantic-analyze-debug.el (semantic-analyzer-debug-insert-include-summary):
Add display of EDE include search features.
* semantic-decorate-include.el (semantic-decoration-all-include-summary):
Improve display of EDE
search features.
2009-01-28 Eric M. Ludlam <[email protected]>
* semantic-dep.el (semantic--dependency-find-file-on-path):
Use `locate-file' if this
Emacs has it, otherwise use an inline implementation.
* bovine/semantic-c.el (document): Don't require document.el.
(c-mode::document-comment-start)
(c-mode::document-comment-prefix)
(c-mode::document-comment-end): Delete.
* wisent/wisent-python.el (python-2-mode, python-3-mode):
Add as child modes.
2009-01-24 Eric M. Ludlam <[email protected]>
* senator.el (senator-menu-bar): Add summarize includes.
* semanticdb-el.el:
(semanticdb-table-emacs-lisp::semanticdb-refresh-table)
(semanticdb-table-emacs-lisp::semanticdb-needs-refresh-p): New.
* bovine/semantic-erlang.el (erlang-edoc): No longer require this.
* bovine/Makefile (languages_LISP): Remove erlang-edoc.el
* bovine/Project.ede ("languages"): Remove erlang-edoc.el
* bovine/semantic-skel.el (semantic-default-skel-setup):
Remove traces of old 'document' tool.
* bovine/semantic-scm.el (require, semantic-default-scheme-setup):
Remove traces of old 'document' tool.
* bovine/semantic-erlang.el (require, semantic-erlang-default-setup):
Remove traces of old 'document' tool.
* wisent/wisent-java.el, wisent/wisent-java-tags.el (require, wisent-java-default-setup):
Remove traces of old 'document' tool.
* wisent/wisent-c.el (wisent-c-default-setup):
Remove traces of old 'document' tool.
* semantic-utest.el (semantic-utest-Java, semantic-utest-Html):
Hacks to keep it working in XEmacs.
2009-01-24 Jan Moringen <[email protected]>
* semantic-tag.el (log-edit-mode: semantic-insert-foreign-tag):
fixed typo in docstring
(change-log-mode: semantic-insert-foreign-tag): fixed typo in
docstring
2009-01-20 Eric M. Ludlam <[email protected]>
* semantic-utest.el (semantic-utest-Javascript):
Protect against failure when
javascript-mode is not installed.
(semantic-utest-main): Add shutdown.
(semantic-utest-taglists-equivalent-p): Improve error messages.
* semantic-ia-utest.el (semantic-ia-utest-error-log-list): New var.
(semantic-ia-utest): Use new cedet-utest APIs.
Change indentation of messages.
(semantic-ia-utest-buffer, semantic-ia-utest-buffer-refs):
(semantic-sr-utest-buffer-refs):
Change indentation of messages.
Add various errors to an error list.
* semantic-fw.el (semantic-test-data-cache):
Create a buffer for this test, and add some text.
* semantic-chart.el (semantic-chart-database-size):
Replace object-assoc-list with inline to protect against
unbound slots.
* semanticdb-ref.el (semanticdb-ref-test):
Eliminate unused variable bindings.
* semanticdb-debug.el: (semanticdb-adebug-current-database)
(semanticdb-adebug-current-table)
(semanticdb-adebug-project-database-list):
Eliminate unused variable bindings.
* semantic-find.el (semantic-brute-find-tag-by-function):
Eliminate unused variable bindings.
* semantic-edit.el (semantic-edits-change-function-handle-changes):
Eliminate unused variable bindings.
* semantic-analyze-fcn.el (semantic-analyze-tag-type):
Eliminate unused variable bindings.
* semantic-adebug.el: (data-debug-insert-tag-parts-from-point)
(data-debug-insert-taglist-from-point)
(data-debug-insert-find-results-from-point)
(data-debug-insert-db-and-tag-from-point)
(semantic-adebug-bovinate)
(semantic-adebug-searchdb)
(semantic-adebug-analyze)
(semantic-adebug-edebug-expr):
Eliminate unused bound variables.
2009-01-14 Eric M. Ludlam <[email protected]>
* semanticdb-global.el (semanticdb-enable-gnu-global-databases):
Add autoload cookie.
* doc/grammar-fw.texi (top): New node on grammar development.
(Grammar Development Cycle): New node.
* senator.el (senator-pulse-tag): Add a message too.
2009-01-10 Eric M. Ludlam <[email protected]>
* semantic-analyze-complete.el (semantic-analyze-possible-completions-default):
Replace occurances of `semantic-find-tags-by-name-regexp' with
`semantic-find-tags-for-completion'.
* semantic-doc.el (semantic-documentation-for-tag):
Improved error checking on input tags.
* doc/user-guide.texi:
(imenu, senator, Smart Completion, Smart Summary)
(Smart Completion Debugging, Idle Scheduler, Reparsing Options)
(Idle Working Options, Debugging Idle Time Issues Idle Completions Mode)
(Changing Backends, Create System Databases, Debugging):
Misc spelling fixes.
(top, SymRef): Add new section `SymRef'
* doc/tags.texi (Tag Basics, Tag Hooks): Misc spelling fixes.
* doc/overview.texi (Overview): Fixed spelling.
* doc/minor-modes.texi (Semantic Minor Modes): Fixed this comment
* doc/minor-modes.texi (Semantic Minor Modes, MRU Bookmarks Mode, Parser State):
Misc spelling fixes.
* doc/lang-support-guide.texi:
(top, Semantic Overload Mechanism, Lexer Overview, Lexer Construction)
(Lexer Built In Analyzers, Lexer Analyzer Construction, External Parsers)
(Parsing a language file, Parser Backend Support, Example Backend File)
(Tag Expansion, Bovine Parser Debugging, Overlay Debugging)
(Incremental Parser Debugging, Semantic 1.4 Doc):
Misc spelling fixes.
* doc/internals.texi (Tag handling): Misc spelling fixes.
* doc/installation.texi (Canned Configuration, Parsing Optimization):
Misc spelling fixes.
* doc/app-dev-guide.texi:
(top, Specialty Search, Custom Search, Tags at Point, Tag Secondary Overlays)
(Tag Completion Convenience Functions, Tag Collectors, Format Tag)
(Jump to a Tag, DB Results, DB Data Type Search, System Databases)
(Idle Scheduling, Data Debugger):
Misc spelling fixes.
* senator.el (senator-pulse-tag): Force a reparse.
* document.el: Comment Spelling fix
* Makefile (tools_LISP): Deleted "document" tools.
* Project.ede ("tools"): Deleted "document" tools.
* semantic-mru-bookmark.el (semantic-bookmark::semantic-mrub-update):
Add condition-case to fix
some issue w/ XEmacs I couldn't figure out.
* bovine/c.by (opt-function-call-args): New
(multi-stage-dereference): Renamed from `function-call'
(expression): Use above. Add "new builtintype" suppoert.
* semantic-fw.el: (semantic-test-throw-on-input)
Support Emacsen that don't have `read-event'.
* ctags/semantic-ectag-parse.el (semantic-ectag-split-signature-summary-default):
Use cedet-split-string.
* bovine/semantic-gcc.el (semantic-gcc-fields): Use cedet-split-string.
* semanticdb-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
Use cedet-split-string.
* semantic-lex-spp.el (semantic-lex-spp-first-token-arg-list):
Use cedet-split-string.
* semantic-mru-bookmark.el (semantic-ring-size): New compat fcn.
(semantic-bookmark-ring::semantic-mrub-push):
Use above compat fcn.
* ctags/semanticdb-ectag.el (semanticdb-ectag-create-table-for-file-not-in-buffer):
Fix unused var bytcomp warning.
* ctags/semantic-ectag-parse.el (semantic-ectag-parse-buffer):
Fix unused var bytcomp warning.
* bovine/bovine-grammar.el (bovine-grammar-expand-form):
Fix unused var bytcomp warning.
* wisent/wisent.el (wisent-skip-block): Fix unused var bytcomp warning.
* wisent/wisent-comp.el: (wisent-build-relations, wisent-set-conflicts)
(wisent-count-sr-conflicts, wisent-print-reductions)
(wisent-semantic-action-expand-body, wisent-parse-grammar):
Fix unused var bytcomp warning.
* symref/semantic-symref.el (semantic-symref-data-debug-last-result):
(semantic-symref-result::semantic-symref-result-get-tags):
Fix unused var bytcomp warning.
* bovine/semantic-el.el (emacs-lisp-mode::semantic-format-tag-abbreviate):
(emacs-lisp-mode::semantic-format-tag-prototype):
Fix unused var bytcomp warning.
* bovine/semantic-c.el (semantic-c-describe-environment):
Fix error typo
* senator.el (senator-register-custom-menu):
Fix unused var bytcomp warning.
* semanticdb.el (semanticdb-table::semanticdb-equivalent-mode):
Use mode-local-use-bindings-p to perform the test.
* semanticdb-typecache.el (semanticdb-typecache-add-dependant, semanticdb-typecache-file-tags):
(semanticdb-typecache-refresh-for-buffer):
(semanticdb-typecache-dump, semanticdb-db-typecache-dump):
Fix unused var bytcomp warning.
* semanticdb-ref.el (semanticdb-table::semanticdb-check-references):
Fix unused var bytcomp warning.
* semanticdb-global.el (semanticdb-test-gnu-global):
Fix unused var bytcomp warning.
* semanticdb-find.el (semanticdb-find-test-translate-path):
(semanticdb-find-test-translate-path-no-loading):
(semanticdb-find-adebug-lost-includes):
(semanticdb-find-adebug-scanned-includes):
Fix unused var bytcomp warning.
* semanticdb-debug.el (semanticdb-dump-all-table-summary):
Fix unused var bytcomp warning.
* semantic-util-modes.el (semantic-stickyfunc-menu):
Fix unused var bytcomp warning.
* semantic-texi.el (semantic-analyze-current-context):
Fix unused var bytcomp warning.
* semantic-tag.el (semantic-tag-components-with-overlays-default):
Fix unused var bytcomp warning.
* semantic-tag-write.el (semantic-tag-write-one-tag):
Fix unused var bytcomp warning.
* semantic-sort.el (semantic-unique-tag-table-by-name, semantic-unique-tag-table):
Fix unused var bytcomp warning.
2009-01-09 Eric M. Ludlam <[email protected]>
* semantic-scope.el: (semantic-analyze-scoped-types-default)
(semantic-analyze-scope-nested-tags-default)
(semantic-analyze-scope-calculate-access-default)
(semantic-calculate-scope):
Fix unused var bytcomp warning.
* semantic-mru-bookmark.el (semantic-mrub-cache-flush-fcn, semantic-adebug-mrub):
Fix unused var bytcomp warning.
* semantic-lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
Fix unused var bytcomp warning.
* semantic-idle.el (semantic-idle-core-handler, semantic-idle-work-core-handler):
Fix unused var bytcomp warning.
* semantic-ia.el (semantic-ia-complete-symbol-menu, semantic-ia-complete-tip):
Fix unused var bytcomp warning.
* semantic-ia-utest.el (semantic-ia-utest-buffer-refs):
Fix unused var bytcomp warning.
* semantic-ia-sb.el (semantic-ia-speedbar):
Fix unused var bytcomp warning.
* semantic-grammar.el (semantic-grammar-token-%put-properties):
(semantic-grammar-complete):
(semantic-grammar-mode::semantic-analyze-current-context):
Fix unused var bytcomp warning.
* semantic-fw.el (semantic-varalias-obsolete):
Fix unused var bytcomp warning.
* semantic-find.el (semantic-brute-find-first-tag-by-name): Doc fix.
(semantic-brute-find-tag-by-function): Reorganize fcn to
remove unused bound vars.
Redoc that search-includes is not implemented.
(semantic-brute-find-first-tag-by-function):
Fix unused var bytcomp warning.
* semantic-edit.el (semantic-edits-splice-remove):
Fix unused var bytcomp warning.
* semantic-doc.el (semantic-documentation-comment-preceeding-tag):
Fix unused var bytcomp warning.
* semantic-decorate.el (semantic-tag-create-secondary-overlay):
Fix unused var bytcomp warning.
* semantic-decorate-include.el (semantic-decoration-include-describe, semantic-decoration-include-menu):
(semantic-decoration-unknown-include-menu):
(semantic-decoration-unparsed-include-menu):
Fix unused var bytcomp warning.
* semantic-ctxt.el (semantic-ctxt-current-symbol-default):
Fix unused var bytcomp warning.
* semantic-complete.el (semantic-complete-read-tag-engine, semantic-complete-current-match):
(semantic-displayor-ghost::semantic-displayor-focus-request):
Fix unused var bytcomp warning.
* semantic-analyze.el (semantic-analyze-find-tag-sequence-default):
(semantic-analyze-current-context-default):
Fix unused var bytcomp warning.
* semantic-analyze-refs.el (semantic-analyze-references::semantic-analyze-refs-impl):
(semantic-analyze-current-tag): Fix unused var bytcomp warning.
* semantic-analyze-debug.el (semantic-analyzer-debug-global-symbol):
(semantic-analyzer-debug-missing-datatype):
(semantic-analyzer-debug-test-local-context):
(semantic-analyzer-debug-insert-include-summary):
Fix unused var bytcomp warning.
2009-01-06 Eric M. Ludlam <[email protected]>
* semanticdb-el.el (semanticdb-table-emacs-lisp::semanticdb-normalize-tags):
Fix free var ref.
(semanticdb-table-emacs-lisp::semanticdb-normalize-one-tag):
Special case use of `symbol-file' for older Emacsen.
* bovine/semantic-c.el (semantic-c-skip-conditional-section):
Fix to handle elif special.
Fix regexp for whitespace checking.
(semantic-lex-c-if): Convert body into a function.
(semantic-c-do-lex-if): Defun of above.
(semantic-lex-c-macrobits): Add elif and else.
(semantic-cpp-lexer): Move whitespace handling after preprocessor.
* bovine/semantic-c.el (semantic-lex-c-macrobits):
Allow pre-# whitespace.
(semantic-c-lexer): Move ignore-whitespace handlers after macros
* semantic-complete.el (semantic-complete-inline-project):
Throw in a free TAB complete
when starting up this completion mode.
2009-01-05 Eric M. Ludlam <[email protected]>
* semanticdb-find.el (semanticdb-strip-find-results):
If a database fails to provide a
file, then just ignore the problem.
* semantic-ctxt.el: Section name fixes.
(semantic-end-of-command-default): Doc fix.
(semantic-ctxt-current-symbol): Doc fix
(semantic-ctxt-current-symbol-default):
Wrap in save-excursion.
* semantic-analyze.el (semantic-analyze-context::semantic-analyze-pulse):
New option
(semantic-analyze-pop-to-context): Pulse the context being dumped.
* semantic-adebug.el (semantic-adebug-analyze):
Special case no-results.
Pulse the analyzed prefix.
2009-01-04 Eric M. Ludlam <[email protected]>
* semanticdb.el (semanticdb-file-table-object):
Remove last debug statement.
2009-01-03 Eric M. Ludlam <[email protected]>
* semantic-tag.el: (log-edit-mode::semantic-insert-foreign-tag)
(chang-log-mode::semantic-insert-foreign-tag): New
2008-12-30 Eric M. Ludlam <[email protected]>
* symref/semantic-symref-list.el:
(semantic-symref, semantic-symref-symbol)
(semantic-symref-list-next-line): Doc updates.
* bovine/semantic-el.el: (semantic-elisp-use-read)
(emacs-lisp-mode::semantic-get-local-variables):
Use buffer-substring-no-properties instead of buffer-substring.
* senator.el (senator-force-refresh): New command.
(senator-menu-bar): Add above.
Add "find this tag" and "find symbol" from symref/
* semantic-texi.el (semantic-insert-foreign-tag): Deleted.
Moved to srecode-texi.el
* semantic-tag.el (semantic-foreign-tag):
Add doc to the foreign tag, just in case.
* semantic-edit.el (semantic-change-function):
Disable point-motion hooks
while running sub-hooks.
* semantic-doc.el (semantic-documentation-comment-preceeding-tag):
Doc fix.
* semantic-debug.el (semantic-debug-parser::semantic-debug-parser-frames):
Fix name.
* semanticdb.el (semanticdb-file-table-object):
Disable another debug statement, and
instead fill in the file truename.
2008-12-22 Eric M. Ludlam <[email protected]>
* semanticdb.el (semanticdb-file-table-object): Remove previous "fix".
Fix default case instead an allow for fullfilename to be derived from
a found table.
* semanticdb.el (semanticdb-file-table-object):
Add case for a found table that needs refresh.
* semanticdb.el (semanticdb-file-table-object):
Protect against nil fullfile for one test.
2008-12-21 Eric M. Ludlam <[email protected]>
* semanticdb.el:
(semanticdb-file-table-hash, semanticdb-file-table-object-from-hash)
(semanticdb-file-table-object-put-hash): File/table hash var/fcns.
(semanticdb-file-table-object): First try to extract the
table from the hash. Then go the old route.
Store found table in the hash when done.
Stop using `find-buffer-visiting', and use `get-file-buffer'. It
should be faster.
Add some debug code.
* semantic-dep.el (semantic--dependency-find-file-on-path):
Use `locate-path' internal fcn, not old loop.
Convert to defsubst.
* semanticdb-find.el (semanticdb-find-table-for-include): Doc fix.
(semanticdb-find-table-for-include-default):
For using the traditional semanticdb-current-database-list,
check for EDE on the current project, not the origin of the
file currently being examined. The base project controls
the include path.
* semantic-elp.el (semantic-elp-emacs-core-list): Add locate-file.
(semantic-elp-ede-core-list): Add several EDE functions.
(semantic-elp-semantic-core-list): Comment out tag-lessp.
(semantic-elp-profile-typecache): New fcn.
(semantic-elp-typecache-enable): Use above as set-master.
Enable the include-path, not just the core path.
(semantic-elp-analyze): Call semantic-elp-profile-typecache, the new
master set function for typecache calculations.
2008-12-18 Eric M. Ludlam <[email protected]>
* bovine/semantic-c.el (c++-mode::semantic-ctxt-scoped-types):
Convert from c-mode to c++-mode function.
* semanticdb-find.el (semanticdb-find-translate-path-includes-default):
Support a path that is a filename.
* semantic-elp.el (semantic-adebug): New require.
(semantic-elp-object): Add "answer" slot.
(semantic-elp-analyze): Reorg.
Do full parse of current buffer before starting.
(semantic-elp-searchdb): New.
* semantic-adebug.el (eieio-datadebug): Add require.
(data-debug-insert-find-results-button): Fix to use
find-results-from-point.
(semanticdb-debug-file-tag-check): Fix to work.
2008-12-17 Eric M. Ludlam <[email protected]>
* semanticdb-typecache.el (semanticdb-typecache::semanticdb-partial-synchronize):
Doc fix.
(semanticdb-abstract-table::semanticdb-typecache-file-tags): New method.
(semanticdb-table::semanticdb-typecache-include-tags): Moved creation
of some local vars inside an if statement to make the work optional.
2008-12-16 Eric M. Ludlam <[email protected]>
* semanticdb-find.el (semanticdb-find-translate-path-includes-default):
If path is a buffer, find the cache from that buffer.
(semanticdb-find-result-prin1-to-string):
Add different format style if it is really big.
2008-12-15 Eric M. Ludlam <[email protected]>
* symref/Makefile (LOADPATH): Add speedbar support.
* symref/Project.ede (symref): Depend on speedbar.
* symref/semantic-symref-list.el (semantic-symref, semantic-symref-symbol):
Supply name arg to below.
(semantic-symref-produce-list-on-results): Take new argument str.
* semantic-elp.el (semantic-elp-eieio-core-list): Add new EDE fcns.
(semantic-elp-ede-core-list): Add new fcns.
(semantic-elp-analyze): Fix filename.
2008-12-13 Eric M. Ludlam <[email protected]>
* symref/semantic-symref-list.el (semantic-symref-produce-list-on-results):
New fcn from below.
(semantic-symref): Extract second half to above.
(semantic-symref-symbol): New command.
* symref/semantic-symref-global.el (semantic-symref-tool-global):
Doc fix.
(semantic-symref-tool-global::semantic-symref-parse-tool-output-one-line):
Special case completions, which has no extra info.
* symref/semantic-symref-grep.el (semantic-symref-tool-grep::semantic-symref-perform-search):
Let users know that grep can't do some symref searches.
* senator.el: (senator-beginning-of-defun, senator-end-of-defun)
(senator-narrow-to-defun): Force reparse at the beginning of each.
* semantic-tag-file.el (semantic-dependency-tag-file):
Remove system include test when
looking for includes.
* semantic-lex-spp.el:
(semantic-lex-spp-analyzer-push-tokens-for-symbol)
(semantic-lex-spp-replace-or-symbol-or-keyword): Fix name typo.
2008-12-12 Eric M. Ludlam <[email protected]>
* Makefile (LOADPATH): Add symref to loadpath.
* Project.ede (Database): Needs semantic-symref
* semanticdb-global.el (semanticdb-global): New require.
* semantic-ia-utest.el (semantic-ia-utest): Arg is now optional.
* semanticdb.el (semanticdb-table::semanticdb-in-buffer-p):
Protect against dead buffers.
* semanticdb-global.el (semanticdb-enable-gnu-global-databases):
Add setup code for mode.
(semanticdb-enable-gnu-global-hook): New fcn.
(semanticdb-enable-gnu-global-in-buffer): Add setting of the throttle
to include omniscience databases.
(semanticdb-table-global::semanticdb-equivalent-mode):
Hack to get things to work.
(semanticdb-table-global::semanticdb-find-tags-for-completion-method):
Convert a string list into a set of faux tags.
* symref/semantic-symref.el (semantic-symref-result): Add :hit-text
(semantic-symref-tool-baseclass::semantic-symref-get-result):
If an incomming result is a list of strings, set those onto
:hit-text.
* semantic.el (semantic-init-mode-hooks): New option.
(semantic-new-buffer-fcn): Call new hook.
* Makefile (Database_LISP): Add semanticdb-global.el
* Project.ede (Database): Add semanticdb-global.el
* semanticdb-global.el: Use GNU Global as an omniscient database.
2008-12-11 Eric M. Ludlam <[email protected]>
* semantic-analyze-debug.el (semantic-analyzer-debug-missing-innertype):
Use `semantic-equivalent-tag-p' instead of `eq'.
* symref/semantic-symref-list.el: Patch from Alex Ott:
(semantic-symref-results-mode-map): Add q quit option.
(semantic-symref-hide-buffer): New command
(semantic-symref-rb-toggle-expand-tag): Fix read-only flag setting.
2008-12-10 Eric M. Ludlam <[email protected]>
* ctags/semantic-ectag-lang.el (semantic-ectag-lang-extra-flags):
Support includes w/ / in them.
* semanticdb-file.el (semanticdb-project-database-file::semanticdb-file-table):
Cheater version of this method with simpler logic.
* semanticdb-mode.el (semanticdb-semantic-init-hook-fcn):
Set the tables buffer to the
current buffer.
(semanticdb-kill-hook): Clear the table's buffer slot.
* semanticdb.el (semanticdb-table): Add a buffer slot.
(semanticdb-in-buffer-p): Ues the buffer slot to get the buffer.
(semanticdb-table::semanticdb-refresh-table)
(semanticdb-table::semanticdb-needs-refresh-p): Use in-buffer-p only.
(semanticdb-file-table-object): Replace find-buffer-visiting with
calls to in-buffer-p
* semantic-scope.el (semantic-analyze-scope-nested-tags-default):
If the parent stack includes non-types, strip them off. (ie, function
arg has a function on the stack.)
* semantic-ia.el (eval-when-compile): Add analyzer functions.
* semantic-elp.el (semantic-elp-emacs-core-list):
Add file-truename, and find-buffer-visiting.
(semantic-elp-eieio-core-list): Add eieiomt-method-list.
(semantic-elp-data::data-debug/eieio-insert-slots): Renamed from insert-fields.
* semanticdb-typecache.el (semanticdb-typecache-safe-tag-list):
Do not return a buffers main tag
list unmodified.
* semantic-scope.el (semantic-completable-tags-from-type): New
(semantic-analyze-scoped-type-parts): Use above to get tag components.
2008-12-09 Eric M. Ludlam <[email protected]>
* ctags/semantic-ectag-lang.el (c-mode::semantic-ectag-lang-extra-flags):
Support both C and C++.
(c++-mode::semantic-ectag-lang-extra-flags): Deleted.
* ctags/semantic-ectag-parse.el (semantic-ectag-parse-buffer):
Require the lang support.
* semantic-complete.el (semantic-complete-inline-project): Fix doc.
* semantic-decorate-include.el (semantic-decoration-include-visit):
Add autoload cookie.