ChangeLog-0.13.1
资源名称:gateway-1.2.1 [点击查看]
上传用户:gzpyjq
上传日期:2013-01-31
资源大小:1852k
文件大小:282k
源码类别:
手机WAP编程
开发平台:
WINDOWS
- begins with "http://".
- 2000-09-21 Lars Wirzenius <liw@iki.fi>
- * checks/check_octstr.c: Wrote.
- * gwlib/octstr.[ch]: Wrote new function octstr_case_search.
- 2000-09-21 Lars Wirzenius <liw@iki.fi>
- * gwlib/octstr.c: octstr_compare: Fixed behavior when either argument
- was a zero length octet string. It used to always return zero,
- now it returns -1 or 1 if the other argument is not a zero length
- octet string.
- * gwlib/octstr.[ch]: Wrote octstr_case_compare.
- 2000-09-21 Lars Wirzenius <liw@iki.fi>
- * gwlib/octstr.c: Reformatted to new code layout.
- 2000-09-21 Lars Wirzenius <liw@iki.fi>
- * gw/wapbox.c: Start the WAP application layer before the
- heartbeat thread. This prevents a race condition at startup.
- 2000-09-21 Richard Braakman <dark@wapit.com>
- * gw/timers.c: In TimerHeap struct, rename "heap" field to "tab".
- There's something confusing about heap->heap[index].
- * gw/timers.c: Simplified main loop in the timer thread.
- Made it process all elapsed timers before releasing its lock
- -- should be faster if a bunch of timers elapse at once.
- 2000-09-20 Richard Braakman <dark@wapit.com>
- * gw/wsp_headers.c: Try to skip over unknown code pages more
- intelligently.
- 2000-09-20 Richard Braakman <dark@wapit.com>
- * gw/timers.[ch], gw/wtp.c: Renamed timer_* to gwtimer_* to
- avoid name conflict with system functions. Sigh.
- 2000-09-20 Richard Braakman <dark@wapit.com>
- * gw/timers.c: Reformatted according to new layout standard.
- 2000-09-20 Richard Braakman <dark@wapit.com>
- * gw/timers.c: Implement the heap structure using a C array,
- instead of using List. This has less overhead and removes the
- need for list_swap.
- * gw/list.[ch]: Remove list_swap.
- 2000-09-20 Richard Braakman <dark@wapit.com>
- * gw/timers.[ch]: Removed timersets from the interface. The choice
- of what timers should be handled by a single thread is a performance
- issue, not an interface issue. All timers are now handled by a
- single timer thread. The choice of output list is now specified
- per timer, instead of per timer set.
- Added timer_init and timer_shutdown functions that should be
- called before creating any timers.
- * gw/wapbox.c, gw/wtp.c: Adjust to new timers interface.
- 2000-09-19 Richard Braakman <dark@wapit.com>
- * gw/timers.c, gw/timers.h: New timers. Faster, better, and
- they actually time out.
- * gw/wtp_timer.c, gw/wtp_timer.h: Removed. (Remnants of old
- timer code).
- * gw/wapbox.c: Removed references to old timer code. It's now
- completely hidden in the wtp layer. Other layers can get their
- own timers.
- * gw/wtp.c: Use new timers. Added some convenience functions
- (start_timer_A and start_timer_R). Handle TimerTO_* events.
- There's no start_timer_W yet because we don't use it yet.
- * gw/wtp.h: Use new timers.
- * gw/wap-events-def.h: TimerTO_* events get a machine handle
- instead of a dummy field, so that the WTP layer knows which
- machine timed out.
- * gw/wtp_state-decl.h: Use new timers, by calling the
- convenience functions. There's no real timer code left in
- the state machines.
- * gw/list.c, gw/list.h: Made list_delete_matching and
- list_delete_equal return the count of items deleted.
- Getting that info from an atomic operation is useful
- for the timer code. Also added list_swap function.
- 2000-09-19 Richard Braakman <dark@wapit.com>
- * gw/wtp.[ch], gw/wtp_machine_decl.h: Removed unused field
- type LIST from state machines.
- 2000-09-19 Lars Wirzenius <liw@iki.fi>
- * gwlib/list.[ch]: Removed list_cat function, as it is now unused.
- 2000-09-19 Tuomas Luttinen <tuo@wapit.com>
- * gw/wml_compiler.c: Added wml_init and wml_shutdown that do nothing
- yet, removed call to list_cat.
- * gw/wml_compiler.h: Added prototypes for wml_init and wml_shutdown.
- 2000-09-18 Richard Braakman <dark@wapit.com>
- * gw/smsc_smpp.c: Make charset_iso_to_smpp and charset_smpp_to_iso
- work with character values > 128. Bugfix suggested by
- Philip Chr. Psiloinis.
- 2000-09-18 Lars Wirzenius <liw@iki.fi>
- * doc/CodingStyle: Added example of coding style.
- 2000-09-18 Lars Wirzenius <liw@iki.fi>
- * ChangeLog, debian/init, gw/bb_boxc.c, gw/bb_http.c, gw/html.h,
- gw/msg.c, gw/urltrans.c, gwlib/conffile.c, gwlib/conffile.h,
- gwlib/gwassert.h, gwlib/gwstr.h, gwlib/gwthread-pthread.c,
- gwlib/http.c, gwlib/http.h, gwlib/list.c, gwlib/list.h,
- gwlib/log.h, gwlib/octstr.c, gwlib/octstr.h, gwlib/socket.c,
- gwlib/thread.c, gwlib/thread.h, gwlib/utils.c: Folded some long
- lines (see utils/find-long-lines).
- 2000-09-18 Lars Wirzenius <liw@iki.fi>
- * gwlib/octstr.c: Shut up char/unsigned char implicit conversion
- warning by adding a cast.
- 2000-09-18 Derry Hamilton <rasilon@tardis.ed.ac.uk>
- * gwlib/thread.h: changed the call to mutex_init_static_real
- to actually pass the mutex when MUTEX_STATS are required.
- 2000-09-18 Kalle Marjola <rpr@wapit.com>
- * gwlib/utils.c (get_and_set_debugs): PANIC if unknown option is
- encountered, to avoid misuse of options.
- 2000-09-18 Kalle Marjola <rpr@wapit.com>
- * gw/bb_http.c (httpd_serve): when receiving an unknown command,
- tells the received url back to caller
- 2000-09-18 Kalle Marjola <rpr@wapit.com>
- * gw/smsbox.c (init_smsbox): fixed bug reported by Paul Keogh.
- * gw/bearerbox.c: some fix to shutdown order
- 2000-09-14 Lars Wirzenius <liw@iki.fi>
- * utils/source-stats: Wrote.
- 2000-09-14 Lars Wirzenius <liw@iki.fi>
- * config.h.in, configure.in, configure, gwlib/socket.[ch],
- gwlib/getnameinfo.h: Killed the getnameinfo implementation. Yet
- another non-standard function that we don't even refer to anymore.
- 2000-09-14 Lars Wirzenius <liw@iki.fi>
- * gwlib/log.[ch]: Removed the `forced' log level, since it is
- pointless and unused.
- 2000-09-14 Lars Wirzenius <liw@iki.fi>
- * config.h.in, configure, configure.in, gwlib/utils.[ch]: Always
- use kannel_cfmakeraw, instead of the libc one. This simplifies
- configuration, and lets us not have to worry about having another
- cfmakeraw in a non-glibc library that does something else than
- the glibc one. Or about the glibc one changing behavior sometime
- in the future. (Oh the joys of using extensions to the standard
- libraries...)
- 2000-09-14 Lars Wirzenius <liw@iki.fi>
- * gw/wap-appl.c, gw/wsp.h: Added function wap_appl_get_load,
- which gives a current load average for the application layer
- (which is essentially the only sensible place to look for load
- averages), defined as the sum of the length of request queue
- and number of HTTP fetches that are currently happening. The
- old getloadavg method is deleted, but if this one proves to be
- completely unworkable, we can always salvage the code from CVS. On
- the other hand, this method actually works on systems that don't
- have a getloadavg, and works even on systems where getloadavg
- is defined differently (imagine running two different wapboxes).
- * gw/wapbox.c: Use wap_appl_get_load instead of getloadavg.
- * configure{,.in}: Removed checks for getloadavg.
- 2000-09-14 Lars Wirzenius <liw@iki.fi>
- * gwlib/http.c: Ran through astyle to get formatting right.
- 2000-09-14 Lars Wirzenius <liw@iki.fi>
- * gwlib/http.c: Removed internal function octstr_str_ncompare,
- replacing it with calls to octstr_search and
- octstr_create_immutable. Die *_cstr, die!
- 2000-09-14 Lars Wirzenius <liw@iki.fi>
- * gwlib/octstr.[ch]: Added `pos' argument to octstr_search to
- let caller specify from where the search in the haystack starts.
- Also, octstr_format now understands %c.
- * gw/html.c, gw/smsc_at.c, gw/wap-appl.c, gw/wsp_headers.c,
- gwlib/http.c, gwlib/octstr.c, test/drive_wapbox.c,
- test/test_cimd2.c: Use octstr_search instead of octstr_search_cstr
- and various functions instead of octstr_append_cstr.
- * gw/wml_compiler.c: Fix call to octstr_search.
- 2000-09-14 Lars Wirzenius <liw@iki.fi>
- * gwlib/octstr.[ch]: Removed the octstr_create_limited, because
- it had so limited use.
- 2000-09-14 Lars Wirzenius <liw@iki.fi>
- * test/test_http_server.c: Catch SIGTERM and die immediately.
- * checks/check_http.sh: Wrote.
- 2000-09-14 Lars Wirzenius <liw@iki.fi>
- * gw/smsbox.c, gw/wapbox.c, doc/userguide/newconf.txt: Added
- HTTP proxy support to configuration files. No way to test it,
- right now, but will eagerly await bug reports.
- 2000-09-14 Lars Wirzenius <liw@iki.fi>
- * gwlib/list.c: Don't do the atomic operation locks for list_lock
- and list_unlock: they're unnecessary for atomicity and cause
- deadlocks. Thanks to Kalle Sandstr鰉 for noting this.
- * gwlib/octstr.c: Silence compiler warning regarding using a plain
- char as an index to an array (in reality, argument to isdigit),
- by typecasting a pointer. If we used fewer C strings, this would
- be less of a problem...
- 2000-09-11 Lars Wirzenius <liw@iki.fi>
- * README: Fixed download URL, re-formatted and removed the
- outdated claim that it is a very raw draft.
- * doc/CodingStyle: Added note about the official formatting style,
- as discussed on devel@kannel.org. Also added a note about memory
- allocation policy as far as function interfaces are concerned,
- a note to avoid #if, and something about abstract data types
- and naming conventions related to that.
- * doc/dialup.txt, Makefile.in, configure.in,
- doc/arch/arch-bearerbox.xml, doc/arch/arch-bib.xml,
- doc/arch/arch.xml: Shortened long lines.
- * gwlib/list.[ch]: Changed the interface of the list_destroy
- function by adding a second argument, which is a pointer to an
- item destroying function.
- * checks/check_list.c, gw/cookies.c, gw/bb_boxc.c, gw/bb_smsc.c,
- gw/bearerbox.c, gw/numhash.c, gw/smsbox.c, gw/smsbox_req.c,
- gw/smsc.c, gw/smsc_cimd2.c, gw/urltrans.c, gw/wap-appl.c,
- gw/wapbox.c, gw/wml_compiler.c, gw/wsp-session.c, gw/wsp-unit.c,
- gw/wsp_caps.c, gw/wtp.c, gw/wtp_pdu.c, gw/wtp_tid.c,
- gw/wtp_timer.c, gwlib/http.c, gwlib/parse.c, test/drive_wapbox.c,
- test/test_cimd2.c, test/test_http.c, test/test_http_server.c:
- Updated calls to list_destroy to work with its new interface.
- * gw/msg.[ch], gw/wap-events.[ch]: Added functions *_destroy_item,
- for use with new list_destroy.
- * gw/wap-appl.c: Add X-WAP-Client-SDU-Size header.
- * gwlib/octstr.[ch]: Added functions octstr_format and
- octstr_format_append. Also added "immutable octet strings",
- for wrapping around C string literals, which required adding
- octstr_init and octstr_shutdown. See the header for more info.
- Also added some consts here and there.
- * gwlib/gwlib.c: Call octstr_init and octstr_shutdown.
- * test/test_octstr_format.c, test/test_octstr_immutables.c: New
- test programs.
- 2000-09-04 Richard Braakman <dark@wapit.com>
- * gw/wapbox.c, gw/smsbox.c, gw/bearerbox.c: Handle only signals
- for the main thread, so that each signal is received exactly once.
- 2000-09-04 Richard Braakman <dark@wapit.com>
- * Changes prompted by code review:
- * gwlib/gwthread.h, gwlib/gwthread-pthread.h: Rename Threadfunc
- to gwthread_func_t.
- * gwlib/parse.h, gwlib/parse.c, gw/wsp_headers.c: Rename Context
- to ParseContext.
- * gwlib/gwmem-check.c: Give symbolic names to the memory-filling
- patterns it uses.
- * gwlib/conn.h: Improve comments.
- 2000-09-04 Richard Braakman <dark@wapit.com>
- * Making release 0.11.1.
- 2000-09-04 Derry Hamilton <rasilon@tardis.ed.ac.uk>
- * gw/wml_compiler.c: reformatted my earlier patch.
- 2000-09-03 Lars Wirzenius <liw@iki.fi>
- * gw/wml_compiler.c: Removed unnecessary call to gw_assert:
- list_create is defined as always returning non-NULL, so it's not
- necessary to check it. (Or if we do, we should check it everywhere.)
- * gwlib/list.c: Removed unused variable from lock(). Also
- re-did the change to list_len in my own coding style, just to
- be pedantic.
- * I assume these were leftovers from Derry's debugging.
- 2000-09-01 Derry Hamilton <rasilon@tardis.ed.ac.uk>
- * gwlib/list.c: Added a test for NULL list to list_len since some
- things want the length of NULL lists.
- * gw/wml_compiler.c: string_table_build no longer tries to add
- strings to the stringtable if the list is NULL.
- 2000-08-31 Lars Wirzenius <liw@iki.fi>
- * wmlscript/wsencode.c: Added a typecast to convert a va_arg call
- that fetches an int to convert the value to an unsigned char *.
- 2000-08-31 Lars Wirzenius <liw@iki.fi>
- * gwlib/http.c: Improved (but still did not write properly) HTTP
- Content-Type header parsing. Fix suggested by Joerg Pommnitz,
- though re-did the patch to add some error checking.
- * test/test_http.c: Parse and report Content-Type. Also, http_get_real
- now wants a non-NULL request header list. Give it that.
- * test/test_http_server.c: Report a character set (UTF-8, though
- it doesn't really matter) so that the parsing can be tested.
- 2000-08-31 Lars Wirzenius <liw@iki.fi>
- * configure.in: Tweaked the libxml checking. It should now be
- slightly cleaner and should work with upcoming 2.2.x versions
- of the library without changing configure.in. Thanks to Geir
- Johannessen, whose mail prompted me to look at this, even though
- I didn't use his patch directly.
- 2000-08-31 Lars Wirzenius <liw@iki.fi>
- * gw/wsp.[ch]: Minor cleanups: Removed unused constants, added
- a comment for assertions, etc.
- 2000-08-31 Lars Wirzenius <liw@iki.fi>
- * gw/wapbox.[ch]: Moved WB_DEFAULT_TIMER_TICK and CONNECTIONLESS_PORT
- defines from .h to .c, since they're only used inside .c.
- * gw/wsp-method-state.h: Formatting change (comments should be
- indented similarly to the code they describe). Also, bug fixes:
- several comparisons had a single equals (i.e., assignment)
- instead of two (i.e., comparison).
- 2000-08-31 Lars Wirzenius <liw@iki.fi>
- * gw/wapbox.c, gw/log.c: Moved syslog opening internals to log.c,
- where it belongs. Introduced new function set_syslog to do this.
- * gw/log.c: Cleaned up formatting, etc, a bit. syslog support
- (internals of kannel_syslog (now static, btw)) is compiled on
- all platforms, not just SunOS.
- * gw/log.h: Added note that opening and closing of log files is
- not thread safe.
- 2000-08-31 Lars Wirzenius <liw@iki.fi>
- * gwlib/list.[ch]: Some further cleanups:
- - list_delete_all and list_extract_all were named in a
- misleading way; renamed to *_matching instead, and all
- calls fixed as well; argument `cmp' renamed to `matches'
- for clarity's sake
- - some assertions uncommented and fixed to compare a
- pointer explicity to NULL, instead of implicitly
- - code changed to call delete_items_from_list, instead of
- doing the same thing manually
- - list_lock and list_unlock use the single-operation lock
- * checks/check_list.c, gwlib/http.c: Related changes.
- 2000-08-31 Lars Wirzenius <liw@iki.fi>
- * gwlib/list.c: list_len is now protected by locks.
- 2000-08-31 Lars Wirzenius <liw@iki.fi>
- * test/test_list.c: Removed.
- * checks/check_list.c: Wrote.
- 2000-08-30 Lars Wirzenius <liw@iki.fi>
- * gw/bb_udp.c, gw/cookies.c, gw/html.c, gw/msg.c,
- gw/smsbox_req.c, gw/smsc_at.c, gw/smsc_cimd2.c, gw/smsc_ois.c,
- gw/smsc_sema.c, gw/smsc_smpp.c, gw/wap-appl.c, gw/wml_compiler.c,
- gw/wsp-session.c, gw/wsp-unit.c, gw/wsp.c, gw/wsp_caps.c,
- gw/wsp_headers.c, gw/wsp_pdu.c, gw/wtp_pdu.c, gwlib/conn.c,
- gwlib/http.c, gwlib/http.h, gwlib/octstr.c, gwlib/octstr.h,
- gwlib/parse.c, gwlib/socket.c, test/fakewap.c, test/test_cimd2.c:
- Cleanups based on a (brief) code review. Lots of small changes
- pretty much everywhere, but nothing really big.
- * Renamed octstr_search_*_from to octstr_search_*, because there's
- no point in having two almost equivalent functions.
- * Renamed octstr_*_blank to octstr_*_blanks, to be grammattically
- correct.
- * Killed octstr_create_empty, replaced it with octstr_create("").
- * Other minor differences, see the diff if you're interested.
- 2000-08-30 Tuomas Luttinen <tuo@wapit.com>
- * gw/wml_compiler.c: The octet string memory leaks in the string table
- code plugged.
- 2000-08-29 Tuomas Luttinen <tuo@wapit.com>
- * gw/wml_compiler.c: Plugging the huge memory leaks of the string
- table code started. No more leaks due lists or mutexes. Some leaks
- with octstr:s also plugged, some still remain.
- 2000-08-28 Tuomas Luttinen <tuo@wapit.com>
- * gw/wml_compiler.c: The patch by Aarno was removed because it caused
- problems like "WARNING: WSP: All converters for `text/vnd.wap.wml'
- failed.", segmentation fault on variables and maybe others.
- 2000-08-26 Derry Hamilton <rasilon@tardis.ed.ac.uk>
- * solaris/mk-solaris-package.sh: Now compiles for a bare
- Solaris 7 box, doesn't assume LD_LIBRARY_PATH
- 2000-08-24 Kalle Marjola <rpr@wapit.com>
- * gw/bb_udp.c (udp_receiver): trap ECONNREFUSED too (hey it was
- missing from Man page) and just continue
- * gw/bb_boxc.c: extend wapbox_list lock to prevent packet routing
- to exiting wapboxes
- 2000-08-23 Richard Braakman <dark@wapit.com>
- * gw/wap-appl.c: Make sure content.url and content.body have valid
- values even if request method is not supported.
- * gw/wsp_pdu.c, gw/wtp_pdu.c: Make sure REST fields are always
- filled, even if packet contains bad length info. This fixes a
- crashing bug discovered by OUSPG.
- * test/fakewap.c: Fix small memory leak.
- * test/udpfeed.c: New test program, reads a bunch of files and
- sends each in a single UDP packet. Useful for feeding OUSPG's
- test set to Kannel.
- * gw/wapbox.c: Catch SIGQUIT and use it to report memory usage.
- Useful for detecting memory leaks.
- * gw/gwmem-check.c: Bugfix to allow gw_check_leaks() to be called
- multiple times in one run.
- * gw/wsp-unit.c: Fix memory leaks.
- 2000-08-22 Aarno Syv鋘en <syvanen@wapit.com>
- * gw/wml_compiler.c: Fixed some memory leaks
- 2000-08-22 Derry Hamilton <rasilon@tardis.ed.ac.uk>
- * solaris/etc/kannel.conf: By default do not permit admin connections
- Mon Aug 21 18:39:30 2000 Lars Wirzenius <liw@iki.fi>
- * test/test_counter.c: Removed, as this is now replaced by
- chec/check_counter.c.
- Mon Aug 21 18:32:04 2000 Lars Wirzenius <liw@iki.fi>
- * README, Makefile.in: Added some automatic checking as "make
- check". See the README for more info.
- * utils/run-checks, checks/*: New files.
- 2000-08-21 Paul Keogh <paul.keogh@anam.com>
- * gwlib/counter.[ch]: Added counter_set method.
- 2000-08-18 Richard Braakman <dark@wapit.com>
- * gwlib/gwthread-pthread.c: In gwthread_shutdown, don't delete
- the tsd_key. It's still needed by gwthread_self(), which can
- still be called. This might fix the problem of wapboxes that
- refuse to die.
- * gw/wsp-strings.c: Make wsp_##name##_to_string not crash if
- the string was not found.
- * gw/wsp_headers.c: Have unpack_all_parameters() stop at
- the end of its string, rather than reporting a bogus error.
- Also fixed a memory leak in header unpacking.
- 2000-08-18 Derry Hamilton <rasilon@tardis.ed.ac.uk>
- * solaris/mk-solaris-package.sh: Changed default optimisation level.
- * solaris/etc/kannel.conf: Kannel needs an admin port to start
- 2000-08-16 Derry Hamilton <rasilon@tardis.ed.ac.uk>
- * solaris/*: Added packaging information for Solaris
- 2000-08-14 Peter Gr鰊holm
- * gw/wml-definitions.h: A typo corrected in URL value code table.
- Now URLs ending with .net/ work, too. Two other typos: Content-
- Type and Expires use capital letters.
- 2000-08-10 Tuomas Luttinen <tuo@wapit.com>
- * gw/wml_compiler.c (check_variable_syntax): Escaping now possible
- with one letter acronyms 'e', 'u' and 'n'.
- 2000-08-07 Tuomas Luttinen <tuo@wapit.com>
- * gw/wml_compiler.c: A little bit of code cleaning, changing return
- types to null where a status is not needed.
- 2000-08-06 Derry Hamilton <rasilon@tardis.ed.ac.uk>
- * config.h.in, wmlscript/wsencode.c: Fixed the WMLScript compiler
- errors under Solaris SPARC. The SPARC ABI requires that function
- parameters be int aligned.
- 2000-08-04 Tuomas Luttinen <tuo@wapit.com>
- * test/decompile.[ch]: A patch by Chris Wulff applied.
- * gw/wml_definitions.h: STRING_TABLE_MIN defined
- * gw/wml_compiler.c: The first attemp to use string table more
- efficiently. For a reason or another hangs up when compiled with
- checking-malloc on the check phase into a allocation lock.
- * gw/wml_compiler.c: The patch to fix a bug in the libxml-1.8.6 is
- removed.
- * configure[.in]: The flag HAVE_LIBXML_1_8_6 is removed, now takes
- only 1.8.7 and up.
- 2000-08-04 Richard Braakman <dark@wapit.com>
- * gw/wap-appl.c: In X-WAP-Gateway header, use "Kannel/0.11"
- instead of "Kannel 0.11", to comply with HTTP/1.1 recommendations
- for version strings.
- 2000-08-02 Richard Braakman <dark@wapit.com>
- * Making development release 0.11.
- 2000-08-02 Richard Braakman <dark@wapit.com>
- * Applied Joerg Pommnitz's patch for Crypto library support in
- the WMLScript compiler.
- 2000-08-02 Richard Braakman <dark@wapit.com>
- * Folded in POST_SUPPORT. Duplication of code is Bad.
- 2000-08-01 Richard Braakman <dark@wapit.com>
- * gw/smsc_cimd2.c: Be forgiving of cimd2 calls while the
- socket is not open. This is necessary because of the
- changed thread structure in the new bearerbox.
- 2000-08-01 Richard Braakman <dark@wapit.com>
- * gw/smsbox_req.c: When logging "message sent", use errno 0
- instead of 1. (?)
- * doc/userguide/newconf.txt: Change recommended unified-prefix
- string for Finland, because smscenters no longer accept "00"
- prefix as of today.
- 2000-08-01 Richard Braakman <dark@wapit.com>
- * gw/smsc_cimd2.c: When complaining about format of sender number,
- actually log the sender number rather than the receiver number.
- 2000-07-27 Richard Braakman <dark@wapit.com>
- * gw/smsc_cimd2.c: When pending_smsmessage receives an unexpected
- response packet, report it instead of crashing.
- 2000-07-24 Richard Braakman <dark@wapit.com>
- * gw/wsp_headers.c: Mostly rewritten. Now decodes all header
- types defined by WSP 1.1. This means that the headers sent
- by the phone are all passed to the HTTP server. Previously,
- only a few commonly-appearing ones were (partially) decoded.
- Uses wsp-strings.def instead of inlined string tables.
- Uses new gwlib parse module to scan octstr contents.
- "Works for me" status. Will be more thoroughly tested after
- the decoding code is complete.
- * gw/wsp_headers.h: Changed interface of unpack_headers.
- It now takes a content_type_present flag parameter, instead
- of having a separate unpack_post_headers function.
- * gw/wsp-strings.c: Support for NUMBERED tables, which assign
- non-sequential numbers to the strings in a table.
- * gw/wsp-strings.h: Support for NAMED tables, which assign an
- enum value to each entry in a string table.
- * gw/wsp-strings.def: Define lots of new string tables, for use
- by the wsp_header module.
- * gw/wapbox.c: Init and shutdown newly used wsp-strings module.
- * gw/wsp-method-state.h, gw/wsp-session-state.h, gw/wsp-unit.c:
- Use new unpack_headers interface.
- * gwlib/octstr.c: In octstr_insert, assert that ostr2 is not
- inserted past the end of ostr1. (This assumption was already
- there; it's just made explicit now.)
- Removed unused octstr_get_digit_from function. octstr_parse_long
- does the same thing.
- New octstr_append_decimal function.
- * gwlib/protected.c, gwlib/protected.h: Added gw_getlocale,
- for use by rfc2068_date_format function.
- * gwlib/utils.c, gwlib/utils.c: New rfc2068_date_format function,
- to convert a unix timeval to a common textual format. (The RFC2068
- format also fits the RFC822 format).
- * gwlib/parse.c, gwlib/parse.h: New module to make it easier to
- parse octstrs without passing lots of length and offset variables
- around.
- * gwlib/gwlib.h: Include new parse.h. Move inclusion of protected.h
- to end, so that it can use Octstr in its function prototypes.
- 2000-07-24 Tuomas Luttinen <tuo@wapit.com>
- * gw/smsbox_req.c: Removed function smsbox_req_sendota that used
- nonexistent octstr-function so that the CVS version didn't compile.
- 2000-07-23 Tuomas Luttinen <tuo@wapit.com>
- * configure.[in]: libxml 2.2.1 added.
- 2000-07-21 Paul Keogh <paul.keogh@anam.com>
- * gw/bb_udp.c: Added check for NULL ptr return from udpc_create()
- in function add_service() to prevent subsequent NULL dereference
- and crash.
- 2000-07-21 Yann Muller <ymuller@3glab.com>
- * gw/smsbox_req.c, smsbox_req.h: messages with or without UDH are
- now handled in the same way, they can all be sent as multiple
- messages or concatenated messages if too long.
- * gw/smsc_at.c: Receiver address fix by Paul Keogh and Marcus
- Shawcroft. Better support for UDH.
- * gw/urltrans.c, urltrans.h: Added the concatenation option for
- SMS messages.
- * doc/userguide/newconf.txt, userguide.xml: Added a note about the
- concatenation and removed the limitation about UDH.
- 2000-07-20 Richard Braakman <dark@wapit.com>
- * gw/wtp.c: Fixed memory leak in wtp_unpack_wdp_datagram.
- Simplified the code a bit.
- * gw/wtp.c: Made wtp_unpack_wdp_datagram_real not crash when
- receiving an invalid PDU.
- * gw/wtp_pdu.c: In wtp_pdu_unpack, simply free a PDU with
- unknown type instead of trying to destroy it. None of its
- fields were set anyway.
- * test/fakewap.c: Actually test separation when -s flag is given.
- The test is wrong, though, it sends bad packets. Not going to
- fix that now.
- 2000-07-19 Tuomas Luttinen <tuo@wapit.com>
- * configure[.in]: libxml 1.8.9 and 2.2.0 added. Fixes bug #97.
- 2000-07-18 Richard Braakman <dark@wapit.com>
- * gw/html.c: Fix skipping of quoted strings (bug #89, reported
- by Paul Keogh).
- * gw/smsbox.c: Avoid memory leak in http_request_thread().
- Fixes bug#101, reported by Paul Keogh.
- 2000-07-18 Richard Braakman <dark@wapit.com>
- * gw/smsc_ois.c: Fixed some warnings.
- 2000-07-18 Kalle Marjola <rpr@wapit.com>
- * gwlib/gwthread-pthread.c, gwlib/http.c: Fized bugs #98 and #100
- reported by Paul Keogh.
- 2000-07-18 Paul Keogh <paul.keogh@anam.com>
- * gw/urltrans.c: Fixed memory leak in destroy_onetrans().
- 2000-07-17 Paul Keogh <paul.keogh@anam.com>
- * gwlib/counter.[ch]: Added counter_decrease() function.
- 2000-07-15 Derry Hamilton <rasilon@tardis.ed.ac.uk>
- * config.h.in,configure,configure.in: Removed checks for integer
- lengths as it broke more than it might have fixed.
- 2000-07-14 Paul Keogh <paul.keogh@anam.com>
- * gwlib/http.c: Fixed a bug in the HTTP POST which prevented interop
- with some versions of Apache and ultimately crashed.
- 2000-07-13 Derry Hamilton <rasilon@tardis.ed.ac.uk>
- * gw/wapbox.c,gw/wapkannel.conf,gwlib/log.c: first implementation of
- syslog support under Solaris.
- 2000-07-13 Kalle Marjola <rpr@wapit.com>
- * */*: Making out release 0.10.2
- 2000-07-13 Tuomas Luttinen <tuo@wapit.com>
- * gw/wml_compiler.c (wml_compile): Compiler now checks that the
- output from libxml is not a NULL pointer.
- 2000-07-13 Derry Hamilton <rasilon@tardis.ed.ac.uk>
- * config.h.in,configure,configure.in: configure now checks for the
- 32-bit type and defines kint32 and kuint32 as appropriate in
- preparation for 64-bit kannel on Alpha and UltraSPARC since the
- compiler types int32 and uint32 are not supported everywhere.
- * gwlib/http.h: Added the function definition for
- http_charset_accepted rather than leaving it to be implicitly
- defined.
- 2000-07-13 Yann Muller <ymuller@3glab.com>
- * gw/smsc_at.c: removed two unused variables.
- 2000-07-12 Tuomas Luttinen <tuo@wapit.com>
- * gw/wml_compiler.c: Little bug fixes with variables:
- - no more empty string before variable reference to string table
- - double $ won't eat a character after them, fixes #94
- - a little memory leak mentioned below corrected
- 2000-07-12 Kalle Marjola <rpr@wapit.com>
- * gw/bb_http.c: oops, return value for HTTP admin was not checked,
- now fixed
- * gw/bearerbox.c: added compiler options KANNEL_NO_SMS and
- KANNEL_NO_WAP
- 2000-07-11 Tuomas Luttinen <tuo@wapit.com>
- * gw/wml_compiler.c: Bug #86 fixed. A memory leak with $ characters
- fixed. Another one still remains with mix of $ characters and
- variables.
- 2000-07-11 Yann Muller <ymuller@3glab.com>
- * doc/userguide/newconf.txt: Added configuration information to use
- a GSM modem as an SMSC.
- 2000-07-10 Yann Muller <ymuller@3glab.com>
- * gw/smsc_at.c: now removes SMSC address at beginning of PDU sent
- by the Wavecom. Better handling of messages with UDH (no 7bit encoding
- of UDH yet).
- 2000-07-10 Kalle Marjola <rpr@wapit.com>
- * gw/urltrans.c (find_translation): fixed string matching of
- sms-services.
- 2000-07-07 Tuomas Luttinen <tuo@wapit.com>
- * configure: Now support for libxml 1.8.8 and 2.1.1.
- * gw/wml_compiler.c: Support for libxml version 2 and above
- now ready.
- * gw/wml_compiler.c (parse_attribute): Patch by Holger Casties
- applied to eliminate a segmentation fault with NULL pointer
- passed as a second argument to strcmp.
- 2000-07-07 Kalle Marjola <rpr@wapit.com>
- * doc/dialup.txt: updated to reflect current configuration, and
- added data on how to get it work with Siemens S25i from Matthias Wutke
- 2000-07-07 Aarno Syv鋘en <syvanen@wapit.com>
- * gw/wtp.c: Bugfixes in the separation code
- * test/fakewap.c: Added sending of a concatenated message, for testing
- separation.
- 2000-07-07 Kalle Marjola <rpr@wapit.com>
- * gw/bb_boxc.c: hopefully fixed a little bug/feature in connection
- closing
- 2000-07-06 Richard Braakman <dark@wapit.com>
- * Making release 0.10.1.
- * Extended NEWS. Removed NEWS.devel, we won't need it until
- we start on 0.11.
- 2000-07-06 Kalle Marjola <rpr@wapit.com>
- * gw/smsc_ois.c: (hopefully) fixed warnings from FreeBSD
- 2000-07-06 Kalle Marjola <rpr@wapit.com>
- * gw/bearerbox.c: added --suspended and --isolated command-line
- option names (same as -S and -I)
- * gw/smsbox.c: fix in command line parsing
- * doc/userguide/newbb.conf: added data on those new options
- 2000-07-06 Kalle Marjola <rpr@wapit.com>
- * gw/smsbox.c: modified so that if the HTTP-sendsms interface is
- defined, the smsbox won't start if it fails to init it. Use new
- command line option -H or --tryhttp to override this feature
- 2000-07-05 Kalle Marjola <rpr@wapit.com>
- * doc/userguide/newconf.txt: oops, forgot admin-username. And
- returned sample smsc-groups
- * gw/smsc.c, gw/smsc_p.h, gw/smsc_ois.c: Added support for SEMA
- SMS2000 (G6.0) OIS 5.0 over X.25, under name OIS, by Jouko Koski.
- 2000-07-03 Richard Braakman <dark@wapit.com>
- * gw/wml_definitions.h: Applied patch by brennon loh york hong
- to fix compilation of pages with multiselect.
- 2000-07-03 Paul Keogh <paul.keogh@anam.ie>
- * gwlib/http.c,gwlib/http.h,gw/wsp_headers.h,gw/wsp_headers.c,
- gw/wsp_unit.c,gw/wsp_session_state.h,gw/wsp_method_state.h,
- gw/wap-appl.c: Added support for HTTP POST under #ifdef POST_SUPPORT.
- Also enabled runtime cookies under #ifdef COOKIE_SUPPORT.
- 2000-06-30 Aarno Syv鋘en <syvanen@apit.com>
- * wsp-unit.c: Fixed some memory leaks
- 2000-06-30 Aarno Syv鋘en <syvanen@wapit.com>
- * wtp_tid.c|h, wtp_state-decl.h: Tid was not cached when tid
- verification was invoked because of a failed tid validation test.
- So after every validation all following tids were verified. Added
- to the the module wtp_tid an external function wtp_tid_set_by
- machine, which stored tid after validation.
- 2000-06-30 Richard Braakman <dark@wapit.com>
- * gw/wml_compiler.c: In parse_octet_string, one extra byte was
- skipped after a variable reference, including the special "$$"
- sequence. Fixed.
- 2000-06-30 Richard Braakman <dark@wapit.com>
- * gwlib/http.c: Change some of the locking according to Joerg
- Pommnitz's suggestions, to deal more smoothly with slow connects.
- 2000-06-30 Derry Hamilton <rasilon@tardis.ed.ac.uk>
- * Makefile.in: made .depend depend on config.h. This should
- allow changing between checked and unchecked malloc without manual
- intervention.
- 2000-06-30 Richard Braakman <dark@wapit.com>
- * gwlib/gwmem-check.c: Fix call to free() in drop_from_free_ring().
- This fixes a memory leak.
- 2000-06-29 Paul Keogh <paul.keogh@anam.ie>
- * gwlib/list.c: Removed unnecessary calls to lock() and unlock()
- in the list_cat() function as the called functions do the
- required locking. Locking the same lock twice causes a panic().
- 2000-06-29 Richard Braakman <dark@wapit.com>
- * gw/wsp-session.c: Fixed memory leak in new capability code.
- 2000-06-29 Richard Braakman <dark@wapit.com>
- * gw/wap-appl.c: Applied fix suggested by Lim YoungLan, to make
- sure S-MethodInvoke.res is sent before any S-MethodResult, even
- if fetch_thread() is very fast.
- 2000-06-28 Richard Braakman <dark@wapit.com>
- * wmlscript/wsstdlib.c: Applied Joerg Pommnitz's patch to support
- WTAI standard library function calls, after converting it to the
- local indentation style.
- 2000-06-27 Kalle Marjola <rpr@wapit.com>
- * doc/userguide/userguide.xml: did some updating, still needs to
- integrate newconf.txt and newbb.txt into it, but that some other
- day
- 2000-06-27 Paul Keogh <paul.keogh@anam.ie>
- * gw/cookies.c: Added a check for valid WSP session machine to prevent
- possible crash.
- 2000-06-26 Derry Hamilton <rasilon@tardis.ed.ac.uk>
- * gw/cookies.c: casted char to int for several isspace() etc. calls.
- Stops the compiler complaining under Solaris.
- 2000-06-26 Kalle Marjola <rpr@wapit.com>
- * Making out stable release 0.10, branched as 'release_0_10'
- 2000-06-26 Kalle Marjola <rpr@wapit.com>
- * gw/smsc_smpp.c: small fix by Mikael Gueck
- 2000-06-21 Kalle Marjola <rpr@wapit.com>
- * gw/bb_boxc.c: added on-line information about connected boxes in
- status query
- 2000-06-20 Kalle Marjola <rpr@wapit.com>
- * README: added notes of what need to be done if Kannel version is
- upgraded from some old version
- 2000-06-20 Kalle Marjola <rpr@wapit.com>
- * Making out development release 0.9.3, canditate as production
- release 0.10
- 2000-06-20 Kalle Marjola <rpr@wapit.com>
- * gwlib/utils.c, gwlib/utils.h: moved #ifdef of cfmakeraw into
- header file so that it will compile in (my) system with cfmakeraw
- * gw/bb_boxc.c: updated output information of bocx_status
- * gw/bb_smsc.c: fixed compiler warning
- 2000-06-19 Kalle Marjola <rpr@wapit.com>
- * gw/bb_boxc.c: fixed one very-infrequently striking lockout
- during shutdown
- * README.docbook: user --disable-docs, not --without-docs
- 2000-06-19 Derry Hamilton <rasilon@tardis.ed.ac.uk>
- * gw/wsp-session.c: included limits.h to get LONG_MAX
- * gwlib/utils.c,gwlib/utils.h: created kannel_cfmakeraw()
- * gw/smsc_emi.c: removed cfmakeraw stub
- * gw/smsc_emi.c,gw/smsc_at.c,gw/smsc_sema.c: converted calls to
- cfmakeraw to kannel_cfmakeraw.
- 2000-06-19 Kalle Marjola <rpr@wapit.com>
- * gw/wsp-session.c, gw/wsp_pdu.c: inserted patch from Joerg
- Pommnitz, now Kannel hopefully works better with Motorola
- Timeport.
- 2000-06-19 Kalle Marjola <rpr@wapit.com>
- * gwlib/http.c: parse_url() modified to change start of the url
- tolower() so that comprasion to http:// succeeds even with
- HTTP://
- 2000-06-19 Kalle Marjola <rpr@wapit.com>
- * gw/bb_smsc.c: added suspend-mode to sms_router to synchronize
- start-up
- 2000-06-19 Yann Muller <ymuller@3glab.com>
- * gw/smsc.c, gw/smsc_p.h, gw/smsc_at.c: Applied Denis Hennessy's
- patch to support Siemens M20: connect at 19200 baud, added a
- 'pin = xxxx' entry to the conf file, fixed missing trailing
- null char in encode_pdu, added a dummy receiver address since
- smsbox requires one, added the dummy "00" SC prefix for the M20
- (like the wavecom).
- 2000-06-17 Richard Braakman <dark@wapit.com>
- * Replaced capabilities parsing. New file gw/wsp_caps.[ch] defines
- a structure to represent capabilities, and some operations on it.
- WSP layer passes capability requests up to the Application layer,
- which can respond to some and ignore others. WSP layer then completes
- the capabilities reply when it generates the ConnectReply PDU.
- See negotiate_capabilities() function in wap-appl.c for more info.
- * Added CAPABILITIES type to wap-events and wsp-session-machine.
- * Added request_caps and reply_caps fields to WSP session machine,
- removed most of the other capability-related fields except
- client_SDU_size and MOR_push (which are the only ones we support
- and need to remember).
- * gwlib/octstr.[ch]: New function octstr_extract_uintvar.
- * gw/wsp-session.c: unpack_caps, unpack_uint8, and unpack_uintvar
- removed.
- * Removed unused SESSION_MACHINE type from wap-events.
- * test/drive_wapbox: Supply the same capability values as the
- Motorola Timeport does, for testing.
- * Corrected:
- gw/cookies.c:88: warning: char format, Octstr arg (arg 3)
- 2000-06-17 Richard Braakman <dark@wapit.com>
- * test/drive_wapbox.c: Defined wtp_types enum, because we can
- no longer steal the values we need from wtp.h.
- 2000-06-16 Aarno Syv鋘en <syvanen@wapit.com>
- * wtp.c: Fixed bug pointed out by Joerg Pommnitz
- * removed debug functions
- * wtp.c | wapbox.c: Code for separation added. Must test it ...
- 2000-06-16 Kalle Marjola <rpr@wapit.com>
- * gw/cookies.c: changed strnicmp to strcasecmp, as nicmp is not
- supported in standard C libraries
- * gw/urltrans.c: fixed find-operations
- * gw/bb_smsc.c: added smsc_status
- 2000-06-16 Yann Muller <ymuller@3glab.com>
- * gw/smsc.c, gw/smsc_p.h: Added modemtype configuration parameter
- for the AT SMSC.
- * gw/smsc_at.c: Added support for Nokia PremiCell GSM modem.
- The parameter modemtype in kannel.conf can be set to 'wavecom'
- or 'premicell'.
- 2000-06-16 Paul Keogh <paul.keogh@anam.ie>
- * gw/cookies.c: updates after review by Richard Braakman. Also some
- additional includes.
- * gw/cookies.h: As for cookies.c
- * gw/wsp-session-machine.h: Added COOKIES field to session MACHINE
- * gw/wsp-session.c: Added cookie support to machine_create(),
- machine_destroy (). Also added id_belongs_to_session() function
- for use by cookie functions.
- * gw/wsp.h: Added cookie support to struct WSPMachine.
- 2000-06-15 Kalle Marjola <rpr@wapit.com>
- * gw/smsbox_req.c: fixed bug in http2-conversion, and set that
- 'request failed' is send back to the phone (no more 'nothing')
- 2000-06-15 Richard Braakman <dark@wapit.com>
- * gw/wsp-strings.*: Interface for tables of constant strings defined
- in WSP. Not used yet.
- * gw/wsp-session.c: Got rid of append_uint8 and append_octstr; use
- basic octstr functions instead.
- 2000-06-15 Richard Braakman <dark@wapit.com>
- * gw/wap-appl.c: In fetch_thread(), explicitly set content.charset
- to an empty octstr if the http fetch failed, otherwise it remains
- uninitialized and causes a crash when octstr_destroy is called on it.
- Thanks to Paul Keogh for finding this.
- * gw/wsp-session.c: In wsp_disconnect_other_sessions(), use
- "Disconnect_Event" instead of "Disconnect". The latter is a PDU
- type, not an event type. Thanks to Paul Keogh for finding this.
- 2000-06-15 Aarno Syv鋘en <syvanen@wapit.com>
- * wtp.c: Bugfixes in error handlin
- * wtp_pdu.c: wtp_pdu_unpack must return NULL when header is not valid
- 2000-06-14 Richard Braakman <dark@wapit.com>
- * Filled in WSP state tables. Defined lots of new events.
- Sanitized event routing: WTP to WSP events get an addr_tuple.
- WSP to WTP events get a "handle" (as defined in the spec) which
- happens to be equal to the mid. WSP to APPL events contain the
- session id, and possibly a transaction id (as defined in the spec),
- which can be returned in the APPL to WSP events. No more mid
- or msmid fields. The transaction id is set equal to the handle
- gotten from the WTP layer, because that one's already unique.
- * Still missing: Push and Suspend/Resume.
- * gw/wap-appl.c: Handle all the new S- events and send back
- the proper replies.
- * gw/wsp-session.c: Moved method machines into the session machines.
- They can only be addressed via a session id and transaction id.
- The session machine can send events to all its method machines.
- Also added support functions for the WSP state tables.
- Implemented pre- and post- state machine checks, for more accurate
- handling of events without sessions, etc.
- * gw/wsp.h: Defined an enum for all the possible abort values.
- * test/drive_wapbox.c: Really disconnect clients after the right
- number of page fetches. (Used to do this only once per client.)
- 2000-06-14 Yann Muller <ymuller@3glab.com>
- * smsc_at.c: Fixed a memory leak in pdu_extract. Removed unused
- variables.
- 2000-06-14 Kalle Marjola <rpr@wapit.com>
- * gw/html.c: fixed parsing bug in html_to_sms
- * utils/kannel-init.d: made to worship new configuration files
- 2000-06-14 Aarno Syv鋘en <syvanen@wapit.com>
- * wtp_send.c|h: wtp_do_not_send uses WAPAddrTuple type, too
- * wtp.c: Reimplement error handling
- 2000-06-14 Kalle Marjola <rpr@wapit.com>
- * gw/smsbox_req.c: fixed split-send Octstr-wise, now it should
- work with CIMD2, too (and other new SMSC protocols?)
- 2000-06-14 Kalle Marjola <rpr@wapit.com>
- * gw/bb_smsc.c: modified sleep in smsc receive to variable length,
- to increase performance
- 2000-06-14 Yann Muller <ymuller@3glab.com>
- * smsc_at.c: New SMSC for wireless modems (AT commands).
- * smsc.c, smsc_p.h: Added support for new AT SMSC.
- 2000-06-13 Kalle Marjola <rpr@wapit.com>
- * gw/bb_boxc.c: (somehow) fixed pointer error pointed out by Paul
- Keogh.
- 2000-06-13 Richard Braakman <dark@wapit.com>
- * gw/wap-appl.c: Query list of charsets from the WML compiler,
- and use that instead of accessing the table as an extern.
- * gw/wml_compiler.[ch]: Added wml_charsets function.
- * gw/wap-appl.c: Continued simplifying fetch_thread, broke out
- a number of smaller functions. Made converters table only
- list actual converters, eliminated convert_to_self.
- * gw/wap-events-def.h: Made response_type an octstr. Convert
- it to the WSP encoding in the WSP layer, not the application layer.
- Moved encode_content_type function to wml.c.
- * gwlib/http.c: Reindented http_something_accepted and istrdup
- to fit with the rest of the code.
- * gwlib/http.h: Added prototype for http_charset_accepted.
- * gw/wap-appl.c: Created "content" struct to describe content
- body and meta-info. Made convert functions use it. Split off
- content conversion into a separate function that uses the table.
- 2000-06-12 Richard Braakman <dark@wapit.com>
- * Started simplifying fetch_thread function.
- * Add "X-WAP-Gateway: Kannel XXX" to requests, where XXX is the
- version number.
- 2000-06-12 Richard Braakman <dark@wapit.com>
- * Renamed http2 to http everywhere, because the old http code
- is completely gone. Removed --with-http2 configuration option.
- 2000-06-12 Tuomas Luttinen <tuo@wapit.com>
- * gw/wml_compiler.c: Character set and string table length changed
- from chars to uintvars. Now WML compiler can handle string table
- length greater than 127.
- 2000-06-12 Richard Braakman <dark@wapit.com>
- * Making development release 0.9.2.
- * Commented-out some excessive logging.
- 2000-06-12 Aarno Syv鋘en <syvanen@wapit.com>
- * wtp_state-decl.h: TR-Abort.ind when timer counter has expired
- 2000-06-10 Richard Braakman <dark@wapit.com>
- * gwlib/gwmem-check.c: New implementation. This fixes the speed
- bottleneck that the old gwmem-check was, and it provides better
- checking and some extra features.
- * gwlib/gwmem.h: Slight changes for the new gwmem-check. New
- functions gw_check_area_size and gw_check_claim_area, which do
- not have macro wrappers yet.
- * gwlib/thread.[ch]: Add support for statically allocated Mutex
- structures. They are needed to break some dependency loops
- between the various wrappers (log.c needed protected.c,
- protected.c needed Mutex, Mutex needed gwmem, gwmem needed log.c)
- which made it impossible to shut them down correctly.
- * gwlib/protected.c, gwlib/gwmem-check.c: Use the new static mutexes.
- 2000-06-09 Tuomas Luttinen <tuo@wapit.com>
- * gwlib/http2.c: A http request headers patch applied.
- * gw/wap-appl.c: A http request headers patch applied.
- * gw/wml_definitions.c: Character set conversion pathes added, see
- below.
- * gw/utf8map_iso8859-7.h: A conversion table for greek character set.
- * gw/utf8map_win1253.h: A character set added.
- * gw/utf8map_win1251.h: A russian character set added.
- * gw/utf8map_koi8r.h: A russian character set added.
- * gw/wml_compiler.c: A memory allocation loop removed from
- parse_attribute.
- 2000-06-09 Richard Braakman <dark@wapit.com>
- * gw/wap-appl.c: In fetch_thread, also clean up "url" octstr.
- This fixes the last big memory leak. I now get only a handful
- of leaked areas after 100 requests.
- 2000-06-09 Richard Braakman <dark@wapit.com>
- * gw/wsp-session.c: Fixed two of the memory leaks, still hunting
- for others.
- 2000-06-09 Richard Braakman <dark@wapit.com>
- * gwlib/http2.c: Fixed header_is_called() to return 0 for no match
- and 1 for match; simplified it in the process. I think this was
- the original intent, and it matches the function name.
- By a roundabout path this fixes the lack of "Accept: text/vnd.wap.wml"
- and such in the HTTP request headers Kannel generates.
- Adapted http2_header_find_first() to the new interface of
- header_is_called().
- 2000-06-09 Richard Braakman <dark@wapit.com>
- * gw/wsp_pdu.c: Allow REST fields to be NULL when packing (treat
- them as length 0 strings). This was already done for OCTSTR fields.
- Thanks to Paul Keogh for fixing this.
- * gw/wtp_pdu.c: Make the same change for REST and OCTSTR fields as
- above. It's going to be difficult to keep this code in sync.
- 2000-06-09 Richard Braakman <dark@wapit.com>
- * gwlib/socket.c: Make read_available assert that fd >= 0, because
- otherwise it just segfaults.
- * gwlib/http2.c: Make pool_socket_is_alive return "not alive" for
- sockets < 0. This does not fix the whole problem but it keeps the
- wapbox from crashing here.
- * gwlib/list.c: Fix bug in delete_items_from_list which would
- corrupt the list in some cases.
- 2000-06-09 Kalle Marjola <Kalle Marjola <rpr@wapit.com>>
- * gw/bb_*.c: removed START and EXIT debug info as they are in new
- thread wrapper, too
- * gw/bb_boxc.c: fixed bugs in wdp-router and wapbox quit, and
- re-synchronized shutdown
- * gw/bearerbox.c, gw/bb_http.c: removed core_threads as new thread
- wrapper can be used to handle that.
- Fri Jun 9 08:31:18 2000 Lars Wirzenius <liw@wapit.com>
- * Separated the method state machine from the session state machine,
- to keep state tables in the source closer to the spec and to allow
- multiple fetches per client.
- * gw/wsp-method-machine.h, gw/wsp-session-machine.h: Split out from
- gw/wsp_machine-decl.h, now removed.
- * gw/wsp-method-state.h, gw/wsp-session-state.h: Split out from
- gw/wsp_state-decl.h, now removed.
- * gw/wsp-session.c: Added handling of WSPMethodMachines and
- correct routing of WAPEvents between the session and method
- state machines. This is a bit ugly, though.
- * gw/wap-appl.c, gw/wap-events-def.h, gw/wsp.h, gw/wtp.c:
- Related changes.
- Fri Jun 9 06:20:12 2000 Lars Wirzenius <liw@wapit.com>
- * gw/wtp.c: Combined wtp_machine_create and wtp_machine_create_empty.
- Fri Jun 9 05:39:06 2000 Lars Wirzenius <liw@wapit.com>
- * gw/wsp-session.c, gw/wsp_machine-decl.h, gw/wsp_state-decl.h:
- Removed `unused' field from WSPMachine, using state == NULL_STATE
- instead.
- Fri Jun 9 05:32:38 2000 Lars Wirzenius <liw@wapit.com>
- * gw/wap-events-def.h, gw/wtp.c, gw/wsp_state-decl.h: Removed
- unused exit_info and exit_info_present fields from WAPEvents.
- Fri Jun 9 05:28:12 2000 Lars Wirzenius <liw@wapit.com>
- * gw/wtp_state-decl.h: Enabled sending of TR-Abort.ind events
- to WSP.
- * gw/wtp.c: Removed (now unused) variable current_primitive.
- Fri Jun 9 05:18:07 2000 Lars Wirzenius <liw@wapit.com>
- * gw/wap-events-def.h: Finished breaking up pack_wsp_event into
- smaller functions.
- Fri Jun 9 05:10:20 2000 Lars Wirzenius <liw@wapit.com>
- * gw/wtp.c, gw/wap-events-def.h: Removed event TR_Invoke_Cnf since
- it wasn't used and is only generated on the client side.
- Fri Jun 9 04:58:02 2000 Lars Wirzenius <liw@wapit.com>
- * gw/wap-events-def.h, gw/wtp.c: Removed unused fields wsp_pdu
- and wsp_tid from various events. Then removed code that set
- and copied them between events.
- Fri Jun 9 07:44:25 2000 Lars Wirzenius <liw@wapit.com>
- * gw/wtp.c, gw/wtp_state-decl.h: Beginning the breaking up of
- pack_wsp_event function into smaller, more well defined ones.
- Fri Jun 9 06:48:42 2000 Lars Wirzenius <liw@wapit.com>
- * gw/wap-appl.c: Combine headers for HTTP request after the
- actual list of headers has been collected.
- Fri Jun 9 02:58:00 2000 Lars Wirzenius <liw@wapit.com>
- * Implemented WSP connectionless service. This meant moving
- things around a bit. The basic approach is to treat connectionless
- mode as a level in the protocol stack that is parallel to WTP and
- session oriented WSP. That is, connectionless mode gets events
- directly from wapbox.c and feeds them to wap-appl.c, and vice
- versa for replies.
- * gw/bb_udp.c: Read from port 9200 as well.
- * gw/wap-events-def.h: Added events S_Unit_MethodInvoke_Ind and
- S_Unit_MethodResult_Req.
- * gw/wapbox.c: Deal with connectionless packets as well. Feed them
- to wsp-unit.c. Also: trace packets received and sent, except for
- heartbeat packets.
- * wsp-session.c: The session oriented mode of WSP. I just moved
- relevants parts of wsp.c here and renamed them to use the
- wsp_session prefix.
- * gw/wsp-unit.c: The connectionless mode of WSP.
- * gw/wsp.c: Kept only stuff shared by wsp-session and wsp-unit.
- * gw/wap-appl.c: Deal with both S-MethodInvoke.ind and
- S-Unit-MethodInvoke.ind events.
- Fri Jun 9 02:46:53 2000 Lars Wirzenius <liw@wapit.com>
- * gw/wap-events.[ch]: Changed the WAPEvent sub-structures to be
- held inside a union, to reduce amount of space used. Related
- changes everywhere WAPEvents are used.
- 2000-06-08 Richard Braakman <dark@wapit.com>
- * test/drive_wapbox.c: Added option -g N to try more than one
- page fetch per WSP session. Improved tid checking so that it
- will catch the tid inversion bug (fixed below) in the future.
- * gw/wapbox.c: Make wap_addr_tuple_duplicate handle a NULL
- argument by returning NULL, like most other _duplicate functions.
- * gwlib/http2.c: Make http2_append_headers copy the headers it
- appends, so that http2_destroy_headers can safely be called on
- the result.
- 2000-08-07 Aarno Syv鋘en <syvanen@wapit.com>
- * wtp_state-decl.h: Removed machine_mark_unused calls
- 2000-06-07 Richard Braakman <dark@wapit.com>
- * gw/wtp_send.c: Invert the MSB of the received tid when sending,
- to comply with WTP 8.8.1. This fixes a bug introduced two days ago.
- 2000-06-07 Richard Braakman <dark@wapit.com>
- * gw/wtp.c: Also destroy the event queue at shutdown.
- 2000-06-07 Richard Braakman <dark@wapit.com>
- * gwlib/gwthread-pthread.c: Fixed silly bug in yesterday's patch.
- 2000-06-07 Derry Hamilton <rasilon@tardis.ed.ac.uk>
- * test/fakewap.c: Running fakewap too quickly messes up
- thread-control signal handling under Solaris. Ignore SIGALRMs,
- they are not meant for us.
- 2000-06-06 Richard Braakman <dark@wapit.com>
- * gwlib/gwthread-pthread.c: Information for main thread is now
- allocated statically, so that we don't have to deallocate it
- at shutdown. This way we can keep it around so that gwthread_self
- continues to work as expected even during shutdown.
- 2000-06-06 Richard Braakman <dark@wapit.com>
- * Making development release 0.9.1.
- 2000-06-06 Richard Braakman <dark@wapit.com>
- * gwlib/gwlib.c: Patch gwlib_assert_init so that it works if
- NDEBUG is on.
- * gwlib/octstr.c: Patch seems_valid macro so that it does nothing
- if NDEBUG is on.
- 2000-06-06 Tuomas Luttinen <tuo@wapit.com>
- * gw/wsp.c: append_uintvar removed, calls to it were changed to
- octstr_append_uintvar.
- * gw/utf8map_win1257.h: A new file from the Latvian localisation
- patch.
- * utils/win1257unicode.txt: A new file from the Latvian localisation
- patch.
- * utils/utf8map.pl: A new file from the Latvian localisation patch.
- * gw/wml_definitions.h: Latvian localisation patch applied.
- * gw/wml_compiler.c: Latvian localisation patch applied.
- Tue Jun 6 15:43:31 2000 Lars Wirzenius <liw@wapit.com>
- * gw/wsp_state-decl.h: Bugfix. The mid for a S_MethodInvoke_Ind
- was copied from a tid. Oops.
- Tue Jun 6 15:11:14 2000 Lars Wirzenius <liw@wapit.com>
- * wap-events-def.h, gw/wsp.c, gw/wtp.c: Some events are generated
- by WTP immediately before it kills the WTPMachine. We used to
- fetch the address information for those WTP transactions from the
- WTPMachine after the machine had been killed. This was a bug. I
- changed the relevant events to supply the necessary information
- in the event, so that the WTPMachine is no longer needed.
- Tue Jun 6 12:28:48 2000 Lars Wirzenius <liw@wapit.com>
- * gw/wap-appl.c, gw/wap-events-def.h, gw/wap-events.c,
- gw/wap-events.h, gw/wapbox.c, gw/wapbox.h, gw/wsp.h,
- gw/wsp_machine-decl.h, gw/wtp.c, gw/wtp.h, gw/wtp_machine-decl.h,
- gw/wtp_send.c, gw/wtp_tid.c: Made more use of WAPAddrTuple.
- Tue Jun 6 11:37:22 2000 Lars Wirzenius <liw@wapit.com>
- * gw/wap-appl.c, gw/wap-events-def.h, gw/wap-events.[ch]: Replaced
- member `machine' (a pointer to a WTPMachine) to `mid' and `tid'
- (integers), so as to remove direct references to WTPMachines
- from outside the WTP layer.
- * gw/wtp.[ch]: Added function wtp_get_address_of for finding the
- address of a machine given its id (mid).
- * gw/wapbox.[ch]: Added data types WAPAddr and WAPAddrTuple,
- for holding addresses of phone and gateway, and functions for
- creating and destroying them.
- * gw/wsp_state-decl.h: Made use of mid instead of machine.
- * gw/wsp.c: Made light use of WAPAddrTuple. Made use of mid
- everywhere, instead of pointers to WTPMachines.
- Tue Jun 6 08:44:13 2000 Lars Wirzenius <liw@wapit.com>
- * test/decompile.c: Added return type (void) to function
- OutputEncodedString.
- 2000-06-05 Richard Braakman <dark@wapit.com>
- * gw/wsp_pdu.[ch]: Added wtp_pdu_append_tpi function.
- * gw/wtp_send.c: Continued conversion to use of wtp_pdu.
- Next step is to handle resends better, but that requires
- changes to the state machines.
- 2000-06-05 Richard Braakman <dark@wapit.com>
- * gwlib/conn.[ch]: Change conn_flush interface so that it can
- block, and tries to send all queued output. This makes it more
- useful for threads that only want to do output and do not want
- to wake up for input.
- * gwlib/gwthread-pthread.c: Make gwthread_pollfd return -1 when
- poll() fails with EINTR, instead of 0, so that 0 can be relied
- on to mean timeout.
- 2000-06-05 Richard Braakman <dark@wapit.com>
- * gwlib/conn.c: Implemented conn_open_tcp().
- Fixed conn_read_withlen, which I broke a few days ago.
- * gwlib/conn.c: Split the single Connection lock into two locks,
- one for reading and one for writing. This allows reader and
- writer threads to work without fighting over one lock. Only
- conn_wait needs both locks.
- * test/drive_wapbox.c: Take advantage of some new octstr functions.
- 2000-06-05 Richard Braakman <dark@wapit.com>
- * gwlib/gwthread.h, gwlib/gwthread-pthread.c: Renamed
- gwthread_join_all to gwthread_join_every, and added a
- gwthread_join_all that joins ALL threads. Added gwthread_wakeup_all
- to match.
- * gwlib/gwthread-pthread.c: Fix use of pipe(); reading and
- writing fd's were reversed.
- 2000-06-05 Richard Braakman <dark@wapit.com>
- * gw/wsp.c: Installed Joerg Pommnitz's patch for correct parsing
- of WSP capabilities.
- 2000-06-05 Tuomas Luttinen <tuo@wapit.com>
- * test/decompile.[ch]: A WML decompiler by Chris Wulff, Vanteon.
- * test/wml_tester.c: A patch by Chris Wulff, Vanteon added to produce
- pure binary files. A little cleanup.
- 2000-06-05 <Kalle Marjola <rpr@wapit.com>>
- * gw/bb_smsc.c: changed sleep(1) to usleep. A bit more busier
- loop, that new interface is really needed
- * gw/numhash.c: removed some warnings
- Mon Jun 5 10:32:41 2000 Lars Wirzenius <liw@wapit.com>
- * gw/wtp.c: Fixed bug that was caused by not duplicating an
- octet string while copying it. Also fixed a memory leak.
- * gw/wtp_pdu.[ch]: Added function wtp_pdu_create. Also added
- wrappers around wtp_pdu.h to prevent problems when including
- many times, and added an include for gwlib/gwlib.h, so that
- the caller does not have to deal with that.
- * gw/wtp_send.c: Started conversion to using wtp_pdu.c instead
- of packing everything by hand. The basic PDUs are now converted.
- The negative ACK and some other ones are not, because I wasn't
- certain how they work, right now, and am too tired to understand
- the spec (probably too tired to hack, but I ran a fakewap test
- after each change to make sure I didn't break things too badly).
- Sun Jun 4 07:32:59 2000 Lars Wirzenius <liw@wapit.com>
- * Re-vamped the WTP layer to use a thread structure similar to WSP.
- All code referring to segmentation and re-assembly has been deleted
- (this was simpler for me - it wasn't used anyway, and we can dig it
- out of CVS if we want it later). Error handling also suffered, but
- on the other hand, the current structure should be easier to make
- robust.
- * gw/wap-events-def.h: Events generated from PDUs now have the
- address of the client and the gateway included in the event.
- This means we can use a trivial wtp_dispatch_event function
- interface, without having to carry around the addressing information
- separately.
- Other events that the WTP layer may receive include a `mid'
- (machine id) field for finding the correct WTPMachine. The ultimate
- goal it so make the WTPMachine data type hidden within WTP, so
- that there are no direct pointers to the machines.
- * gw/wapbox.c, gw/wsp.c, gw/wsp_state-decl.h: Use
- wtp_dispatch_event to send an event.
- * gwlib/gwthread-pthread.c: Commented out call to pthread_setspecific
- that was hanging shutdown. The real reason is probably somewhere
- else, but I didn't find it, so this workaround is used to make
- things at least seemingly work.
- Sun Jun 4 04:38:02 2000 Lars Wirzenius <liw@wapit.com>
- * gw/wsp.c, gw/wsp_state-decl.h: Use WSP_PDU's, instead of
- packing things ourselves, as far is possible. Some fields have
- special packing encodings, those we do partly ourselves still.
- * gw/wsp_pdu.c: Don't crash if OCTSTR field is NULL, just ignore
- it.
- Sun Jun 4 03:45:45 2000 Lars Wirzenius <liw@wapit.com>
- * gw/wap-events.c: wap_event_dump now reports name of Octstr
- fields.
- * gw/wsp_pdu.c: bit position is advanced correctly when unpacking
- a Uintvar. Also, dump tells when the dump ends.
- * gw/wsp_state-decl.h: Duplicate the URL octet string.
- Sun Jun 4 02:36:10 2000 Lars Wirzenius <liw@wapit.com>
- * gw/wsp_pdu.[ch]: Added function wsp_pdu_create, which creates
- an (empty) PDU of the desired type. Made the warning about an
- unknown PDU type in wsp_pdu_destroy be a panic instead.
- * gw/wsp.c, gw/wsp_state-decl.h: Converted to use wsp_pdu.[ch]
- for unpacking. We have issues with packing: at least some fields
- need to be packed in a special way, and this needs to be handled
- in a clean way.
- Sun Jun 4 01:03:55 2000 Lars Wirzenius <liw@wapit.com>
- * gwlib/protected.[ch]: Added wrapper for gethostbyname.
- * gwlib/socket.c: Made use of wrapper.
- Sun Jun 4 00:52:22 2000 Lars Wirzenius <liw@wapit.com>
- * gwlib/protected.[ch]: Wrote thread-safe wrappers around
- standard library functions gmtime, localtime, and rand. Note
- that this is just a beginning, we should wrap many more functions.
- * gw/urltrans.c, gwlib/gwlib.[ch], gwlib/log.c: Made use of the
- wrappers.
- Sun Jun 4 00:20:19 2000 Lars Wirzenius <liw@wapit.com>
- * gw/numhash.c: Added typecasts to silence compiler warnings. Kalle,
- please fix it properly so it uses unsigned chars.
- Sun Jun 4 00:06:23 2000 Lars Wirzenius <liw@wapit.com>
- * gw/wap-events.c: Added assertions to wap_event_name. Added
- calls to wap_event_assert. Event duplication now also works for
- NULL arguments. Fixed wap_event_assert (i.e., reduced the number
- of checks it makes - it was overly aggressive).
- * gw/wsp.c: Added calls to wap_event_assert.
- 2000-06-03 Richard Braakman <dark@wapit.com>
- * gwlib/octstr.[ch]: Added octstr_append_uintvar.
- * gw/wsp_pdu.[ch], gw/wsp_pdu.def: Do the same for WSP PDU's.
- * gw/wtp_pdu.c: Bugfixes.
- * test/test_pdu.c: Test WSP data too.
- 2000-05-31 Richard Braakman <dark@wapit.com>
- * gwlib/octstr.[ch]: Added octstr_get_bits and octstr_set_bits.
- * gw/wtp_pdu.[ch], gw/wtp_pdu.def: Deliberate preprocessor abuse
- to automate PDU packing and unpacking. First draft; works for
- simple test cases, needs more documentation. Not used by anything
- else yet.
- * test/test_pdu.c: Test program for above.
- 2000-05-31 Tuomas Luttinen <tuo@wapit.com>
- * gw/wml_compiler.c (string_table_add): A bug fixed. The string
- didn't match any in the table, since it didn't have a termination
- character at the end of it as those in the table. Also string has
- to be destroyed if it has already a duplicate in the table.
- 2000-05-30 Kalle Marjola <rpr@wapit.com>
- * gw/bb_smsc.c: added white and black lists.
- * doc/userguide/newconf.txt: added 'documentation' about white and
- black lists
- 2000-05-30 Kalle Marjola <rpr@wapit.com>
- * gw/numhash.h|c: exported numhash from old smsgateway and edited
- it to work with new http2 and Octstrings, plus removed some
- functions. Next: implement white/black-list
- 2000-05-29 Richard Braakman <dark@wapit.com>
- * gw/smsbox_req.c: Fixed silly mistake.
- 2000-05-29 Richard Braakman <dark@wapit.com>
- * gwlib/conn.c: Implemented conn_read_packet().
- 2000-05-29 Richard Braakman <dark@wapit.com>
- * gw/bb_boxc.c: If listening socket cannot be opened, handle it
- by panicking rather than segfaulting.
- 2000-05-29 Tuomas Luttinen <tuo@wapit.com>
- * gw/wml_compiler.c: #ifdefs added to supprt libxml2. Does compile,
- but does not work with it, yet. WapIT -> Wapit
- * gw/wml_definitions.h: WapIT -> Wapit
- * gw/wml_compiler.h: WapIT -> Wapit
- * configure.in: libxml2 added.
- 2000-05-29 Richard Braakman <dark@wapit.com>
- * gw/smsc.c: Made bearerbox not crash if "smsc" field is missing
- from smsc config.
- * gwlib/gwthread-pthread.c: Comment around previous change was
- inaccurate; it was an fd leak on Linux too.
- 2000-05-29 Derry Hamilton <rasilon@tardis.ed.ac.uk>
- * gwlib/gwthread-pthread.c: Added some system cleanups to
- delete_threadinfo. Threads are not always processes!
- 2000-05-29 Kalle Marjola <rpr@wapit.com>
- * gw/bb_boxc.c: fixed possible problem in box shutdown and added
- multiple wapbox routing. It is, however, not done according to
- load levels, just random distribution. Load balancing later.
- 2000-05-29 Richard Braakman <dark@wapit.com>
- * test/fakewap.c: Use gwthread_join_all to wait for client threads
- to terminate.
- 2000-05-29 Richard Braakman <dark@wapit.com>
- * gwlib/gwthread-pthread.c: In new_thread, free its argument a bit
- earlier, to avoid a race with gw_check_leaks. (This caused seemingly
- random memory leak reports).
- * gwlib/conn.c: Use gwthread_pollfd instead of calling poll directly.
- 2000-05-29 Richard Braakman <dark@wapit.com>
- * gwlib/gwthread-pthread.c: Made gwthread_create fail gracefully
- if there are more active threads than the module can handle, rather
- than panicking.
- Sat May 27 06:39:51 2000 Lars Wirzenius <liw@wapit.com>
- * gw/wap-events.[ch]: Added wap_event_assert function.
- Sat May 27 02:50:09 2000 Lars Wirzenius <liw@wapit.com>
- * gwlib/gwthread.[ch]: Added function gwthread_join_all, which
- joins all threads running a specific function.
- * gw/wap-appl.c, gw/wapbox.c, gw/wsp.c: Use gwthread_join_all to
- synchronize shutdown properly.
- Sat May 27 02:05:41 2000 Lars Wirzenius <liw@wapit.com>
- * gw/wap-events.c: Only the fields for the correct event type
- are dumped by wap_event_dump.
- * gw/wapbox.c: Uncommented code to get heartbeat-freq setting
- from config. Added some shutdown code.
- NOTE: The wapbox does not currently shutdown correctly. Thread
- termination synchronization is not done and this causes a
- segfault at the end. Will hack that next.
- * gw/wap-appl.c: Event queue is emptied and destroyed at shutdown.
- * gw/wsp.c, gw/wsp_state-decl.h, gw/wtp_state-decl.h:
- Work started on making a global event queue for all
- WSPMachines. wsp_dispatch_event now the only external method
- for sending events to WSP. Its interface has been changed so
- that it only gets the event and will look inside the event to
- find addressing info - the WTPMachine is no longer needed to be
- given as the argument for this. A number of previously available
- functions are now static and must only be used from within the
- WSP layer.
- Sat May 27 02:02:33 2000 Lars Wirzenius <liw@wapit.com>
- * gwlib/gwthread.h, gwlib/gwthread-pthread.c: Name of function
- made as the name of the thread.
- Fri May 26 21:05:29 2000 Lars Wirzenius <liw@wapit.com>
- * utils/start-stop-daemon.c: Added pid_is_cmd for FreeBSD.
- Fri May 26 21:01:41 2000 Lars Wirzenius <liw@wapit.com>
- * gwlib/http2.c: Compare header names case-insensitively.
- Fri May 26 20:47:06 2000 Lars Wirzenius <liw@wapit.com>
- * gw/wap-appl.h: Moved to gw/wsp.h. Don't want a zillion small
- .h files, after all.
- * gw/wsp.h: Added prototypes for the application layer.
- 2000-05-26 Richard Braakman <dark@wapit.com>
- * gwlib/conn.c: Converted conn_claim() stuff to use new thread
- interface.
- * gwlib/gwthread-pthread.c: Bugfix, make sure the main thread
- can still safely call gwthread_self after shutdown, so that gwmem
- layer can log stuff.
- * gwlib/thread.c: Converted mutex->owner to use new thread
- interface.
- Fri May 26 20:34:01 2000 Lars Wirzenius <liw@wapit.com>
- * gw/wap-appl.[ch]: Wrote. This is the new application layer.
- This version is ugly - essentially I just moved code in here
- from the old wsp_http.c - but I want to clean it up before I
- break it further.
- * gw/wsp_state-decl.h: Use S_MethodInvoke_Ind instead of
- S_MethodInvoke_Res and wap_appl_dispatch instead of
- wsp_http_thread.
- * gw/wap-events-def.h: Added S_MethodInvoke_Ind, removed most
- fields from S_MethodInvoke_Res, since they're now unnecessary.
- * gw/wapbox.c: Starts the application layer.
- * gw/wsp.c: Added #include for wap-appl.h.
- * gw/wsp.h: Removed prototype for wsp_http_thread.
- * gw/wsp_http.c: Removed.
- Fri May 26 19:05:09 2000 Lars Wirzenius <liw@wapit.com>
- * gw/wap-events.[ch], gw/wap-events-def.h: Combined WTPEvent and
- WSPEvent into a unified WAPEvent. This makes it slightly easier
- to find the events (no need to wonder whether a TR-Invoke.ind is
- a WTP or WSP event, for example), and reduces code duplication
- a bit.
- * gw/wsp_events-decl.h, gw/wtp_events-decl.h: Removed.
- * Lots of files: WTPEvent and WSPEvent and related function calls
- changed to WAPEvent and its functions.
- * gwlib/http2.c: http2_header_dump works now even with a NULL
- argument.
- 2000-05-26 Richard Braakman <dark@wapit.com>
- * gwlib/gwthread.h: New thread interface. Encapsulates thread
- creation, and provides features for interruptible sleeping and
- blocking. Can eventually be extended to wrap all of pthreads,
- if desired.
- * gwlib/gwthread-pthread.c: Implementation of thread interface
- with pthreads.
- * gwlib/gwlib.h: Include gwthread.h too.
- * gwlib/gwlib.c: Initialize and shut down gwthread module along
- with the rest.
- * gw/bb_boxc.c, gw/bb_http.c, gw/bb_smsc.c, gw/bb_udp.c,
- gw/bearerbox.c, gw/smsbox.c, gw/smsbox_req.[ch], gw/wapbox.c,
- gw/wsp.h, gw/wsp_http.c, gw/wsp_state-decl.h,
- test/drive_wapbox.c, test/fakewap.c, test/test_counter.c,
- test/test_http2.c, test/test_http2_server.c, test/test_list.c:
- Use gwthread_create instead of start_thread.
- Thread functions are now void functions instead of (void *)
- functions, so removed all the "return NULL" and changed the
- declarations.
- Use long instead of pthread_t as the thread identifier.
- Use gwthread_join instead of pthread_join.
- * gwlib/log.c: Use gwthread_self() instead of pthread_self()
- to get the thread number to log.
- * gwlib/thread.[ch]: Removed start_thread function.
- Fri May 26 17:14:18 2000 Lars Wirzenius <liw@wapit.com>
- * doc/arch/wapbox-arch.fig: New figure showing the planned
- wapbox architecture. (Not visible in the actual documentation
- yet, though.)
- Fri May 26 16:59:03 2000 Lars Wirzenius <liw@wapit.com>
- * gwlib/http2.c: Destroy temporary header list in
- http2_type_accepted.
- Thu May 25 21:46:04 2000 Lars Wirzenius <liw@wapit.com>
- * gwlib/http.[ch], test/test_http.c: Removed.
- * gwlib/http2.[ch]: Added a number of header handling functions.
- Also added many assertions.
- * gw/wsp.[ch], gw/wsp_headers.[ch], gw/wsp_http.c,
- gw/wsp_state-decl.h: Converted to use http2 instead of http for
- header handling.
- 2000-05-25 Kalle Marjola <rpr@wapit.com>
- * gw/bb_smsc.c: fixed some lock-ups during violent shutdown
- 2000-05-25 Richard Braakman <dark@wapit.com>
- * test/fakewap.c: Sanitized tid handling. It's now local to the
- client thread, rather than global. Each client should have its
- own tid space anyway.
- Thu May 25 18:45:15 2000 Lars Wirzenius <liw@wapit.com>
- * gwlib/gwlib.[ch]: gwlib_shutdown now always calls gw_check_leaks,
- to check for memory leaks. Added function gwlib_assert_init, to
- allow gwlib code to verify that gwlib has been initialized.
- * gw/bearerbox.c, gw/smsbox.c, gw/wapbox.c, test/drive_wapbox.c,
- test/fakesmsc.c, test/fakewap.c, test/test_cimd2.c,
- test/test_counter.c, test/test_http.c, test/test_http2.c,
- test/test_http2_server.c, test/test_list.c, test/test_mem.c,
- test/test_msg.c, test/test_udp.c, test/test_urltrans.c,
- test/wml_tester.c: Fixed to call gwlib_init and gwlib_shutdown
- instead of gw_init_mem and gw_check_leaks.
- * gwlib/octstr.c: Call gwlib_assert_init in seems_valid.
- Thu May 25 16:52:22 2000 Lars Wirzenius <liw@wapit.com>
- * gw/bb_smsc.c: Removed unused variable `ret'.
- 2000-05-25 Kalle Marjola <rpr@wapit.com>
- * gw/smsc.c, gw/smsc.h, gw/smsc_p.h, gw/bb_smsc.c: removed old
- dial-prefix (use global unified-prefix) and route-prefix, and
- added new denied-prefix and preferred-prefix, see details from
- documentation
- * doc/userguide/newconf.txt: added notes of preferred-preix and
- denied-prefix
- 2000-05-25 Kalle Marjola <rpr@wapit.com>
- * gw/smsc.h|c: got rid of bb_msg
- * gw/bb_smsc.c: modified to use just plain Msg
- * gw/bb_msg.*, gw/boxc.*, gw/wdp_udp.*: removed, not used anymore
- 2000-05-25 Kalle Marjola <rpr@wapit.com>
- * gw/bb_smsc.c: added number normalization/unifying, via
- configuration variable unified-prefix.
- * doc/userguide/newconf.txt: added explanation of unified-prefix
- 2000-05-25 <Kalle Marjola <rpr@wapit.com>>
- * gw/*box.c: changed default configuration file to be
- kannel.conf. Please note that there is NO such file, but two
- sample files, smskannel.conf and wapkannel.conf
- 2000-05-24 <Kalle Marjola <rpr@wapit.com>>
- * doc/userguide/userguide.xml: Removed old configuration file
- things, read the newconf.txt file. Did same to HTTP adminstration
- notes, read file newbb.txt
- * doc/arch/arch-bearerbox.xml: Rewrote to reflect the new
- bearerbox. Have to do it a bit more deeply someday, however. And
- pictures, too.
- * gw/wsp.c: Applied a short WSP header patch by Joerg Pommnitz to
- handle broken headers from Timeport
- * test/simple.smsconf: removed
- 2000-05-24 Richard Braakman <dark@wapit.com>
- * gw/wsp_http.c: Fixed Accept header scanning in wsp_http_thread.
- 2000-05-24 <Kalle Marjola <rpr@wapit.com>>
- * doc/userguide/newconf.txt: added documentation about new
- configuration file
- * doc/userguide/newbb.txt: added documentation about new
- bearerbox
- * gw/bearerbox.c: moved new bearerbox into final name, old
- bearerbox removed from the project
- * gw/smskannel.conf, gw/wapkannel.conf: added new sample
- configurations
- * gw/kannel.*conf: removed old configuration defination files
- * test/sample.*conf: removed old sample configurations
- * gw/smsbox.c, gw/urltrans.c, gw/wapbox.c: edited to use new
- configuration file
- * README: updated
- 2000-05-24 Richard Braakman <dark@wapit.com>
- * test/test_cimd2.c: Written a while ago, added to CVS today.
- Might be useful for people doing speed tests of sms handling.
- 2000-05-23 <Kalle Marjola <rpr@wapit.com>>
- * gwlib/http2.c|h: moved destroying functions here, and changed so
- that http2_socket_host does not duplicate the octstr but returns
- reference
- * gw/bb_http.c: check for password of the admin
- * gw/smsbox*.c moved cgi and destroy functions to http2
- 2000-05-23 <Kalle Marjola <rpr@wapit.com>>
- * gw/bb_http.c: check for allow/deny IP for http admin
- 2000-05-23 <Kalle Marjola <rpr@wapit.com>>
- * gwlib/socket.h|c: added host_ip to get, well, host IP. That
- needed mutex because ntoa operation is not thread-safe, so added
- socket_init and shutdown, too
- * gwlib/gwlib.c: calls to socket_init and shutdown
- * gwlib/http2.c: get client host IP
- * gwlib/utils.c|h: added is_allowed_ip function
- * gw/bb_core.c: options -S and -I to start new bearerbox in
- suspended or isolated state
- * gw/bb_boxc.c: check for client allowed/denied IP
- 2000-05-23 Richard Braakman <dark@wapit.com>
- * test/drive_wapbox.c: Fix free-port-hunting code for fake httpd.
- 2000-05-23 Richard Braakman <dark@wapit.com>
- * gw/smsc_cimd2.c: The maximum message length was always set to 140.
- It should be 160 for normal (non-UDH, non-8bit) messages. Fixed.
- 2000-05-22 <Kalle Marjola <rpr@wapit.com>>
- * gwlib/utils.c|h, gw/bearerbox.c: moved normalize_number to
- utils module from old bearerbox
- * gwlib/http2.h|c: first version of http2_socket_ip, although
- not yet working with servers, beware
- 2000-05-22 Richard Braakman <dark@wapit.com>
- * gwlib/conn.h, gwlib/conn.c: Made output buffering explicit instead
- of hidden in the interface. (We can't hide it with 100% correctness
- if there are multiple threads using the Connection, not all of which
- are in a conn_wait loop).
- Added conn_output_buffering and conn_flush functions.
- * test/drive_wapbox.c: Made the fake httpd return a real wml page,
- for better testing. (This exercises the WML compiler).
- Cleaned up some memory leaks.
- 2000-05-22 Richard Braakman <dark@wapit.com>
- * gwlib/conn.h, gwlib/conn.c: Extended to handle end-of-file better.
- Added conn_eof function.
- * test/drive_wapbox.c: Use conn_eof.
- 2000-05-22 Richard Braakman <dark@wapit.com>
- * test/drive_wapbox.c: Make setting the U/P flag optional, with
- the -U flag, because Kannel no longer (erroneously) requires it.
- Also have its internal httpd supply a Content-Type header.
- 2000-05-22 <Kalle Marjola <rpr@wapit.com>>
- * gwlib/http2.c|h: implemented function http2_destroy_headers
- * gw/bb_core.c: some update to status information
- * gw/bb_http.c: fixed last memory leaks, now the new system should
- not leak memory at all. Still misses cgibin arguments because of
- the lack of operations in http2.
- 2000-05-18 Richard Braakman <dark@wapit.com>
- * wmlscript/wsfalloc.c: Make ws_f_malloc return blocks aligned
- to sizeof(long), to prevent unaligned accesses. This should fix
- the bug reported by Lim YoungLan, but I can't test that here.
- 2000-05-17 <Kalle Marjola <rpr@wapit.com>>
- * gwlib/counter.c|h: renamed counter_get as counter_increase and
- added function counter_value.
- * test/test_*.c, gw/wsp.c: changed counter functions
- * gw/smsc.c, gw/smsc_fake.c: started a project that smsc_close
- will eventually free all memory it has reserved. Fake does this
- already, rest do not, and close is a bit weird for those right
- now.
- * gw/bb_*.c: added counters for messages, fixed some timing
- problems.
- 2000-05-17 Tuomas Luttinen <tuo@wapit.com>
- * gw/wml_compiler.c: Now variables use the string table. Some fixing
- for reducing numbers of the memory allocations and reallocations is
- needed.
- 2000-05-17 <Kalle Marjola <rpr@wapit.com>>
- * gw/bb_*.c: Some final cleanup added
- * gw/smsc_fake.c: smsc_close now destroyes eveyrhing. Should add
- this functionality to other SMSCes, too, and rename it as _destroy
- 2000-05-17 Richard Braakman <dark@wapit.com>
- * test/drive_wapbox.c: Memory leak now fixed. Added includes
- needed by accept().
- 2000-05-17 Aarno Syv鋘en <syvanen@wapit.com>
- * wtp_state-decl.h: Two bugfixes: rid to 0, when the result is
- sended first time (thanks to Oliver Lau), conditions checking
- whether u/p-flag is up corrected.
- 2000-05-16 <Kalle Marjola <rpr@wapit.com>>
- * gwlib/list.c|h: added function list_producer_count
- * gw/bb_*.c: smsc thingies are now somehow working. Does not work
- very well with multiple smsces, however.
- 2000-05-16 Tuomas Luttinen <tuo@wapit.com>
- * gw/wml_compiler.c: Memory leaks with variables removed.
- String table code mostly done, nrext thing is to start to use it.
- * gwlib/octstr.[ch]: octstr_create_tolower removed as unnecessary.
- 2000-05-15 Richard Braakman <dark@wapit.com>
- * gwlib/conn.[ch]: Found some more things to fix while writing
- drive_wapbox. Interface is almost stable now.
- * gwlib/thread.c: Added some assertions for mutex not being NULL.
- 2000-05-15 Richard Braakman <dark@wapit.com>
- * test/drive_wapbox.c: A tool to run the wapbox in isolation,
- for easy profiling.
- 2000-05-15 <Kalle Marjola <rpr@wapit.com>>
- * gw/bb_*.c: Now most memory leaks are fixed, the new bearerbox
- dies quite nicely and can handle exiting wapboxes and new
- connections. Still needs much testing and there is some mysterios
- things not freed at the end, so back to work.
- Mon May 15 16:07:00 2000 Lars Wirzenius <liw@wapit.com>
- * gw/wsp_http.c: Report character set when fetch is successful.
- * gwlib/http2.c: Fix parsing of character set from Content-Type.
- * test/test_http2.c: Report reply headers.
- Mon May 15 15:59:32 2000 Lars Wirzenius <liw@wapit.com>
- * gw/wsp_http.c: Do not require resp_headers to be non-NULL.
- Instead, only destroy it if it is non-NULL. Fixes bug #69
- by Kalle Marjola.
- Mon May 15 15:06:16 2000 Lars Wirzenius <liw@wapit.com>
- * gw/wsp_http.c: Undid broken changes to how HTTP headers are
- generated.
- * gwlib/http2.c: Dump to log file the headers used in the request.
- 2000-05-15 Richard Braakman <dark@wapit.com>
- * wsp_http.c: octstr_destroy(key_os) and (value_os) moved into the
- loop, so that it's not a memory leak.
- 2000-05-11 Aarno Syv鋘en <syvanen@wapit.com>
- * wsp_http.c: Using octstr_compare instead of strstr in conditional
- header addition. There was some curious problem with strstrs.
- * wsp.c: Changed Can't handle event error code to 0xEO. This is user
- protoerr.
- Fri May 12 Derry Hamilton <rasilon@tardis.ed.ac.uk>
- * fakewap.c: Added -F switch which enables continue on fail
- rather than exit on fail. (Stress testing)
- 2000-05-11 <Kalle Marjola <rpr@wapit.com>>
- * gw/bb_*.c: suspend and isolate status now in work. System still
- leaks memory somewhere and some things are missing, but WAP
- browsing works fine with new bearerbox.
- 2000-05-11 Richard Braakman <dark@wapit.com>
- * configure.in, configure: Made it not look for getloadavg.c
- on systems that have no getloadavg().
- 2000-05-11 <Kalle Marjola <rpr@wapit.com>>
- * gw/bb_http.c: Oooops, added
- * gw/bb_*.c: added signal trapping and (shutdown) flow-control.
- Still need some new List operations to free all memory while
- exiting.
- 2000-05-10 <Kalle Marjola <rpr@wapit.com>>
- * gw/bb_*.c: and more, now some HTTP adminstration 'works'
- (implementation partial in other modules)
- Tue May 9 Derry Hamilton <rasilon@tardis.ed.ac.uk>
- * gw/wapbox.c,configure.in,configure: Updated getloadavg bits to
- search for getloadavg, rather than just assume that it exists
- on Solaris.
- * utils/start-stop-daemon.c: Fixed typo.
- Tue May 9 23:03:26 2000 Lars Wirzenius <liw@wapit.com>
- * gwlib/gwmem-check.c: Fixed so that fill doesn't have a pointer
- alignment bug.
- Tue May 9 22:53:22 2000 Lars Wirzenius <liw@wapit.com>
- * gwlib/http2.c: Bugfix. Host header should include port number
- if the URL had a non-default one.
- Tue May 9 20:53:25 2000 Lars Wirzenius <liw@wapit.com>
- * gw/wsp_http.c: Report status code returned by http2_get_real
- if it fails.
- * gwlib/http2.c: Added includes for sys/types.h and sys/socket.h.
- This should silence warnings about accept being undeclared.
- Tue May 9 20:01:45 2000 Lars Wirzenius <liw@wapit.com>
- * configure.in: Make it allow random junk before the version
- number in the output of xml-config. Based on patch from
- Gus <angus@z-y-g-o.com>.
- 000-05-09 Derry Hamilton <rasilon@tardis.ed.ac.uk>
- * gwlib/socket.c: Changed the calls to info to calls to error
- when something has gone wrong.
- * gwlib/list.c: Added gw_asserts to some of the list functions.
- The problem is higher up, though.
- * gw/wsp_http.c: Added gw_asserts to some of the URL handling
- a call to an invalid protocol causes problems.
- Tue May 9 19:31:44 2000 Lars Wirzenius <liw@wapit.com>
- * utils/start-stop-daemon.c: Hand-applied patch from David
- Reid for FreeBSD support. No way to test if I did it correctly,
- hopefully kannel-nag or a FreeBSD user will complain.
- 2000-05-09 Richard Braakman <dark@wapit.com>
- * gw/smsc.c: system-type and address-range are also required
- for SMPP configurations.
- 2000-05-09 <Kalle Marjola <rpr@wapit.com>>
- * gw/bb_*.c: something new, many things still missing
- 2000-05-09 Richard Braakman <dark@wapit.com>
- * gwlib/conn.c, gwlib/conn.h: Added octstr_read_withlen and
- octstr_write_withlen. Also fixed errors in unlocked_get().
- 2000-05-09 Derry Hamilton <rasilon@tardis.ed.ac.uk>
- * gw/wapbox.c, configure.in, configure, utils/start-stop-daemon.c:
- Cleaned up SunOS definition
- 2000-05-08 Derry Hamilton <rasilon@tardis.ed.ac.uk>
- * gw/wapbox.c: Implemented load reporting for Solaris
- 2000-05-08 Richard Braakman <dark@wapit.com>
- * Made all sig_atomic_t variables volatile, because there is no
- reason to use sig_atomic_t otherwise.
- 2000-05-08 Richard Braakman <dark@wapit.com>
- * gwlib/conn.c: Commented static functions.
- Added unlocked_outbuf_len and unlocked_inbuf_len helper functions.
- Added unlocked_try_write helper function, to implement output
- buffering. Implemented conn_wait.
- 2000-05-08 Richard Braakman <dark@wapit.com>
- * test/fakewap.c: Fixed -n flag.
- 2000-05-07 Derry Hamilton <rasilon@tardis.ed.ac.uk>
- * gwlib/socket.c: Fixed tv_usec > 1000000 handling.
- 2000-05-05 <Kalle Marjola <rpr@wapit.com>>
- * gw/bb_smsc.c: Now it is half done. However, the old
- smsc_interface should be redone, now idea to use old rq-items
- anymore in new design. Back to work on Monday
- * gw/bb_*.c: fixed some places causing warnings
- 2000-05-05 Aarno Syv鋘en <syvanen@wapit.com>
- * wtp_tid.c|h: Module now uses list standard functions
- * wtp_state-decl.h: Commented
- 2000-05-04 <Kalle Marjola <rpr@wapit.com>>
- * gw/bb_core.c: logfiles
- * gw/bb_boxc.c: added basic routing thingies, now it only needs
- some load balancing to wap side, otherwise this module is about
- complete.. oh I forgot the dynamic configuration, but that later -
- the old one does not have it either
- * gw/bb_udp.c: added routing, now this function is about ready,
- except dynamic configuration and some testing etc.
- 2000-05-04 Richard Braakman <dark@wapit.com>
- * gwlib/conn.c, gwlib/conn.h: Got rid of network_long functions.
- The interface is so awkward that it's just as easy for the caller
- to fill a 4-octet buffer and provide that.
- * gwlib/octstr.h, gwlib/octstr.c: Added functions octstr_write_data
- and octstr_append, used by the new Connection code.
- * gwlib/http2.c: Removed static octstr_append, superseded by the one
- in the octstr module.
- * gwlib/conn.c, gwlib/conn.h: conn_read interface was not useful.
- Renamed to conn_read_fixed(), made it return exactly the number
- of bytes specified.
- * gwlib/conn.c code fleshed out some more, but several functions
- still not implemented.
- 2000-05-04 Richard Braakman <dark@wapit.com>
- * gw/wsp_http.c: In wsp_http_thread(), do not destroy charset
- until after it is used by the converters.
- Thu May 4 18:35:24 2000 Lars Wirzenius <liw@wapit.com>
- * Making *DEVELOPMENT* release 0.9. This is not stable, don't use
- it in production use.
- 2000-05-04 Kalle Marjola <rpr@wapit.com>
- * gw/bb_core.c, gw/bb_boxc.c, gw/bb_udp.c, gw/bb_smsc.c,
- gw/new_bb.h: added first version of the new bearerbox.
- WAP-browsing works, but bearerbox is missing signal handling,
- HTTP adminstration, log files, SMSC support, wapbox routing
- and many, many more things.
- * gw/new_kannel.conf: new configuration file type used by the new
- bearerbox. Documentation later.
- * Makefile.in: added target for bb_core, the new bearerbox proto
- 2000-05-04 <Kalle Marjola <rpr@wapit.com>>
- * gwlib/conffile.c|h: more changes so that all functions needing
- ConfigGroup work with NULL argument, returning just NULL
- 2000-05-03 Steffen Weinreich <steve@weinreich.org>
- * smsc_emi.c: Fixed the EMI code for UDH and added an initialisation
- for the TRN counter. This fixes the error with negative TRN if there
- wasnt a message received before the first send
- 2000-05-03 Tuomas Luttinen <tuo@wapit.com>
- * gw/wsp_http.c: Added the charset support here too. Now it's still
- needed in html2.
- * test/wml_tester.c: Rewrote most of the main-function, started
- using getopt for options. The charset stuff was added too.
- * gw/wml_definitions.h: The pile of definitions and static arrays
- just grew too huge. Added an own file for them.
- * gw/wml_compiler.[ch] : The WML compiler now recognises the
- most common character sets from ISO-8859-series(1-9) and UTF-8.
- It is now easy to add new 8-bit character sets into it.
- 2000-05-03 Richard Braakman <dark@wapit.com>
- * inet_aton is not used anywhere. Removed definition from
- gwlib/socket.c, and removed all configure checks for its
- existence.
- * Removed unused linger() code from tcpip_connect_to_server.
- We have CVS for storing dead code.
- 2000-05-03 Richard Braakman <dark@wapit.com>
- * configure.in, config.h.in, configure: Added --enable-mutex-stats
- option.
- * gwlib/thread.c, gwlib.thread.h, gwlib/gwmem-check.c: If mutex
- stats are enabled, log statistics about mutex usage.
- * gwlib/thread.c: Make mutex_try_lock silently ignore recursive
- locks again.
- Wed May 3 15:04:57 2000 Lars Wirzenius <liw@wapit.com>
- * contrib/html2wml.pl: Added script to convert WML to HTML,
- by Taneli Lepp