📄 changelog-1.1
字号:
2001-01-08 Kalle Marjola <rpr@wapit.com> * gw/*smscconn*.*: removed reason from killed-callback, instead it is used in why_killed field (previous is_killed) * gw/smscconn.*: infotable now has killing reason included2001-01-08 Aarno Syv鋘en <syvanen@wapit.com> * gw/wap_push_ota.c: Streamlined the code somewhat2001-01-08 Kalle Marjola <rpr@wapit.com> * utils/kannel-init.d: changed binary names into variables so that it is easier to change script to work with different versions2001-01-06 Lars Wirzenius <liw@iki.fi> * gwlib/log.c: Added a missing include for <limits.h> so that CHAR_BIT is defined. The over-eagerness of Linux headers to define everything strikes again.2001-01-05 Lars Wirzenius <liw@iki.fi> * Started to convert logging functions to use octstr_format instead sprintf, to make them more powerful. Now, panic() and error() use octstr_format, the others do not yet (each call needs to be checked to make sure that octstr_format can deal with the format string and I didn't have the time to do that yet). Also added the function panic_hard for those cases where calling panic would call eternal recursion - panic uses octstr_format, which can call panic itself (via gw_assert or gw_malloc, for example). * gwlib/log.[ch]: Implemented panic_hard and made panic and error use octstr_format. * gwlib/gwassert.h, gwlib/gwmem-check.c, gwlib/gwmem-native.c, gwlib/octstr.c: Changed to use panic_hard instead of panic. * gw/wap-appl.c: Indentation fix.2000-01-04 Derry Hamilton <rasilon@tardis.ed.ac.uk> * configure.in,configure: Added tests for the definition of INET_ADDRSTRLEN and finding libraries for inet_ntop. Allows gw/wap_push_ota.c to compile and link under Solaris 7.2001-01-04 Lars Wirzenius <liw@iki.fi> * configure.in, Makefile.in: Added PDF conversion of docs. * doc/arch/*: Replaced the architecture document with a modified version of the draft for my MSc thesis. The old document was horribly out of date, the thesis draft is at least mostly current, even if it is still missing a few bits. 2000-01-04 Aarno Syv鋘en <syvanen@wapit.com> * wap/wap_events.def: Added Push OTA events * wap/wsp_pdu.def: Added sia, a spesific content type for trans- mitting data bearerbox addresses, etc. * gw/wap_push_ppg.c|h: Added module to implement PPG main logic. It does not do anything, yet. * gw/wap_push_ota.c|h: Wrote requirements part of Push OTA protocol. * gw/wapbox.c: Send bearerbox address to OTA module. Initialize and shutdown ppg. * wap/wsp_strings.def: Added conversion tables for bearer types and push application ids. * wap/wsp_headers.c: Added packing and unpacking of OTA headers2001-01-03 Lars Wirzenius <liw@iki.fi> * checks/check_fakesmsc.sh, checks/check_fakewap.sh: Modified to work without network access to facilitate development on a laptop. * test/test_http_server.c: Added option -f, to allow a WML file to be returned instead of a text/plain response. This is used by check_fakewap.sh above. * gw/bb_smscconn.c: Initialized some local variables so that the compiler won't warn that they are used before they are initialized. * gwlib/octstr.[ch]: Removed octstr_search_cstr, which was no longer used.2000-12-29 Tuomas Luttinen <tuo@wapit.com> * gw/wml_definitions.h: Added WBXML_ to every defined constant, so that there wouldn't be any more mixups with constants defined elsewhere. * gw/wml_compiler.c: The code modified to use the new definitions.2000-12-29 Tuomas Luttinen <tuo@wapit.com> * gw/wml_compiler.c: The own hash table code is deleted and dict implementation is used instead. The wml_init builds up the dicts for the WML binary bytecode and wml_shutdown frees those dicts. Also a bit of code renewing by deleting all octstr_*_cstr-functions. * gw/wapbox.c: Added calls to wml_init and wml_shutdown when starting and shutting down the wapbox. * gwlib/octstr.c (octstr_hash_key): Now hash key for a NULL octet string is 0. * test/wml_tester.c: The test program now has a command line argument -n number that does the compiling n times. Also all the wml files written in sequence in the command line will be compiled. Some other modifications to get rid of the octstr_*_cstr-functions.2000-12-29 Kalle Marjola <rpr@wapit.com> * gw/bb_smscconn.c: shortened SMSCConn status output * gw/bb_http.c: added full HTML header to HTML replies 2000-12-29 Kalle Marjola <rpr@wapit.com> * gw/bb_smscconn.c: added load-based routing to outgoing SMS messages, which takes into account reconnecting connections, preferrations etc. (note that currently as all SMSC Connections are used via smsc_wrapper their load is equal to internal queue length, which is usually 0) * gw/smsc_wrapper.c: a bit update to startup2000-12-28 Kalle Marjola <rpr@wapit.com> * gw/bb_http.c: added that HTTP admin commands can be used without cgi-bin/ in the URL, too. * doc/userguide/userguide.xml: documentation updated to reflect that2000-12-28 Kalle Marjola <rpr@wapit.com> * gw/bb_http.c, gw/bearerbox.c: modified so that every reply to HTTP admin is formatted according to client Accept: -header, with preference as WML > HTML > plain text.2000-12-28 Kalle Marjola <rpr@wapit.com> * gw/bb_http.c: modified so that cgi-bin/status returns the reply in format accepted by the client, preferring WML over HTML over plain text. * gw/bb_http.c: made admin-password mandatory in code, too. Set that wrong password in admin commands causes delayed answer to delay brute force password cracking * gw/bb_http.c: added new configuration variable status-password - if set, status inquiry must be supplied with either this or general admin-password * gw/*kannel.conf, doc/userguide/userguide.xml: updated to reflect status-password2000-12-28 Kalle Marjola <rpr@wapit.com> * gw/bearerbox.c, gw/bearerbox.h, gw/bb_boxc.c, gw/bb_smscconn.c: updated to format status inquiry into HTML, WML or plain text. * gw/bb_http.c: added new HTTP admin functions cgi-bin/status.wml, cgi-bin/status.html and cgi-bin/status.txt if the client wants a specific type. Plain cgi-bin/status returns HTML currently, updated to return whatever client requests via Accept -header in near future (as would all other commands, too) * gw/bb_http.c: removed cgi-bin/xmlstatus, replaced with cgi-bin/status.xml which still does not return anything sensible.2000-12-27 Kalle Marjola <rpr@wapit.com> * gw/smscconn.c, gw/smscconn_p.h: added new smsc configuration group variable allowed-smsc-id * doc/userguide/userguide.xml: added description2000-12-27 Kalle Marjola <rpr@wapit.com> * gw/smscconn_p.h, gw/smsc_wrapper.c: a bit more commented code 2000-12-22 Derry Hamilton <rasilon@tardis.ed.ac.uk> * config.sub,config.guess,configure.in,configure: added the host determination files and removed the dependancy on /usr/share/autoconf. 2000-12-22 Derry Hamilton <rasilon@tardis.ed.ac.uk> * config.h.in,configure,configure.in,gwlib/gwthread-pthread.c: Cleaned up host system determination and tests for broken pthreads. 2000-12-21 Lars Wirzenius <liw@iki.fi> * test/drive_smpp.c: Added includes for accept(2).2000-12-21 Lars Wirzenius <liw@iki.fi> * Rewrote the SMPP protocol implementation. The old one was excessively verbose (lots of repetitive code), did not use Octstr, or Connection, and needed much attention in order to fit into the new SMSC interface anyway. The new code is about half the length and much cleaner and should be functionally about as concrete (but see comments at the top of gw/smsc_smpp.c), and happens to be somewhat faster. * gw/smsc_smpp.h: Removed. It was only included by the old version of gw/smsc_smpp.c anyway, and shouldn't have existed at all. * gw/smpp_pdu.[ch] and gw/smpp_pdu.def: Wrote. These parse and generate the binary and struct versions of the SMPP PDUs. The C preprocessor trick the WAP stack uses is used here as well to keep code clean and short. They're used by drive_smpp as well, so they're not made part of smsc_smpp.c itself. * test/drive_smpp.c: Wrote. This is a server end implementation of the SMPP protocol and is used to verify that the client end works. * checks/check_smpp.sh, test/drive_smpp.conf: Wrote. * gwlib/semaphore.[ch]: Wrote. These are used by the SMPP code to make sure not too many pending submit_sm requests are open. The current implementation of Semaphore is quite simplistic and wraps around List; native semaphores should probably be used instead, but this is good enough for now. * gwlib/gwlib.h: Added include for semaphore.h. * gwlib/octstr.c: Ignore NULL arguments before calling seems_valid, instead of afterwards, since seems_valid asserts that the argument is not NULL. * utils/source-stats: Cound the `wap' subdirectory as well.2000-12-21 Kalle Marjola <rpr@wapit.com> * gw/smsc_wrapper.c: added some mutex operations so that reconnect should now work without segfault 2000-12-21 Kalle Marjola <rpr@wapit.com> * gw/bearerbox.c, gw/bb_smscconn.c, gw/smsc_wrapper.c: updated status output information 2000-12-21 Kalle Marjola <rpr@wapit.com> * gw/smsc_wrapper.c: moved logistics of reconnect to this module, instead than in smsc.c * gw/smsc.*: removed lots of public functions (the old interface) * gw/bb_smsc.c: remove depricated code 2000-12-21 Kalle Marjola <rpr@wapit.com> * gw/bearerbox.*: use smsc2_ functions for new bb_smscconn, renaming in a near future * gw/smsc.c: modified to use gwthread_sleep instead of plain sleep, so that no need for 'semi-busy sleep' during reconnect * gw/smscconn*.*: added missing functions, these should now work * gw/smsc_wrapper.c: finished, including program flow etc. 2000-12-21 Kalle Marjola <rpr@wapit.com> * gw/smsc.c: added missing breaks to _reopen2000-12-21 Derry Hamilton <rasilon@tardis.ed.ac.uk> * gw/wap-appl.c: Fixed race condition, between updating and deleting stuff in id_to_request_data and caller simultaneously2000-12-20 Kalle Marjola <rpr@wapit.com> * gw/bb_smscconn_cb.c: renamed as bb_smscconn.c and includes all code in old bb_smsc.c - will replace the old system as soon as I get last missing functions ready and the system tested * gw/smscconn.* added that shutdown can either empty the internal queue first or do a quick shutdown, putting all messages into failed list2000-12-20 Derry Hamilton <rasilon@tardis.ed.ac.uk> * gwlib/gwthread.h, gwlib/gwthread-pthread.c, gw/bearerbox.c, config.h.in: Combined patches from Nick Clarey and myself that cope with POSIX-but-not-quite threads. My head hurts. 2000-12-19 Richard Braakman <dark@wapit.com> * gwlib/dict.c: Improve description of Dict fields.2000-12-19 Kalle Marjola <rpr@wapit.com> * gw/smsc_wrapper.c: it is ready - to be tested out. Next: new bb_smsc.c, so the wrapper can be checked out2000-12-19 Kalle Marjola <rpr@wapit.com> * gw/smsc_emi.c: fixed that NULL pointer is not tried to be printed2000-12-18 Kalle Marjola <rpr@wapit.com> * gw/bb_smscconn_cb.*, gw/smscconn*, gw/smsc_wrapper.c: updated, almost ready now.2000-12-18 Peter Gr鰊holm <peter@wapit.com> * gw/wml_definitions.h, fixed attribute name, "accept_charset" is now "accept-charset".2000-12-15 Lars Wirzenius <liw@iki.fi> * gw/bb_smscconn_cb.c, gw/smsc_wrapper.c, gw/smscconn.c: Rudely commented out things to shut compiler warnings off.2000-12-15 Kalle Marjola <rpr@wapit.com> * gw/smscconn.c|h|_p.h, gw/smsc_wrapper.c: continued the work * gw/bb_smscconn_cb.h|c: added. Callbacks to synchronize things2000-12-15 Richard Braakman <dark@wapit.com> * gwlib/dict.[ch]: Implement dict_key_count(). Implement behaviour of dict_put when value is NULL. * gw/smsbox.c: dict_key_count() now exists, so use it in outstanding_requests().2000-12-15 Richard Braakman <dark@wapit.com> * gw/smsbox.c: smsbox_req_sendsms and smsbox_req_sendota made static, they're not called from anywhere else.2000-12-13 Richard Braakman <dark@wapit.com> * test/fakewap.c: Indented gwlib_shutdown() call according to our coding style. 2000-12-13 Paul Keogh <paul.keogh@anam.com> * test/fakewap.c: Added gwlib_shutdown() call.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -