add changelog v1.0 to v1.1
[platform/upstream/libwebsockets.git] / changelog
1 Changelog
2 ---------
3
4 v1.1-chrome25-firefox17
5 =======================
6
7 Diffstat
8 --------
9
10  Makefile.am                            |    4 +
11  README-test-server                     |  291 ---
12  README.build                           |  239 ++
13  README.coding                          |  138 ++
14  README.rst                             |   72 -
15  README.test-apps                       |  272 +++
16  configure.ac                           |  116 +-
17  lib/Makefile.am                        |   55 +-
18  lib/base64-decode.c                    |    5 +-
19  lib/client-handshake.c                 |  121 +-
20  lib/client-parser.c                    |  394 ++++
21  lib/client.c                           |  807 +++++++
22  lib/daemonize.c                        |  212 ++
23  lib/extension-deflate-frame.c          |  132 +-
24  lib/extension-deflate-stream.c         |   12 +-
25  lib/extension-x-google-mux.c           | 1223 ----------
26  lib/extension-x-google-mux.h           |   96 -
27  lib/extension.c                        |    8 -
28  lib/getifaddrs.c                       |  271 +++
29  lib/getifaddrs.h                       |   76 +
30  lib/handshake.c                        |  582 +----
31  lib/libwebsockets.c                    | 2493 ++++++---------------
32  lib/libwebsockets.h                    |  115 +-
33  lib/md5.c                              |  217 --
34  lib/minilex.c                          |  440 ++++
35  lib/output.c                           |  628 ++++++
36  lib/parsers.c                          | 2016 +++++------------
37  lib/private-libwebsockets.h            |  284 +--
38  lib/server-handshake.c                 |  275 +++
39  lib/server.c                           |  377 ++++
40  libwebsockets-api-doc.html             |  300 +--
41  m4/ignore-me                           |    2 +
42  test-server/Makefile.am                |  111 +-
43  test-server/libwebsockets.org-logo.png |  Bin 0 -> 7029 bytes
44  test-server/test-client.c              |   45 +-
45  test-server/test-echo.c                |  330 +++
46  test-server/test-fraggle.c             |   20 +-
47  test-server/test-ping.c                |   22 +-
48  test-server/test-server-extpoll.c      |  554 -----
49  test-server/test-server.c              |  349 ++-
50  test-server/test.html                  |    3 +-
51  win32port/zlib/ZLib.vcxproj            |  749 ++++---
52  win32port/zlib/ZLib.vcxproj.filters    |  188 +-
53  win32port/zlib/adler32.c               |  348 ++-
54  win32port/zlib/compress.c              |  160 +-
55  win32port/zlib/crc32.c                 |  867 ++++----
56  win32port/zlib/crc32.h                 |  882 ++++----
57  win32port/zlib/deflate.c               | 3799 +++++++++++++++-----------------
58  win32port/zlib/deflate.h               |  688 +++---
59  win32port/zlib/gzclose.c               |   50 +-
60  win32port/zlib/gzguts.h                |  325 ++-
61  win32port/zlib/gzlib.c                 | 1157 +++++-----
62  win32port/zlib/gzread.c                | 1242 ++++++-----
63  win32port/zlib/gzwrite.c               | 1096 +++++----
64  win32port/zlib/infback.c               | 1272 ++++++-----
65  win32port/zlib/inffast.c               |  680 +++---
66  win32port/zlib/inffast.h               |   22 +-
67  win32port/zlib/inffixed.h              |  188 +-
68  win32port/zlib/inflate.c               | 2976 +++++++++++++------------
69  win32port/zlib/inflate.h               |  244 +-
70  win32port/zlib/inftrees.c              |  636 +++---
71  win32port/zlib/inftrees.h              |  124 +-
72  win32port/zlib/trees.c                 | 2468 +++++++++++----------
73  win32port/zlib/trees.h                 |  256 +--
74  win32port/zlib/uncompr.c               |  118 +-
75  win32port/zlib/zconf.h                 |  934 ++++----
76  win32port/zlib/zlib.h                  | 3357 ++++++++++++++--------------
77  win32port/zlib/zutil.c                 |  642 +++---
78  win32port/zlib/zutil.h                 |  526 ++---
79  69 files changed, 19556 insertions(+), 20145 deletions(-)
80
81 user api changes
82 ----------------
83
84  - libwebsockets_serve_http_file() now takes a context as first argument
85
86  - libwebsockets_get_peer_addresses() now takes a context and wsi as first
87         two arguments
88
89
90 user api additions
91 ------------------
92
93  - lwsl_...() logging apis, default to stderr but retargetable by user code;
94         may be used also by user code
95
96  - lws_set_log_level() set which logging apis are able to emit (defaults to
97         notice, warn, err severities), optionally set the emit callback
98
99  - lwsl_emit_syslog() helper callback emits to syslog
100
101  - lws_daemonize() helper code that forks the app into a headless daemon
102         properly, maintains a lock file with pid in suitable for sysvinit etc to
103         control lifecycle
104
105  - LWS_CALLBACK_HTTP_FILE_COMPLETION callback added since http file
106         transfer is now asynchronous (see test server code)
107
108  - lws_frame_is_binary() from a wsi pointer, let you know if the received
109         data was sent in BINARY mode
110
111
112 user api removals
113 -----------------
114
115  - libwebsockets_fork_service_loop() - no longer supported (had intractable problems)
116         arrange your code to act from the user callback instead from same
117         process context as the service loop
118
119  - libwebsockets_broadcast() - use libwebsocket_callback_on_writable[_all_protocol]()
120         instead from same process context as the service loop.  See the test apps
121         for examples.
122
123  - x-google-mux() removed until someone wants it
124
125  - pre -v13 (ancient) protocol support removed
126
127
128 New features
129 ------------
130
131  - echo test server and client compatible with echo.websocket.org added
132
133  - many new configure options (see README.build) to reduce footprint of the
134         library to what you actually need, eg, --without-client and
135         --without-server
136
137  - http + websocket server can build to as little as 12K .text for ARM
138
139  - no more MAX_CLIENTS limitation; adapts to support the max number of fds
140         allowed to the process by ulimit, defaults to 1024 on Fedora and
141         Ubuntu.  Use ulimit to control this without needing to configure
142         the library.  Code here is smaller and faster.
143
144  - adaptive ratio of listen socket to connection socket service allows
145         good behaviour under Apache ab test load.  Tested with thousands
146         of simultaneous connections
147
148  - reduction in per-connection memory footprint by moving to a union to hold
149         mutually-exclusive state for the connection
150
151  - robustness: Out of Memory taken care of for all allocation code now
152
153  - internal getifaddrs option if your toolchain lacks it (some uclibc)
154
155  - configurable memory limit for deflate operations
156
157  - improvements in SSL code nonblocking operation, possible hang solved,
158         some SSL operations broken down into pollable states so there is
159         no library blocking, timeout coverage for SSL_connect
160
161  - extpoll test server merged into single test server source
162
163  - robustness: library should deal with all recoverable socket conditions
164
165  - rx flowcontrol for backpressure notification fixed and implmeneted
166         correctly in the test server
167
168  - optimal lexical parser added for header processing; all headers in a
169         single 276-byte state table
170
171  - latency tracking api added (configure --with-latency)
172
173  - Improved in-tree documentation, REAME.build, README.coding,
174         README.test-apps, changelog
175
176  - Many small fixes
177
178
179 v1.0-chrome25-firefox17 (6cd1ea9b005933f)