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

Last change on this file since 2086 was 2080, checked in by bird, 20 years ago

* empty log message *

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