Code Monkey home page Code Monkey logo

hldig's People

Contributors

achristoforides avatar andy5995 avatar escottalexander avatar jamessouth avatar jasonjyu avatar martijndeb avatar mexchip avatar pbhavesh2807 avatar ram-dahal avatar ramdahal avatar roklein avatar selkfoster avatar shrey183 avatar solbu avatar svitlana-galianova avatar tauheed25 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

hldig's Issues

HTML.cc:88:170: warning

These warnings need to be fixed.

HTML.cc: In constructor ‘HTML::HTML()’:

HTML.cc:88:170: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]

     tags.Pattern("title|/title|a|/a|h1|h2|h3|h4|h5|h6|/h1|/h2|/h3|/h4|/h5|/h6|noindex|/noindex|img|li|meta|frame|area|base|embed|object|link|style|/style|script|/script");

                                                                                                                                                                          ^

HTML.cc:94:197: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]

     nobreaktags.Pattern("font|/font|em|/em|strong|/strong|i|/i|b|/b|u|/u|tt|/tt|abbr|/abbr|code|/code|q|/q|samp|/samp|kbd|/kbd|var|/var|dfn|/dfn|cite|/cite|blink|/blink|big|/big|small|/small|s|/s");

                                                                                                                                                                                                     ^

HTML.cc:99:122: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]

     spacebeforetags.Pattern("title|h1|h2|h3|h4|h5|h6|address|blockquote|noindex|img|li|th|td|dt|dd|p|br|hr|center|spacer");

                                                                                                                          ^

HTML.cc:101:81: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]

     spaceaftertags.Pattern("/title|/h1|/h2|/h3|/h4|/h5|/h6|/address|/blockquote");

                                                                                 ^

HTML.cc:105:73: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]

     metadatetags.Pattern("date|dc.date|dc.date.created|dc.date.modified");

                                                                         ^

HTML.cc: In member function ‘virtual void HTML::parse(Retriever&, URL&)’:

HTML.cc:406:21: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]

       if (!in_space && spacebeforetags.CompareWord((char *)position)

                     ^

HTML.cc:221:25: warning: variable ‘start’ set but not used [-Wunused-but-set-variable]

     unsigned char  *q, *start;

configure doesn't run

:~/src/htdig$ ./configure
configure: error: cannot find sources (htdig/htdig.cc) in . or ..

Create a few basic web pages for testing

This is to help complete #21 and for project 1

We'll need some sample html web pages for testing. They can be downloaded from any web site, but some of the links they contain will have to be altered so when http://localhost is crawled, the pages can find each other.

It may be easier just to create 3 or 4 web pages with a few lines of arbitrary text that link to each other.

new hl://Dig logo needed

Because hl://Dig is a fork of ht://Dig, it should have a different logo.

Any graphic designers interested in this?

enhance the design of the web site with CSS

The web site is at https://andy5995.github.io/hldig/index.html

The style sheet is in docs/assets/css

https://github.com/andy5995/hldig/tree/master/docs

I haven't finished converting the entire site yet. There are only a few pages that use the stylesheet. You can see which ones by looking in the docs/infiles directory. The files there have been used to generate the corresponding .html files in docs/

If you see any outdated html code, feel free to change some of it.

If start_url isn't specified, spit out a message

If start_url isn't specified in htdig.conf, spit out a message that the config file needs to be edited and exit.

Presently, if that field is blank, http://www.htdig.org/ is used as the start_url

hldig/htcommon/defaults.cc

Lines 2378 to 2390 in 39177ad

{ "start_url", "http://www.htdig.org/", \
"string list", "htdig", "", "all", "Indexing:Where", "start_url: http://www.somewhere.org/alldata/index.html", " \
This is the list of URLs that will be used to start a \
dig when there was no existing database. Note that \
multiple URLs can be given here. \
<br>Note also that the value of <em>start_url</em> \
will be the default value for \
<a href=\"#limit_urls_to\">limit_urls_to</a>, so if \
you set start_url to the URLs for specific files, \
rather than a site or subdirectory URL, you may need \
to set limit_urls_to to something less restrictive \
so htdig doesn't reject links in the documents. \
" }, \

using configure to enable tests, using --with-apache

I tried this last week, and after configure completed, I was able to run make check

./configure --prefix=$PWD/testing --with-ssl --with-apche=/usr/sbin/apache2 --enable-tests

Though the checks failed. I assume that had something to do with the tests not being updated since 2004. And I don't know how to code that into a configure.ac file or Makefile.am

But now I don't even get that far. When trying configure with the same options:

configure: error: "apache server executable not found"

I can't think of any reason for the change, but the most likely would be from changes in the autoconf and automake files when I updated them so autotools would work again.

61ab376

As far as I'm concerned, this is low priority. Test can be written after the code is understood more by the development team and there's been more time to discuss what tests should be performed.

But anyone who'd like to work on this, please feel free to do so.

Transport.cc:102:14: warning

These warnings need to be fixed

Transport.cc: In destructor 'virtual Transport_Response::~Transport_Response()':

Transport.cc:102:14: warning: deleting object of polymorphic class type 'HtDateTime' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]

       delete _modification_time;

              ^

Transport.cc:108:14: warning: deleting object of polymorphic class type 'HtDateTime' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]

       delete _access_time;

              ^

Transport.cc: In member function 'virtual void Transport_Response::Reset()':

Transport.cc:123:14: warning: deleting object of polymorphic class type 'HtDateTime' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]

       delete _modification_time;

              ^

Transport.cc:129:14: warning: deleting object of polymorphic class type 'HtDateTime' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]

       delete _access_time;

Valgrind output of htdig.cc: Conditional jump or move depends on uninitialised value(s)

Some Valgrind output

$ valgrind --leak-check=full ./htdig 
==21792== Memcheck, a memory error detector
==21792== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==21792== Using Valgrind-3.12.0.SVN and LibVEX; rerun with -h for copyright info
==21792== Command: ./htdig
==21792== 
==21792== Conditional jump or move depends on uninitialised value(s)
==21792==    at 0x553CFF3: CDB___lock_put_nolock.isra.1 (lock.c:650)
==21792==    by 0x553D0B2: CDB_lock_put (lock.c:622)
==21792==    by 0x5536DF7: CDB___ham_release_meta (hash_meta.c:82)
==21792==    by 0x55308A9: CDB___ham_open (hash.c:254)
==21792==    by 0x551FEDD: CDB___db_dbopen (db.c:341)
==21792==    by 0x55204AD: CDB___db_open (db.c:249)
==21792==    by 0x577793F: DB2_db::Open(char const*, int, int) (DB2_db.cc:84)
==21792==    by 0x506820F: DocumentDB::Open(String const&, String const&, String const&) (DocumentDB.cc:96)
==21792==    by 0x10FD0D: main (htdig.cc:329)
==21792== 
==21792== Conditional jump or move depends on uninitialised value(s)
==21792==    at 0x553CFF3: CDB___lock_put_nolock.isra.1 (lock.c:650)
==21792==    by 0x553D0B2: CDB_lock_put (lock.c:622)
==21792==    by 0x5536DF7: CDB___ham_release_meta (hash_meta.c:82)
==21792==    by 0x55317D2: CDB___ham_c_get (hash.c:883)
==21792==    by 0x5521652: CDB___db_get (db_am.c:433)
==21792==    by 0x5777650: DB2_db::Get(String const&, String&) (DB2_db.cc:287)
==21792==    by 0x50682DC: DocumentDB::Open(String const&, String const&, String const&) (DocumentDB.cc:116)
==21792==    by 0x10FD0D: main (htdig.cc:329)
==21792== 
==21792== Conditional jump or move depends on uninitialised value(s)
==21792==    at 0x553CFF3: CDB___lock_put_nolock.isra.1 (lock.c:650)
==21792==    by 0x553D0B2: CDB_lock_put (lock.c:622)
==21792==    by 0x55370DF: CDB___ham_item_init (hash_page.c:201)
==21792==    by 0x552FF22: CDB___ham_c_close (hash.c:498)
==21792==    by 0x5520DF1: CDB___db_c_close (db_am.c:191)
==21792==    by 0x552165E: CDB___db_get (db_am.c:436)
==21792==    by 0x5777650: DB2_db::Get(String const&, String&) (DB2_db.cc:287)
==21792==    by 0x50682DC: DocumentDB::Open(String const&, String const&, String const&) (DocumentDB.cc:116)
==21792==    by 0x10FD0D: main (htdig.cc:329)
==21792== 
==21792== Conditional jump or move depends on uninitialised value(s)
==21792==    at 0x553CFF3: CDB___lock_put_nolock.isra.1 (lock.c:650)
==21792==    by 0x553D0B2: CDB_lock_put (lock.c:622)
==21792==    by 0x5538458: CDB___ham_get_cpage (hash_page.c:1563)
==21792==    by 0x55384B0: CDB___ham_item (hash_page.c:101)
==21792==    by 0x5531481: CDB___ham_c_get (hash.c:859)
==21792==    by 0x5777227: DB2_db::Start_Get() (DB2_db.cc:230)
==21792==    by 0x50691A0: DocumentDB::URLs() (DocumentDB.cc:590)
==21792==    by 0x110181: main (htdig.cc:359)
==21792== 
==21792== Conditional jump or move depends on uninitialised value(s)
==21792==    at 0x553CFF3: CDB___lock_put_nolock.isra.1 (lock.c:650)
==21792==    by 0x553D0B2: CDB_lock_put (lock.c:622)
==21792==    by 0x5536DF7: CDB___ham_release_meta (hash_meta.c:82)
==21792==    by 0x55312AF: CDB___ham_c_get (hash.c:883)
==21792==    by 0x5777227: DB2_db::Start_Get() (DB2_db.cc:230)
==21792==    by 0x50691A0: DocumentDB::URLs() (DocumentDB.cc:590)
==21792==    by 0x110181: main (htdig.cc:359)
==21792== 
==21792== Conditional jump or move depends on uninitialised value(s)
==21792==    at 0x553CFF3: CDB___lock_put_nolock.isra.1 (lock.c:650)
==21792==    by 0x553D0B2: CDB_lock_put (lock.c:622)
==21792==    by 0x553174D: CDB___ham_c_get (hash.c:886)
==21792==    by 0x5777227: DB2_db::Start_Get() (DB2_db.cc:230)
==21792==    by 0x50691A0: DocumentDB::URLs() (DocumentDB.cc:590)
==21792==    by 0x110181: main (htdig.cc:359)
==21792== 
==21792== Conditional jump or move depends on uninitialised value(s)
==21792==    at 0x553CFF3: CDB___lock_put_nolock.isra.1 (lock.c:650)
==21792==    by 0x553D0B2: CDB_lock_put (lock.c:622)
==21792==    by 0x5536DF7: CDB___ham_release_meta (hash_meta.c:82)
==21792==    by 0x5531EB7: CDB___ham_c_put (hash.c:1017)
==21792==    by 0x552176A: CDB___db_put (db_am.c:508)
==21792==    by 0x5777598: DB2_db::Put(String const&, String const&) (DB2_db.cc:266)
==21792==    by 0x5068173: DocumentDB::Close() (DocumentDB.cc:191)
==21792==    by 0x6B4A90F: __run_exit_handlers (exit.c:83)
==21792==    by 0x6B4A969: exit (exit.c:105)
==21792==    by 0x6B352B7: (below main) (libc-start.c:325)
==21792== 
==21792== 
==21792== HEAP SUMMARY:
==21792==     in use at exit: 13,147,616 bytes in 1,744 blocks
==21792==   total heap usage: 4,278 allocs, 2,534 frees, 16,386,996 bytes allocated
==21792== 
==21792== LEAK SUMMARY:
==21792==    definitely lost: 0 bytes in 0 blocks
==21792==    indirectly lost: 0 bytes in 0 blocks
==21792==      possibly lost: 0 bytes in 0 blocks
==21792==    still reachable: 13,147,616 bytes in 1,744 blocks
==21792==                       of which reachable via heuristic:
==21792==                         newarray           : 232 bytes in 1 blocks
==21792==         suppressed: 0 bytes in 0 blocks
==21792== Reachable blocks (those to which a pointer was found) are not shown.
==21792== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==21792== 
==21792== For counts of detected and suppressed errors, rerun with: -v
==21792== Use --track-origins=yes to see where uninitialised values come from
==21792== ERROR SUMMARY: 10 errors from 7 contexts (suppressed: 0 from 0)

htnotify.cc:332:66: warning: ISO C++ forbids converting a string constant to ‘char*’

Anyone interested in doing a PR to fix this?

https://github.com/andy5995/htdig/blob/daeaf867f43c4988559bcc6d737eaa357899738b/httools/htnotify.cc

g++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/www/conf/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -DSENDMAIL=\"/usr/sbin/sendmail\"     -g -O2 -Wall -fno-rtti -fno-exceptions -c -o htload.o `test -f 'htload.cc' || echo './'`htload.cc
htnotify.cc: In function ‘void htnotify(DocumentRef&)’:
htnotify.cc:332:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
      add_notification(date, email, ref.DocURL(), "Malformed Date");

Feel free to join the chat room.

htsearch: rename to hlsearch

  • htsearch/ needs to be renamed
  • text inside source code needs to be change
  • htsearch.* files need to be renamed
  • update docs
  • change references to "htsearch" on the web site (#50)

Adding support for translating the output messages

Although I've added some support for translating the output messages using gettext, I haven't completed the process yet. Now I wonder if a different method should be used. I have used used gettext before with a C program, but not a C++ program. I wonder if there are alternate solutions that should be considered. Does anyone have suggestions about this?

I've done some searching, but haven't found answers yet to how this would be done

Using gettext with a C program, a string would be marked like this:

printf (_("I am %d years old and my zipcode is %d\n"), age, zipcode);

But that wouldn't work with a C++ cout string.

cout << "I am " << age << " years old and my zipcode is " << zipcode;

There would have to be marks around each string within the quotation marks... or would there? I couldn't find any info about it that made sense.

Or maybe implementing tinyformat.h should be an option.

tinyformat.h is a type safe printf replacement library in a single C++ header file. If you've ever wanted printf("%s", s) to just work regardless of the type of s, tinyformat might be for you.

libtool: warning: 'libfuzzy.la' has not been installed

This shows in the travis build log:

ibtool: warning: 'libfuzzy.la' has not been installed in '/home/travis/build/andy5995/htdig/tempbuild/lib/htdig' near L4844 during make install

I assume a Makefile needs editing somewhere. Not sure if that's new or I just now noticed it. I don't know how to fix it yet.

implement lighttpd for testing

I was looking at http://www.lighttpd.net/ for a light-weight web server. Apache is great of course, but for testing htdig, I think something more minimal would be adequate.

If someone sets this up and documents the process, we can use it for testing.

Once someone sets up lighthttpd , htdig should be able crawl http://localhost and run cgi programs such as htsearch.

We could supply a few html pages so when htdig crawls http://localhost, it will find something. :)

I created a project for this: https://github.com/andy5995/htdig/projects/1

HtHTTP.cc:648:20: warning

These warnings need to be fixed.

HtHTTP.cc: In member function 'int HtHTTP::ParseHeader()':

HtHTTP.cc:648:20: warning: deleting object of polymorphic class type 'HtDateTime' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]

   delete _response._modification_time;

                    ^

HtHTTP.cc:656:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

       if(! _connection->Read_Line(line, "\n"))

                                             ^

HtHTTP.cc: In member function 'int HtHTTP::ReadChunkedBody()':

HtHTTP.cc:997:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

    if (!_connection->Read_Line(ChunkHeader, "\r\n"))

                                                   ^

HtHTTP.cc:1038:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

       if (!_connection->Read_Line(ChunkHeader, "\r\n"))

                                                      ^

HtHTTP.cc:1042:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

       if (!_connection->Read_Line(ChunkHeader, "\r\n"))

create htcommon/messages.cc for common messages

If you run ack "Verbose mode. This increases the verbosity of the" you'll see a lot of the same messages in several files.

So for example, this code:

    cout << "\t-v\tVerbose mode.  This increases the verbosity of the\n";
    cout << "\t\tprogram.  Using more than 2 is probably only useful\n";
    cout << "\t\tfor debugging purposes.  The default verbose mode\n";

Could go into htcommon/messages.c and all the other programs that use it could call a variable containing the contents of the string in that file.

And actually, to help with preparing the source for translating, instead of using "cout" we'll do this:

  printf (_("\t-v\tVerbose mode.  This increases the verbosity of the\n\
\t\tprogram.  Using more than 2 is probably only useful\n\
\t\tfor debugging purposes.  The default verbose mode\n\
\t\tgives a nice progress report while digging.\n\n"));

@AlexChristoforides would you be interested in working on this?

Accent.c: build fails

Build fails at Accent.c:

[...]
 g++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/www/conf/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -DMV=\"/bin/mv\" -g -O2 -Wall -fno-rtti -fno-exceptions -c Metaphone.cc -o Metaphone.o >/dev/null 2>&1
Accents.cc:78:42: error: narrowing conversion of '128' from 'int' to 'char' inside { } [-Wnarrowing]
    'o', 'u', 'u', 'u', 'u', 'y', 254, 255};
                                          ^
Accents.cc:78:42: error: narrowing conversion of '129' from 'int' to 'char' inside { } [-Wnarrowing]
Accents.cc:78:42: error: narrowing conversion of '130' from 'int' to 'char' inside { } [-Wnarrowing]
Accents.cc:78:42: error: narrowing conversion of '131' from 'int' to 'char' inside { } [-Wnarrowing]
Accents.cc:78:42: error: narrowing conversion of '132' from 'int' to 'char' inside { } [-Wnarrowing]
Accents.cc:78:42: error: narrowing conversion of '133' from 'int' to 'char' inside { } [-Wnarrowing]
[...]

Debian's patch for 3.2.0b6-16 may help fix this.

https://packages.debian.org/stable/web/htdig

htdig_3.2.0b6-16.debian.tar.xz

htdig cannot crawl urls with Hindi characters

When running jekyll locally, this was output in the console when I ran htdig -i. It crawled the jekyll web server running at http://localhost:4000

[2017-11-12 14:44:22] ERROR bad URI `/tag/कैनबिस/'.
[2017-11-12 14:44:22] ERROR bad URI `/tag/अध-ययन/'.
[2017-11-12 14:44:22] ERROR bad URI `/tag/मनःचिकित-सा/'.
[2017-11-12 14:44:22] ERROR bad URI `/tag/कोगनीटिव/'.
[2017-11-12 14:44:22] ERROR bad URI `/tag/दवा/'.
[2017-11-12 14:44:22] ERROR bad URI `/tag/चिकित-सा/'

documentation and web site

I've been having a difficult time deciding on what do about the existing documentation and what kind of web site should be put in place. I thought of using jekyll to generate the site, or perhaps just using a wordpress blog. I'm hesitant to change much of the older documentation because it reflects the work the original maintainers did on this project.

The original htdig site seems to have expired, but because they were using the files from the "htdoc/" folder, I was able to publish a version of the original site to

https://andy5995.github.io/htdig/

by renaming the folder to "docs/" and choosing the repo setting to publish the docs folder.

At this point, I'm thinking of keeping the original docs as they are, but use portions of them to create an up-to-date web site.

But I'm still having trouble envisioning what would be the best way to manage a site for the htdig documentation.

WordKey.cc:372:7: warning: suggest explicit braces to avoid ambiguous 'else'

The warning needs to be fixed.

WordKey.cc: In member function 'int WordKey::Prefix() const':

WordKey.cc:372:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]

     if(IsDefined(j))

       ^

and this one, in a related file:

WordKeyInfo.cc: In member function 'int WordKeyField::SetString()':

WordKeyInfo.cc:48:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

   name.set("Word");

https://github.com/andy5995/htdig/blob/1d0d2f4e17f2bbbfc6b402c1ece51e7e80fe66e2/htword/WordKey.cc#L1

httools: rename to hltools

  • httools/ needs to be renamed
  • text inside source code needs to be change
  • files in httools need to be renamed
  • update docs
  • change references to "httools" on the web site (#50)

'make uninstall' doesn't remove all files

These file don't get removed when make uninstall is run.

./bin/rundig
./htdocs/htdig/star_blank.gif
./htdocs/htdig/button8.gif
./htdocs/htdig/star_blank.png
./htdocs/htdig/star.gif
./htdocs/htdig/htdig.gif
./htdocs/htdig/button9.png
./htdocs/htdig/button5.png
./htdocs/htdig/button3.gif
./htdocs/htdig/button4.gif
./htdocs/htdig/button6.gif
./htdocs/htdig/button2.gif
./htdocs/htdig/button8.png
./htdocs/htdig/buttonl.gif
./htdocs/htdig/htdig.png
./htdocs/htdig/button5.gif
./htdocs/htdig/button1.png
./htdocs/htdig/button10.gif
./htdocs/htdig/button7.gif
./htdocs/htdig/button7.png
./htdocs/htdig/buttonl.png
./htdocs/htdig/search.html
./htdocs/htdig/button6.png
./htdocs/htdig/button1.gif
./htdocs/htdig/buttonr.png
./htdocs/htdig/star.png
./htdocs/htdig/button4.png
./htdocs/htdig/button9.gif
./htdocs/htdig/button10.png
./htdocs/htdig/buttonr.gif
./htdocs/htdig/button2.png
./htdocs/htdig/button3.png
./conf/HtFileType-magic.mime
./conf/htdig.conf
./conf/mime.types
./conf/cookies.txt
./share/htdig/wrapper.html
./share/htdig/short.html
./share/htdig/synonyms
./share/htdig/footer.html
./share/htdig/english.aff
./share/htdig/header.html
./share/htdig/syntax.html
./share/htdig/bad_words
./share/htdig/long.html
./share/htdig/english.0
./share/htdig/nomatch.html
./bin/HtFileType

One side effect of this problem is that if these files are altered in the source folder, they won't overwrite and update the files in the install directory the next time make install is run.

installdir/*.html
installdir/htdig.conf

ssl should be enabled by default

Right now, --with-ssl must be passed to configure. ssl should be enabled by default, and there should be a configure option to --disable-ssl

It's safe to assume that this behavior would be set in configure.ac

I don't know how to do it yet. :)

htpurge.cc:193:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]

Anyone interested in doing a PR to fix this?

g++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/opt/www/conf/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword -I../db -I../db -DSENDMAIL=\"/usr/sbin/sendmail\"     -g -O2 -Wall -fno-rtti -fno-exceptions -c -o htstat.o `test -f 'htstat.cc' || echo './'`htstat.cc
htpurge.cc: In function ‘Dictionary* purgeDocs(Dictionary*)’:
htpurge.cc:193:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
       reportError("Database is empty!");

Feel free to join the chat room.

htdig: rename to hldig

  • htdig/ needs to be renamed
  • text inside source code needs to be change
  • htdig.* files need to be renamed
  • update docs
  • change references to "htdig" on the web site (#50)

major, micro, and minor version numbers missing from lib file names

I screwed up something at some point. Here's a directory listing of my testing/lib/hldig directory.

libcommon.a      libfuzzy.a      libht.a      libhtnet-...so  libhtword.a
libcommon.la     libfuzzy.la     libht.la     libhtnet.so     libhtword.la
libcommon-...so  libfuzzy-...so  libhtnet.a   libht-...so     libhtword-...so
libcommon.so     libfuzzy.so     libhtnet.la  libht.so        libhtword.so

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.