📄 changelog-0.13.1
字号:
* gw/bearerbox.c, gw/smsbox.c, gw/wapbox.c: Call report_versions.2000-10-17 Tuomas Luttinen <tuo@wapit.com> * gw/urltrans.c: Changed the logic in the encode_for_url so that the safe ones are listed and the save characters being alphanums and marks "-", "_", ".", "!", "~", "*", "'", "(", ")". Also UTF-8 with full spectrum of Unicode should work now.2000-10-17 Kalle Marjola <rpr@wapit.com> * gw/smsbox.c: Added requested event of sent message2000-10-16 Lars Wirzenius <liw@iki.fi> * gwlib/log.c: Reformatted. Also made kannel_syslog's mapping of Kannel's log level to syslog log levels actually work.2000-10-16 Lars Wirzenius <liw@iki.fi> * checks/check_counter.c, checks/check_date.c, checks/check_list.c, checks/check_octstr.c, gwlib/log.c, gwlib/log.h, gwlib/utils.c: Renamed the log level enums to have a GW_ prefix, to avoid problems with broken compilers that define ERROR themselves or in some header.2000-10-16 Lars Wirzenius <liw@iki.fi> * config.h.in, configure{,.in}: Check for the magic compiler (not preprocessor) symbols __func__ (standard in the 1999 version of the standard) and __FUNCTION__ (popular extension to the 1989 version of the standard). Define __func__ as __FUNCTION__ or "unknown" depending on what is available. * gwlib/gwassert.h, gwlib/gwmem.h, gwlib/octstr.c: Use __func__ instead of __FUNCTION__.2000-10-16 Lars Wirzenius <liw@iki.fi> * config.h.in, configure{,.in}, gwlib/gw-getopt.h: Check for a prototype for getopt in stdio.h and unistd.h as well, and only use our own one if we fail to find anything. This should make Kannel compile on Solaris again.2000-10-16 Aarno Syv鋘en <syvanen@wapit.com> * gw/wtp_resp_state-decl.h: Removed CR inside a string.2000-10-13 Tuomas Luttinen <tuo@wapit.com> * gw/wml_compiler.c: parse_entities added as a fast patch to fullfill WAP 1.1 conformance with WML entities.2000-10-13 Lars Wirzenius <liw@iki.fi> * gwlib/gw-getopt.h: Wrote. This header makes sure getopt() and the corresponding variables are declared properly so that any program that includes gwlib/gwlib.h can use getopt without worrying. This should make it unnecessary to clutter all programs with #if HAVE_GETOPT_H stuff. * gwlib/gwlib.h: Include gw-getopt.h. * wmlscript/wmlsc.c, wmlscript/wmlsdasm.c: Make sure gwlib.h is included.2000-10-13 Lars Wirzenius <liw@iki.fi> * gwlib/http.c: Disable the start_request_thread as well. It caused "make check" to fail (I ran it in the wrong directory *sigh*). * test/test_http.c: Use http_get until http_start_get and http_receive_result work properly.2000-10-13 Lars Wirzenius <liw@iki.fi> * gwlib/http.c: Disable the kludge_do_one_request thread, since it isn't killed (or joined) properly.2000-10-12 Kalle Marjola <rpr@wapit.com> * doc/userguide/userguide.xml: added new example: multi-operator SMS Kannel.2000-10-12 Lars Wirzenius <liw@iki.fi> * gwlib/http.[ch]: Added a prototype implementation for the new start/receive-result interface to HTTP requests (see functions http_start_get and http_receive_result). Don't use this yet, it needs to be implemented properly. * test/test_http.c: Modified to use the new interface.2000-10-12 Richard Braakman <dark@wapit.com> * gwlib/gwassert.h: Added parentheses around the panic(...), 0 expressions in the assert macros, to get the originally intended meaning.2000-10-12 Richard Braakman <dark@wapit.com> * wmlscript/wserror.c: Corrected a stray va_arg(ap, char). (va_arg should always get the type as it is after promotion, and char is promoted to int.)2000-10-12 Lars Wirzenius <liw@iki.fi> * gwlib/http.c: When we are the server side, and the client uses HTTP 1.0, we will close the connection. If the client uses HTTP 1.1, we keep it open. * gw/smsbox.c: Remove the workaround for the missing feature now implemented.2000-10-12 Kalle Marjola <rpr@wapit.com> * gw/bearerbox.c, gw/bb_boxc.c, gw/bb_udp.c, gw/bb_smsc.c: Startup improved; not based on 'hopefully they will get up by that time' system but intra-thread wakeup call. Now the bearerbox starts up very quickly.2000-10-11 Tuomas Luttinen <tuo@wapit.com> * gw/urltrans.c: Fixed the bug 111 by adding the unwise characters and special characters like delete (0x7f) and other between 0x00 and 0x1f into the unsafe ones. * gw/wml_compiler.c (string_table_apply): Fixed a bug where an extra string end was added in a case that two (or more) substrings are replaced with the 2nd (3rd...) being the first to be replaced.2000-10-11 Lars Wirzenius <liw@iki.fi> * gw/wapbox.c: Formatted to follow coding style.2000-10-11 Lars Wirzenius <liw@iki.fi> * gw/wapbox.c: Simplified the main loop. Also removed the initialization of ret (which was done at the definition of the variable, tens of lines above, which is bad style). Removed comments at end of braces, which is also bad style (if it is not obvious what the braces end, the loop or whatever construct is too long or indentation is broken).2000-10-11 Aarno Syv鋘en <syvanen@wapit.cm> * gw/wapbox.c: Separate conditions event == NULL and event_is_for_ responder in code selecting to which wtp process an incoming event belongs.2000-10-11 Peter Gronholm <peter@wapit.com> * gw/control.html: Updated the example file to reflect the new http interface administration commands.2000-10-11 Kalle Marjola <rpr@wapit.com> * gw/bb_http.c: fixed that query parsing value '0' is not accepted, only '1' * doc/userguide/userguide.xml: added notes about sms-service 'default'2000-10-10 Richard Braakman <dark@wapit.com> * wmlscript/{ws.c, wsgram.y, wsstree.[ch]}: Remove WsPair and replace it with more specific types WsVarDec and WsFormalParm. This gets rid of an assumption that a long will fit in a (void *) field, which tends not to be true on 64-bit platforms.2000-10-10 Richard Braakman <dark@wapit.com> * wmlscript/wsencode.c: Fix va_arg type bug for all platforms, not just sparc. Removed SPARC_ABI conditionals.2000-10-10 Lars Wirzenius <liw@iki.fi> * debian/postinst: Don't use /var/log/kannel as home directory for user kannel.2000-10-10 Lars Wirzenius <liw@iki.fi> * debian/postinst: Now updates rc.d links and starts Kannel. * debian/postrm: Wrote. Removes rc.d links.2000-10-10 Richard Braakman <dark@wapit.com> * gw/wsp-method-state.h: Fixed state transition for TR-Abort.Ind, in state REPLYING. Thanks to Aymerick J閔ann for noticing.2000-10-10 Lars Wirzenius <liw@iki.fi> * gw/wtp_init_state-decl.h: Fixed misspelled INITIATOR_RESULT_WAIT.2000-10-10 Lars Wirzenius <liw@iki.fi> * debian/rules: "clean" doesn't run "make clean" unless Makefile exists.2000-10-10 Lars Wirzenius <liw@iki.fi> * debian/init: start kannel boxes as user "kannel" instead of root. run_kannel_box needs to run as root to create the pid file. * debian/postinst: Wrote. Creates user kannel and make /var/log/kannel be owned by kannel. * utils/run_kannel_box.c: Added --no-extra-args option, so that we can run other programs than Kannel boxes (su, in this case, to switch users).2000-10-10 Aarno Syvanen <syvanen@wapit.com> * gw/wtp_init_state-decl.h: Prevent RCR growing greater than its maximum allowed value.2000-10-10 Kalle Marjola <rpr@wapit.com> * gwlib/octstr.c: fixed bug in octstr_str_compare 2000-10-10 Kalle Marjola <rpr@wapit.com> * gwlib/socket.c: moved 'errno' from second call to first one in connect_to_server to avoid tempering with it before we report the error.2000-10-10 Lars Wirzenius <liw@iki.fi> * gwlib/gwthread.h: Removed unnecessary and bad ## operator from gwthread_create wrapper macro. It pasted together two string literals, creating an invalid pre-processing token, thus causing small red daemons to fly out of my nose, flapping their wings furiously, and thus causing a small wind to blow in Rio de Janeiro, turning the page of the book being read by a local critic and causing him to complain in his article about the book that it was repetitive. Be careful with those undefined behaviors, folks, you never know what will happen. * gw/wap-appl.c, gw/wsp.h: Added function wsp_http_map_destroy, from Paul Keogh. * gw/wapbox.c: Call wsp_http_map_destroy at shutdown.2000-10-09 Richard Braakman <dark@wapit.com> * wmlscript/wsopt.c: Add an optimization to remove useless tobool conversions.2000-10-09 Richard Braakman <dark@wapit.com> * wmlscript/wsstree.c: Always convert the result of an && or || operator to boolean, because the spec requires it for typeof().2000-10-09 Aarno Syv鋘en <syvanen@wapit.com> * gw/wtp_init.c, wtp_resp.c: When the state machines cannot handle an event, we ignore it and log an error message. Timer will abort this tranaction.2000-10-09 Richard Braakman <dark@wapit.com> * gw/smsc_cimd2.c: Converted to new formatting style.2000-10-09 Aarno Syv鋘en <syvanen@wapit.com> * gw/wtp_state-decl.h: Incorporated CR-Nokia-WTP-20-March-2000/2. In plain words, when load is heavy, Ack(TidOK) may be delayed so much that initiator will retransmit it and the responder will re- ceive the original when its state is RESULT_WAIT. This Ack must be ignored. This corrects bug reported by David.2000-10-09 Richard Braakman <dark@wapit.com> * wmlscript/wsgram.y: Compile unary + such that it performs the required type conversions.2000-10-09 Richard Braakman <dark@wapit.com> * wmlscript/wsasm.c: Fixed error in jump distance calculation when jumping backward over a forward jump. This messed up "continue" statements among other things.2000-10-09 Richard Braakman <dark@wapit.com> * Renamed Msg type smart_sms to sms.2000-10-09 Richard Braakman <dark@wapit.com> * gwlib/octstr.c: Rearranged immutable octstrs so that seems_valid() correctly flags freed octstrs again. Added !immutable assertions to octstr_grow and octstr_set_char. Reformatted octstr_append_from_hex. * test/test_http.c: Fixed memory leak in case of server not responding.2000-10-09 Aarno Syv鋘en <syvanen@wapit.com> * gw/wtp_init.c: Remove an unused variable.2000-10-06 Richard Braakman <dark@wapit.com> * gwlib/utils.c: Changed kannel_cfmakeraw() comments to match reality.2000-10-06 Aarno Syv鋘en <syvanen@wapit.com> * gw/wtp*: Reformat (except wtp_pdu.*). * gw/wtp_resp_state-decl.h: More comments. * gw/wtp_init.c, gw/wtp_init_state-decl.h: wtp had a tid of its own, so no mutexes are needed here.2000-10-06 Richard Braakman <dark@wapit.com> * gw/smsc.c: Reactivate the code that sets the timestamp on an sms message, if the SMSC didn't set it. Thanks to Jarkko Kovala for noticing.2000-10-06 Richard Braakman <dark@wapit.com> * Making release 0.11.32000-10-06 Richard Braakman <dark@wapit.com> * doc/userguide/userguide.xml: Terminate OTA CGI table so that it compiles. * gw/smsbox.c, gw_smsbox_req.[ch]: Give smsbox_req_sendota() a "client_ip" parameter so that it can call authorise_user correctly. * gw/smsbox_req.c: smsbox_req_sendota(): Remove unused variables. Use octstr_create("") instead of the no longer existing octstr_create_empty(). * gw/bb_boxc.c: Fix memory leak in route_msg() when routing WAP packet but no wapboxes are connected. * gwlib/http.c: Fixed silly bug in http_remove_hop_headers that would make the wapbox panic if a server used the Connection: header. Fixed memory leak in same function.2000-10-05 Yann Muller <ymuller@3glab.com> * gw/smsbox_req.c/h: added smsbox_req_sendota() to send OTA config messages. * smsbox.c: calls smsbox_req_sendota() if cgi address matches '/cgi-bin/sendota'. * doc/userguide/userguide.xml: added info about config and usage of OTA. * gwlib/octstr.c/h: added octstr_append_from_hex().2000-10-05 Kalle Marjola <rpr@wapit.com> * doc/userguide/userguide.xml: language corrected.2000-10-05 Richard Braakman <dark@wapit.com> * Added seems_valid assertion to end of octstr_format(). * gw/wap-appl.c: Fixed silly mistake that caused random panics.2000-10-05 Richard Braakman <dark@wapit.com> * gw/wap-appl.c: Bugfix, don't panic if resp_headers is NULL (i.e. the HTTP request failed). * gw/fakewap.c: Correctly encode requests with urls longer than 128 bytes.2000-10-05 Kalle Marjola <rpr@wapit.com> * test/fakesmsc.c: use info level to inform that all messages have been sent.2000-10-05 Richard Braakman <dark@wapit.com> * wmlscript/*: Reformatted.2000-10-05 Kalle Marjola <rpr@wapit.com> * gw/smsbox_req.c: made sure that when max_msgs == 0 then no messages are sent.2000-10-05 Richard Braakman <dark@wapit.com> * gw/wsp_headers.c: Bugfix in pack_integer_string, use ULONG_MAX instead of UINT_MAX and include the right header file.2000-10-04 Richard Braakman <dark@wapit.com>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -