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

Last change on this file since 2097 was 2096, checked in by bird, 20 years ago

Generate .def-file for dlls without one.

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