Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-09-11 | Merge branch 'master' into time_fixestime_fixes | Jon Bergli Heier | 1 | -2/+2 | |
2010-11-12 | Remove broken threading support. | Jon Bergli Heier | 6 | -94/+7 | |
2010-11-10 | Lock calls to fgets().lastseen | Jon Bergli Heier | 1 | -2/+14 | |
2010-11-09 | Temporary workaround for race condition in early parsing. | Jon Bergli Heier | 1 | -2/+10 | |
Parsing the date in log_opened and day_changed takes its time, so other threads might set the time and use that before the initial date is set. This only really matters for seen_first as of now. | |||||
2010-11-09 | Free all regexes in rs_free(). | Jon Bergli Heier | 1 | -0/+11 | |
2010-11-09 | Avoid race condition on setting seen_first and seen_last. | Jon Bergli Heier | 1 | -12/+14 | |
2010-11-09 | Modified time branch to store only first and last time seen. | Jon Bergli Heier | 6 | -202/+55 | |
2010-10-27 | Skip mapped nicks in export_xml().HEADmaster | Jon Bergli Heier | 1 | -2/+2 | |
2010-06-05 | Mostly-working implementation of time tracking for users.time | Jon Bergli Heier | 8 | -28/+506 | |
Needs some more testing. | |||||
2010-06-03 | Return NULL from thread_func. | Jon Bergli Heier | 1 | -0/+2 | |
2010-06-03 | Degrade struct ircstats_config_t's members to int. | Jon Bergli Heier | 1 | -1/+1 | |
2010-06-03 | Merge branch 'textwriter' | Jon Bergli Heier | 1 | -50/+78 | |
2010-06-02 | Fixed word count i XML output. | Jon Bergli Heier | 1 | -1/+1 | |
2010-06-02 | Added a minimum word length config option, "wordlen_min". | Jon Bergli Heier | 3 | -23/+22 | |
Also did some minor cleanup of the word add code in process_file. | |||||
2010-06-02 | Cleaned up old code. | Jon Bergli Heier | 1 | -56/+14 | |
2010-06-02 | Fixed writing user data. | Jon Bergli Heier | 1 | -7/+7 | |
2010-06-02 | Attempting to use text writer instead of building an XML tree and writing it. | Jon Bergli Heier | 1 | -28/+98 | |
2010-03-26 | Fixed memory leaks in hash tables and nick list. | Jon Bergli Heier | 4 | -1/+7 | |
2010-01-28 | Fixed mutex locks on several objects in process_file(). | Jon Bergli Heier | 1 | -8/+20 | |
2010-01-28 | Fixed monolog readings not being synchronized when using more than one | Jon Bergli Heier | 1 | -3/+7 | |
thread. This is solved by moving last_user, in_monolog and monolog_len to the heap. These are already inside the user_mutex lock when used. | |||||
2010-01-08 | Fixed compiler warnings. | Jon Bergli Heier | 2 | -32/+32 | |
Upgraded word_t's count to long long. | |||||
2010-01-08 | Implemented monolog counters. | Jon Bergli Heier | 6 | -3/+30 | |
2010-01-08 | Added -Wall to CCFLAGS for debug builds. | Jon Bergli Heier | 1 | -1/+1 | |
2010-01-08 | SConstruct: Use options to determine build type. | Jon Bergli Heier | 1 | -6/+4 | |
2009-12-12 | Replaced Makefile with SConstruct. | Jon Bergli Heier | 3 | -25/+32 | |
ircstats now builds by running scons instead of make. Build with DEBUG set to compile with -g. Also added scons-related stuff to .gitignore. | |||||
2009-11-22 | Added support for using pthreads. | Jon Bergli Heier | 6 | -117/+191 | |
Data processing (parsing) moved to parsing.c. The line parsing code is moved to its own function which is called from one or more threads (depends on the "threads" setting in the config file). | |||||
2009-10-23 | Store a pointer to the correct user (user->real_user) for users with mapped ↵ | Jon Bergli Heier | 2 | -5/+6 | |
nicks to avoid looking up the nick on every call to user_get(). | |||||
2009-10-20 | Parse kicks and store number of kicks and times kicked per user. | Jon Bergli Heier | 7 | -11/+42 | |
2009-09-06 | Count the number of total characters per user. | Jon Bergli Heier | 4 | -2/+5 | |
2009-09-06 | export_xml: Add continue after setting user when checking for the <NULL> user. | Jon Bergli Heier | 1 | -0/+2 | |
export_xml: Include string.h for strcmp. | |||||
2009-09-05 | Skip <NULL> when exporting users. | Jon Bergli Heier | 1 | -0/+4 | |
2009-09-05 | Fixed lines_node being added as a child of users_node instead of user_node ↵ | Jon Bergli Heier | 1 | -1/+1 | |
in export_xml. | |||||
2009-09-05 | Convert characters to lowercase when counting words. | Jon Bergli Heier | 1 | -1/+1 | |
2009-09-05 | Add locale and multibyte support. | Jon Bergli Heier | 3 | -11/+29 | |
Set LC_CTYPE to support locales. Use wchar_t to handle multibyte strings. Generate character tables for PCRE to support locales. | |||||
2009-08-26 | Replace sprintf with snprintf | Jon Bergli Heier | 2 | -6/+6 | |
2009-08-24 | Export words to XML. | Jon Bergli Heier | 2 | -0/+19 | |
2009-08-21 | Implemented nick_get - nicks can now be mapped | Jon Bergli Heier | 5 | -3/+23 | |
2009-08-21 | Study the nick pcre patterns. | Jon Bergli Heier | 2 | -0/+4 | |
2009-08-21 | Read and add nick regexes from config. | Jon Bergli Heier | 3 | -4/+45 | |
2009-08-21 | Return a pointer to the nick struct or NULL in nick_add. | Jon Bergli Heier | 2 | -4/+4 | |
2009-08-21 | Added structs and functions for nick grouping. | Jon Bergli Heier | 4 | -1/+109 | |
2009-08-19 | Write data to an XML file. | Jon Bergli Heier | 7 | -5/+94 | |
File path for the XML file is read per channel from the 'xmlpath' option. | |||||
2009-08-17 | Count lines per quarter hour for channels and users. | Jon Bergli Heier | 5 | -4/+20 | |
2009-08-17 | struct channel_t shouldn't use sizeof(struct regexset_t) | Jon Bergli Heier | 1 | -1/+1 | |
2009-08-15 | Study compiled patterns to speed up matching. | Jon Bergli Heier | 3 | -2/+12 | |
2009-08-15 | Added a hash table to keep track of words. | Jon Bergli Heier | 8 | -16/+100 | |
Moved the sdbm hash function into sdbm.c. Init and free users and words inside the channel loop. Increased the size of the user hash table to 1000. | |||||
2009-08-15 | Only increment word count if len > 0. | Jon Bergli Heier | 1 | -1/+2 | |
2009-08-15 | Word count using ctype.h to check for alphabetic and blank characters. | Jon Bergli Heier | 2 | -5/+38 | |
Use defines for buffer sizes. Added missing fclose. Return pointer to the user_t struct in user_get. | |||||
2009-08-14 | Parse text and join lines. | Jon Bergli Heier | 2 | -3/+37 | |
Add users from text lines. Fixed hash table code. | |||||
2009-08-14 | Added a user struct which is stored in a hash table. | Jon Bergli Heier | 3 | -1/+64 | |
User nicks are hashed using the sdbm hash function. |