source: trunk/src/emx/ChangeLog.LIBC@ 2110

Last change on this file since 2110 was 2107, checked in by bird, 20 years ago

Added _NSIG and making NSIG and _NSIG equal to SIGRTMAX + 1.

  • Property cvs2svn:cvs-rev set to 1.71
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 15.6 KB
Line 
1/* $Id: ChangeLog.LIBC 2107 2005-06-29 00:48:01Z bird $ */
2
32005-06-28: knut st. osmundsen <bird-gccos2-spam@anduin.net>
4 - *:
5 o Released v0.6 beta 5.
6 o Changed versions to v0.6 rc1.
7 o Created the libc06b5 forwarder dll.
8 - libc:
9 o Added _NSIG and making NSIG and _NSIG equal to SIGRTMAX + 1.
10
112005-06-27: knut st. osmundsen <bird-gccos2-spam@anduin.net>
12 - emxomfld, ld:
13 o Generate .def-file for dlls without one. (This only makes sense for
14 emxomfld since ld doesn't implement __declspec(dllexport) yet, but
15 anyway.)
16 - emxomf, emxomfld:
17 o Kicked out all the old weak handling (from early 3.2.2 alphas).
18
192005-06-26: knut st. osmundsen <bird-gccos2-spam@anduin.net>
20 - libc:
21 o Added [__]isinf[fl] which seems to have been mislaid during the
22 math source import.
23 o Rewrote the libcXXXX.dll install rule to not play with emxload since
24 emxload sticks around when first loaded.
25 o Made unsetenv() cause tzset reload just like putenv() and setenv().
26 o Changed putenv() behaviour for removal (no '=' in input) to be identical
27 to unsetenv(). This solves duplicate variable testcase.
28 o Changed filestreams opened for both reading and writing to switch
29 more willingly between read and write mode.
30 o Made sscan() return EOF on EOF.
31 o Made sscan() skip blanks in input for '%%'.
32 o Implemented the stdio_unlocked stuff with BSD and GLIBC extension.
33 TODO: Require a new locktype which support recursive usage! Currently
34 a hack using 8 free flag bits is used.
35 o Corrected realpath() behaviour to return the path up to the failure
36 point on error. _realrealpath() also does this now.
37 (This also saves us a temp buffer and a copy of the result.)
38 o Fixed a bug in the handling of ".." in the path resolver.
39 o Extended that path resolver to check the directoryness of the input
40 according to flags and any trailing slashes.
41 o Change the path resolver to be very strict about UNC - UNC have exactly
42 two slashes at the start of the path.
43
442005-06-25: knut st. osmundsen <bird-gccos2-spam@anduin.net>
45 - libc:
46 o Fixed SIGINT and similar issues with fork().
47 TODO: LIBC signals depending on 16-bit OS/2 signals will
48 still cause trouble, this needs fixing.
49 o Extended the fmutex error message.
50 o Fixed regression in the fmutex must completion code (bad fs handling).
51
522005-06-23: knut st. osmundsen <bird-gccos2-spam@anduin.net>
53 - libc:
54 o Fixed some more incorrectness of the 'C' locale, it only
55 defines the first 128 chars.
56 o Build hack for math.h.
57 o Updated sys/stat.h, sys/resource.h and sys/_types.h to
58 FreeBSD 5.3 level.
59 o btowc(): WEOF is 32-bit, wchar_t is 16.
60 o *printf(): wide char support.
61 o sysctl(): Changed the boottime alogrithm.
62 o strxfrm(): Corrected the return values.
63 o __ftime(): Corrected regression causing the time to be 35 years wrong.
64 o strftime(): Added C99 %F.
65 o strptime(): Fixed a few parsing and calculation bugs.
66
672005-06-19: knut st. osmundsen <bird-gccos2-spam@anduin.net>
68 - libc:
69 o File resize optimization: The JFS, HPFS and probably NET
70 will never return space which isn't zeroed when expanding
71 a file. Associate a file system information object with the
72 filehandles to keep track of such features. This also fixes
73 the fsStatFH() implementation trouble.
74 This attribute doesn't apply to CDFS. While RAMFS fails
75 the test, it zeros at open but not at setfilesize.
76 o Fixed invalid inode and dev numbers for new files, was passing
77 the wrong path around.
78
792005-06-13: knut st. osmundsen <bird-gccos2-spam@anduin.net>
80 - libc:
81 o Auto init fmutexes.
82 o Fixed potential deadlock the first time a must-complete
83 fmutex was entered.
84 o Replaced mktemp and mkstemp with BSD versions. Also adding
85 mkstemps, mkdtemp, arc4random, arc4random_addrandom and
86 arc4random_stir.
87 o Limited the namespace pollution caused by machine/param.h
88 (included by sys/param.h which is used by lot's of tcpip headers).
89 Define _BSD_NAMESPACE_POLLUTION to get it all.
90 o Fixed bug in getitimer/setitmer, it didn't zero the old value struct
91 if the timer wasn't running.
92 o Fixed a bug in __ftime(), the time was jolting around.
93
942005-06-12: knut st. osmundsen <bird-gccos2-spam@anduin.net>
95 - libc:
96 o Changed the LIBC_PATHREADWRITERS to a generic LIBC_HOOK_DLLS.
97 See src/emx/src/lib/sys/hooks.c for details.
98
992005-06-11: knut st. osmundsen <bird-gccos2-spam@anduin.net>
100 - libc:
101 o The smallcnv stuff is gone, waste of space since we're not really into
102 static linking. Should've done this when switching to gdtoa.
103 o Ported the msun and some other math bits from current FreeBSD libc.
104 This mostly replaces the EMX math, except for some double long variants
105 and some EMX specific ones. This is a risky change, but it's needed
106 if we're gonna catch up on the C99 bits and make libstdc++ happy.
107 There are some new headers, complex.h and fenv.h being the importan ones.
108 float.h have gotten some updates while math.h is totally replaced.
109 More than 100 standard functions were added!
110 NOTE: msun is using MATH_ERREXCEPT (math_errhandling) and not
111 MATH_ERRNO for error reporting.
112 I really hope this is not gonna uncover more OS/2 387 mess.
113 o Handle .cmd, .bat, .btm and hash-bang script files if DosExecPgm()
114 fails. (I'm a little bit uncertain about argv[0], but it appears to work.)
115
1162005-06-05: knut st. osmundsen <bird-gccos2-spam@anduin.net>
117 - libc:
118 o the setitimer backend was making incorrect assumptions about the
119 HTIMER range - NULLHANDLE is valid for HTIMER. Changed it to use ~0U
120 as invalid handle. (untested)
121 o Default TCPIP mode is __USB_LIBC_TCPIP. When either TCPV40HDRS or TCPV41HDRS
122 are defined we are in strict mode and __USB_LIBC_TCPIP will not be defined.
123 - libomflib, emxomfar:
124 o Allow multiple modules by the same basename. This is not in tradition with
125 other librarians, but it solves incompatible behaviour between emxomfar and ar.
126 - ld:
127 o Avoid using alloca since we might easily run out of stack for big objects
128 with debuginfo.
129 - emxomf:
130 o Added support for new EMX a.out stab N_EXP (0x6c). This encodes export
131 definitions. (gcc can do __declspec(dllexport) now.)
132 TODO: ld needs updating, probably this is the right time to drop the
133 old ld and fixup the binutils port!
134
1352005-05-08: knut st. osmundsen <bird-gccos2-spam@anduin.net>
136 - libc:
137 o Added _getenv_[int|long|longlong]. Using this for LIBC_THREAD_MIN_STACK_SIZE.
138 o Ported the BSD SysV Semaphore module.
139 o Added a signal notification callback to the thread structure.
140 o Changed tcpip term callback to more generic exitlist callback (SPM).
141 o Ported the BSD SysV Shared Memory module.
142
1432005-05-05: knut st. osmundsen <bird-gccos2-spam@anduin.net>
144 - libc:
145 o Added fts.h and ported the BSD implementation.
146 It's not 100% correct since we're lacking fchdir and cannot open
147 directories - will update it when this is in place.
148 o Disabled the UF_ and SF_ defines in sys/stat.h since we don't have st_flags.
149 o Added mkfifo (stub).
150 o Added lutimes and futimes, replacing __utimes.
151
1522005-05-01: knut st. osmundsen <bird-gccos2-spam@anduin.net>
153 - libc:
154 o Fixed incorrect d_type returned by readdir and readdir_r.
155 o Changed chdir() to unix style, added _chdir_os2() as a backwards compatible
156 api. _chdir2() and chdir() are operating identically now.
157 o Fixed several incorrect/incomplete path resolve cases. Some causing
158 invalid ino values.
159 o Unlock the libc DLL before installing it (cp, make or someone might be using it).
160 o Unix root rewrite rule ends it's pszTo with a slash, this caused
161 two slashes and thus UNC trouble.
162 o Quick rewrite of access() (also affects eaccess()) to work in chroot environment.
163 o Added O_BINARY to all opens in bsd/db.
164
1652005-04-30: knut st. osmundsen <bird-gccos2-spam@anduin.net>
166 - libmoddef:
167 o Allow empty definition strings. (weakld failed on python _curses_m)
168 - weakld:
169 o Fixed incorrect .def-file parse error message.
170 - sys/param.h:
171 o Added MAXBSIZE, BKVASIZE and BKVAMASK which are used by some BSD tools.
172 - libc:
173 o Added fchmod and reimplemented chmod and lchmod. Still missing FS level
174 unix attribute handling, but this is a start.
175
1762005-04-25: knut st. osmundsen <bird-gccos2-spam@anduin.net>
177 - libc:
178 o Added the sysctl interface from BSD. Not all values are
179 supported, nor are we compatible with tcpip41 sysctl yet.
180
1812005-04-24: knut st. osmundsen <bird-gccos2-spam@anduin.net>
182 - libc:
183 o Fixed bug in getfsstate(). (df from coreutils works now!)
184 o Implemented process priority management. Added nice(), setpriority()
185 and getpriority() in the process.
186 o Added process enumeration and access function to sharedpm.
187
1882005-04-23: knut st. osmundsen <bird-gccos2-spam@anduin.net>
189 - emxomf:
190 o Refined the 'G' hack fixing globals in the text segment.
191 - libc:
192 o Added cs:eip to the abnormal termination message. (signals.c)
193 o Default stack size 512KB when caller specifies 0. (beginthr.c)
194 o Use the env.var. LIBC_THREAD_MIN_STACK_SIZE value as a byte count
195 specifying the minimum stack size. When not specified minium size
196 defaults to 4096. (beginthr.c)
197 o Added the libsocket and libsyslog libraries to the libc IMPORT library.
198 There are now two sets of libc_dll.a/lib libraries, one for tcpipv4 and
199 one for tcpipv41+ (default).
200 o Added nanosleep() and changed usleep() and sleep() to use it.
201 o Added wmemcpy(), wmemset(), wmemcmp(), wmemchr() and wmemmove(). (untested)
202 o Added SUN/HP/RTLinux api gethrtime() as a wrapper around the DosTmr* apis.
203 o Rewrote atexit() fixing problem with the callbacks calling exit() recursivly
204 and adding on_exit().
205 o Added stdio_ext.h and implemented __fpending() and __fbufsize().
206 (Just to make coreutils easier to port.)
207
2082005-03-23: knut st. osmundsen <bird-gccos2-spam@anduin.net>
209 - src/lib/sys/__spawnve.c:
210 o Fixed double free of pFS (should've been pSig).
211 Thanks for froloff.
212
2132005-03-19: knut st. osmundsen <bird-gccos2-spam@anduin.net>
214 - 386/builtin.h:
215 o Fixed serveral bugs in the atomic inc/dec functions.
216 Added a testcase for these.
217 - libc:
218 o Fixed various typos in the socket per process counting. Thanks to
219 nickk for point these out.
220
2212005-03-13: knut st. osmundsen <bird-gccos2-spam@anduin.net>
222 - version.smak:
223 o 6b4 -> 6b5.
224
225 - libc:
226 o Implemented socket duplication.
227 o Fixed various socket close & fork bugs.
228 o Applied parts of tcpipver patches from Lorne and Froloff.
229 o Fixed various UNC trouble reported by David.
230 o Fixed open problem in DosEx.
231 o Fixed incorrect pool allocation in DosEx.
232 o Fixed missing free pool item in DoxEx - *big* leak.
233 o Fixed TID/PID mixup when calling DosVerifyPidTid() from fmutex wait loop.
234 o Applied patch from Nickk for broken settimeofday().
235 o Moved iconv into LIBC.
236 o Ported GLIBC intl and made it a part of LIBC.
237 o Implemented -Zargs-wild and -Zargs-resp crt0 variations.
238 o Added support for single quoted arguments. (pray this doesn't screw up...)
239 o Replaced the __atod implementation with the NETLIB gdtoa implementation
240 used by BSD. (The old routine kept hitting assertions.)
241 o Created libc06a4 forwarder dll.
242
243 - libiconv, libdl, libm:
244 o Made these empty stub libraries.
245
246 - emxomf:
247 o Fixed getopt(,,"l::") problem. BSD getopt doesn't pass FLAG_PERMUTE for getopt and
248 thus it would consume the next argument unless it was an option. Using
249 getopt_long(,,"l::", NULL, NULL) solves the problem.
250
251 - testcases:
252 o Testcases for various new problems/code.
253
2542005-02-01: knut st. osmundsen <bird-gccos2-spam@anduin.net>
255 - libc:
256 o Fixed bogus bubble sort in setlocale/LC_COLLATE.
257
2582005-01-31: knut st. osmundsen <bird-gccos2-spam@anduin.net>
259 - libc:
260 o Applied readdir_r() errno fix from Lorne.
261 o Fixed lstat() backend on request from Lorne.
262
2632005-01-30: knut st. osmundsen <bird-gccos2-spam@anduin.net>
264 - libc:
265 o Applies setlocale patch from Lorne which fixes two bugs in LC_COLLATE.
266
2672005-01-28: knut st. osmundsen <bird-gccos2-spam@anduin.net>
268 - libc:
269 o Applied setlocale patch from Lorne.
270 o Faked the C99 lconv additions by copying the local ones.
271
2722005-01-16: knut st. osmundsen <bird-gccos2-spam@anduin.net>
273 - libos2:
274 o Added SafeDosStartSession from Dmitry Froloff.
275 - libc:
276 o Fixed year problem in settimeofday.
277 o Check if fxsave/fxrstor is supported before using them in fork().
278 ASSUMES cpuid eax=1 works on all targets.
279 o Implemented nl_langinfo(CODESET).
280 o Added bunch a of ASCII codeset name conversions.
281 o Fixed bug in socket inherit over exec/spawn. Thanks to Froloff.
282 o Forgot to take the signal semaphore when receiving a signal
283 from the 16bit handler. Thanks to Froloff.
284 o rmdir errno fix from Lorne.
285 o rmdir shall fail on symlink.
286 o rmdir shall return ENOTDIR if the path isn't a directory (but exists).
287 o Fixed setlocale(LC_ALL/LC_MONETARY, "C").
288 o Changed the process reaper to use internal signal api to skip some overhead.
289 o Fixed a return path from signal raise where the signal sem wasn't
290 released. (The out of queue node hang.)
291 - libsocket:
292 o os2_select: Fixed a couple of filehandle conversion bugs. Thanks to Froloff.
293 o soclose shouldn't return EBADF but ENOSOCK according to the specs.
294 - libsocket, libc:
295 o Return ENOSOCK instead of ENOSYS when attempting socket operation on filehandle.
296
297
2982005-01-??: knut st. osmundsen <bird-gccos2-spam@anduin.net>
299 - libc:
300 o Fixed problem with fork'ed children beliving they were
301 still forking after fork() returned. (DLL load issue)
302 o Fixed signal queue node leak. Thanks to Lorne.
303
3042004-12-20: knut st. osmundsen <bird-gccos2-spam@anduin.net>
305 - libc:
306 o Added inode and dev calculation for fstat and stat.
307 TODO: save unix EAs. opendir d_fileno?
308 o Ported all string/w* functions from FreeBSD except wcsxfrm.c.
309
3102004-12-12: knut st. osmundsen <bird-gccos2-spam@anduin.net>
311 - os2emx.h:
312 o Corrected define of NP_NBLK. (thanks to froloff)
313 - __mcount:
314 o Export stub in all builds but the profiling build.
315 - libdl:
316 o Removed and stubbed it (install). It's all in LIBC now.
317 TODO: make libm and libdl stubbing in LIBC!
318
3192004-12-09: knut st. osmundsen <bird-gccos2-spam@anduin.net>
320 - waitpid(), waitid(), wait(), wait4(), wait3(),
321 __libc_Back_processWait():
322 o Fixed missing WNOHANG handling.
323 Created waitpid-1.c testcase in testcase/misc for this problem.
324 o Clearified error codes ECHILD and EINVAL, use the waitpid() specs.
325
326 - ChangeLog.Libc:
327 o Created this file.
328
Note: See TracBrowser for help on using the repository browser.