forked from fluffos/fluffos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.fluffos-3.x
231 lines (194 loc) · 10.3 KB
/
ChangeLog.fluffos-3.x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
Wodan announced 3.x release will be maintained by
"Yucong Sun" ([email protected]) for now.
Please submit issue to https://github.com/fluffos/fluffos
Major changes compare to 2.x:
Build:
* FluffOS has switched to c++ language, C++11 (G++ 4.6+, CLANG 2.9+) is required to build.
* FluffOS now use C++ try/catch instead of setjmp/longjmp for LPC error recovery. (wodan)
* FluffOS now uses autoconf for dependency configuraiton. (alpha4 done)
* Libevent 2.0+ is required to build, by default epoll() is used instead of select(). (alpha6)
* all *.c files has been renamed to *.cc. all *_spec.c files has been renamed to
*.spec . (alpha6)
EFUN/Package changes:
* limit for number of total EFUNs has been raised to 65535 (alpha2)
* unique_mapping() no longer leak memory.
* Use c++11 mt19937_64 as driver random number generator engine. quality of random() is improved.
* PACKAGE_CONTRIB: store_variable | fetch_variable accept an object as 3rd last argument. (Lonely@NT)
* PACKAGE_CRYPTO: build fixes and enhancements. ([email protected])
* PACKAGE_SHA1: Fix incorrect sha1() hash generation, verified with tests. ([email protected])
* enable_commands() now accept a int argument, which default to 0, same as old behavior.
When passing 1, driver will setup actions by calling init on its environment, sibling, inventory objects. (in that order).
New compile options/packages:
* PACKAGE_TRIM: (zoilder), rtrim, ltrim, and trim for string trimming.
* POSIX_TIMERS: better time preceision tracking for eval cost. ([email protected])
* CALLOUT_LOOP_PROTECTION: protect call_out(0) loops. ([email protected])
* SANE_SORTING: Use faster sorting implementation for "sort_array()", but requires
LPC code to return conforming results.
* REVERSE_DEFER: fifo execution order for defer() efun (default to lifo)
Misc:
* FluffOS now provide 64bit LPC runtime regardless of host system. (including 32bit linux/CYGWIN).
* addr_server is now obsolete and deleted, the functionaltiy is built-in. (alpha6)
* DEBUG_MACRO is now always true, the functionaltiy is being canonicalized as built-in.
* Various bug/crash fixes.
* new LPC predefine __CXXFLAGS__.
* /doc is restored and content will be updated for each EFUN/Apply changes.
Known Issues:
"-MAX_INT" will not be parsed correctly in LPC(pre-existing bug), see
src/testsuite/single/tests/64bit.c for details.
================================================================================
Per-release ChangeLog
================================================================================
FluffOS 3.0-alpha7.4
New features
* PACKAGE_DB: MYSQL NewDecimal Type This is needed in my system for read
a column SUM(xxx) in a SELECT. (Zoilder)
* Various time tracking efun uses real world time as it should be.
* Driver now calls reclaim_objects() automatically.
* Default evaluator stack has been increased to 6000.
Bug Fix:
* Sending string over UDP port now doesn't contain trailing \0.
Misc
* Moved many internal options to options_internal.
* Optimized funciton lookup cache, also increased default cache size. (CPU saver!)
* New tick_event loop and callback tree implementation.
* Adjusted backend() loop, should have no behavior change.
* Adding back 32bit compile mode test.
* various compile fixing, althrough not complete, but should be compileable under
CYGWIN64 and freebsd using gcc 4.8.
FluffOS 3.0-alpha7.3
* User command execution is now integrated into event loop.
(at least 10% CPU decrease and better fairness among users).
* Fixed unique_mapping() crash when callback returns new objects/array etc.
* Fixed memory corruption issue with unsupported TELNET environment negoation.
* Fixed memory corruption when reading 0 length file.
* restored USE_ICONV in auto testing.
* Moved many options into options_internal.h, all the local_options override still works.
edit_source will print out "extra" defines local_options contains.
This pave the road for reducing complexity of options.h in the future.
* ALLOW_INHERIT_AFTER_FUNCTION is now default, no crash anymore.
* Previously if a user object is destructed, the message in the buffer would be lost.
Now the driver will correctly send them out before terminating connection.
FluffOS 3.0-alpha7.2
* unique_mapping() crash when callback returns a non-shared string.
* move some outdated doc to /doc/archive.
* some format change in EFUN/APPLY doc.
FluffOS 3.0-alpha7.1
* disable_commands() change is reverted, not thought through.
* enable_commands() now accepts a int instead (see 3.0 vs 2.0)
FluffOS 3.0-alpha7
* Check c++11 capability during configuring.
* new LPC predefine __CXXFLAGS__.
* Fixes cmud/zmud problem with TCP_NODELAY with MCCP.
* new debug macro "-dadd_action" to show add_action related logs.
* disable_commands() now accepts one int argument. (see above).
FluffOS 3.0-alpha6.4
* Fixed efun present() issue for object id that ends with digits, added test.
FluffOS 3.0-alpha6.3
* Fixed memory corruption issue for PACKAGE_CRYPTO, added a test.
FluffOS 3.0-alpha6.2
* Fixed memory corruption issue for store_variable(), added test.
* Enable TCP_NODELAY on user socket and lpc socket by default.
FluffOS 3.0-alpha6.1
Major Stuff:
* Libevent 2.0 integration: epoll() for user and lpc sockets!
* Async DNS: Driver will do async dns directly, addr_server support is now obsolete and deleted.
* all *.c files has been changed to *.cc. all *_spec.c files has been changed to
*.spec . (If you are maintaining out of tree patches, be aware!)
* DEBUG_MACRO is now always true, the functionaltiy is being canonicalized as built-in
behavior. You can run "./driver -d<type>" to show vairous debug message in the driver. (or call
efun in debug.c, console support is coming later).
Current choice of <type> includes:
* "-dconnections", shows all player connection related events.
* "-devent", shows internal event loop messages.
* "-ddns", shows async dns resolution messages.
* "-dsockets", shows all lpc socket related messages.
* "-dLPC", shows current LPC execution informations.
* "-dLPC_line", shows current LPC line being executed.
* "-dfile", shows some file related messages.
* empty (aka. "-d"), this currently shows connections + dns + sockets messages, will change later.
* other debug message is not yet fully categorized, like "-dflag".
* Use c++11 mt19937_64 as random number generator engine.
EFUN:
* PACKAGE_CONTRIB: store_variable | fetch_variable accept an object as 3rd last argument. (Lonely@NT)
Other:
* Restore "Mud IP" config line in testsuite, and fixed socket related code to be ip-agnostic.
* Delete all old win32/windows code. And obsolote malloc implementations, the only choice now is
SYSMALLOC (preferred), 32bitmalloc and 64bitmalloc.
* Most of the internal socket related code is now ip-agnostic.
* Force creating dwarf-2 debug info format.
* Make new_user_handler() safe from LPC error().
* Add configure check for C++ 11.
* Allow passing CXXFLAGS to build.FluffOS.
* Fix crash when sending 0 length message through lpc socket.
* Fix buffer underrun in present("1").
* deleted text/html version of document, moved nroff version to /doc.
* add back "-flto" compile option.
FluffOS 3.0-alpha5
REVERSE_DEFER, fifo execution for defer()
Rewrite unique_mapping(), no more memory leak.
Adding a test for unique_mapping.
make DEBUG driver skip graceful crash routine.
Fix ltrim bug (zolider), adding more test cases.
Fix broken get_usec_clock (time_expression).
Also remove some obsolete signal code.
Fix build with PCRE, MYSQL, PGSQL, SQLITE3.
FluffOS 3.0-alpha4
PACKAGE_TRIM: (zoilder), rtrim, ltrim, and trim for string trimming.
FluffOS has switched to use autoconf for compatibility detection.
This has lead to removal of almost half of the code in edit_source.c
Note: the correct way to build is still to launch ./build.FluffOS first,
then make.
Other general code quality imporvements, many old crafts has been removed.
FluffOS 3.0 will only support mondern linux distributions.
FluffOS 3.0-alpha3
FluffOS has switched to c++ language.
use try/catch instead of longjmp. (wodan)
Code quality improvment.
Fix using DEBUG without DEBUGMALLOC_EXTENSIONS cause memory corruption.
FluffOS 3.0-alpha2
General:
Rebased to 2.27 released by wodan.
Build will fail early when local_options is missing.
Enforce source format using astyle.
BugFix:
command() efun will correctly return eval cost.
Crasher 14, crash when returning array types.
Tests:
Tests are now executed randomly.
debugmalloc will fill memory with magic values.
FluffOS 3.0-alpha1
New compile options:
POSIX_TIMERS: better time preceision tracking for eval cost. ([email protected])
CALLOUT_LOOP_PROTECTION: protect call_out(0) loops. ([email protected])
SANE_SORTING: Use faster sorting implementation for "sort_array()", but requires
LPC code to return conforming results.
General:
Build script improvement and compile/warning fixes.
Build under 32bit environment is now supported.
Build under CYGWIN is now supported.
Multiple crasher/memory leaks is fixed.
Documentation has been moved to root directory.
Enable Travis CI to automate test/build for each commit.
Auto print backtrace dump when driver crash.
Print warning on startup if core dump limit is 0.
Compile fix for db.c without PACKAGE_ASYNC. ([email protected])
General code quality improvements.
Packages:
PACKAGE_CRYPTO: build fixes and enhancements. ([email protected])
PACKAGE_SHA1: Fix incorrect sha1() hash generation, verified with tests.
Test:
"make test" will launch testsuite and report any problems.
DEBUGMALLOC, DEBUGMALLOC_EXTENSIONS and CHECK_MEMORY is working now.
Extensive 64bit runtime tests is added.
Switch operator tests.
Benchmarker and auto-crasher improvments.
LPC:
LPC runtime is strictly 64bit now and everything should conform.
MIN_INT, MAX_FLOAT, MIN_FLOAT predefines.
Maximum number of EFUNs has been raised to 65535 from 256.
Known Issues:
"-MAX_INT" is not parsed correctly in LPC(old bug), see
src/testsuite/single/tests/64bit.c for details.
unique_mapping() EFUN will leak memory.
crasher in testsuite needs improvements.