📄 changelog-1.1
字号:
2001-01-22 Richard Braakman <dark@wapit.com> * Making release 1.1.2001-01-22 Kalle Marjola <rpr@wapit.com> * gw/wapbox.c: fixed read-config and map_url_max which caused wapbox to stuck and never start * gw/smsc_wrapper.c: added one debug message2001-01-22 Richard Braakman <dark@wapit.com> * gwlib/gwthread-pthread.c: Split gwthread_create_real() into four functions to separate the signal handling code from the thread code. This way the sigmask will also be restored if thread creation fails. (Spotted by Uoti) * gw/smsbox.c: In obey_request(), handle TRANSTYPE_SENDSMS as well, to avoid the rather cryptic default error message if this error occurs. Still investigating why it occurs at all.2001-01-22 Kalle Marjola <rpr@wapit.com> * gw/smsc_wrapper.c: fixed startup-order, to avoid segmentation fault if smsc startup fails2001-01-22 Lars Wirzenius <liw@iki.fi> * gw/wap-appl.c: Fixed memory leak (a Mutex was not being destroyed) and related whitespace usage and made the Mutex static. Also removed a spurious editorial comment with an "I" referring to me, even though I didn't write it. * gw/wapbox.c: Made some global-but-static variables with configuration information local to the function that reads and processes the config. 2001-01-22 Richard Braakman <dark@wapit.com> * gwlib/gwthread-pthread.c: In function gwthread_create_real(), applied Nick Clarey's patch to fix signal handling and restyled. Then fixed signal handling some more by using pthread_sigmask instead of sigprocmask, and SIG_BLOCK instead of SIG_SETMASK. This way we won't interfere with signals used by the pthread implementation. * gw/bearerbox.c, gw/smsbox.c, gw/wapbox.c: Updated comment in signal_handler() to reflect the new situation, and made them all use gwthread_shouldhandlesignal().2001-01-22 Lars Wirzenius <liw@iki.fi> * gw/wapbox.c: Converted to use new config file module in gwlib.2001-01-22 Lars Wirzenius <liw@iki.fi> * gwlib/accesslog.c: Made the output buffer be allocated via dynamic memory to avoid overflowing the stack with large local variables. * gwlib/log.c: Made output buffer smaller, again because of stack limitations. The new limit is one kilobyte, but since it is used only for certain parts of the output (the prefix with dates etc, and the format string), it should be plenty.2001-01-21 Lars Wirzenius <liw@iki.fi> * doc/userguide/userguide.xml: Changed SMPP version to 3.4. * gw/smsc_smpp.h: Removed. I thought I had removed it earlier already. * test/fakewap.c: Fixed memory leaks.2001-01-19 Tuomas Luttinen <tuo@wapit.com> * gw/wml_compiler.c: Added function set_charset to fix bug with the character set read from the http-headers.2001-01-18 Lars Wirzenius <liw@iki.fi> * gwlib/octstr.[ch]: Renamed the horribly long name octstr_create_immutable to octstr_imm. This should make it a bit more palatable. * gw/html.c, gw/smsbox.c, gw/smsc_at.c, gw/smscconn.c, gw/urltrans.c, gw/wap-appl.c, gw/wap_push_ota.c, gw/wml_compiler.c, gwlib/cfg.c, gwlib/http.c, test/test_dict.c, test/test_headers.c, test/test_http_server.c, test/test_octstr_immutables.c, test/wml_tester.c, wap/wsp_headers.c, wap/wsp_strings.c: Related changes.2001-01-18 Lars Wirzenius <liw@iki.fi> * gwlib/cfg.[ch]: Wrote functions cfg_get_integer and cfg_get_list to allow easier access to non-octet-string variables. No explicit typing in cfg.def, though. That may come later.2001-01-18 Kalle Marjola <rpr@wapit.com> * gw/bb_boxc.c: the current smsbox closes the connection properly, so wait until that before exiting with boxc_receiver, thus eliminating lost messages * gw/bb_boxc.c: added alive-check to boxc_sender after list_consume() as octstr_send does not notice that socket has been closed 2001-01-18 Lars Wirzenius <liw@iki.fi> * gw/smsbox.c, gw/urltrans.[ch]: Converted to use cfg.c instead of conffile.c. This revealed a need to simplify things so that the caller does not have to manually check quite as many things. Will update cfg.c accordingly before continuing with the other programs.2001-01-18 Kalle Marjola <rpr@wapit.com> * gw/smsbox.c: fixed 3 memory leaks some pointed out by Uoti, and one logical error in failed requests2001-01-18 Lars Wirzenius <liw@iki.fi> * Wrote a replacement for the conffile.[ch] stuff. It does pretty much the same thing as the old stuff, but does it with a better interface and uses Octstr instead of C strings. It does not (yet?) support reloading and automatic notification of changes to the configuration. * gwlib/cfg.[ch], gwlib/cfg.def, test/test_cfg.c: Wrote. * gwlib/gwlib.h: Include cfg.h. * test/.cvsignore: Ignore test_cfg. * test/fake.conf: Removed, since it was unused and followed an ancient syntax.2001-01-17 Lars Wirzenius <liw@iki.fi> * gwlib/dict.[ch]: Wrote function dict_keys. * gwlib/socket.c: Bugfix. Destroy the official_ip octet string at shutdown.2001-01-17 Derry Hamilton <rasilon@tardis.ed.ac.uk> * gwlib/socket.c: Removed the ugly loop from gw_netaddr_to_octstr6 since octstr_format does support hex format after all.2001-01-17 Lars Wirzenius <liw@iki.fi> * configure.in, configure: Remove checking for -lz. Richard is right: if libxml needs it, then xml-config --libs must report -lz, so there is no point in checking for it for ourselves.2001-01-17 Lars Wirzenius <liw@iki.fi> * configure.in, configure, config.h.in: check for syslog.h. * gwlib/log.c: Use the result from configure (HAVE_SYSLOG_H) to exclude the syslog stuff from compilation on platforms on which it is not available, such as Windows when not using Cygwin. * gwlib/socket.[ch]: Wrote get_official_ip, so that other modules don't have to do it themselves. * gw/wap_push_ota.c: Rewrote the static name() function. The old code was buggy (had a memory leak) and called non-portable functions (inet_ntop, uname). The new one uses get_official_ip. * gw/shared.c: Use get_official_name and get_official_ip to report the host, in addition to what uname() returns.2001-01-17 Uoti Urpala <uau@wapit.com> * gw/smsc_fake2.c: Added missing #include, minor fixes. * gw/smscconn.c: Added missing #include.2001-01-16 Uoti Urpala <uau@wapit.com> * gw/smsc_fake2.c: new fake SMSC connection module. * test/fakesmsc2.c: client to use with the new module. * gw/smscconn.c, gw/smscconn_p.h: Added references to the new module.2001-01-15 Lars Wirzenius <liw@iki.fi> * wap/wtp_pdu.c: Bugfix from Aymerick J閔anne. When unpacking TPIs, append the correct data to the PDU.2001-01-15 Lars Wirzenius <liw@iki.fi> * gwlib/gw_inet.c: Added an include for <sys/types.h> to allow compilation on FreeBSD. Thanks to vlm@smarts-gsm.ru for pointing this out.2001-01-15 Kalle Marjola <rpr@wapit.com> * gw/smscconn_p.h: modified so that 'start as stopped' is done in protocol specific creator * gw/smscconn.c: added missing settings to NULL, and removed call for conn_stop (see above) * gw/smsc_wrapper.c: added one protection mutex and fixed startup to follow above interface2001-01-15 Lars Wirzenius <liw@iki.fi> * gw/urltrans.c: Implemented %k in URL translations, based on suggestion from steveu@infowebtelecom.com. * doc/userguide/userguide.xml: Updated docs.2001-01-15 Aarno Syv鋘en <syvanen@wapit.com> * gw/wap-appl.c: Wrote conformations and indications part of Push OTA protocol. * gw/wap_push_ppg.[ch]: Started writing test version of PPG main module * gw/wap_push_ota.c: Still streamlining and fixing bugs * wap/wap_events.def: Added new push related events * wap/wsp.h: Added push related error codes2001-01-12 Tuomas Luttinen <tuo@wapit.com> * gw/wml_compiler.c: Now compiler can handle a libxml compiled with -DXML_USE_BUFFER_CONTENT. The content of the node is converted into an octet string with a macro.2001-01-12 Richard Braakman <dark@wapit.com> * Updated NEWS file to prepare for 1.1.2001-01-12 Richard Braakman <dark@wapit.com> * gwlib/charset.c: Translate u-dieresis correctly from latin1 to GSM. (It does exist in GSM Default, so it doesn't have to be approximated.)2001-01-12 Kalle Marjola <rpr@wapit.com> * gw/smscconn.h, gw/smscconn_p.h, gw/bb_smscconn_cb.h: updated API description 2001-01-12 Kalle Marjola <rpr@wapit.com> * gw/smsc_wrapper.c: fixed deadlock in message sending * gw/smsc_wrapper.c: modified reconnect so that it does not cause bearerbox to wait in various functions, by adding new mutex instead of using old flow_mutex2001-01-11 Derry Hamilton <rasilon@tardis.ed.ac.uk> * gwlib/gw_inet.c: Fixed off by one errors. * gwlib/socket.c, gwlib/socket.h: Implemnted a basic inet_ntop using Octstrs. IPv6 handling is basic, but appears to work.2001-01-11 Lars Wirzenius <liw@iki.fi> * gwlib/octstr.c: octstr_copy_real: Changed the code that checks whether the length of the part to be copied is too long so that it can deal with integer overflows (assuming they wrap around).2001-01-11 Kalle Marjola <rpr@wapit.com> * gw/smscconn.c: modified so that flow_mutex is always locked in functions using function pointers * gw/smscconn_p.h: added notes about mutex2001-01-11 Kalle Marjola <rpr@wapit.com> * gw/bearerbox.c|h: added suspend for SMSCConn * gw/smscconn*.c: fixed suspend in various parts 2001-01-11 Kalle Marjola <rpr@wapit.com> * gw/*smscconn*.*: changed SMSCCONN_KILLED to SMSCCONN_DEAD, and clarified some callbacks * gw/smsc_wrapper.c: fixed so that _sender does not suspend2001-01-11 Lars Wirzenius <liw@iki.fi> * utils/chlog-stats: Wrote.2001-01-10 Lars Wirzenius <liw@iki.fi> * gwlib/gwassert.h, gwlib/gwmem-check.c, gwlib/gwmem-native.c, gwlib/log.[ch], gwlib/octstr.c: Undid changes to make logging functions use octstr_format instead of fprintf. The interactions between debug(), gwmem, gwthread, and other low-level parts of gwlib are too intricate and error prone. It is better to suffer the use of octstr_get_cstr when logging things instead of making logging error prone.2001-01-10 Lars Wirzenius <liw@iki.fi> * gwlib/octstr.c: Implemented %p in octstr_format. * test/test_octstr_format.c: Related changes.2001-01-10 Lars Wirzenius <liw@iki.fi> * gwlib/log.c: Made info() use octstr_format as well. All places that call info() have been checked manually. In the process, found a couple of bugs, see below. * gw/bb_smscconn.c: Bugfix. octstr_get_cstr was called with a NULL argument, reversed the test so that it is called only when the argument will be non-NULL. * gwlib/log.c: Bugfix. Output needs to be flushed as soon as it has been written. * gwlib/octstr.[ch]: Implemented %i for octstr_format, and made octstr_get_cstr report the place it has been called from. * test/drive_smpp.c: Bugfix. Remember to quit from a loop within the main loop of a thread, if the quitting signal has been given. 2001-01-09 Kalle Marjola <rpr@wapit.com> * gw/smscconn*.*, gw/smsc_wrapper.c: updated start/stop interface, moving list trick into wrapper, so that each connection implementation can do it any way they like.2001-01-09 Lars Wirzenius <liw@iki.fi> * doc/CodingStyle: Add note that one should never include anything except gwlib.h from gwlib.h2001-01-09 Derry Hamilton <rasilon@tardis.ed.ac.uk> * gwlib/gw_inet.c: Included string.h to declare strncpy.2001-01-08 Derry Hamilton <rasilon@tardis.ed.ac.uk> * gwlib/gw_inet.[ch]: Added initial implementation of gw_inet_ntop and supporting code. * gw/wap_push_ota.c: included gwlib/gw_inet.h.2001-01-08 Lars Wirzenius <liw@iki.fi> * gwlib/log.c: Made warning() use octstr_format. All usages have been checked and should work.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -