📄 changelog-0.13.1
字号:
2000-12-13 Richard Braakman <dark@wapit.com> * Making release 0.13.1.2000-12-13 Richard Braakman <dark@wapit.com> * Updated NEWS file. Compare 0.13 with 0.12 series instead of with 0.11 series, on the assumption that people who use development versions will still read the release notes for stable versions. * Documented --with-malloc=slow.2000-12-11 Aarno Syv鋘en <syvanen@wapit.com> * wap/wsp_unit.c: Added handling of S_Unit_Push.req2000-12-11 Richard Braakman <dark@wapit.com> * gw/smsc_smpp.c: Made smpp_reopen() work, and not crash. Made it not destroy the smsc structure when it fails, because that's not part of the interface. * gw/smsc.c: Made smsc_reopen() also lock the smsc structure. * gwlib/socket.c: In read_available(), pass the actual value of the largest fd used to select, rather than FD_SETSIZE. * gw/urltrans.c: encode_for_url returns an Octstr, but callers treated it as char *. Fixed that. Free URLTranslation->keyword with octstr_destroy, not gw_free. * gw/smsc_smpp.c: Removed unused lists sent_mt and delivered_mt.2000-12-11 Lars Wirzenius <liw@iki.fi> * gwlib/octstr.c: octstr_format(): Implement %% in format strings.2000-12-08 Aarno Syv鋏n <syvanen@wapit.com> * wap/wsp_push_client.c, wap/wap_events.def: Really resolve a conflict.2000-12-09 Lars Wirzenius <liw@iki.fi> * wap/wsp_push_client.c, wap/wsp_push_client_states.def, wap/wsp_server_push_states.def, wap/wsp_session.c: Commented things out so that things will at least compile and pass "make check". I assume Aarno forgot to add one or two files or other changes when he committed and that things do compile in *his* work directory.2000-12-08 Aarno Syv鋘en <syvanen@wapit.com> * wap/server_push_machine.def, wsp_server_push_states.def: Two new modules to handle wsp push. * gw/wap_push_ota.c|h: These files are used, for now, only for debugging * wap/wap_events.def: For TR-Abort.ind, added the field ir_flag. This tells are the indicator responder or initiator and TR-Invoke.cnf, added field addr_tuple, which tells the session to which the event should be sent. * wap/wtp.h: More readable strings instead of magic numbers. * wap/wsp_push_client.c: Added calls to disconnect and suspend a session. Combined indications and dispatching. Separate abort functions for the initiator and the responder. * wap/wsp.h: Added definition of server push machine. * wap/wsp_server_session_machine.def: Added list for push machines. Renamed macro METHODMACHINES to MACINESLIST. * wap/wsp_session.c: Added statics to handle wsp push. In function find_session_machine, added handling of push events. Destroying both method and push machines. * wap/wtp_init.c, wap/wtp_resp.c: Assign values of new flags. * wap/wap.h: Added a new interface function wap_push_ota_dispatch_ event. * wap/wsp_push_client_machine.def: Added session_id.2000-12-08 Richard Braakman <dark@wapit.com> * gw/bb_smsc.c, function sms_receiver: Made the increase in sleep times much slower (multiply by 2 instead of by 100). This avoids having the bearerbox sleep a whole second just because the SMSC took longer than 0.01 seconds. This scenario is pretty common on dialup links.2000-12-07 Lars Wirzenius <liw@iki.fi> * contrib/{fortune.cgi,ping.cgi,sendsms,smstomail.cgi}: Added some sample services that can be used with Kannel. They're unlikely to be useful in real life, but might be amusing to test.2000-12-07 Lars Wirzenius <liw@iki.fi> * gw/smskannel.conf: Removed the "www" example service, since people seem not to remove it from production installations. They should, since it's potentially a security problem.2000-12-06 Richard Braakman <dark@wapit.com> * gw/wapbox.c: Memory cleanup: Call close_connection_to_bearerbox() when exiting, and destroy the bearerbox_host string.2000-12-06 Lars Wirzenius <liw@iki.fi> * gw/smsbox.c: Removed compilation warning about `catref' being possibly used without initialization in send_message. While doing this, fixed some formatting (long lines, comment style), frivolous argument order changes, and renamed catref to msg_sequence, so as to use the same name everywhere. Also removed the commented-out part that disabled catenation on messages with UDH. It was enabled since the code before the rewrite didn't seem to deal with this case properly, and I hadn't time to find out the correct way to handle this.2000-12-06 Richard Braakman <dark@wapit.com> * Not Finnish and not independent. (Ruled by a queen) * Applied Mikael Gueck's cleanup patch for SMPP. * gw/smsc_smpp.c: Fixed memory leak in data_receive(), spotted by Milko Videv. * gw/smsc_smpp.c: Fixed minor compiler warnings, deleted unused functions charset_smpp_to_iso(), charset_iso_to_smpp(), and actively_unbind(). * gw/smsc_smpp.h: Deleted declarations of unused functions. Deleted translation_table (no longer used)2000-12-06 Yann Muller <ymuller@3glab.com> * gw/smsbox.c: Corrected reference number for concatenation UDH, recalculate UDH length after adding concatenation info and adjust if UDH was empty. Commented out reset of 'catenate' if UDH is already present. * gw/smsc_at.c: fixed the length of the user data in pdu_encode(). 2000-12-05 Lars Wirzenius <liw@iki.fi> * gw/wapbox.c: Converted to use bearerbox communication stuff from gw/shared.c (and therefore Connection) instead of using old plain socket stuff. Among other things, this kills one thread (empty_queue_thread). * gw/shared.c: Check for write errors and don't report messages that were sent. * checks/check_fakewap.sh: Set log level to 0 and shorten sleeps between box startups. * gw/smsbox.c: Don't use \0 in format string, use %c and argument 0 instead. \0 has a tendency to cut C strings short...2000-12-05 Lars Wirzenius <liw@iki.fi> * gw/shared.[ch]: Moved bearerbox communication stuff from smsbox.c to shared.c, so that it can easily be used by wapbox as well. * gw/smsbox.c: Related changes. * gw/wapbox.c: Renamed "running" to "running_ok", until the wapbox will use program_status from shared.c.2000-12-05 Lars Wirzenius <liw@iki.fi> * gw/smsc.c: Removed calls to str_find_substr. * gwlib/utils.[ch]: Removed now-unused str_find_substr function.2000-12-05 Lars Wirzenius <liw@iki.fi> * gw/urltrans.[ch]: Removed urltrans_accepted_smsc(), since it wasn't being used. Made the accepted SMSC list in an URLTranslation be a List. This allows us to kill one more call to str_find_substr. * gwlib/octstr.[ch]: Wrote octstr_item_match.2000-12-05 Lars Wirzenius <liw@iki.fi> * gwlib/octstr.[ch]: Wrote octstr_split. * gw/urltrans.c: Use a Dict to look up the URLTranslation, instead of a linear search from the whole list. This is somewhat faster and results in cleaner code.2000-12-05 Lars Wirzenius <liw@iki.fi> * gwlib/gwstr.[ch], gwlib/conffile.c: Moved trim_ends to conffile.c, and the other functions were no longer used, so removed the gwstr module. * gwlib/gwlib.h, gwlib/socket.h: Removed include for gwstr.h.2000-12-04 Lars Wirzenius <liw@iki.fi> * gw/urltrans.c: Made urltrans_get_pattern return an Octstr, instead of a C string. * gw/smsbox.c: Related changes.2000-12-04 Lars Wirzenius <liw@iki.fi> * gw/urltrans.[ch]: Change function call interfaces to use Octstr instead of C strings. * gw/smsbox.c: Related changes. * gw/smsbox.c: When checking whether sendsms is allowed, call is_allowed_ip properly, with deny_ip, not instead of allow_ip.2000-12-04 Lars Wirzenius <liw@iki.fi> * gw/urltrans.[ch]: Reformatted for new coding style.2000-12-04 Lars Wirzenius <liw@iki.fi> * gw/smsbox.c: Fixed the PAM code to use warning and error, instead of printf.2000-12-04 Lars Wirzenius <liw@iki.fi> * gw/smsbox.c: Reformatted the PAM code. Hopefully it still works.2000-12-04 Lars Wirzenius <liw@iki.fi> * gw/smsbox.c: Rearranged code for clarity, plugged a memory leak and fixed a memory freeing bug (memory was being freed twice).2000-12-04 Lars Wirzenius <liw@iki.fi> * gw/smsbox.c: Merged smsbox_req.c into smsbox.c, because they called each other backwards and forwards and the merged file is small enough to be manageable, so there's no point in keeping them separate. * gw/smsbox.h, gw/smsbox_req.[ch]: Removed.2000-12-04 Lars Wirzenius <liw@iki.fi> * gw/smsbox_req.c: Rearranged code to be somewhat clearer. * gw/smsbox.c: Removed ancient file comment.2000-12-04 Lars Wirzenius <liw@iki.fi> * gw/smsbox_req.c: Rewrote SMS splitting so that it is hopefully now somewhat more understandable.2000-12-04 Lars Wirzenius <liw@iki.fi> * gw/smsc_emi.c: Avoid NULL pointer dereference if sender has not been set. Thanks to Armin Hurm for finding this.2000-12-04 Lars Wirzenius <liw@iki.fi> * doc/userguide/userguide.xml: Explain the syslog-level variable for wabpox.2000-12-04 Lars Wirzenius <liw@iki.fi> * README: Moved information from doc/platforms/FAQ.solaris to README, because the goal is to reduce the number of places one has to look for documentation, not increase it. Whoever put the file in CVS didn't even document it in the ChangeLog. * doc/platforms/FAQ.solaris: Removed.2000-12-01 Richard Braakman <dark@wapit.com> * gw/heartbeat.c: Fix busy-loop in heartbeat thread.2000-12-01 Lars Wirzenius <liw@iki.fi> * contrib/php-admin/*: Added PHP administration stuff and sendota/sendvcard/etc stuff from Bjarne Saltbaek.2000-12-01 Lars Wirzenius <liw@iki.fi> * configure.in: Accept libxml 2.2.10. (Untested, since I don't have 2.2.10 yet.)2000-11-29 Richard Braakman <dark@wapit.com> * wap/wap_events.*: Gave events pretty names, for logging. ("TR-Invoke.cnf" instead of "TR_Invoke_Cnf").2000-11-29 Richard Braakman <dark@wapit.com> * wap/wap_events.def, wap/wsp_push_client.c, wap/wsp_push_client_states.def: Brought Push-related events in line with the scheme used by other WSP events.2000-11-29 Richard Braakman <dark@wapit.com> * gwlib/gwpoll.h, gwlib/gwthread-pthread.h: FreeBSD compatibility fix. Specify "no timeout" on poll by using INFTIM, if it's available, rather than using a random negative value.2000-11-29 Aarno Syv鋘en <syvanen@wapit.com> *wap/wsp_push_client_states.def: Changed names of dispatching functions to locally used ones.2000-11-29 Yann Muller <ymuller@3glab.com> * gw/smsc_at.c: removed the UDHL from the encoding of the PDU. The length should already be in the UDH.2000-11-28 Richard Braakman <dark@wapit.com> * wap/wsp_session.c, wap/wsp_server_session_states.def, wap/wsp_server_method_states.def: Renamed static functions so that they do not start with "wsp_", to avoid confusion. (In the future the client side will have its own versions of these, and names with wsp_ look like they are global.)2000-11-28 Richard Braakman <dark@wapit.com> * wap/wap_events.def: Added WSP client-side events (not used yet). * Renamed "session_id" to "session_handle" for WSP session events that are used by both client and server side. The client side does not know the session id until after it is connected, so it can not use that as a handle. * Made "method" an OCTSTR field instead of INTEGER. Now the application layer need no longer worry about method encoding values. This is a first step toward supporting extended methods, which have no fixed number. * Renamed S_MethodInvoke_Ind fields to be closer to the spec. * Introduced OPTIONAL_OCTSTR, and require that OCTSTR and ADDRTUPLE fields never be NULL. wap_event_assert now checks this. HTTPHEADER, CAPABILITIES, and OPTIONAL_OCTSTR fields can be NULL. All uses have been checked to see if they can deal with this, and some have been adjusted. * wap/wap_events.def: Formalized distinction between fields in the spec and fields added by Kannel. * wap/wsp_push_client.c: In push_client_machine_find_or_create, add default case to handle unexpected event types, and always destroy "pdu" variable (to avoid gcc warnings). * wap/wsp_push_client.h: Define INTEGER fields as long, just like everywhere else.2000-11-28 Lars Wirzenius <liw@iki.fi> * gw/smsbox.[ch], gw/smsbox_req.[ch]: Call function to write message to bearerbox directly, instead of via function pointer.2000-11-28 Kalle Marjola <rpr@wapit.com> * gw/smsbox_req.c: fixed that sendsms user is again shown (it disappeared during some authorization work, I guess) * gw/urltrans.c|h: added function urltrans_username2000-11-28 Aarno Syv鋘en <syvanen@wapit.com> * gw/wapbox.c: Initialize and shutdown the push client.2000-11-28 Aarno Syv鋘en <syvanen@wapit.com> * wap/wsp_push_client*: Added client push machine. Wtp responder will send class 1 transaction messages to this as long as wsp client session machine is not implemented. * wap/wap_events.def: Added some push events * wap/wap.h, wtp_resp.c, wtp_resp_states.def: Sending events from wtp responder to push client implemented.2000-11-28 Lars Wirzenius <liw@iki.fi> * gwlib/log.[ch]: Added a log_ prefix to functions, except for the actual message printing ones. Those are used in too many places to warrant a change. * checks/check_*.c, gw/bearerbox.c, gw/smsbox.c, gw/wapbox.c, gwlib/utils.c, test/drive_wapbox.c, test/test_http.c, test/test_http_server.c, test/wml_tester.c: Related changes.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -