sas Wed Apr 25 07:15:09 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Fix format strings typo.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.64 php4/ext/ircg/ircg.c:1.65
--- php4/ext/ircg/ircg.c:1.64 Wed Apr 25 07:07:47 2001
+
sas Wed Apr 25 07:07:48 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
display cache info
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.63 php4/ext/ircg/ircg.c:1.64
--- php4/ext/ircg/ircg.c:1.63 Wed Apr 25 06:50:35 2001
+++ php4/
sas Wed Apr 25 06:50:35 2001 EDT
Modified files:
/php4/ext/ircg ircg.c ircg_scanner.c ircg_scanner.re
Log:
Use the system malloc in the scanner
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.62 php4/ext/ircg/ircg.c:1.63
--- php4/ext/irc
sas Wed Apr 25 06:14:40 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Past profiling has shown that we waste too much time in the message
scanner. In the context of a channel message which is supposedly
addressed to a large number of users, we
sas Tue Apr 24 02:40:06 2001 EDT
Modified files:
/php4/ext/ircg ircg.c ircg_scanner.c php_ircg.h
Log:
Add support for suppressing the "loopback" of messages sent using ircg_msg.
Add support for nickname escaping
Using this technique it becomes p
sas Wed Apr 18 04:42:31 2001 EDT
Modified files:
/php4/ext/ircg ircg.c php_ircg.h
Log:
Support notice which should be used to query bots etc.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.59 php4/ext/ircg/ircg.c:1.60
--- php4/ext/ircg/i
sas Tue Apr 17 15:44:54 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Allocate memory for js escaped strings using the C library's malloc.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.58 php4/ext/ircg/ircg.c:1.59
--- php4/ext/irc
sas Sun Apr 15 17:24:14 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Add support for banlists
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.57 php4/ext/ircg/ircg.c:1.58
--- php4/ext/ircg/ircg.c:1.57 Sat Apr 14 11:49:04 2001
+++
sas Tue Apr 3 12:41:23 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
ircg_ignore_del returns true now, if the operation was successful.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.55 php4/ext/ircg/ircg.c:1.56
--- php4/ext/ircg/
sas Tue Apr 3 12:28:47 2001 EDT
Modified files:
/php4/ext/ircg ircg.c php_ircg.h
Log:
add ignore interface
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.54 php4/ext/ircg/ircg.c:1.55
--- php4/ext/ircg/ircg.c:1.54 Sat Mar 31 07:53:14 2
sas Sat Mar 31 07:53:14 2001 EDT
Modified files:
/php4/ext/ircg ircg.c php_ircg.h
Log:
Add ircg_html_encode() which is an interface to the standard
HTML encoder for URLs and color attributes.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.
sas Sat Mar 10 15:51:56 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Send pointless HTML, if nothing else happens to avoid timeouts.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.52 php4/ext/ircg/ircg.c:1.53
--- php4/ext/ircg/irc
sas Sat Mar 10 15:38:07 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Increment the pointer and evaluate the next character after
recognizing a modifier.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.51 php4/ext/ircg/ircg.c:1.52
sas Sat Mar 10 15:15:22 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Add 1 modifier which causes a JS-encoded string to be inserted
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.50 php4/ext/ircg/ircg.c:1.51
--- php4/ext/ircg/ircg
sas Fri Mar 9 10:13:29 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Add a format identifier for escaping %m, so that it can be safely used
as a parameter for Javascript.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.49 php4/ex
sas Wed Mar 7 14:18:50 2001 EDT
Modified files:
/php4/ext/ircg ircg.c php_ircg.h
Log:
Add simplistic ircg_channel_mode() function
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.48 php4/ext/ircg/ircg.c:1.49
--- php4/ext/ircg/ircg.c:1.48
sas Wed Mar 7 13:05:44 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
D'oh. Check IRCG_API_VERSION after including if_irc.h.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.47 php4/ext/ircg/ircg.c:1.48
--- php4/ext/ircg/ircg.c:1.47
sas Wed Mar 7 12:49:01 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Add default message for channel modes
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.46 php4/ext/ircg/ircg.c:1.47
--- php4/ext/ircg/ircg.c:1.46 Wed Mar 7 12:4
sas Wed Mar 7 12:45:02 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Move binary compat check to the module init function;
Add initial support for channel modes.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.45 php4/ext/ircg
sas Wed Mar 7 12:24:28 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Safety check for now, this can later be used to add real binary
compatibility by increasing the size of php_irconn_t appropiately.
Index: php4/ext/ircg/ircg.c
diff -u php4
sas Wed Mar 7 12:15:34 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
There are some subtle changes which are not recognized by the compiler,
so bark, if someone tries to build against anything older than IRCG 2.0b1.
Index: php4/ext/ircg/irc
sas Sat Mar 3 13:22:13 2001 EDT
Modified files:
/php4/ext/ircg ircg.c ircg_scanner.re
Log:
Finally fix the handler API to always pass smart_str's to the handlers.
format_msg now takes smart_str's only as parameters.
This easily saves a couple o
sas Sat Mar 3 08:26:55 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Improve the speed of format_msg() (5 fold increase).
We are still spending too much time in ircg_mirc_color(). According
to gprof on FreeBSD, it is something like 20% for
sas Fri Mar 2 12:32:42 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Make use of the "zero-copy" write queue feature.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.40 php4/ext/ircg/ircg.c:1.41
--- php4/ext/ircg/ircg.c:1.40 Mon
sas Mon Feb 26 15:11:06 2001 EDT
Modified files:
/php4/ext/ircg ircg.c php_ircg.h
Log:
Support for the new whois functionality in ircg
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.39 php4/ext/ircg/ircg.c:1.40
--- php4/ext/ircg/ircg.c:1
sas Sun Feb 25 13:53:20 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Provide improved means for mass joins
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.37 php4/ext/ircg/ircg.c:1.38
--- php4/ext/ircg/ircg.c:1.37 Sun Feb 25 10:1
sas Sun Feb 25 10:16:42 2001 EDT
Modified files:
/php4/ext/ircg ircg.c php_ircg.h
Log:
Add function for kick and topic
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.36 php4/ext/ircg/ircg.c:1.37
--- php4/ext/ircg/ircg.c:1.36 Sat Feb 24
sas Sat Feb 24 12:37:20 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Replace the sixth and seventh parameter of ircg_pconnect()
with a connection-detail array. Currently, you can set
realname, password, ident. Those information are used
dur
sas Sat Feb 24 04:37:19 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Add the ability to set a connection password
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.34 php4/ext/ircg/ircg.c:1.35
--- php4/ext/ircg/ircg.c:1.34 Wed Feb
sas Wed Feb 21 11:58:32 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Allow users to set the ident string which we use to register with
the IRC server.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.33 php4/ext/ircg/ircg.c:1.34
-
sas Sun Feb 18 04:44:35 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Remove unnecessary assignment which caused a segfault
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.32 php4/ext/ircg/ircg.c:1.33
--- php4/ext/ircg/ircg.c:1.32
sas Sun Feb 18 03:20:25 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Set from for MSG_FMT_SELF_PART
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.31 php4/ext/ircg/ircg.c:1.32
--- php4/ext/ircg/ircg.c:1.31 Sun Feb 18 02:08:21 20
sas Sun Feb 18 02:08:21 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Add code for user-quit hook
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.30 php4/ext/ircg/ircg.c:1.31
--- php4/ext/ircg/ircg.c:1.30 Sun Feb 18 01:44:29 2001
sas Sun Feb 18 01:44:29 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
irc_write_buf_del() performs a final flush now, if the fd is not dead yet.
afterwards we perform a shutdown() on the socket, so that thttpd
notices that the socket is to be
sas Sun Feb 18 01:32:29 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Close an apparent race which caused HTTP connections to stay open,
even though the IRC server refused to let us login.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ir
sas Sun Feb 18 00:30:12 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Add a new format string identifier 'r' which inserts the raw message.
Also port the ctcp copy function to the hash_ex API as per Andi's
suggestion.
Index: php4/ext/ir
At 05:31 PM 2/17/2001 +, Sascha Schumann wrote:
>sas Sat Feb 17 09:31:36 2001 EDT
>
> Modified files:
> /php4/ext/ircg ircg.c
> Log:
> Add initial CTCP handling and fix a possible segfault in ircg_msg()
>
>
>Index: php4/ext/ircg/ircg.c
>diff -u php4/ext/ircg/ircg.c:1
sas Sat Feb 17 09:36:44 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Also format CTCP correctly when sending it to the server.
This is still quite ugly but works already quite well.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.
sas Sat Feb 17 09:31:36 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Add initial CTCP handling and fix a possible segfault in ircg_msg()
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.25 php4/ext/ircg/ircg.c:1.26
--- php4/ext/ircg
sas Sat Feb 17 00:30:11 2001 EDT
Modified files:
/php4/ext/ircg ircg.c php_ircg.h
Log:
Convert to the new hooks-based callback system.
Also add a facility to change our own nick as well as tracking other
nick changes.
Index: php4/ext/ircg/irc
sas Fri Feb 16 14:53:18 2001 EDT
Modified files:
/php4/ext/ircg ircg.c ircg_scanner.c ircg_scanner.re
Log:
Move the separate entity encoding into the scanner. Otherwise,
we cannot properly differentiate between (apparent) HTML which was
generated by
sas Mon Jan 15 22:53:30 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Use the write buffer subsystem to accumulate network writes and to
increase the overall through-put.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.21 php4/ext
sas Fri Jan 12 08:42:10 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
We never want to appand to the result string, so set len to 0 initially.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.20 php4/ext/ircg/ircg.c:1.21
--- php4/ext
sas Fri Jan 12 07:45:34 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Encode HTML entities by default
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.19 php4/ext/ircg/ircg.c:1.20
--- php4/ext/ircg/ircg.c:1.19 Fri Jan 12 07:27:53 2
sas Fri Jan 12 07:27:54 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Add a hook for signaling "you're gone" to the client on channel part
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.18 php4/ext/ircg/ircg.c:1.19
--- php4/ext/irc
sas Fri Jan 12 06:51:13 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Add a format string which allows us to implement a transaction-like
JS interface for large joins (many changes, one commit).
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/i
sas Fri Jan 12 06:27:28 2001 EDT
Modified files:
/php4/ext/ircg ircg.c php_ircg.h
Log:
Make the format-msg functions actually available.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.16 php4/ext/ircg/ircg.c:1.17
--- php4/ext/ircg/ircg.c
sas Fri Jan 12 05:49:16 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Make some strings static to avoid reallocating the buffers a thousand
times per second.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.15 php4/ext/ircg/ircg.c:
sas Fri Jan 12 05:35:30 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Try to be more memory friendly by avoiding storing redundant data.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.14 php4/ext/ircg/ircg.c:1.15
--- php4/ext/ircg/
sas Wed Jan 10 13:06:18 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Improved handling for empty format strings
Also kill a warning
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.13 php4/ext/ircg/ircg.c:1.14
--- php4/ext/ircg
sas Wed Jan 10 11:07:23 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Fix a bug of the D'oh! class (RETVAL instead of RETURN), let the first
irconn_id be 1 and allow empty strings as format strings.
Index: php4/ext/ircg/ircg.c
diff -u php4/e
sas Wed Jan 10 07:52:01 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Check the return value irc_connect(). There are some cases where
that function would fail and we were leaking memory.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ir
sas Wed Jan 10 05:50:26 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Remove unused channel element from the php_irconn structure.
Remove unnecessary check when freeing custom format messages.
Improve handling, if send(2) fails.
Inde
53 matches
Mail list logo