-
Notifications
You must be signed in to change notification settings - Fork 5
/
History.txt
5539 lines (4211 loc) · 198 KB
/
History.txt
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
=== 2010-08-05 mallowlabs <[email protected]>
* gonzui: Gem install support.
=== 2007-12-28 NIIBE Yutaka <[email protected]>
* Makefile.am (scripts_SOURCES): Removed because *_SOURCES is reserved by automake.
(EXTRA_DIST): Expand scripts_SOURCES.
(CLEANFILES): Add gonzuirc.sample.in and license-test
* gonzui-update.in: fix one-line explanation.
=== 2006-12-27 NIIBE Yutaka <[email protected]>
* gonzui/vcs.rb (Gonzui::AbstractVCS#initialize): don't require cvs stuff here.
=== 2006-10-04 Tanaka Akira <[email protected]>
* gonzui/webapp/uri.rb (Gonzui::URIMaker.escape_path): implemented.
(Gonzui::URIMaker.make_uri_general): use escape_path instead of HTTPUtils.escape because HTTPUtils.escape doesn't escape "?".
(Gonzui::URIMaker.make_uri_with_options): ditto.
=== 2006-10-04 Tanaka Akira <[email protected]>
* gonzui/webapp/uri.rb (Gonzui::URIMaker.make_uri_with_options):
escape path to make correct URI which contains "#" character in
the path, such as "gdb-6.4/gdb/.#version.in.1.1576.2.32".
=== 2006-09-18 Tanaka Akira <[email protected]>
* gonzui/autopack.c: use RSTRING_PTR if available.
* gonzui/delta.c: use RARRAY_PTR and RARRAY_LEN if available.
* gonzui/texttokenizer.c: use RSTRING_PTR and RSTRING_LEN if
available.
* gonzui/webapp/xmlformatter.c: use RARRAY_PTR, RARRAY_LEN,
RSTRING_PTR and RSTRING_LEN if available.
=== 2006-06-19 Tanaka Akira <[email protected]>
* gonzui/extractor.rb
(Gonzui::AbstractExtractor#arrange_extracted_files): always use
archive name to generate package name.
=== 2006-02-22 Tanaka Akira <[email protected]>
* gonzui/webapp/markup.rb (Gonzui::TextBeautifier#decorate): Don't
escape a colon. A colon is not used as delimiters in HTML form
and RFC 3986 permits non-delimiter reserved character in non
percent encoded form.
=== 2006-02-21 Tanaka Akira <[email protected]>
* gonzui/cmdapp/app.rb (Gonzui::CommandLineApplication): Extend with
Util to use eprintf from the class method
Gonzui::CommandLineApplication.start.
=== 2006-02-20 Tanaka Akira <[email protected]>
* gonzui/webapp/markup.rb (Gonzui::TextBeautifier#decorate): Escape
a query string. It is required for function names which has special
characters such as f+, defined in lisp/emacs-lisp/float.el of
emacs-21.4.
=== 2006-02-07 Tanaka Akira <[email protected]>
* tests/updater.rb (UpdaterTest#test_update): Finish updaters
explicitly. Closing bdb at exit may cause core dump.
=== 2006-01-12 Tanaka Akira <[email protected]>
* gonzui/webapp/uri.rb (make_uri_with_options): Use
HTTPUtils.escape_form instead of HTTPUtils.escape.
Generate URLs such as
"http://host:port/search?q=package%3Agtk%2B-2.6.9+printf" instead of
"http://host:port/search?q=package%3Agtk+-2.6.9+printf"
(make_google_uri): Ditto.
=== 2006-01-09 rubikitch <[email protected]>
* gonzui-search, gonzui/cmdapp/search.rb, tests/cmdapp-search.rb:
New option: -P, --package.
=== 2006-01-09 Tanaka Akira <[email protected]>
* gonzui/extractor.rb, gonzui/util.rb: Don't chmod 0777
* gonzui/extractor.rb: Avoid Errno::EEXIST by mkdir when
xxx.tar.gz contains xxx and yyy.
* gonzui/extractor.rb: Avoid Errno::EACCES by rename when
xxx.tar.gz contains yyy and zzz which is non-writable directory.
=== 2006-01-07 Tanaka Akira <[email protected]>
* gonzui/util.rb (FileUtils.chmod_r): Don't chmod symbolic links
to avoid Errno::ENOENT with a link to non-existing file.
=== 2006-01-05 Tanaka Akira <[email protected]>
* autogen.sh: Use $_.scan instead of scan because it is removed
at latest ruby-1.9.
* acinclude.m4 (RUBY_CFLAGS): add CCDLFLAGS because
-fPIC is required on x86_64.
=== 2006-01-03 Tanaka Akira <[email protected]>
* gonzui-server.in: New option --bind to bind listening port.
--bind=127.0.0.1 for example.
* gonzui/config.rb: Setup default listening bind address configuration.
=== 2005-09-19 Satoru Takabayashi <[email protected]>
* configure.ac: Bumped version number to 1.3.
* langscan/**/*: Removed all LangScan files. They are now
separated as an independent package.
* tests/easyscanner.rb, tests/langscan.rb, tests/pairmatcher.rb:
Removed.
* langscan.rb: Removed.
* Makefile.am: Remove langscan stuff.
* tests/Makefile.am: Ditto.
* configure.ac: Ditto.
* configure.ac: Add a check for langscan library.
* tests/cmdapp-search.rb: Use "" instead of nil to clear
environmental variables: GREP_COLOR and GREP_OPTIONS.
=== 2005-09-12 Kenichi Ishibashi <[email protected]>
* langscan/elisp.rb: redesigned.
* langscan/elisp/elisptok.l: new file.
* langscan/elisp/tokenlist.txt: new file.
* langscan/elisp/Makefile.am: redesigned.
* langscan/elisp/test/test-scan.rb: redesigned.
* configure.ac (AC_OUTPUT): added `langscan/elisp/Makefile' and
`langscan/elisp/test/Makefile'.
* langscan/Makefile.am (SUBDIRS): added `elisp'.
=== 2005-09-07 Tanaka Akira <[email protected]>
* langscan/ruby/compat/ripper/ripper.c: Sync ripper after
[ruby-dev:26958].
=== 2005-09-04 Tanaka Akira <[email protected]>
* langscan/ruby/compat/ripper/ripper.c: sync ripper.c after
[ruby-dev:26956].
=== 2005-09-03 Kenichi Ishibashi <[email protected]>
* langscan/scheme.rb: modify to handle quoted list.
* langscan/scheme/schemetok.l: modify to detect quote characters.
* langscan/scheme/tokenlist.txt: add `quote_chars'.
* langscan/scheme/test/test-scan.rb: add tests.
* langscan/pairmatcher/pairmatcher.c: detect same close_token
pair. [Gonzui-devel 356]
* tests/pairmatcher.rb: new test.
=== 2005-09-01 Tanaka Akira <[email protected]>
* langscan/ruby/compat/ripper: Bundle Ripper backported for 1.8.
* langscan/ruby.rb: Require bundled Ripper if standard Ripper is not
exist.
* configure.ac: Test Ripper existence.
=== 2005-08-21 Tanaka Akira <[email protected]>
* langscan/ruby.rb (LangScan::Ruby::Parser#on_defs): New method to
detect singleton methods.
=== 2005-08-14 Kenichi Ishibashi <[email protected]>
* langscan/scheme.rb: New file.
* langscan/scheme/.cvsignore: New file.
* langscan/scheme/Makefile.am: New file.
* langscan/scheme/schemetok.l: New file.
* langscan/scheme/tokenlist.txt: New file.
* langscan/scheme/test/.cvsignore: New file.
* langscan/scheme/test/Makefile.am: New file.
* langscan/scheme/test-scan.rb: New file.
* configure.ac (AC_OUTPUT): Added `langscan/scheme/Makefile' and
`langscan/scheme/test/Makefile'.
* langscan/Makefile.am (SUBDIRS): Added `scheme'.
(rubylib_DATA): Added `scheme.rb'.
=== 2005-08-04 Satoru Takabayashi <[email protected]>
* acinclude.m4 (AM_PATH_RUBY_BIN): Merge AM_CHECK_RUBY_VERSION.
=== 2005-08-03 Satoru Takabayashi <[email protected]>
* acinclude.m4 (AM_PATH_RUBY_BIN): New macro.
(AM_PATH_RUBY_LIB): Renamed from AM_PATH_RUBY.
* gonzui-db.in: New file.
* gonzui-import.in: New file.
* gonzui-remove.in: New file.
* gonzui-search.in: New file.
* gonzui-server.in: New file.
* gonzui-update.in: New file.
* langscan-test.in: New file.
* license-test.in: New file.
* Makefile.am: Adopt changes.
=== 2005-07-04 Satoru Takabayashi <[email protected]>
* gonzui: Version 1.2 released.
* AUTHORS: Add Yoshinori KUNIGA <kuniga at users.sourceforge.net>
=== 2005-06-10 Yoshinori KUNIGA <[email protected]>
* langscan/rpmspec.rb: New file.
* langscan/rpmspec/Makefile.am: New file.
* langscan/rpmspec/test/Makefile.am: New file.
* langscan/rpmspec/test/test-rpmspec.rb: New file.
* langscan/Makefile.am (SUBDIRS): Add `rpmspec'.
* langscan/Makefile.am (rubylib_DATA): Add `rpmspec.rb'.
* configure.ac (AC_OUTPUT): Add langscan/rpmspec/Makefile and
langscan/rpmspec/test/Makefile.
=== 2005-05-26 Soutaro Matsumoto <[email protected]>
* configure.ac: Add langscan/ocaml/test/Makefile.
* langscan/ocaml.rb: bug fix.
* langscan/ocaml/lexer.mll: rewritten from scrach.
support for .mll .mly files.
license changed to GPL from QPL.
* langscan/ocaml/test: Tests for LangScan::OCaml.
* langscan/ocaml/test/Makefile.am: New file.
* langscan/ocaml/test/test-ocaml.rb: New file.
=== 2005-05-22 Satoru Takabayashi <[email protected]>
* configure.ac (AC_OUTPUT): Add langscan/brainfuck/Makefile and
langscan/brainfuck/test/Makefile.
=== 2005-05-22 MATSUNO Tokuhiro <tokuhirom at yahoo.co.jp>
* langscan/perl/tokenizer.pl: Set the ALLOW_NONASCII flag.
=== 2005-05-07 MATSUNO Tokuhiro <tokuhirom at yahoo.co.jp>
* langscan/brainfuck.rb: New file.
* langscan/brainfuck/Makefile.am: New file.
* langscan/brainfuck/test/Makefile.am: New file.
* langscan/brainfuck/test/test-scan.rb: New file.
* langscan/Makefile.am (rubylib_DATA): Add `brainfuck.rb'.
=== 2005-04-25 Satoru Takabayashi <[email protected]>
* AUTHORS: Add Soutaro Matsumoto <matsumoto at soutaro.com>.
* configure.ac (AC_OUTPUT): Add langscan/ocaml/Makefile.
Add checks for ocaml and ocamllex.
* langscan/Makefile.am (SUBDIRS): Add ocaml.
* langscan/ocaml.rb (LangScan::OCaml::name): Change the name to
"Objective Caml"
* langscan/ocaml/Makefile.am (EXTRA_DIST): Remove README COPYING.
* configure.ac: Bumped version number to 1.2.
=== 2005-04-24 Tanaka Akira <[email protected]>
* langscan/java.rb (LangScan::Java.scan): Detect method definitions
which has `throws' clause.
Reported by MIYAMUKO Katsuyuki in [Gonzui-devel 272].
=== 2005-04-16 Satoru Takabayashi <[email protected]>
* gonzui/util.rb (FileUtils::chmod_r): New method.
(Gonzui::TemporaryDirectoryUtil::clean_temporary_directory): Use
it to solve the problem reported in [Gonzui-devel 275].
* gonzui/extractor.rb
(Gonzui::SRPMExtractor::clean_rpm_directories): Ditto.
* AUTHORS: Add Kenichi Ishibash <bashi at dream.ie.ariake-nct.ac.jp>.
* langscan/java/test/test-java.rb: Applied a patch by MIYAMUKO
Katsuyuki <miyamuko at mtb.biglobe.ne.jp>. [Gonzui-devel 272].
=== 2005-04-11 Satoru Takabayashi <[email protected]>
* gonzui: Version 1.1 released.
* gonzui/searcher.rb (Gonzui::Searcher::find_ids): Remove the
assertion to fix the bug reported in [gonzui-devel 236]
* tests/content.rb (ContentTest::test_content): New test.
* tests/updater.rb (UpdaterTest::test_update): New test.
* tests/test-util.rb (TestUtil): Don't include Gonzui::Util to
avoid overriding assert* methods.
=== 2005-04-10 Kenichi Ishibashi <[email protected]>
* gonzui-db (GonzuiDB::command_retrieve): Fix method call.
=== 2005-04-10 Satoru Takabayashi <[email protected]>
* tests/fetcher.rb (FetcherTest::test_file): New test.
(FetcherTest::test_http): Ditto.
(FetcherTest::test_cvs): Ditto.
(FetcherTest::test_svn): Ditto.
=== 2005-04-08 Tanaka Akira <[email protected]>
* langscan/c/ctok.l: Accept invalid escape sequences.
reported by MIYAMUKO Katsuyuki <miyamuko at mtb.biglobe.ne.jp>.
[Gonzui-devel 259]
* langscan/c.rb (LangScan::C.scan): Fix function definition detection.
reported by MIYAMUKO Katsuyuki <miyamuko at mtb.biglobe.ne.jp>.
[Gonzui-devel 259]
=== 2005-04-08 Satoru Takabayashi <[email protected]>
* configure.ac: Bumped version number to 1.1.
* gonzui/extractor.rb (Gonzui::TarExtractor): New class by
MIYAMUKO Katsuyuki <miyamuko at mtb.biglobe.ne.jp> [Gonzui-devel
257].
* gonzui/fetcher.rb (Gonzui::AbstractFetcher): inculude Util to
use assertions. [Gonzui-devel 258]
(Gonzui::Fetcher): extend Util to use assertions.
=== 2005-04-08 Kenichi Ishibashi <[email protected]>
* langscan/sh.rb: New file.
* langscan/sh/.cvsignore: New file.
* langscan/sh/Makefile.am: New file.
* langscan/sh/shtok.l: New file.
* langscan/sh/tokenlist.txt: New file.
* langscan/sh/.cvsignore: New file.
* langscan/sh/test/Makefile.am: New file.
* langscan/sh/test-scan.rb: New file.
* configure.ac (AC_OUTPUT): Added langscan/sh/Makefile and
langscan/sh/test/Makefile.
* langscan/Makefile.am (SUBDIRS): Added sh.
(rubylib_DATA): Added sh.rb.
=== 2005-04-06 Satoru Takabayashi <[email protected]>
* doc/gonzui.js: Supply "var" to all variables. Applied a patch by
Toshiaki Katayama <k at bioruby.org>.
=== 2005-04-05 Satoru Takabayashi <[email protected]>
* doc/gonzui.js (initCache): Avoid using for (i in foo) syntax to
support Safari and Netscape 7.1. Suggested by Toshiaki Katayama
<k at bioruby.org>.
(setHighlight): Ditto.
=== 2005-04-04 Satoru Takabayashi <[email protected]>
* langscan/_template.c (user_read_str): Make it static function.
=== 2005-03-31 Yoshinori KUNIGA <[email protected]>
* gonzui/extractor.rb
(Gonzui::SRPMExtractor::do_extract_internal): Fixed the bug in the
setting of the variable "command_line".
(Gonzui::SRPMExtractor::do_extract_internal): Copy spec file to
the top directory.
=== 2005-03-29 Satoru Takabayashi <[email protected]>
* gonzui: Version 1.0 released.
=== 2005-03-28 Tanaka Akira <[email protected]>
* langscan/java/javatok.l, langscan/java/tokenlist.txt:
Detect classdef.
=== 2005-03-28 Satoru Takabayashi <[email protected]>
* gonzui/importer.rb (Gonzui::Importer::import_package): Don't
rescue errors occurred in index_content.
* gonzui/util.rb (Gonzui::UTF8::to_utf8): Rescue ArgumentError as
well. [Gonzui-devel 227]
(Gonzui::UTF8::set_preference): New method.
* gonzui/cmdapp/app.rb
(Gonzui::CommandLineApplication::process_common_options): Use it.
=== 2005-03-26 Satoru Takabayashi <[email protected]>
* gonzui/indexer.rb (Gonzui::Indexer::index_content): Rescue
all exceptions raised in LangScan module. [Gonzui-devel 223]
* gonzui/importer.rb (Gonzui::Importer::import_package): Display
the relative path in the verbose message.
=== 2005-03-25 Kouichirou Eto <2005 at eto.com>
* langscan/css.rb: Change selector type from :type to :fundef
=== 2005-03-25 Kouichirou Eto <2005 at eto.com>
* langscan/css.rb: Update. Break selector.
* langscan/css/*: Removed.
=== 2005-03-25 Satoru Takabayashi <[email protected]>
* configure.ac: Bumped version number to 1.0.
* Makefile.am (gettext): Scan langscan/*.rb as well.
* gonzui/vcs.rb (Gonzui::AbstractVCS::run_command): Display
a progress message only if @config.quiet is false.
* tests/vcs.rb (VCSTest::test_cvs): New test.
(VCSTest::test_svn): New test.
* gonzui/extractor.rb
(Gonzui::SRPMExtractor::do_extract_internal): Don't use *.spec for
"system".
(Gonzui::AbstractExtractor::extract): remove temporary directories
if an error occurrs.
* gonzui/apt.rb (Gonzui::AbstractAptGet::add_cleaning_proc):
Renamed from add_clean_hook.
=== 2005-03-25 Kouichirou Eto <2005 at eto.com>
* langscan/css.rb: Redesigned. Use EasyScanner.
* langscan/css/test/test-css.rb: Add test cases.
* langscan/elisp/test/test-elisp.rb: Add test cases.
=== 2005-03-25 Satoru Takabayashi <[email protected]>
* gonzui/cmdapp/app.rb
(Gonzui::CommandLineApplication::process_common_options): Expand a
path name for gonzuirc. [Gonzui-devel 203]
* gonzui/info.rb (Gonzui::ContentInfo::dump): Check if mtime is
minus. [Gonzui-devel 202]
* tests/info.rb (InfoTest::test_minus_mtime): New test for that.
* gonzui/fetcher.rb (Gonzui::AbstractFetcher::mtime): Removed.
(Gonzui::FileFetcher::mtime): Ditto.
(Gonzui::HTTPFetcher::mtime): Ditto.
(Gonzui::AbstractFetcher::each): Ditto.
[Gonzui-devel 201]
=== 2005-03-25 Kouichirou Eto <2005 at eto.com>
* langscan/javascript.rb (LangScan::JavaScript): Update
Keywords. Remove Types.
* langscan/javascript/test-javascript.rb (TestJavaScript): Add
test cases.
=== 2005-03-23 Satoru Takabayashi <[email protected]>
* gonzui/vcs.rb (Gonzui::AbstractVCS): include Util.
[Gonzui-devel 194]
* gonzui/apt.rb (Gonzui::AptGetForDebian::find_archive): New
method.
(Gonzui::DebAptGet): Renamed from AptGetForDebian.
(Gonzui::RPMAptGet): Renamed from AptGetForFedora.
* gonzui/webapp/*.rb: Simplify calls of GonzuiServlet.register.
* gonzui/searcher.rb (Gonzui::PhraseFinder): Include Util.
[Gonzui-devel 191]
* gonzui/indexer.rb (Gonzui::Indexer::add_content_with_indexing):
Add an verbose message.
* gonzui-import (GonzuiImport::do_get_option_table): New option:
--list-archives.
(GonzuiImport::show_list_archives): New method.
(GonzuiImport::do_process_options): Fix handling of --no-* options.
* gonzui/extractor.rb (Gonzui::TarCompressExtractor): New class.
(Gonzui::LZHExtractor): New class.
=== 2005-03-22 Satoru Takabayashi <[email protected]>
* gonzui/remover.rb (Gonzui::RemoverError): New class.
(Gonzui::Remover::remove_package): Use it.
* gonzui/indexer.rb (Gonzui::IndexerError): New class.
(Gonzui::Indexer::get_package_name): Use it.
* gonzui/dbm.rb (Gonzui::AbstractDBM::get_package_options): Use
DBMError.
* gonzui/vcs.rb (Gonzui::VCSError): New class.
(Gonzui::AbstractVCS::run_command): Use it.
(Gonzui::AbstractVCS::extract): Ditto.
* gonzui/importer.rb (Gonzui::ImporterError): New class.
(Gonzui::Importer::import_package): Use it.
* gonzui/fetcher.rb (Gonzui::FetcherError): New class.
(Gonzui::Fetcher::new): Use it.
* gonzui: Version 0.9 released.
=== 2005-03-22 Kouichirou Eto <2005 at eto.com>
* configure.ac: Add `langscan/css/Makefile' and
`langscan/css/test/Makefile'.
* langscan/Makefile.am (SUBDIRS): Add `css'.
* langscan/Makefile.am (rubylib_DATA): Add `css.rb'.
* langscan/css.rb: New file.
* langscan/css/: New file.
* langscan/css/Makefile.am: New file.
* langscan/css/csstok.l: New file.
* langscan/css/tokenlist.txt: New file.
* langscan/css/test/Makefile.am: New file.
* langscan/css/test/test-css.rb: New file.
=== 2005-03-22 Satoru Takabayashi <[email protected]>
* AUTHORS: Add Kouichirou Eto <2005 at eto.com>.
* gonzui/webapp/servlet.rb (Gonzui::GonzuiServlet::register):
Simplified.
(Gonzui::GonzuiServlet::servlets): New method.
* gonzui-server (GonzuiServer::start_server): Adopt the changes.
* gonzui/extractor.rb (Gonzui::Extractor): New module.
(Gonzui::Extractor::new): Ditto.
(Gonzui::Extractor::register): Ditto.
(Gonzui::Extractor::extnames): New method.
(Gonzui::AbstractExtractor): Renamed from Extractor.
(Gonzui::TarGzipExtractor): New class.
(Gonzui::TarBzip2Extractor): Ditto.
(Gonzui::ZipExtractor): Ditto.
(Gonzui::SRPMExtractor): Ditto.
* gonzui/apt.rb (Gonzui::AptGet::register): Add an assertion.
(Gonzui::AptGet::new): Simplified.
(Gonzui::AptGetError): New class.
=== 2005-03-21 Kouichirou Eto <2005 at eto.com>
* langscan/javascript.rb: New file.
* langscan/javascript/Makefile.am: New file.
* langscan/javascript/javascripttok.l: New file.
* langscan/javascript/tokenlist.txt: New file.
* langscan/javascript/test/Makefile.am: New file.
* langscan/javascript/test/test-javascript.rb: New file.
* langscan/Makefile.am (SUBDIRS): Add `javascript'.
* langscan/Makefile.am (rubylib_DATA): Add `javascript.rb'.
=== 2005-03-21 Satoru Takabayashi <[email protected]>
* gonzui/vcs.rb (Gonzui::CVS::do_checkout): Use -z3 and -P for cvs co.
(Gonzui::CVS::do_update): Use -z3 for cvs update.
* autogen.sh: Check the flex version. 2.5.31 is required.
=== 2005-03-21 Tatsuhiko Miyagawa <[email protected]>
* langscan/perl.rb: check if PPI module is available
* configure.ac: add langscan/perl to install perl.rb
* langscan/Makefile.am (rubylib_DATA): Ditto
* langscan/perl/Makefile.am: New file
=== 2005-03-21 Satoru Takabayashi <[email protected]>
* Makefile.am (gonzuistatedir): Remove $(DESTDIR).
(install-data-local): Use $(DESTDIR) in the rule.
- Based on a patch from matsuu <matsuu at 7501.net> [Gonzui-devel
171].
* gonzui/webapp/uri.rb (Gonzui::URIMaker::make_top_uri): New
method.
* gonzui/webapp/search.rb
(Gonzui::SearchServlet::redirect_if_necessary): Use it.
* gonzui/webapp/servlet.rb (Gonzui::HTMLMaker::make_h1): Use it.
- Based on a patch from NAKAMURA, Hiroshi <nakahiro at
sarion.co.jp> [Gonzui-devel 167,169]
* gonzui/apt.rb (Gonzui::AbstractAptGet): Include Util and
TemporaryDirectoryUtil in the class instead of in the Gonzui module.
(Gonzui::AptGet): extend Util in the module.
* gonzui/searcher.rb (Gonzui::Searcher): Include Util in the class
instead of in the Gonzui module.
* gonzui/dbm.rb (Gonzui::AbstractDBM): Ditto.
* gonzui/updater.rb (Gonzui::AbstractUpdater): Ditto.
* gonzui/deindexer.rb (Gonzui::Deindexer): Ditto.
* gonzui/indexer.rb (Gonzui::Indexer): Ditto.
* gonzui/dbm.db (Gonzui::DBM): Be module.
@base_mount_point.
* gonzui/util.rb (URI::path_join): NEew method.
* gonzui/webapp/*.rb (mount_point): Be relative path.
* gonzui-server (GonzuiServer::start_server): Use #base_mount_point.
(GonzuiServer::start_server): Ditto.
* gonzui/webapp/uri.rb (Gonzui::URIMaker::make_uri_general): Use
#base_mount_point.
(Gonzui::URIMaker::make_uri_with_options): Ditto.
(Gonzui::URIMaker::make_search_uri_partial): Renamed from
make_search_uri_by_query_string.
(Gonzui::URIMaker::make_uri_general): Ditto.
* gonzui/config.rb (Gonzui::Config::initialize): New field:
* gonzui/webapp/uri.rb (Gonzui::URIMaker::make_uri_with_options):
Use it.
* gonzui/webapp/markup.rb (Gonzui::MarkupServlet::markup_source):
Use it.
(Gonzui::TextBeautifier::initialize): Add a parameter: search_uri.
* gonzui-server (GonzuiServer::do_get_option_table): New option:
--title.
* gonzui/config.rb (Gonzui::Config::initialize): New field:
@site_title.
* gonzui/webapp/servlet.rb (Gonzui::HTMLMaker::make_title): Use
@config.site_title.
(Gonzui::HTMLMaker::make_h1): Ditto.
* gonzui/webapp/*.rb: Adpot the changes.
=== 2005-03-20 Satoru Takabayashi <[email protected]>
* langscan/_common.c: New file.
* langscan/_common.h: New file.
* langscan/_make_c.rb: New file.
* langscan/_make_h.rb: New file.
* langscan/c/Makefile.am (c.h, c.c): New rules.
* langscan/java/Makefile.am (java.h, java.c): New rules.
* langscan/php/Makefile.am (php.h, php.c): New rules.
* langscan/python/Makefile.am (python.h, python.c): New rules.
* langscan/c/tokenlist.txt: New file.
* langscan/java/tokenlist.txt: New file.
* langscan/php/tokenlist.txt: New file.
* langscan/python/tokenlist.txt: New file.
* langscan/common.c: New file.
* langscan/common.h: New file.
* langscan/c/c.c (user_read_io): Removed.
(user_read_str): Ditto.
(tokenizer_initialize): Simplified.
(Init_c): Ditto.
include "../common.h".
* langscan/c/Makefile.am (LANGSCAN_C_OBJS): Add ../common.o
* langscan/java/*: Do the same things.
* langscan/php/*: Do the same things.
* langscan/php/php.c (user_read_io): Fix orders of variable
declaration and if statement. It caused a compilation error with
old gcc like 2.95.
* langscan/python/python.c (user_read_io): Ditto.
* gonzui/config.rb (Gonzui::Config::initialize): Change the
default values for @max_results_per_page and @nresults_candidates.
* gonzui/searchresult.rb (Gonzui::SearchResult::initialize): New
field: @limit_exceeded.
(Gonzui::SearchResult::limit_exceeded?): New method.
* gonzui/searcher.rb
(Gonzui::Searcher::search_with_package_internal): Use #exceed_limit.
(Gonzui::Searcher::search_without_scope): Ditto.
* gonzui/webapp/search.rb
(Gonzui::SearchServlet::do_make_status_line): Display "+" mark if
the search results exceed the limit.
* langscan/perl.rb (LangScan::Perl::shell_escape): New method.
(LangScan::Perl::open_tokenizer): Use it.
* langscan/_common.rb (LangScan::ScanFailed): Renamed from
LangScanFailed.
* gonzui/indexer.rb (Gonzui::Indexer::index_content): Print a
path name when calling fallback routine.
* AUTHORS: Add Tatsuhiko Miyagawa <miyagawa at bulknews.net>.
* langscan/_common.rb (LangScan::LangScanFailed): Renamed from
LangScanError.
* gonzui/indexer.rb (Gonzui::Indexer::index_content): Rescue the
error to call a fallback routine.
* gonzui/importer.rb (Gonzui::Importer::import): Ensure calling
Fetcher#finish.
=== 2005-03-19 Tatsuhiko Miyagawa <[email protected]>
* langscan/perl.rb: Tokenizer process is now spawned once per
gonzui-import. Catch EOFError and reconnect to fix Broken Pipe.
* langscan/perl/tokenizer.rb: Improved lineno and byteno
calculation. Fixed tokenizer bug with multiple heredocs on the
same line "$foo = COND ? <<FOO : <<BAR;" Fixed type on some vars.
Assert source code length to avoid a hang. support 'funcdef' for
"sub foo { }". support 'funcall' for "$foo->bar()". support
'classdef' for "package Bar". support classref for "use Foo;".
=== 2005-03-18 Tatsuhiko Miyagawa <[email protected]>
* langscan/perl.rb: New file.
* langscan/perl/tokenizer.rb: New file.
=== 2005-03-18 Satoru Takabayashi <[email protected]>
* gonzui-server (GonzuiServer::make_webrick_options): Use STDOUT
for logging.
(GonzuiServer::do_start): Ditto.
* configure.ac: Bumped version number to 0.9.
* langscan/elisp.rb (LangScan::EmacsLisp): Fix a pattern for
strings by appying a patch from MIYAMUKO Katsuyuki <k-miyamuko at
az.jp.nec.com> [Gonzui-devel 147].
* gonzui/searchquery.rb
(Gonzui::SearchQuery::string_without_properties): New method.
* gonzui/webapp/uri.rb (Gonzui::URIMaker::make_google_uri): Use it
to fix a bug reported in [Gonzui-devel 147]
* gonzuirc.sample.in.in: Add an entry for cache_directory. Fix a
bug reported in [Gonzui-devel 146]
* langscan/php.rb (LangScan::PHP): Simplify by reducing
declarations of module_function.
* langscan/python.rb (LangScan::Python): Ditto.
* langscan/c.rb (LangScan::C): Ditto.
* langscan/ruby.rb (LangScan::Ruby): Ditto.
* langscan/java.rb (LangScan::Java): Ditto.
* langscan.rb (LangScan::register): Add an error check for
duplicated extention names.
* langscan-test (assert_equal): Add a type check for Fragment
objects.
* Makefile.am (gonzui.rb): Fix a substitution typo from GONZUI_URL
to GONZUI_URI.
* langscan/c/c.c (user_read_io): Fix orders of variable
declaration and if statement. It caused a compilation error with
old gcc like 2.95.
* langscan/java/java.c (user_read_io): Ditto.
* gonzui/cmdapp/app.rb
(Gonzui::CommandLineApplication::show_usage): Fix a typo
[Gonzui-devel 145]
=== 2005-03-17 Satoru Takabayashi <[email protected]>
* gonzui: Version 0.8 released.
* gonzui/fetcher.rb (Gonzui::AbstractFetcher::get_extractor): New
method.
(Gonzui::FileFetcher::get_extractor): Renamed from extractor.
(Gonzui::HTTPFetcher::get_extractor): Ditto.
(Gonzui::AptFetcher::get_extractor): Ditto.
(Gonzui::CVSFetcher::get_extractor): Ditto.
(Gonzui::SubversionFetcher::get_extractor): Ditto.
* gonzui/dbm.rb (Gonzui::AbstractDBM::get_mtime): Removed.
* gonzui/deindexer.rb (Gonzui::Deindexer::remove_content_common):
print a message for verbose mode.
* gonzui/remover.rb (Gonzui::Remover::remove_package): Use
make_progress_bar.
* gonzui/dbm.rb (Gonzui::AbstractDBM): New DB: pathid_hash.
(Gonzui::DB_VERSION): Bumped version number to 13.
* gonzui/indexer.rb (Gonzui::Indexer::initialize): New field:
@content_hash.
(Gonzui::Indexer::add_content_common): Store @content_hash to
pathid_hash DB.
* gonzui/deindexer.rb (Gonzui::Deindexer::remove_content_common):
Remove a value from pathid_hash.
* gonzui/dbm.rb (Gonzui::AbstractDBM::get_content_hash): New method.
* gonzui/updater.rb (Gonzui::UpdateDiff::file_updated?): Use it
for finding updates.
* gonzui-import (GonzuiImport::do_get_option_table): New option:
--svn.
(GonzuiImport::validate_combinations): New method.
(GonzuiImport::make_uri_for_vcs): Ditto.
* gonzui/util.rb (URI::for_svn): New method.
* gonzui/fetcher.rb (Gonzui::SubversionFetcher): New class.
* gonzui/vcs.rb (Gonzui::Subversion): New class.
* gonzui/vcs.rb (CVS::do_checkout): New method.
(CVS::do_update): New method.
(AbstractVCS::run_command): New method.
* gonzui-import (GonzuiImport::make_uri): Add an error check for
malformed URIs.
* gonzui/vcs.rb: New file.
(AbstractVCS): New class.
(CVS): Moved from fetcher.rb.
* tests/vcs.rb: New file.
* gonzui/apt.rb (Gonzui::AptGetError): Removed.
* gonzui/fetcher.rb (Gonzui::CVSFetcher::CVS::extract): Add an
error checking for "system".
* gonzui/updater.rb (Gonzui::UpdateDiff::ncontents): Renamed from
nfiles.
* gonzui/importer.rb (Gonzui::Importer::import_package): Add an
error handling to protect the process from exceptions raised by
unreadable files and etc. [Gonzui-devel 140].
* tests/importer.rb (ImporterTest::test_import_unreadable_file):
New test for it.
=== 2005-03-16 Satoru Takabayashi <[email protected]>
* gonzui/util.rb (URI::for_apt): Renamed from from_apt.
(URI::for_cvs): New method.
* gonzui-import (GonzuiImport::do_get_option_table): New option
--cvs.
(GonzuiImport::make_uri): Use URI.for_cvs.
* gonzui/config.rb (Gonzui::Config::initialize): New field:
@cache_directory.
* gonzui/fetcher.rb (Gonzui::CVSFetcher): New class.
(Gonzui::AbstractFetcher::exclude?): New method.
(Gonzui::FileFetcher::collect): Use it.
(Gonzui::HTTPFetcher::collect): Use it.
* configure.ac: Bumped version number to 0.8.
=== 2005-03-15 Satoru Takabayashi <[email protected]>
* gonzui/extractor.rb (Gonzui::Extractor::extract_srpm): Modify
the extraction process based on a patch from Yoshinori KUNIGA
<kuniga at r6.dion.ne.jp> [Gonzui-devel 111]. Use rpm and
rpmbuild command instead of rpm2cpio and cpio.
(Gonzui::Extractor::has_single_directory?): Take a parameter.
(Gonzui::Extractor::prepare_rpm_directories): New method.
(Gonzui::Extractor::clean_rpm_directories): Ditto.
=== 2005-03-14 Satoru Takabayashi <[email protected]>
* doc/gonzui.js (passQuery): Simplified.
* gonzui/webapp/Makefile.am (CLEANFILES): Include *.o.
* gonzui/Makefile.am (CLEANFILES): Ditto.
* gonzui/webapp/uri.rb (Gonzui::URIMaker::ParamTable): Fix the
short name for :format ("f" was used accidentally for :from and
:format). Fix the malformed URL in the search results navigation
reported by Kenshi Muto <kmuto at debian.org>.
=== 2005-03-04 Satoru Takabayashi <[email protected]>
* gonzui: Version 0.7 released.
=== 2005-03-04 Tanaka Akira <[email protected]>
* langscan/c/ctok.l: Fix recognition of preproc_beg in non-INITIAL
state. [Gonzui-devel 128]
=== 2005-03-04 Satoru Takabayashi <[email protected]>
* langscan/_common.rb (LangScan::Fragment::register): New method
for working as a stub.
* gonzui/fetcher.rb (Gonzui::Fetcher::new): Add a validation for
detecting malformed URIs.
* gonzui/content.rb (Gonzui::Content): Simplified.
* gonzui/indexer.rb (Gonzui::Indexer): Adopt the change.
=== 2005-03-04 Keisuke Nishida <[email protected]>
* gonzui/texttokenizer.c (Init_texttokenizer): Define
TextTokenizer as a module rather than a class.
(texttokenizer_each_word): Renamed from texttokenizer_each.
Take an argument 'text'. Don't yield lineno.
(skip): Don't count lineno.
(struct gonzui_texttokenizer): Removed.
(texttokenizer_new): Ditto.
(texttokenizer_free): Ditto.
(texttokenizer_s_allocate): Ditto.
(texttokenizer_initialize): Ditto.
* gonzui/indexer.rb (Gonzui::Indexer::add_word): Don't receive lineno.
(Gonzui::Indexer::add_text): Adopt the changes.
(Gonzui::Indexer::add_fragment): Ditto.
* gonzui/searchquery.rb
(Gonzui::SearchQuery::add_item_for_phrase): Ditto.
* tests/texttokenizer.rb (TextTokenizerTest::_test_collect): Ditto.
(TextTokenizerTest::_test_with_words): Ditto.
(TextTokenizerTest::_test_text): Ditto.
=== 2005-03-03 Satoru Takabayashi <[email protected]>
* gonzui/updater.rb (Gonzui::AbstractUpdater::index_content):
Simplified.
(Gonzui::AbstractUpdater::update_content): Ditto.
(Gonzui::UpdateDiff): Renamed from UpdateCollector.
* gonzui: replace all occurrences of "url" with "uri".
* gonzui/pathcollector.rb: Removed.
* tests/pathcollector.rb: Removed.
* langscan/*.rb: Simplify registrations.
* gonzui/fetcher.rb (Gonzui::FetchFailed): Removed.
(Gonzui::AbstractFetcher): New class.
(Gonzui::FileFetcher): Be classs.
(Gonzui::HTTPFetcher): Ditto.
(Gonzui::AptFetcher): New class.
* gonzui/apt.rb (Gonzui::AptGet::extract): Renamed from get.
(Gonzui::AptGet): New module.
(Gonzui::AbstractAptGet): Renamed from AptGet.
* gonzui/importer.rb (Gonzui::Importer::import_archive): Removed.
(Gonzui::Importer::import): Simplified.
(Gonzui::Importer::import_common): Removed.
(Gonzui::Importer::import_by_apt): Removed.
* gonzui/extractor.rb (Gonzui::Extractor::supported_archive?): Removed.
* gonzui/updater.rb
(Gonzui::AbstractUpdater::index_content_internal): New parameter
options.
(Gonzui::AbstractUpdater::index_content): Ditto.
(Gonzui::AbstractUpdater::update_content): Ditto.
(Gonzui::UpdateCollector::initialize): New parameter: options.
(Gonzui::UpdateCollector::initialize): New field: @exclude_pattern.
(Gonzui::Updater::initialize): New field: @package_options.
* gonzui/dbm.rb (Gonzui::AbstractDBM): New DB: pkgid_options.
(Gonzui::AbstractDBM::put_package_options): New method.
(Gonzui::AbstractDBM::put_pathid_wordids): Renamed
from save_pathid_wordids.
(Gonzui::AbstractDBM::put_db_version): Renamed from save_db_version.
(Gonzui::AbstractDBM::get_package_options): New method.
(Gonzui::IDCounter::flush): Fix the last_id handling bug.
* gonzui/indexer.rb (Gonzui::Indexer::add_package_if_necessary):
Use it.
(Gonzui::Indexer::initialize): New parameter options, and new
field: @noindex_formats.
(Gonzui::Indexer::indexable?): Adopt the change.
* gonzui/pathcollector.rb (Gonzui::PathCollector::initialize): New
parameter: options, and new field @exclude_pattern.
(Gonzui::PathCollector::collect_relative_paths): Adopt the change.
* gonzui/dbm.rb (Gonzui::DB_VERSION): Bumped version number to 12.
* gonzui/deindexer.rb
(Gonzui::Deindexer::remove_package_if_necessary): Remove the DB.
* gonzui/util.rb (URI::from_apt): Use a dummy host name.
(Regexp): Moved from gonzui-import.
(Regexp::to_s2): Removed.
* gonzui/importer.rb (Gonzui::Importer::import): Adopt the change.
=== 2005-03-02 Satoru Takabayashi <[email protected]>
* gonzui/importer.rb (Gonzui::Importer::initialize): New field:
@last_package_name.
(Gonzui::Importer::import_package): Adopt the change.
* gonzui-import (GonzuiImport::import): Ditto.
* gonzui/util.rb (URI::from_path): New method.
(File::make_url): Removed.
(URI::from_apt): New method.
* gonzui/importer.rb (Gonzui::Importer::import): New method.
(Gonzui::Importer::import_package): Renamed from add_package.
(Gonzui::Importer::import_common): Ditto.
(Gonzui::Importer::import_directory): Ditto.
(Gonzui::Importer::import_archive): Ditto.
(Gonzui::Importer::import_by_apt): Ditto.
(Gonzui::Importer::import_url): Renamed from import_directory.
* gonzui/pathcollector.rb: Renamed from package.rb.
(Gonzui::PathCollector): Renamed from Package.
(Gonzui::PathCollector::include?): Removed.
* gonzui/importer.rb: Adopt the changes.
* gonzui/updater.rb: Ditto.
* tests/pathcollector.rb: Renamed from package.rb.
* doc/gonzui.js (initFocus): New function.
* gonzui/webapp/servlet.rb (Gonzui::HTMLMaker::make_search_form):
Call initFocus();
* gonzui/fetcher.rb (Gonzui::FetchFailed): New class.
(Gonzui::FileFetcher::fetch): Add error handling.
(Gonzui::FileFetcher::mtime): Ditto.
(Gonzui::FileFetcher::collect): Ditto.
* gonzui/updater.rb (Gonzui::AbstractUpdater::index_content): Make
Content object in the method.
(Gonzui::AbstractUpdater::update_content): Adopt the change.
(Gonzui::Updater::update_directory): Ditto.
* gonzui/importer.rb (Gonzui::Importer::add_package): Ditto.
* gonzui/package.rb (Gonzui::Package::get_path_id): Removed.
(Gonzui::Package::npaths): Renamed from nfiles.
* gonzui/importer.rb (Gonzui::Importer::add_package): Adopt the change.
* tests/langscan.rb (TestLangScan::test_modules): Removed.