lxr-developer Mailing List for LXR Cross Referencer (Page 35)
Brought to you by:
ajlittoz
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(11) |
Jun
(21) |
Jul
(14) |
Aug
(83) |
Sep
(23) |
Oct
(37) |
Nov
(52) |
Dec
(10) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(28) |
Feb
(40) |
Mar
(21) |
Apr
(8) |
May
(21) |
Jun
(13) |
Jul
(9) |
Aug
(5) |
Sep
(8) |
Oct
(7) |
Nov
(2) |
Dec
|
2003 |
Jan
(2) |
Feb
(1) |
Mar
(11) |
Apr
(4) |
May
(6) |
Jun
(15) |
Jul
(4) |
Aug
(4) |
Sep
(9) |
Oct
(1) |
Nov
(1) |
Dec
(1) |
2004 |
Jan
(4) |
Feb
|
Mar
(4) |
Apr
(12) |
May
(5) |
Jun
(9) |
Jul
(47) |
Aug
(1) |
Sep
(1) |
Oct
(7) |
Nov
|
Dec
(1) |
2005 |
Jan
(4) |
Feb
(2) |
Mar
(3) |
Apr
(10) |
May
(9) |
Jun
(15) |
Jul
(3) |
Aug
(1) |
Sep
(8) |
Oct
(9) |
Nov
(10) |
Dec
(4) |
2006 |
Jan
(1) |
Feb
|
Mar
(9) |
Apr
(5) |
May
(1) |
Jun
(6) |
Jul
(2) |
Aug
|
Sep
(5) |
Oct
(2) |
Nov
|
Dec
(3) |
2007 |
Jan
(2) |
Feb
(1) |
Mar
(32) |
Apr
(3) |
May
(3) |
Jun
(16) |
Jul
(1) |
Aug
|
Sep
|
Oct
(2) |
Nov
(4) |
Dec
(3) |
2008 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
(46) |
Apr
(70) |
May
(15) |
Jun
(13) |
Jul
(1) |
Aug
|
Sep
(7) |
Oct
|
Nov
|
Dec
|
2010 |
Jan
(5) |
Feb
(4) |
Mar
|
Apr
|
May
(2) |
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
(7) |
Nov
(6) |
Dec
|
2011 |
Jan
(1) |
Feb
|
Mar
(85) |
Apr
(18) |
May
(4) |
Jun
(3) |
Jul
(4) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(2) |
Dec
(20) |
2012 |
Jan
(17) |
Feb
(16) |
Mar
(13) |
Apr
(18) |
May
|
Jun
(6) |
Jul
(6) |
Aug
(10) |
Sep
(15) |
Oct
(10) |
Nov
(25) |
Dec
(1) |
From: Tom C. <to...@in...> - 2002-04-22 15:15:17
|
Hello Darragh - Hm.... looking at your lxr.conf file further, there's a "swishdir" parameter in there... have you set that to the correct directory already? Other than that, I've only used LXR with glimpse, so I'm not sure how much else I can help.... Good luck, Tom -----Original Message----- From: lxr...@li... [mailto:lxr...@li...] On Behalf Of Darragh Sherwin Sent: Monday, April 22, 2002 10:01 AM To: Tom Copeland Cc: lxr...@li... Subject: Re: [Lxr-dev] No database name passed to Index.pm Hi Tom, I am using lxr 0.9.1 with swish-e (I can't use glimpse because of licensing issues), I ran genxref on the source which seemed to work ok, in that there is load of data in the mysql database files. My lxr.conf is attached below, Can you please give me help with this?? i.e. am I doing something wrong? My url is http://cdelab18.ireland/lxr for the lxr Thanks Tom Copeland wrote: > Hello Darragh - > > Have you run the glimpseindex program yet? That's what generates the > indexes. If you have already run glimpseindex, you might look at > lxr.conf and ensure that the dbdir parameter is set to the directory > where the glimpse output files are.... > > Yours, > > Tom > > -----Original Message----- > From: lxr...@li... > [mailto:lxr...@li...] On Behalf Of Darragh > Sherwin > Sent: Monday, April 22, 2002 8:24 AM > To: lxr...@li... > Subject: [Lxr-dev] No database name passed to Index.pm > > > Hi, > I ran the script 'source' on the command line as it gave me no > output in > my browser, I get the following error: > > [Mon Apr 22 09:01:14 2002] fatal: LXR::Index, line 39: Can't find > database, at lib/LXR/Index.pm line 39. > > [@INC ./lib /usr/perl5/5.6.1/sun4-solaris /usr/perl5/5.6.1 /usr/perl5 . > $0 ./source > <h4 align="center"><i>** Fatal: Can't find database, at > lib/LXR/Index.pm line 39. > </i></h4> > > I looked at Index.pm and put in some debug statements to print out > $dbname, but nothing existed, can somebody tell where else I may need to > put in debug statements?? > > The information is already in the database and everything in the > database looks good. > > I have attached my conf file for some fun, I am using mysql > > Thanks for any help > -- _______________________ Darragh Sherwin Dar...@Su... "To alcohol, the cause of, and solution to, all of life's problems" Homer Simpson --------------------------lxr.conf------------------------ # -*- mode: perl -*- # Configuration file # ( { # Global configuration # Path to glimpse executable. # Define this OR the swish-e variables depending which search engine you want to use. # 'glimpsebin' => '/info/lxr/bin/glimpse', # Location of SWISH-E indexer binary 'swishindex' => '/opt/gnome-1.4/bin/swish-e', # Location of SWISH-E search binary 'swishsearch' => '/opt/gnome-1.4/bin/swish-e', # Path to Exuberant Ctags executable 'ectagsbin' => '/usr/bin/ctags', # Place where lxr can write temporary files 'tmpdir' => '/tmp', # Location of the Generic.pm config file 'genericconf' => '/usr/perl5/5.6.1/LXR/Lang/generic.conf' }, { # Configuration for http://192.168.1.3/lxr. # baseurl is used to select configuration block. 'baseurl' => 'http://cdelab18.ireland/lxr/source', # Put your URL here 'virtroot' => '/lxr/source', # The bit after the / above 'variables' => { # Define typed variable "v". This is t he list of versions to index. 'v' => {'name' => 'Version', # This can come from a file, a function or be explicitly # ennumerated. # From a file: 'range' => [ readfile ('src/versions') ], # Explicitly: # 'range' => [qw(v1 v2 v3.1 v4 experimental)], # If files within a tre e can have different versions, # e.g in a CVS tree, 'r ange' can be specified as a # function to call for each file: #'range' => sub { ret urn # ($files->allreleases($LXR::Common::pathname), # $files->allrevisions($LXR::Common::pathname)) # }, # deferred function call. # The default version t o display 'default' => 'SRX642'}, # Define typed variable "a". First val ue is default. 'a' => {'name' => 'Architecture', 'range' => [qw(i386 a lpha arm m68k mips ppc sparc sparc64)]}, }, # These do funky things to paths in the system - you probably don't need them. 'maps' => { '/include/asm[^\/]*/' => '/include/asm-$a/', '/arch/[^\/]+/' => '/arch/$a/', }, # Templates used for headers and footers 'htmlhead' => 'html-head.html', 'htmltail' => 'html-tail.html', 'htmldir' => 'html-dir.html', 'htmlident' => 'html-ident.html', 'sourcehead' => 'html-head.html', 'sourcedirhead' => 'html-head.html', 'stylesheet' => 'lxr.css', # sourceroot - where to get the source files from # For ordinary directories, this specifies a directory which has each version as a # subdirectory e.g. # indexed-src/version1/... # indexed-src/version2/... # The names of the version directories must match the values for the Version # variable above. 'sourceroot' => '/SunONEWebTop/SRX642', # Alternatively, this can specify a CVS repository by setting the value to "cv s:" # followed by the path to the repository. Note this must be file accessible - remote # server access does NOT work. # 'sourceroot' => 'cvs:/hom/karsk/a/CVSROOT/linux', # The name to display for this source tree 'sourcerootname' => 'StarOffice SRX642', # The DBI identifier for the database to use # For mysql, the format is dbi:mysql:dbname=<name> # for Postgres, it is dbi:Pg:dbname=<name> 'dbname' => 'dbi:mysql:dbname=lxr', # If you need to specify the username or password for the database connection, # uncomment the following two lines # 'dbpass' => 'foo', 'dbuser' => 'lxr', # For using glimpse, the directory to store the .glimpse files in is required # 'glimpsedir' => '/path/to/glimpse/databases', # Location of swish-e index database files if using swish-e 'swishdir' => '/export/home/website/lxr/SRX642/', # where to look for include files inside the sourcetree. This is used to hype rlink # to included files. 'incprefix' => ['/include', '/include/linux'], # Which extensions to treat as images when browsing. If a file is an image, # it is displayed. 'graphicfile' => '(?i)\.(gif|jpg|jpeg|pjpg|pjpeg|xbm|png)$', #' # How to map files to languages # Note that the string for the key and the first entry in the # array MUST match 'filetype' => { # Format is # Language name, filepatten regexp, module to i nvoke, # (optional )tabwidth # Note that to have another language supported by Generic.pm, # you must ensure that: # a) exuberant ctags supports it # b) generic.conf is updated to specify informa tion about the language # c) the name of the language given here matche s the entry in generic.conf 'C' => ['C', '\.c$' #' , 'LXR::Lang::Generic', '8'], 'C++' => ['C++', '\.C$|((?i)\.c\+\+$|\.cc$|\.cp p$|\.cxx$|\.h$|\.hh$|\.hpp$|\.hxx$|\.h\+\+$)' #' , 'LXR::Lang::Generic', '8'], # Some languages are commented out until the relevant entries in generic.conf ar e made # The list here is the set supported by ctags 5.0.1 # ['Beta', '(?i)\.bet$' #' # , 'LXR::Lang::Generic'], # ['Cobol', '(?i)\.cob$' #' # , 'LXR::Lang::Generic'], # ['Eiffel', '(?i)\.e$' #' # , 'LXR::Lang::Generic'], # ['Fortran', '(?i)\.f$|\.for$|\.ftn$|\.f77$|\.f9 0$|\.f95$' #' # , 'LXR::Lang::Generic'], 'Java' => ['Java', '(?i)\.java$' #' , 'LXR::Lang::Java', '4'], # ['Lisp', '(?i)\.cl$|\.clisp$|\.el$|\.l$|\.lisp$ |\.lsp$|\.ml$' #' # , 'LXR::Lang::Generic'], # No tabwidth specified here as an example 'Make' => ['Make', '(?i)\.mak$|makefile*' #' , 'LXR::Lang::Generic'], # ['Pascal', '(?i)\.p$|\.pas$' #' # , 'LXR::Lang::Generic'], 'Perl' => ['Perl', '(?i)\.pl$|\.pm$|\.perl$' #' , 'LXR::Lang::Generic', '4'], 'php' => ['php', '(?i)\.php$|\.php3$|\.phtml$' #' , 'LXR::Lang::Generic', '2'], 'Python' => ['Python', '(?i)\.py$|\.python$' #' , 'LXR::Lang::Generic', '4'], # ['rexx', '(?i)\.cmd$|\.rexx$|\.rx$' #' # , 'LXR::Lang::Generic'], # ['ruby', '(?i)\.rb$' #' # , 'LXR::Lang::Generic'], # ['scheme', '(?i)\.sch$|\.scheme$|\.scm$|\.sm$' #' # , 'LXR::Lang::Generic'], # ['shell', '(?i)\.sh$|\.bsh$|\.bash$|\.ksh$|\.zs h$' #' # , 'LXR::Lang::Generic'], # ['s-Lang', '(?i)\.sl$' #' # , 'LXR::Lang::Generic'], # ['tcl', '(?i)\.tcl$|\.wish$' #' # , 'LXR::Lang::Generic'], }, # Maps interpreter names to languages. The format is: # regexp => langname # regexp is matched against the part after #! on the first line of a file # langname must match one of the keys in filetype above. # # This mapping is only used if the filename doesn't match a pattern above, so # a shell script called shell.c will be recognised as a C file, not a shell fi le. 'interpreters' => { 'perl' => 'Perl', 'bash' => 'shell', 'csh' => 'shell', 'python' => 'Python', }, }) _______________________________________________ Lxr-developer mailing list Lxr...@li... https://lists.sourceforge.net/lists/listinfo/lxr-developer |
From: Darragh S. <Dar...@Su...> - 2002-04-22 14:59:27
|
Hi Tom, I am using lxr 0.9.1 with swish-e (I can't use glimpse because of licensing issues), I ran genxref on the source which seemed to work ok, in that there is load of data in the mysql database files. My lxr.conf is attached below, Can you please give me help with this?? i.e. am I doing something wrong? My url is http://cdelab18.ireland/lxr for the lxr Thanks Tom Copeland wrote: > Hello Darragh - > > Have you run the glimpseindex program yet? That's what generates the > indexes. If you have already run glimpseindex, you might look at > lxr.conf and ensure that the dbdir parameter is set to the directory > where the glimpse output files are.... > > Yours, > > Tom > > -----Original Message----- > From: lxr...@li... > [mailto:lxr...@li...] On Behalf Of Darragh > Sherwin > Sent: Monday, April 22, 2002 8:24 AM > To: lxr...@li... > Subject: [Lxr-dev] No database name passed to Index.pm > > > Hi, > I ran the script 'source' on the command line as it gave me no > output in > my browser, I get the following error: > > [Mon Apr 22 09:01:14 2002] fatal: LXR::Index, line 39: Can't find > database, at lib/LXR/Index.pm line 39. > > [@INC ./lib /usr/perl5/5.6.1/sun4-solaris /usr/perl5/5.6.1 /usr/perl5 . > $0 ./source > <h4 align="center"><i>** Fatal: Can't find database, at > lib/LXR/Index.pm line 39. > </i></h4> > > I looked at Index.pm and put in some debug statements to print out > $dbname, but nothing existed, can somebody tell where else I may need to > put in debug statements?? > > The information is already in the database and everything in the > database looks good. > > I have attached my conf file for some fun, I am using mysql > > Thanks for any help > -- _______________________ Darragh Sherwin Dar...@Su... "To alcohol, the cause of, and solution to, all of life's problems" Homer Simpson --------------------------lxr.conf------------------------ # -*- mode: perl -*- # Configuration file # ( { # Global configuration # Path to glimpse executable. # Define this OR the swish-e variables depending which search engine you want to use. # 'glimpsebin' => '/info/lxr/bin/glimpse', # Location of SWISH-E indexer binary 'swishindex' => '/opt/gnome-1.4/bin/swish-e', # Location of SWISH-E search binary 'swishsearch' => '/opt/gnome-1.4/bin/swish-e', # Path to Exuberant Ctags executable 'ectagsbin' => '/usr/bin/ctags', # Place where lxr can write temporary files 'tmpdir' => '/tmp', # Location of the Generic.pm config file 'genericconf' => '/usr/perl5/5.6.1/LXR/Lang/generic.conf' }, { # Configuration for http://192.168.1.3/lxr. # baseurl is used to select configuration block. 'baseurl' => 'http://cdelab18.ireland/lxr/source', # Put your URL here 'virtroot' => '/lxr/source', # The bit after the / above 'variables' => { # Define typed variable "v". This is t he list of versions to index. 'v' => {'name' => 'Version', # This can come from a file, a function or be explicitly # ennumerated. # From a file: 'range' => [ readfile ('src/versions') ], # Explicitly: # 'range' => [qw(v1 v2 v3.1 v4 experimental)], # If files within a tre e can have different versions, # e.g in a CVS tree, 'r ange' can be specified as a # function to call for each file: #'range' => sub { ret urn # ($files->allreleases($LXR::Common::pathname), # $files->allrevisions($LXR::Common::pathname)) # }, # deferred function call. # The default version t o display 'default' => 'SRX642'}, # Define typed variable "a". First val ue is default. 'a' => {'name' => 'Architecture', 'range' => [qw(i386 a lpha arm m68k mips ppc sparc sparc64)]}, }, # These do funky things to paths in the system - you probably don't need them. 'maps' => { '/include/asm[^\/]*/' => '/include/asm-$a/', '/arch/[^\/]+/' => '/arch/$a/', }, # Templates used for headers and footers 'htmlhead' => 'html-head.html', 'htmltail' => 'html-tail.html', 'htmldir' => 'html-dir.html', 'htmlident' => 'html-ident.html', 'sourcehead' => 'html-head.html', 'sourcedirhead' => 'html-head.html', 'stylesheet' => 'lxr.css', # sourceroot - where to get the source files from # For ordinary directories, this specifies a directory which has each version as a # subdirectory e.g. # indexed-src/version1/... # indexed-src/version2/... # The names of the version directories must match the values for the Version # variable above. 'sourceroot' => '/SunONEWebTop/SRX642', # Alternatively, this can specify a CVS repository by setting the value to "cv s:" # followed by the path to the repository. Note this must be file accessible - remote # server access does NOT work. # 'sourceroot' => 'cvs:/hom/karsk/a/CVSROOT/linux', # The name to display for this source tree 'sourcerootname' => 'StarOffice SRX642', # The DBI identifier for the database to use # For mysql, the format is dbi:mysql:dbname=<name> # for Postgres, it is dbi:Pg:dbname=<name> 'dbname' => 'dbi:mysql:dbname=lxr', # If you need to specify the username or password for the database connection, # uncomment the following two lines # 'dbpass' => 'foo', 'dbuser' => 'lxr', # For using glimpse, the directory to store the .glimpse files in is required # 'glimpsedir' => '/path/to/glimpse/databases', # Location of swish-e index database files if using swish-e 'swishdir' => '/export/home/website/lxr/SRX642/', # where to look for include files inside the sourcetree. This is used to hype rlink # to included files. 'incprefix' => ['/include', '/include/linux'], # Which extensions to treat as images when browsing. If a file is an image, # it is displayed. 'graphicfile' => '(?i)\.(gif|jpg|jpeg|pjpg|pjpeg|xbm|png)$', #' # How to map files to languages # Note that the string for the key and the first entry in the # array MUST match 'filetype' => { # Format is # Language name, filepatten regexp, module to i nvoke, # (optional )tabwidth # Note that to have another language supported by Generic.pm, # you must ensure that: # a) exuberant ctags supports it # b) generic.conf is updated to specify informa tion about the language # c) the name of the language given here matche s the entry in generic.conf 'C' => ['C', '\.c$' #' , 'LXR::Lang::Generic', '8'], 'C++' => ['C++', '\.C$|((?i)\.c\+\+$|\.cc$|\.cp p$|\.cxx$|\.h$|\.hh$|\.hpp$|\.hxx$|\.h\+\+$)' #' , 'LXR::Lang::Generic', '8'], # Some languages are commented out until the relevant entries in generic.conf ar e made # The list here is the set supported by ctags 5.0.1 # ['Beta', '(?i)\.bet$' #' # , 'LXR::Lang::Generic'], # ['Cobol', '(?i)\.cob$' #' # , 'LXR::Lang::Generic'], # ['Eiffel', '(?i)\.e$' #' # , 'LXR::Lang::Generic'], # ['Fortran', '(?i)\.f$|\.for$|\.ftn$|\.f77$|\.f9 0$|\.f95$' #' # , 'LXR::Lang::Generic'], 'Java' => ['Java', '(?i)\.java$' #' , 'LXR::Lang::Java', '4'], # ['Lisp', '(?i)\.cl$|\.clisp$|\.el$|\.l$|\.lisp$ |\.lsp$|\.ml$' #' # , 'LXR::Lang::Generic'], # No tabwidth specified here as an example 'Make' => ['Make', '(?i)\.mak$|makefile*' #' , 'LXR::Lang::Generic'], # ['Pascal', '(?i)\.p$|\.pas$' #' # , 'LXR::Lang::Generic'], 'Perl' => ['Perl', '(?i)\.pl$|\.pm$|\.perl$' #' , 'LXR::Lang::Generic', '4'], 'php' => ['php', '(?i)\.php$|\.php3$|\.phtml$' #' , 'LXR::Lang::Generic', '2'], 'Python' => ['Python', '(?i)\.py$|\.python$' #' , 'LXR::Lang::Generic', '4'], # ['rexx', '(?i)\.cmd$|\.rexx$|\.rx$' #' # , 'LXR::Lang::Generic'], # ['ruby', '(?i)\.rb$' #' # , 'LXR::Lang::Generic'], # ['scheme', '(?i)\.sch$|\.scheme$|\.scm$|\.sm$' #' # , 'LXR::Lang::Generic'], # ['shell', '(?i)\.sh$|\.bsh$|\.bash$|\.ksh$|\.zs h$' #' # , 'LXR::Lang::Generic'], # ['s-Lang', '(?i)\.sl$' #' # , 'LXR::Lang::Generic'], # ['tcl', '(?i)\.tcl$|\.wish$' #' # , 'LXR::Lang::Generic'], }, # Maps interpreter names to languages. The format is: # regexp => langname # regexp is matched against the part after #! on the first line of a file # langname must match one of the keys in filetype above. # # This mapping is only used if the filename doesn't match a pattern above, so # a shell script called shell.c will be recognised as a C file, not a shell fi le. 'interpreters' => { 'perl' => 'Perl', 'bash' => 'shell', 'csh' => 'shell', 'python' => 'Python', }, }) |
From: Tom C. <to...@in...> - 2002-04-22 14:41:02
|
Ah, I hadn't noticed that you included your lxr.conf as an attachment. Yep, you might want to add the dbdir parameter... here's what mine looks like: <snip> # Global configuration 'glimpsebin' => '/usr/local/bin/glimpse', 'ectagsbin' => '/usr/bin/ctags', 'tmpdir' => '/tmp', 'dbdir' => '/home/lxr/lxr', <snip> Yours, Tom -----Original Message----- From: lxr...@li... [mailto:lxr...@li...] On Behalf Of Darragh Sherwin Sent: Monday, April 22, 2002 8:24 AM To: lxr...@li... Subject: [Lxr-dev] No database name passed to Index.pm Hi, I ran the script 'source' on the command line as it gave me no output in my browser, I get the following error: [Mon Apr 22 09:01:14 2002] fatal: LXR::Index, line 39: Can't find database, at lib/LXR/Index.pm line 39. [@INC ./lib /usr/perl5/5.6.1/sun4-solaris /usr/perl5/5.6.1 /usr/perl5 . $0 ./source <h4 align="center"><i>** Fatal: Can't find database, at lib/LXR/Index.pm line 39. </i></h4> I looked at Index.pm and put in some debug statements to print out $dbname, but nothing existed, can somebody tell where else I may need to put in debug statements?? The information is already in the database and everything in the database looks good. I have attached my conf file for some fun, I am using mysql Thanks for any help -- _______________________ Darragh Sherwin Dar...@Su... "To alcohol, the cause of, and solution to, all of life's problems" Homer Simpson |
From: Tom C. <to...@in...> - 2002-04-22 14:38:25
|
Hello Darragh - Have you run the glimpseindex program yet? That's what generates the indexes. If you have already run glimpseindex, you might look at lxr.conf and ensure that the dbdir parameter is set to the directory where the glimpse output files are.... Yours, Tom -----Original Message----- From: lxr...@li... [mailto:lxr...@li...] On Behalf Of Darragh Sherwin Sent: Monday, April 22, 2002 8:24 AM To: lxr...@li... Subject: [Lxr-dev] No database name passed to Index.pm Hi, I ran the script 'source' on the command line as it gave me no output in my browser, I get the following error: [Mon Apr 22 09:01:14 2002] fatal: LXR::Index, line 39: Can't find database, at lib/LXR/Index.pm line 39. [@INC ./lib /usr/perl5/5.6.1/sun4-solaris /usr/perl5/5.6.1 /usr/perl5 . $0 ./source <h4 align="center"><i>** Fatal: Can't find database, at lib/LXR/Index.pm line 39. </i></h4> I looked at Index.pm and put in some debug statements to print out $dbname, but nothing existed, can somebody tell where else I may need to put in debug statements?? The information is already in the database and everything in the database looks good. I have attached my conf file for some fun, I am using mysql Thanks for any help -- _______________________ Darragh Sherwin Dar...@Su... "To alcohol, the cause of, and solution to, all of life's problems" Homer Simpson |
From: Darragh S. <Dar...@Su...> - 2002-04-22 13:22:34
|
Hi, I ran the script 'source' on the command line as it gave me no output in my browser, I get the following error: [Mon Apr 22 09:01:14 2002] fatal: LXR::Index, line 39: Can't find database, at lib/LXR/Index.pm line 39. [@INC ./lib /usr/perl5/5.6.1/sun4-solaris /usr/perl5/5.6.1 /usr/perl5 . $0 ./source <h4 align="center"><i>** Fatal: Can't find database, at lib/LXR/Index.pm line 39. </i></h4> I looked at Index.pm and put in some debug statements to print out $dbname, but nothing existed, can somebody tell where else I may need to put in debug statements?? The information is already in the database and everything in the database looks good. I have attached my conf file for some fun, I am using mysql Thanks for any help -- _______________________ Darragh Sherwin Dar...@Su... "To alcohol, the cause of, and solution to, all of life's problems" Homer Simpson |
From: <no...@so...> - 2002-04-01 09:20:42
|
Bugs item #537656, was opened at 2002-04-01 11:20 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=537656&group_id=27350 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Alban Browaeys (prahal) Assigned to: Nobody/Anonymous (nobody) Summary: perl script location bug ? Initial Comment: i resubmitted this thing in bug as i don t really know if it was aimed for the support section : From the INSTALL file of the CVS: >Now you have to put the perl modules that LXR uses into >a directory on >your system that will be searched by mod_perl when the >LXR scripts are >executed. Execute ???? this part is msising ??? >Now you should copy the template files for LXR to your >installation > mv /usr/local/lxr/templates/* /usr/local/lxr/ I m looking over where those files should go in which they are : the libs dir or the ident ... files too ? I will probably succeed before any reply but it will be very easy to fix for those who already did the install :( Thanks Alban ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=537656&group_id=27350 |
From: <no...@so...> - 2002-03-28 17:59:30
|
Bugs item #536369, was opened at 2002-03-28 09:59 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=536369&group_id=27350 Category: None Group: v0.9.1 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: opendir doesn't work? Initial Comment: I have downloaded & installed the latest lxr version. I have always preferred python, php or csh-gawk-grep-sed to do scripting stuff over perl, so i will need your help here :) My problem is that when i point my browser to http://localhost/lxr/source i get a message that my src directory can't be read (although it is guo+xrw) So even though i get the header stuff of the page, etc i don't get the contents of the src dir in the browser. Error is in : lib/LXR/File/Plain.pm line 104 So what can the problem be? I know that somehow apache must have access to that directory. I put a link from /usr/local/lxr to my source dir, so that permissions in .htacess apply to src dir too, but i still can't have access to the src dir !!! How can i solve this ?? Now, i tried to debug Plain.pm, by printing some stuff, but the fact is i keep getting the error for line 104 again, although it is now 107! I have diabled caching in the browser, so i guess it is apache who has cached the Plain.pm How can i solve this too?? Many thanks ! Manolis Perakakis ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=536369&group_id=27350 |
From: <no...@so...> - 2002-03-26 16:28:25
|
Bugs item #530409, was opened at 2002-03-16 03:18 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=530409&group_id=27350 Category: genxref Group: v0.9.1 >Status: Closed >Resolution: Works For Me Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) >Summary: Can't call method "getdecid" Initial Comment: I am calling genxref as ./genxref --url=http://penguin/lxr --allversions and I get the following output *** / 2.4.17 *** /Documentation/ 2.4.17 *** /Documentation/DocBook/ 2.4.17 *** /Documentation/DocBook/Makefile 2.4.17 Unable to create LXR::Lang::Generic Lang object, Can't call method "getdecid" on an undefined value at lib/LXR/Lang/Generic.pm line 70. Version: 0.9.1 Database: mysql Plain files Can anyone help me with what I am doing wrong out here? I did manage to generate the index once before. The only thing I changed since the last time was to change ServerName in my httpd.conf to penguin. (Bug 528753). That let my look at my source from the browser. I then was trying to reindex and got the above error. I then deleted my entire database and reran initdb-mysql. I still get the same error. I am attaching my lxr.conf. Thanks Chandra ---------------------------------------------------------------------- Comment By: Malcolm Box (mbox) Date: 2002-03-18 01:13 Message: Logged In: YES user_id=215386 From the error message you're seeing, it looks like the index object is not created properly. The most likely reason for this is that the dbname in the lxr.conf doesn't match any of the possible backends. You might want to step though genxref using the perl debugger and check that $index gets initialised properly. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=530409&group_id=27350 |
From: <no...@so...> - 2002-03-17 16:19:24
|
Patches item #530997, was opened at 2002-03-17 18:19 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390119&aid=530997&group_id=27350 Category: Browsing Group: None Status: Open Resolution: None Priority: 5 Submitted By: Ville Skyttä (scop) Assigned to: Nobody/Anonymous (nobody) Summary: Better HTML Initial Comment: This patch makes some changes in order to output better HTML. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390119&aid=530997&group_id=27350 |
From: <no...@so...> - 2002-03-17 16:13:10
|
Bugs item #530409, was opened at 2002-03-16 03:18 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=530409&group_id=27350 Category: genxref Group: v0.9.1 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) >Summary: Can't call method "getdecid" Initial Comment: I am calling genxref as ./genxref --url=http://penguin/lxr --allversions and I get the following output *** / 2.4.17 *** /Documentation/ 2.4.17 *** /Documentation/DocBook/ 2.4.17 *** /Documentation/DocBook/Makefile 2.4.17 Unable to create LXR::Lang::Generic Lang object, Can't call method "getdecid" on an undefined value at lib/LXR/Lang/Generic.pm line 70. Version: 0.9.1 Database: mysql Plain files Can anyone help me with what I am doing wrong out here? I did manage to generate the index once before. The only thing I changed since the last time was to change ServerName in my httpd.conf to penguin. (Bug 528753). That let my look at my source from the browser. I then was trying to reindex and got the above error. I then deleted my entire database and reran initdb-mysql. I still get the same error. I am attaching my lxr.conf. Thanks Chandra ---------------------------------------------------------------------- >Comment By: Malcolm Box (mbox) Date: 2002-03-18 01:13 Message: Logged In: YES user_id=215386 From the error message you're seeing, it looks like the index object is not created properly. The most likely reason for this is that the dbname in the lxr.conf doesn't match any of the possible backends. You might want to step though genxref using the perl debugger and check that $index gets initialised properly. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=530409&group_id=27350 |
From: <no...@so...> - 2002-03-17 16:11:24
|
Bugs item #529855, was opened at 2002-03-14 21:56 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=529855&group_id=27350 Category: genxref Group: None >Status: Closed >Resolution: Out of Date Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) >Summary: False "stray ifdef" warning! Initial Comment: Hi Lxr folks! I'm running genxref from the Debian unstable 0.3-2 version of lxr and I got some "stray ifdef" that does not look like bad ifdef's in the code. For example if I run genxref on this _C++_ program: #if 1 //* #endif /**/ Then the program thinks the #endif is in a C style comment and ignore it! The problem seems to disappera if I change the genxref code lines: # Remove comments. $contents =~ s/\/\*(.*?)\*\//&wash($1)/ges; $contents =~ s/\/\/[^\n]*//g; # C++ to # Remove comments. $contents =~ s/\/\/[^\n]*//g; # C++ $contents =~ s/\/\*(.*?)\*\//&wash($1)/ges; i.e. checks for C++ comments beore C comments. Best regards /Anders E Larsson ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=529855&group_id=27350 |
From: <no...@so...> - 2002-03-17 16:11:00
|
Bugs item #529854, was opened at 2002-03-14 21:56 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=529854&group_id=27350 Category: genxref Group: None >Status: Closed >Resolution: Invalid Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) >Summary: False "stray ifdef" warning! Initial Comment: Hi Lxr folks! I'm running genxref from the Debian unstable 0.3-2 version of lxr and I got some "stray ifdef" that does not look like bad ifdef's in the code. For example if I run genxref on this _C++_ program: #if 1 //* #endif /**/ Then the program thinks the #endif is in a C style comment and ignore it! The problem seems to disappera if I change the genxref code lines: # Remove comments. $contents =~ s/\/\*(.*?)\*\//&wash($1)/ges; $contents =~ s/\/\/[^\n]*//g; # C++ to # Remove comments. $contents =~ s/\/\/[^\n]*//g; # C++ $contents =~ s/\/\*(.*?)\*\//&wash($1)/ges; i.e. checks for C++ comments beore C comments. Best regards /Anders E Larsson ---------------------------------------------------------------------- >Comment By: Malcolm Box (mbox) Date: 2002-03-18 01:10 Message: Logged In: YES user_id=215386 Try using a more up-to-date version of lxr - 0.3 is very old now and no longer supported. More modern versions use ctags to parse the source and so don't fall prey to this problem. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=529854&group_id=27350 |
From: <no...@so...> - 2002-03-15 18:18:56
|
Bugs item #530409, was opened at 2002-03-15 10:18 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=530409&group_id=27350 Category: genxref Group: v0.9.1 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Can't call method "getdecid" Initial Comment: I am calling genxref as ./genxref --url=http://penguin/lxr --allversions and I get the following output *** / 2.4.17 *** /Documentation/ 2.4.17 *** /Documentation/DocBook/ 2.4.17 *** /Documentation/DocBook/Makefile 2.4.17 Unable to create LXR::Lang::Generic Lang object, Can't call method "getdecid" on an undefined value at lib/LXR/Lang/Generic.pm line 70. Version: 0.9.1 Database: mysql Plain files Can anyone help me with what I am doing wrong out here? I did manage to generate the index once before. The only thing I changed since the last time was to change ServerName in my httpd.conf to penguin. (Bug 528753). That let my look at my source from the browser. I then was trying to reindex and got the above error. I then deleted my entire database and reran initdb-mysql. I still get the same error. I am attaching my lxr.conf. Thanks Chandra ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=530409&group_id=27350 |
From: <no...@so...> - 2002-03-14 12:56:35
|
Bugs item #529855, was opened at 2002-03-14 04:56 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=529855&group_id=27350 Category: genxref Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: False "stray ifdef" warning! Initial Comment: Hi Lxr folks! I'm running genxref from the Debian unstable 0.3-2 version of lxr and I got some "stray ifdef" that does not look like bad ifdef's in the code. For example if I run genxref on this _C++_ program: #if 1 //* #endif /**/ Then the program thinks the #endif is in a C style comment and ignore it! The problem seems to disappera if I change the genxref code lines: # Remove comments. $contents =~ s/\/\*(.*?)\*\//&wash($1)/ges; $contents =~ s/\/\/[^\n]*//g; # C++ to # Remove comments. $contents =~ s/\/\/[^\n]*//g; # C++ $contents =~ s/\/\*(.*?)\*\//&wash($1)/ges; i.e. checks for C++ comments beore C comments. Best regards /Anders E Larsson ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=529855&group_id=27350 |
From: <no...@so...> - 2002-03-14 12:56:27
|
Bugs item #529854, was opened at 2002-03-14 04:56 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=529854&group_id=27350 Category: genxref Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: False "stray ifdef" warning! Initial Comment: Hi Lxr folks! I'm running genxref from the Debian unstable 0.3-2 version of lxr and I got some "stray ifdef" that does not look like bad ifdef's in the code. For example if I run genxref on this _C++_ program: #if 1 //* #endif /**/ Then the program thinks the #endif is in a C style comment and ignore it! The problem seems to disappera if I change the genxref code lines: # Remove comments. $contents =~ s/\/\*(.*?)\*\//&wash($1)/ges; $contents =~ s/\/\/[^\n]*//g; # C++ to # Remove comments. $contents =~ s/\/\/[^\n]*//g; # C++ $contents =~ s/\/\*(.*?)\*\//&wash($1)/ges; i.e. checks for C++ comments beore C comments. Best regards /Anders E Larsson ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=529854&group_id=27350 |
From: <no...@so...> - 2002-03-12 12:41:12
|
Bugs item #528753, was opened at 2002-03-12 09:59 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=528753&group_id=27350 Category: Browsing Group: v0.9.1 >Status: Closed >Resolution: Rejected Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Browser does not find database Initial Comment: Hi, I installed lxr 0.9.1 and am trying to browse the linux kernel source code. I successfully generated the index. But when I try to browse the source I get the following error "** Fatal: Can't find database, at /usr/local/lxr/lib/LXR/Index.pm line 39, line 1. " I went through the code using the perl debugger and found that the name of the database is not being passed to the script. The URL I am using to access the source is "http://penguin/lxr/source" I am not using glimpse or swish-e My config file is attached Subhachandra ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-03-12 21:32 Message: Logged In: NO This error is caused by the URL supplied from the webserver to the script not matching the URL in the baseurl of the lxr.conf file. Check your apache configuration to see what the servername is being set to. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=528753&group_id=27350 |
From: <no...@so...> - 2002-03-12 12:41:11
|
Bugs item #528754, was opened at 2002-03-12 10:01 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=528754&group_id=27350 Category: Browsing Group: v0.9.1 >Status: Closed >Resolution: Rejected Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: SOURCE script does not find database Initial Comment: Hi, I installed lxr 0.9.1 and am trying to browse the linux kernel source code. I successfully generated the index. But when I try to browse the source I get the following error "** Fatal: Can't find database, at /usr/local/lxr/lib/LXR/Index.pm line 39, line 1. " I went through the code using the perl debugger and found that the name of the database is not being passed to the script. The URL I am using to access the source is "http://penguin/lxr/source" I am not using glimpse or swish-e My config file is attached Subhachandra ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=528754&group_id=27350 |
From: <no...@so...> - 2002-03-12 12:35:53
|
Bugs item #528753, was opened at 2002-03-11 16:59 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=528753&group_id=27350 Category: Browsing Group: v0.9.1 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Browser does not find database Initial Comment: Hi, I installed lxr 0.9.1 and am trying to browse the linux kernel source code. I successfully generated the index. But when I try to browse the source I get the following error "** Fatal: Can't find database, at /usr/local/lxr/lib/LXR/Index.pm line 39, line 1. " I went through the code using the perl debugger and found that the name of the database is not being passed to the script. The URL I am using to access the source is "http://penguin/lxr/source" I am not using glimpse or swish-e My config file is attached Subhachandra ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-03-12 04:32 Message: Logged In: NO This error is caused by the URL supplied from the webserver to the script not matching the URL in the baseurl of the lxr.conf file. Check your apache configuration to see what the servername is being set to. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=528753&group_id=27350 |
From: <no...@so...> - 2002-03-12 01:01:27
|
Bugs item #528754, was opened at 2002-03-11 17:01 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=528754&group_id=27350 Category: Browsing Group: v0.9.1 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: SOURCE script does not find database Initial Comment: Hi, I installed lxr 0.9.1 and am trying to browse the linux kernel source code. I successfully generated the index. But when I try to browse the source I get the following error "** Fatal: Can't find database, at /usr/local/lxr/lib/LXR/Index.pm line 39, line 1. " I went through the code using the perl debugger and found that the name of the database is not being passed to the script. The URL I am using to access the source is "http://penguin/lxr/source" I am not using glimpse or swish-e My config file is attached Subhachandra ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=528754&group_id=27350 |
From: <no...@so...> - 2002-03-12 00:59:38
|
Bugs item #528753, was opened at 2002-03-11 16:59 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=528753&group_id=27350 Category: Browsing Group: v0.9.1 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Browser does not find database Initial Comment: Hi, I installed lxr 0.9.1 and am trying to browse the linux kernel source code. I successfully generated the index. But when I try to browse the source I get the following error "** Fatal: Can't find database, at /usr/local/lxr/lib/LXR/Index.pm line 39, line 1. " I went through the code using the perl debugger and found that the name of the database is not being passed to the script. The URL I am using to access the source is "http://penguin/lxr/source" I am not using glimpse or swish-e My config file is attached Subhachandra ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=528753&group_id=27350 |
From: <no...@so...> - 2002-03-08 11:21:08
|
Bugs item #526664, was opened at 2002-03-06 23:12 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=526664&group_id=27350 Category: SCM support Group: v0.9.1 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: CVS {default}=head != co default Initial Comment: I tried lxr 0.91's ability to cross-reference directly from CVS, specified v{default}=head in the config. I expected lxr to build its cross-reference data based on the same revision that one would get if he does a simple 'cvs co' (without any revision or tag specified). However this does not work as expected for a particular project where we make use of a vendor branch. I attached the head of one of the affected RCS files, where: "cvs co" would retrieve 1.1.1.2 lxr however indexes 1.1 as the head lxr seems to internally translate the 'head' into '1.1'. If there is some other way to specify "the revision that cvs would checkout by default" then consider this report to be just a "documentation bug report"; I'd like to know what v{default} setting would make lxr behave as I expect... ---------------------------------------------------------------------- Comment By: Kolja Waschk (kawk) Date: 2002-03-08 12:21 Message: Logged In: YES user_id=478715 The following patch fixed the issue for us. It considers the 'branch' info in the RCS header (just below 'head') and searches for the latest revision in the named branch, substituting it for 'head'. (Note: probably it would be wiser to make the result available as version='default' instead of 'head' to retain backwards compatibility) --- CVS.pm-orig Fri Mar 8 11:27:03 2002 +++ CVS.pm Fri Mar 8 11:28:07 2002 @@ -360,6 +360,17 @@ /^@/s && substr($_, 1, -1) || $_ } $v =~ /(\w+)\s*((?:[^;@]+|@[^@]*@)*);/gs }; } + + if(defined (my $k=$cvs{'header'}{'branch'})) + { + $k=~s/\./\./g; # quote dots in branch number + $k=(grep(/^$k\.\d+$/, keys %{$cvs{'branch'}}))[0]; # get ANY revision on branch + if(defined $k) + { + while($cvs{'branch'}{$k}{'next'}) { $k = $cvs{'branch'}{$k}{'next'}; } + $cvs{'header'}{'symbols'}{'head'} = $k; + } + } $cvs{'desc'} = shift(@cvs) =~ /\s*desc\s+((?:[^\n@]+|@[^@]*@)*)\n/s; $cvs{'desc'} =~ s/^@|@($|@)/$1/gs; ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-03-06 23:14 Message: Logged In: NO aah, two corrections. my correct e-mail is 'ka...@ma...', and it seems the file didn't get attached, so I include it here (hopefully it remains intelligible, sorry): head 1.1; branch 1.1.1; access; symbols as_of_2002_03_06:1.1.1.2 as_of_2002_03_04:1.1.1.2 as_of_2002_02_26:1.1.1.2 as_of_2002_02_21:1.1.1.2 as_of_2002_01_29:1.1.1.1 ps:1.1.1; locks; strict; comment @ * @; expand @o@; 1.1 date 2002.02.26.13.50.33; author kawk; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.02.26.13.50.33; author kawk; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 2002.02.26.14.02.20; author kawk; state Exp; branches; next ; desc @@ 1.1 log @Initial revision @ text @ /* SOURCE FILE: xyz.c ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=526664&group_id=27350 |
From: <no...@so...> - 2002-03-07 15:45:28
|
Bugs item #526807, was opened at 2002-03-07 15:17 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=526807&group_id=27350 Category: Browsing Group: current cvs >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Nobody/Anonymous (nobody) >Assigned to: Malcolm Box (mbox) Summary: templates make ident slow Initial Comment: The current template for ident doesn't show any search results until both the declarations and references for an identifier are found. Since there are typically far more references than declarations, this unnecessarily slows down getting to the declarations, which are often what people want to see. Therefore the current ident template should be split into two parts, one for the header + declarations, and one for the references. This will mean that browsers can display the declarations while the db search for the references is still ongoing. ---------------------------------------------------------------------- >Comment By: Malcolm Box (mbox) Date: 2002-03-08 00:45 Message: Logged In: YES user_id=215386 Fixed as suggested in ident, html-ident.html and html-ident-refs.html ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=526807&group_id=27350 |
From: <no...@so...> - 2002-03-07 06:17:38
|
Bugs item #526807, was opened at 2002-03-06 22:17 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=526807&group_id=27350 Category: Browsing Group: current cvs Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: templates make ident slow Initial Comment: The current template for ident doesn't show any search results until both the declarations and references for an identifier are found. Since there are typically far more references than declarations, this unnecessarily slows down getting to the declarations, which are often what people want to see. Therefore the current ident template should be split into two parts, one for the header + declarations, and one for the references. This will mean that browsers can display the declarations while the db search for the references is still ongoing. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=526807&group_id=27350 |
From: <no...@so...> - 2002-03-06 22:14:51
|
Bugs item #526664, was opened at 2002-03-06 14:12 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=526664&group_id=27350 Category: SCM support Group: v0.9.1 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: CVS {default}=head != co default Initial Comment: I tried lxr 0.91's ability to cross-reference directly from CVS, specified v{default}=head in the config. I expected lxr to build its cross-reference data based on the same revision that one would get if he does a simple 'cvs co' (without any revision or tag specified). However this does not work as expected for a particular project where we make use of a vendor branch. I attached the head of one of the affected RCS files, where: "cvs co" would retrieve 1.1.1.2 lxr however indexes 1.1 as the head lxr seems to internally translate the 'head' into '1.1'. If there is some other way to specify "the revision that cvs would checkout by default" then consider this report to be just a "documentation bug report"; I'd like to know what v{default} setting would make lxr behave as I expect... ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-03-06 14:14 Message: Logged In: NO aah, two corrections. my correct e-mail is 'ka...@ma...', and it seems the file didn't get attached, so I include it here (hopefully it remains intelligible, sorry): head 1.1; branch 1.1.1; access; symbols as_of_2002_03_06:1.1.1.2 as_of_2002_03_04:1.1.1.2 as_of_2002_02_26:1.1.1.2 as_of_2002_02_21:1.1.1.2 as_of_2002_01_29:1.1.1.1 ps:1.1.1; locks; strict; comment @ * @; expand @o@; 1.1 date 2002.02.26.13.50.33; author kawk; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.02.26.13.50.33; author kawk; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 2002.02.26.14.02.20; author kawk; state Exp; branches; next ; desc @@ 1.1 log @Initial revision @ text @ /* SOURCE FILE: xyz.c ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=526664&group_id=27350 |
From: <no...@so...> - 2002-03-06 22:12:13
|
Bugs item #526664, was opened at 2002-03-06 14:12 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=526664&group_id=27350 Category: SCM support Group: v0.9.1 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: CVS {default}=head != co default Initial Comment: I tried lxr 0.91's ability to cross-reference directly from CVS, specified v{default}=head in the config. I expected lxr to build its cross-reference data based on the same revision that one would get if he does a simple 'cvs co' (without any revision or tag specified). However this does not work as expected for a particular project where we make use of a vendor branch. I attached the head of one of the affected RCS files, where: "cvs co" would retrieve 1.1.1.2 lxr however indexes 1.1 as the head lxr seems to internally translate the 'head' into '1.1'. If there is some other way to specify "the revision that cvs would checkout by default" then consider this report to be just a "documentation bug report"; I'd like to know what v{default} setting would make lxr behave as I expect... ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=390117&aid=526664&group_id=27350 |