d190fc4bec2b6ed99f7fa4c47063a0276e938b37
[reactos.git] / reactos / ChangeLog
1 2004-08-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
2
3 * Makefile: Depend on roscfg.h.
4
5 2004-08-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
6
7 * tools/regtests2xml: New directory.
8 * tools/regtests2xml/.cvsignore: New file.
9 * tools/regtests2xml/Makefile: Ditto.
10 * tools/regtests2xml/regtests2xml.c: Ditto.
11
12 2004-08-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
13
14 * tools/depend.mk: Don't generate dependencies for implib target.
15
16 2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
17
18 * Makefile: Correct dependencies.
19 * tools/Makefile: Silence some annoying messages.
20 * tools/config.mk: Ditto.
21 * rules.mak (MINIMALDEPENDENCIES): New option; minimal dependencies
22 (yes/no). If yes, then components do not depend on all import libraries.
23 If no, then they do. Defaults to yes.
24
25 2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
26
27 * lib/user32/include/debug.h (ASSERT): Don't call KeBugCheck.
28 * lib/user32/misc/dllmain.c (KeBugCheck): Remove declaration.
29
30 2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
31
32 * drivers/net/tcpip/include/.cvsignore: New file.
33 * drivers/net/tcpip/include/precomp.h: New file.
34 * drivers/net/tcpip/Makefile (TARGET_PCH): Set to include/precomp.h.
35 * drivers/net/tcpip/tests/Makefile (TARGET_PCH): Reset.
36 * drivers/net/tcpip/*/*.c: Use pre-compiled header.
37
38 2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
39
40 * drivers/net/ndis/include/.cvsignore: New file.
41 * drivers/net/ndis/.cvsignore: Add *.d.
42 * drivers/net/ndis/Makefile (TARGET_PCH): Set to include/ndissys.h.
43 * drivers/net/ndis/*.c: Use pre-compiled header.
44
45 2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
46
47 * drivers/net/afd/include/.cvsignore: New file.
48 * drivers/net/afd/include/tdiconn.h: Don't include <afd.h>.
49 * drivers/net/afd/.cvsignore: Add *.d.
50 * drivers/net/afd/makefile (TARGET_PCH): Set to include/afd.h.
51
52 2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
53
54 * subsys/system/taskmgr/.cvsignore: Add *.gch.
55 * subsys/system/taskmgr/precomp.h: New file.
56 * subsys/system/taskmgr/makefile (TARGET_PCH): Set to precomp.h.
57 * subsys/system/taskmgr/*.c: Use pre-compiled header.
58
59 2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
60
61 * subsys/system/usetup/.cvsignore: Add *.gch.
62 * subsys/system/usetup/precomp.h: New file.
63 * subsys/system/usetup/makefile (TARGET_PCH): Set to precomp.h.
64 * subsys/system/usetup/*.c: Use pre-compiled header.
65
66 2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
67
68 * subsys/system/cmd/.cvsignore: Add *.gch.
69 * subsys/system/cmd/precomp.h: New file.
70 * subsys/system/cmd/Makefile (TARGET_PCH): Set to precomp.h.
71 * subsys/system/cmd/*.c: Use pre-compiled header.
72
73 2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
74
75 * lib/user32/include/.cvsignore: New file.
76 * lib/user32/Makefile (TARGET_PCH): Set to include/user32.h.
77 * lib/user32/*/*.c: Use pre-compiled header.
78 * include/wine/debug.h (FIXME): Override previous declaration is needed.
79
80 2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
81
82 * lib/userenv/.cvsignore: Add *.gch.
83 * lib/userenv/makefile (TARGET_PCH): Set to precomp.h.
84 * lib/userenv/*.c: Use pre-compiled header.
85
86 2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
87
88 * lib/ws2_32/include/.cvsignore: New file.
89 * lib/ws2_32/makefile (TARGET_PCH): Set to include/ws2_32.h.
90 * lib/ws2_32/include/[catalog.h, handle.h]: Don't include ws2_32.h.
91
92 2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
93
94 * lib/gdi32/include/.cvsignore: New file.
95 * lib/gdi32/.cvsignore: Remove *.gch.
96
97 2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
98
99 * lib/gdi32/.cvsignore: Ignore *.gch.
100 * lib/gdi32/include/precomp.h: New file.
101 * lib/gdi32/Makefile (TARGET_PCH): Set to include/precomp.h.
102 * lib/gdi32/*/*.c: Use pre-compiled header.
103
104 2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
105
106 * lib/msvcrt/.cvsignore: Ignore *.gch.
107 * lib/msvcrt/precomp.h: New file.
108 * lib/msvcrt/Makefile (TARGET_PCH): Set to precomp.h.
109 * lib/msvcrt/*/*.c: Use pre-compiled header.
110
111 2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
112
113 * lib/crtdll/.cvsignore: Ignore *.gch.
114 * lib/crtdll/precomp.h: New file.
115 * lib/crtdll/Makefile (TARGET_PCH): Set to precomp.h.
116 * lib/crtdll/*/*.c: Use pre-compiled header.
117
118 2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
119
120 * lib/advapi32/.cvsignore: Ignore *.gch.
121 * lib/advapi32/advapi32.h: New file.
122 * lib/advapi32/Makefile (TARGET_PCH): Set to advapi32.h.
123 * lib/advapi32/*/*.c: Use pre-compiled header.
124
125 2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
126
127 * ntoskrnl/include/.cvsignore: New file.
128 * ntoskrnl/include/ntoskrnl.h: Ditto.
129 * ntoskrnl/*/*.c: Use pre-compiled header.
130 * ntoskrnl/Makefile: Support pre-compiled header.
131 * tools/helper.mk: .pch files are now .gch files.
132
133 2004-07-24 Casper S. Hornstrup <chorns@users.sourceforge.net>
134
135 * Makefile (DLLS): Add gdiplus.
136 * apistatus.lst: Add gdiplus.dll.
137 * baseaddress.cfg (TARGET_BASE_LIB_GDIPLUS): Declare.
138 * bootdata/packages/reactos.dff: Add gdiplus.dll.
139 * include/ntos/rtl.h (InsertTailList): Remove dependency on RtlAssert.
140 * lib/gdiplus/(gdiplus, include, tests, tests/tests): New directories.
141 * lib/gdiplus/(.cvsignore, gdiplus.def, gdiplus.edf, gdiplus.rc,
142 makefile): New files.
143 * lib/gdiplus/gdiplus/(.cvsignore, *.c): Ditto.
144 * lib/gdiplus/include/(debug.h, GdiPlusPrivate.h): Ditto.
145 * lib/gdiplus/tests/(.cvsignore, Makefile, passthrough.c): Ditto.
146 * lib/gdiplus/tests/tests/(.cvsignore, test-1.c): Ditto.
147
148 2004-07-23 Casper S. Hornstrup <chorns@users.sourceforge.net>
149
150 * Makefile, drivers/video/makefile, lib/cpl/Makefile, ntoskrnl/Makefile,
151 tools/helper.mk: Add test target.
152 * include/ntos/types.h (UINT16, PUINT16): Declare.
153 * regtests/kmregtests/tests/mdl-1.c, regtests/kmregtests/tests/mdl-2.c,
154 regtests/kmregtests/tests/mm-1.c, subsys/win32k/tests/tests/eng-mem-1.c:
155 Simplify tests.
156 * regtests/shared/regtests.c: Include <ctype.h> and <stdlib.h>.
157 * regtests/shared/regtests.h (DISPATCHER): Declare the whole function.
158 * tools/regtests.c: Refactor part of register_test into get_test_name();
159 Stub for running tests in the build environment.
160 * w32api/include/basetsd.h (INT16, PINT16, UINT16, PUINT16): Declare.
161 * lib/user32/misc/exticon.c (UINT16): Remove declaration.
162
163 2004-07-23 Casper S. Hornstrup <chorns@users.sourceforge.net>
164
165 * rules.mak: Be silent only if VERBOSE=no.
166
167 2004-07-23 Casper S. Hornstrup <chorns@users.sourceforge.net>
168
169 * rules.mak: Do not print "'target' is up to date." messages.
170
171 2004-07-21 Casper S. Hornstrup <chorns@users.sourceforge.net>
172
173 * w32api/include/(GdiPlus.h, GdiPlusBase.h, GdiPlusBrush.h, GdiPlusColor.h,
174 GdiPlusColorMatrix.h, GdiPlusEffects.h, GdiPlusEnums.h, GdiPlusFlat.h,
175 GdiPlusGpStubs.h, GdiPlusGraphics.h, GdiPlusHeaders.h,
176 GdiPlusImageAttributes.h, GdiPlusImaging.h GdiPlusInit.h,
177 GdiPlusLineCaps.h, GdiPlusMatrix.h, GdiPlusMem.h, GdiPlusMetaFile.h,
178 GdiPlusMetaHeader.h, GdiPlusPath.h, GdiPlusPen.h, GdiPlusPixelFormats.h,
179 GdiPlusStringFormat.h, GdiPlusTypes.h): New files.
180
181 2004-07-21 Casper S. Hornstrup <chorns@users.sourceforge.net>
182
183 * rules.mak, iface/addsys/makefile, iface/native/makefile,
184 tools/Makefile: Be quiet if VERBOSE=no.
185 * tools/helper.mk: Print module name if it was successfully built.
186 * tools/regtests.c, tools/wine2ros/wine2ros.c: Be quiet.
187
188 2004-06-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
189
190 * tools/helper.mk: Skip automatic dependency tracking if
191 DEPENDENCIES=no.
192
193 2004-05-31 Casper S. Hornstrup <chorns@users.sourceforge.net>
194
195 * include/reactos/version.h (KERNEL_VERSION_BUILD_TYPE): Replace possible
196 value FINAL with RELEASE.
197
198 2004-03-27 Art Yerkes <arty@users.sourceforge.net>
199
200 * Fixed make bootcd on windows + cross. Define TOPDIR as PATH_TO_TOP
201
202 2004-03-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
203
204 * subsys/system/usetup/bootsup.c (UpdateFreeLoaderIni): Use existing
205 ReactOS entry if available.
206
207 2004-03-09 Casper S. Hornstrup <chorns@users.sourceforge.net>
208
209 * regtests/Makefile: Make REGTEST_TARGETS depend on *.c.
210 * regtests/kmregtests/driver.c: Update call to PerformTests().
211 * regtests/kmrtint/kmrtint.c (RegTestMain): Update to match prototype.
212 * regtests/kmrtint/kmrtint.def (RegTestMain): Ditto.
213 * regtests/kmrtint/kmrtint.edf (RegTestMain): Ditto.
214 * regtests/win32base/tests/ws2event.c: New file.
215 * regtests/regtests/regtests.c (OUPUT_MODE_DbgPrint,
216 OUPUT_MODE_OutputDebugString, OUPUT_MODE_printf): Define.
217 (OutputMode): New variable.
218 (OutputRoutine): New function.
219 (RunTestDriver): Add TestName parameter.
220 (main): Parse command line to find output routine and test name.
221 * regtests/shared/regtests.c (PerformTest): Use specified output routine
222 if specified. Run only specified test if specified.
223 (PerformTests): Update call to PerformTest().
224 * regtests/shared/regtests.h (TestOutputRoutine): Add prototype.
225 (TestDriverMain): Add OutputRoutine and TestName parameter.
226 (PerformTests): Ditto.
227 * regtests/win32base/Makefile (TARGET_SDKLIBS): Add ws2_32.a.
228 * regtests/win32base/driver.c (RegTestMain): Update to match prototype.
229 * regtests/win32base/win32base.def (RegTestMain): Ditto.
230 * regtests/win32base/win32base.edf (RegTestMain): Ditto.
231 * tools/regtests.c (UMSTUB): Update call to PerformTests().
232
233 2004-03-04 Casper S. Hornstrup <chorns@users.sourceforge.net>
234
235 * drivers/net/tcpip/tcpip/i386: New directory.
236 * drivers/net/tcpip/tcpip/i386/checksum.S: New file.
237 * drivers/net/tcpip/notes.txt: New file.
238 * drivers/net/afd/afd/dispatch.c (AfdDispCompleteListen): Signal ACCEPT
239 network event.
240 (AfdDispEventSelect): Reference event handle.
241 * drivers/net/afd/afd/tdi.c (TdiListen): Remove unused event.
242 Move Iosb and RequestConnectionInfo to AFD_LISTEN_REQUEST structure.
243 * drivers/net/afd/include/afd.h (AFDFCB): Replace EventObjects with
244 EventObject of type PKEVENT.
245 * drivers/net/tcpip/makefile (ARCH_OBJECTS): New variable.
246 (TARGET_OBJECTS): Add ARCH_OBJECTS.
247 * drivers/net/tcpip/include/address.h (AddrCloneAddress): New prototype.
248 * drivers/net/tcpip/include/checksum.h (ChecksumFold, csum_partial): New
249 prototype.
250 (TCPv4Checksum): New macro.
251 (CorrectChecksum): Rename to IPv4CorrectChecksum.
252 (TCPv4CorrectChecksum): New macro.
253 * drivers/net/tcpip/include/ip.h (IPv4_DF_MASK): New constant.
254 * drivers/net/tcpip/include/tcp.h (TCP_XXX): Correct constants.
255 (TCPCreateSegment, TCPFreeSegment, TCPAddSegment): Prototype.
256 * drivers/net/tcpip/include/titypes.h (TCP_SEND_REQUEST): Add SequenceNumber
257 and AckNumber.
258 (TCP_SEGMENT): New structure.
259 (CONNECTION_ENDPOINT): Add ListenRequest and ReceivedSegments.
260 * drivers/net/tcpip/network/transmit.c (SendFragments): Release memory
261 for Data on failure.
262 * drivers/net/tcpip/tcpip/address.c (AddrCloneAddress): New function.
263 * drivers/net/tcpip/tcpip/checksum.c (ChecksumFold): Factor out folding
264 from ChecksumCompute.
265 * drivers/net/tcpip/tcpip/dispatch.c (DispTdiListen): Support asynchronous
266 operation.
267 * drivers/net/tcpip/tcpip/fileobjs.c (FileOpenAddress): Don't cast to
268 PTDI_ADDRESS_IP.
269 Initialize ReceivedSegments.
270 * drivers/net/tcpip/tcpip/routines.c (DisplayIPHeader): New function.
271 (DisplayIPPacket): Call DisplayIPHeader().
272 (DisplayTCPHeader): Change format strings.
273 * drivers/net/tcpip/transport/tcp/tcp.c (IPIdentification,
274 TCPSegmentList): Add.
275 (TCPCreateSegment, TCPFreeSegment, TCPAddSegment,
276 TCPBuildAndTransmitSendRequest2, TCPiSelectISS, TCPiReceiveListen,
277 TCPiReceiveSynSent, TCPiReceiveSynReceived, TCPiReceiveData): New
278 function.
279 (TCPiBuildPacket): Build segment.
280 (TCPStartup): Initialize TCPSegmentList.
281 (TCPShutdown): Cleanup TCPSegmentList.
282
283 2004-02-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
284
285 * drivers/net/tcpip/datalink/loopback.c: Reformat.
286 * drivers/net/tcpip/network/neighbor.c: Ditto.
287 * drivers/net/tcpip/tcpip/info.c: Ditto.
288 * drivers/net/tcpip/transport/datagram/datagram.c: Cleanup.
289 If there is an out-of-resources situation, don't transmit the
290 datagram out of order.
291
292 2004-02-23 Casper S. Hornstrup <chorns@users.sourceforge.net>
293
294 * tools/regtests.c (KMSTUB): Correct device name.
295
296 2004-02-22 Ge van Geldorp <ge@gse.nl>
297
298 * Implement keyboard navigation for menus
299 * Implement system menus
300
301 2004-02-22 Casper S. Hornstrup <chorns@users.sourceforge.net>
302
303 * Makefile (all): Put REGTESTS dependency earlier in the list.
304 * lib/kernel32/makefile: Support regression tests.
305 * lib/kernel32/misc/dllmain.c: Prepare regression tests.
306 * regtests/win32base/driver.c: (DummyThreadMain,
307 RunPrivateTests): Add.
308 (RegTestMain): Run private module regression tests.
309 * tools/helper.mk: Add rtshared.a to MK_LIBS if building
310 user-mode regression tests.
311 * tools/regtests.c (UMSTUB): Add.
312 (main): Output user-mode stub.
313 * lib/kernel32/tests: New directory.
314 * lib/kernel32/tests/.cvsignore: New file.
315 * lib/kernel32/tests/Makefile: New file.
316 * lib/kernel32/tests/tests: New directory.
317 * lib/kernel32/tests/tests/.cvsignore: New file.
318 * regtests/win32base/tests/file-1.c: move...
319 * lib/kernel32/tests/tests/file-1.c: ...here.
320
321 2004-02-22 Casper S. Hornstrup <chorns@users.sourceforge.net>
322
323 * config (REGRESSIONTESTS): Add.
324 * rules.mak (REGTESTS_PATH_INC): Add.
325 * drivers/net/tcpip/makefile: Support regression tests.
326 * drivers/net/tcpip/tcpip/main.c: Prepare regression tests.
327 * hal/halx86/Makefile: Rename TARGET_LIBPATH to TARGET_IMPLIBPATH.
328 * regtests/kmregtests/driver.c (KMRegTestsRegister): Add.
329 (KMRegTestsRun): Move call to InitializeTests() and RegisterTests() to
330 DriverEntry().
331 (KMRegTestsDispatch): Support IOCTL_KMREGTESTS_REGISTER.
332 * regtests/kmregtests/kmregtests.h (IOCTL_KMREGTESTS_REGISTER): Define.
333 * tools/config.mk: Define REGTESTS if REGRESSIONTESTS = 1.
334 * tools/helper.mk: Support module private regression tests.
335 (TARGET_LIBPATH): Rename to TARGET_IMPLIBPATH.
336 (TARGET_LIBPATH, TARGET_REGTESTS): Add.
337 * tools/mkconfig.c: Support REGTESTS.
338 * tools/regtests.c (umstubfile, kmstubfile): Add.
339 (is_file_changed, write_file_if_changed): Add.
340 (KMSTUB): Add.
341 (HELP): Mention -u and -k switches.
342 (main): Parse -u and -k switches.
343 * drivers/net/tcpip/tests: New directory.
344 * drivers/net/tcpip/tests/.cvsignore: New file.
345 * drivers/net/tcpip/tests/Makefile: Makefile.
346 * drivers/net/tcpip/tests/tests: New directory.
347 * drivers/net/tcpip/tests/tests/.cvsignore: New file.
348
349 2004-02-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
350
351 * apistatus.lst: Correct path of videoprt.dll.
352
353 2004-02-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
354
355 * bootdata/packages/reactos.dff: Add oleaut32.dll.
356
357 2004-01-21 Casper S. Hornstrup <chorns@users.sourceforge.net>
358
359 * apistatus.lst: Rename tdi.dll to tdi.sys.
360
361 2004-01-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
362
363 * tools/winebuild/spec32.c (BuildDef32File): Don't support private flag
364 when cross-compiling.
365
366 2004-01-02 Steven Edwards <Steven_Ed4153@yahoo.com>
367 * ntoskrnl/kd/dlog.c: Make /DEBUGPORT=FILE work. With the help
368 of Filip Navara
369 * ntoskrnl/ke/main.c: Ditto
370
371 2003-12-29 Steven Edwards <Steven_Ed4153@yahoo.com>
372 * lib/version: Sync with Winehq 12-29-03
373
374 2003-12-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
375
376 * apps/utils/net/roshttpd/error.cpp (ReportErrorStr): Cast to wchar_t*,
377 not __wchar_t*.
378 * apps/utils/net/roshttpd/makefile (TARGET_CPPFLAGS): Add -Wno-deprecated.
379 (TARGET_GCCLIBS): Add stdc++.
380 * apps/utils/net/roshttpd/common/socket.cpp: Include <string.h>.
381 * apps/utils/net/roshttpd/common/thread.cpp (CThread::CThread): Fix
382 warning.
383 * drivers/net/afd/afd/afd.c (ListenRequestLookasideList): New variable.
384 (DriverEntry): Initialize ListenRequestLookasideList.
385 * drivers/net/afd/afd/dispatch.c (AfdDispCompleteListen): New function.
386 (AfdDispListen): Partial implement.
387 * drivers/net/afd/afd/opnclose.c (AfdInitializeFCB): Initialize
388 NewFCB->ListenRequestQueue.
389 (AfdKillListenRequests): New function.
390 (AfdClose): Call AfdKillListenRequests.
391 * drivers/net/afd/afd/routines.c (DumpName): New function.
392 * drivers/net/afd/afd/tdi.c (TdiAddressSizeFromType): New function.
393 (TdiBuildConnectionInfo): Initialize ConnInfo->OptionsLength.
394 (TdiBuildNullConnectionInfo): New function.
395 (TdiOpenAddressFileIPv4, TdiOpenConnectionEndpointFile): EaName is
396 0-terminated.
397 (TdiListen): New function.
398 * drivers/net/afd/include/afd.h (AFDFCB): Add ListenRequestQueue.
399 (AFD_LISTEN_REQUEST): New structure.
400 (ListenRequestLookasideList): Declare.
401 (DumpName, TdiListen): Add prototypes.
402 * drivers/net/tcpip/datalink/lan.c (BindAdapter): Initialize
403 AnsiAddress.Length and AnsiAddress.MaximumLength.
404 * drivers/net/tcpip/include/debug.h: Define DEBUG_TCP.
405 * drivers/net/tcpip/include/routines.h (DisplayTCPPacket): Add
406 prototype.
407 (DISPLAY_TCP_PACKET): Define.
408 * drivers/net/tcpip/include/tcp.h (TCPListen): Add prototype.
409 * drivers/net/tcpip/include/titypes.h (ADDRESS_FILE): Add Connection.
410 * drivers/net/tcpip/network/ip.c (IPLocateNTEOnInterface): Cleanup.
411 * drivers/net/tcpip/tcpip/address.c (AddrSearchNext): Port is in
412 network byte order.
413 * drivers/net/tcpip/tcpip/dispatch.c (DispTdiAssociateAddress):
414 Initialize AddrFile->Connection.
415 (DispTdiListen): Implement.
416 * drivers/net/tcpip/tcpip/fileobjs.c (FileOpenAddress): Don't
417 initialize AddrFile->Connections.
418 * drivers/net/tcpip/tcpip/routines.c: Include <tcp.h>.
419 (DisplayIPPacket): Enable.
420 (DisplayTCPHeader, DisplayTCPPacket): New functions.
421 * drivers/net/tcpip/transport/tcp/tcp.c: Include <routines.h>.
422 (TCPListen, TCPiReceive): New functions.
423 (TCPReceive): Partial implement.
424 * lib/msafd/misc/helpers.c (CreateHelperDLLDatabase): Add
425 {SOCK_STREAM,IPPROTO_TCP,0} and {SOCK_DGRAM,IPPROTO_UDP,0} mappings.
426 * lib/ntdll/ldr/utils.c (LdrLoadDll): Print name of DLL if not found.
427 * lib/ws2_32/include/ws2_32.h (Initialized): Declare.
428 (WINSOCK_THREAD_BLOCK): Remove Initialized member.
429 * (WSAINITIALIZED, WSASETINITIALIZED): Update.
430 * lib/ws2_32/misc/catalog.c (CreateCatalog): Add
431 {SOCK_STREAM,IPPROTO_TCP,0} and {SOCK_DGRAM,IPPROTO_UDP,0} mappings.
432 (Initialized): New variable.
433 (DllMain): Don't initialize p->Initialized.
434 * ntoskrnl/dbg/kdb.c: Include <ctype.h>.
435 * subsys/win32k/ntuser/message.c (NtUserDispatchMessage): Kill noisy
436 message.
437
438 2003-12-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
439
440 * tools/wine2ros: New directory.
441 * tools/wine2ros/Makefile: New file.
442 * tools/wine2ros/wine2ros.c: Ditto.
443 * tools/Makefile (wine2ros_target): Add.
444 * rules.mak (WINE2ROS): Define.
445
446 2003-12-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
447
448 Changes for compiling with w32api/Wine
449
450 * include/basetsd.h: #include_next <basetsd.h>. Add definitions missing
451 in w32api.
452 * include/mmddk.h: #include_next <mmddk.h>. Add definitions missing in
453 w32api.
454 * include/wine/winternl.h (DbgPrint): Use ReactOS prototype to avoid
455 conflicts.
456
457 2003-12-09 Casper S. Hornstrup <chorns@users.sourceforge.net>
458
459 * rules.mak (WINEBUILD): Define.
460 * tools/winebuild/Makefile: New file.
461 * tools/winebuild/import.c (ldcombine_files): Replace mkstemps with Win32
462 APIs.
463 * tools/winebuild/main.c (main): Win16 specs and relays are not supported.
464 * tools/winebuild/spec32.c (EXCEPTION_WINE_STUB, EH_NONCONTINUABLE):
465 Define.
466 (BuildDef32File): Don't emit PRIVATE.
467
468 2003-12-09 Casper S. Hornstrup <chorns@users.sourceforge.net>
469
470 * tools/winebuild: Import winebuild from Wine (D20031208).
471
472 2003-12-08 Casper S. Hornstrup <chorns@users.sourceforge.net>
473
474 * include/win32k/text.h (NtGdiExtTextOut): Follow ExtTextOut prototype.
475 * lib/gdi32/objects/text.c (ExtTextOutW): Call NtGdiExtTextOut().
476 * lib/user32/controls/edit.c (EDIT_BuildLineDefs_ML): Order parameters to
477 CreateRectRgn().
478 * lib/user32/windows/draw.c (TabbedTextOutA): Implement.
479 (TEXT_TabbedTextOut): New function.
480 (TabbedTextOutW): Implement.
481 * subsys/win32k/objects/text.c (NtGdiExtTextOut): Call NtGdiTextOut() for
482 now.
483
484 2003-12-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
485
486 * lib/user32/windows/accel.c (U32IsValidAccelMessage): Translate WM_KEYUP
487 and WM_SYSKEYUP messages.
488 (TranslateAcceleratorA): Returntype of RtlMultiByteToUnicodeN is NTSTATUS,
489 so interpret it as such.
490 * subsys/win32k/ntuser/accelerator.c (NtUserDestroyAcceleratorTable):
491 Call ObmCloseHandle() before destroying the object.
492 (IntTranslateAccelerator): New function.
493 (NtUserTranslateAccelerator): Partial implementation.
494
495 2003-12-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
496
497 * subsys/win32k/include/accelerator.h: New file.
498 * subsys/win32k/ntuser/accelerator.c: Ditto.
499 * include/win32k/ntuser.h (NtUserDestroyAcceleratorTable): Make returntype
500 BOOLEAN.
501 * subsys/win32k/makefile (NTUSER_OBJECTS): Add ntuser/accelerator.o.
502 * subsys/win32k/include/object.h (USER_OBJECT_TYPE): Add otAcceleratorTable.
503 * subsys/win32k/main/dllmain.c (DllMain): Call InitAcceleratorImpl().
504 * subsys/win32k/ntuser/stubs.c (NtUserCopyAcceleratorTable,
505 NtUserCreateAcceleratorTable, NtUserDestroyAcceleratorTable,
506 NtUserTranslateAccelerator): Move to accelerator.c.
507
508 2003-12-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
509
510 * apps/tests/accelerator: New directory.
511 * apps/tests/accelerator/accelerator.c: New file.
512 * apps/tests/accelerator/.cvsignore: Ditto.
513 * apps/tests/accelerator/Makefile: Ditto.
514 * apps/tests/Makefile (TEST_APPS): Add accelerator.
515
516 2003-12-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
517
518 * regtests/Makefile: Generate regression test registrations.
519 * regtests/kmregtests/.cvsignore: Ignore Makefile.tests.
520 * regtests/win32base/.cvsignore: Ditto.
521 * regtests/kmregtests/Makefile: Include Makefile.tests.
522 * regtests/win32base/Makefile: Ditto.
523 * regtests/kmregtests/tests: New directory.
524 * regtests/win32base/tests: Ditto.
525 * regtests/kmregtests/tests/.cvsignore: New file.
526 * regtests/win32base/tests/.cvsignore: Ditto.
527 * tools/helper.mk: Remove TARGET_GENREGTESTS.
528 * tools/regtests.c: Generate makefile for regression tests.
529 (change_extension): New function.
530 * regtests/win32base/file-1.c: Move ...
531 * regtests/win32base/tests/file-1.c: ... here.
532
533 2003-12-06 Martin Fuchs <martin-fuchs@gmx.net>
534 * Doxyfile, Makefile: initial doxygen configuration
535 * drivers/Doxyfile, drivers/Makefile: Ditto.
536 * ntoskrnl/Doxyfile, ntoskrnl/Makefile: Ditto.
537 * subsys/win32k/Doxyfile, subsys/win32k/Makefile: Ditto.
538 * apps/Doxyfile, apps/Makefile: Ditto.
539
540 2003-11-29 Casper S. Hornstrup <chorns@users.sourceforge.net>
541
542 * tools/cabman/dfp.cxx (CDFParser::Parse): Allow TokenString.
543 (CDFParser::PerformFileCopy): Use CurrentChar instead of length of
544 CurrentString to find the start of the next token.
545
546 2003-11-08 Martin Fuchs <martin-fuchs@gmx.net>
547
548 * controls/button.c partial fix for for Bug #42:
549 activate Ansi window procedures for standard controls
550 * controls/combo.c Ditto.
551 * controls/edit.c Ditto.
552 * controls/icontitle.c Ditto.
553 * controls/listbox.c Ditto.
554 * controls/static.c Ditto.
555 * windows/dialog.c Ditto.
556 * windows/mdi.c Ditto.
557 * windows/menu.c Ditto.
558 * windows/defwnd.c Fixed WM_GETTEXT error handling in DefWindowProcW().
559
560 2003-10-06 Casper S. Hornstrup <chorns@users.sourceforge.net>
561
562 * Makefile: New target uboot for simple unattended setup.
563 * bootdata/unattend.inf.sample: Sample unattended setup script.
564 * subsys/system/usetup/partlist.c (SelectPartition): New function.
565 * subsys/system/usetup/partlist.h (SelectPartition): Prototype.
566 * subsys/system/usetup/usetup.c: Support unattended setup.
567 (IsUnattendedSetup, UnattendDestinationDiskNumber,
568 UnattendDestinationPartitionNumber, UnattendInstallationDirectory):
569 New.
570 (CheckUnattendedSetup, InstallDirectoryPage1): New function.
571
572 2003-08-30 Filip Navara <xnavara@volny.cz>
573
574 * tools/cabman/cabinet.cxx (CCabinet::ConvertPath): NULL-terminate
575 newpath.
576
577 2003-08-30 Casper S. Hornstrup <chorns@users.sourceforge.net>
578
579 * tools/rmkdir.c: Fix for absolute paths.
580
581 2003-08-30 Casper S. Hornstrup <chorns@users.sourceforge.net>
582
583 * tools/rmkdir.c: Create all (sub)directories in path on win32.
584
585 2003-08-30 Casper S. Hornstrup <chorns@users.sourceforge.net>
586
587 * bootdata/packages/reactos.dff: Don't include winmm.dll in reactos.cab.
588
589 2003-08-29 Casper S. Hornstrup <chorns@users.sourceforge.net>
590
591 * Makefile: Copy freeloader files to bootable CD.
592
593 2003-08-28 Martin Fuchs <martin-fuchs@gmx.net>
594
595 * subsys/system/explorer/taskbar/startmenu.cpp,
596 subsys/system/explorer/shell/shellbrowser.cpp:
597 Implemented control panel window in cabinet view mode.
598
599 2003-08-24 Casper S. Hornstrup <chorns@users.sourceforge.net>
600
601 * Makefile: Support creating compressed bootable CDs.
602 * rules.mak (HOST_CXX, HOST_AR, CABMAN): Define.
603 * bootdata/txtsetup.sif: Add Cabinets section.
604 Remove files that are put in reactos.cab.
605 * subsys/system/usetup/filequeue.c (SetupCloseFileQueue): Release
606 memory allocated for SourceCabinet.
607 (SetupQueueCopy): Support copying files in cabinets.
608 (SetupCommitFileQueue): Support copying files in cabinets.
609 * subsys/system/usetup/filequeue.h (SetupQueueCopy): Add SourceCabinet
610 parameter.
611 * subsys/system/usetup/filesup.c (SetupExtractFile): New function.
612 * subsys/system/usetup/filesup.h (SetupExtractFile): Prototype.
613 * subsys/system/usetup/infcache.c (InfOpenBufferedFile): New function.
614 * subsys/system/usetup/infcache.h (InfOpenBufferedFile): Prototype.
615 * subsys/system/usetup/makefile (TARGET_SDKLIBS): Add zlib.a.
616 (TARGET_CFLAGS): Add zlib to include path.
617 (TARGET_OBJECTS): Add cabinet.o.
618 * subsys/system/usetup/usetup.c (PrepareCopyPageInfFile): New function.
619 (PrepareCopyPage): Process Cabinets section.
620 * tools/helper.mk: Support C++ applications.
621 * rosbin.txt: Remove.
622 * bootdata/packages: New directory.
623 * bootdata/packages/reactos.dff: New file.
624 * lib/zlib/Makefile.host: New file.
625 * subsys/system/usetup/cabinet.c: Ditto.
626 * subsys/system/usetup/cabinet.h: Ditto.
627 * tools/cabman: New directory.
628 * tools/cabman/.cvsignore: New file.
629 * tools/cabman/cabinet.cxx: Ditto.
630 * tools/cabman/cabinet.h: Ditto.
631 * tools/cabman/cabman.h: Ditto.
632 * tools/cabman/dff.txt: Ditto.
633 * tools/cabman/dfp.cxx: Ditto.
634 * tools/cabman/dfp.h: Ditto.
635 * tools/cabman/main.cxx: Ditto.
636 * tools/cabman/makefile: Ditto.
637 * tools/cabman/makefile.win32: Ditto.
638 * tools/cabman/mszip.cxx: Ditto.
639 * tools/cabman/mszip.h: Ditto.
640 * tools/cabman/raw.cxx: Ditto.
641 * tools/cabman/raw.h: Ditto.
642
643 2003-08-24 Casper S. Hornstrup <chorns@users.sourceforge.net>
644
645 * include/structs.h: Apply packed attribute to the typedef, not the
646 type's name.
647 * include/ntos/keyboard.h: Ditto.
648 * include/ntos/tss.h: Ditto.
649 * include/win32k/cursoricon.h: Ditto.
650 * include/win32k/math.h: Include the compiler's math.h for builtins.
651 * ntoskrnl/nt/vdm.c (NtEarlyInitVdm): Avoid warning when compiling using
652 GCC 3.4.
653
654 2003-08-23 Casper S. Hornstrup <chorns@users.sourceforge.net>
655
656 * apps/tests/tcpsvr/tcpsvr.c (main): Fix multiline string constant.
657
658 2003-08-23 Casper S. Hornstrup <chorns@users.sourceforge.net>
659
660 * apps/utils/stats/stats.c (ReadLine): Handle unix end-of-line characters.
661
662 2003-08-23 Casper S. Hornstrup <chorns@users.sourceforge.net>
663
664 * apps/tests/Makefile (TEST_APPS): Remove patblt and stretchblt
665 as they break full make.
666
667 2003-08-22 Martin Fuchs <martin-fuchs@gmx.net>
668
669 * subsys/system/explorer/taskbar/traynotify.cpp:
670 Added tray notification area.
671 Implemented quick launch bar.
672
673 2003-08-22 Martin Fuchs <martin-fuchs@gmx.net>
674
675 * include/wine/commctrl.h:
676 Removed commctrl.h header file to use the one of W32API headers.
677
678 2003-08-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
679
680 * subsys/win32k/ntuser/menu.c (IntSetMenuDefaultItem,
681 IntGetMenuDefaultItem): Fix unsigned/signed warnings.
682
683 2003-08-19 Martin Fuchs <martin-fuchs@gmx.net>
684
685 * subsys/system/explorer/taskbar/startmenu.cpp:
686 Implemented navigation in submenus of the start menu.
687 Start menus can now resolve shortcuts and launch programs.
688
689 2003-08-18 Martin Fuchs <martin-fuchs@gmx.net>
690
691 * subsys/system/explorer/taskbar/taskbar.cpp:
692 First draft of explorer start menu.
693
694 2003-08-17 James Tabor <jimtabor@adsl-64-217-116-74.dsl.hstntx.swbell.net>
695
696 * include/csrss/: csrss.h: implemented Ctrl Event handler
697 * subsys/csrss/api/: conio.c:
698 * subsys/csrss/: api.h:
699 * lib/kernel32/misc/: console.c:
700
701 2003-08-16 Martin Fuchs <martin-fuchs@gmx.net>
702
703 * subsys/system/explorer/taskbar/taskbar.cpp:
704 first draft of working task bar
705
706 2003-08-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
707
708 * include/win32k/ntuser.h (NtUserGetClassName): Make nMaxCount an ULONG.
709 * subsys/win32k/dib/dib16bpp.c: Fix unsigned/signed warnings.
710 * subsys/win32k/dib/dib1bpp.c: Ditto.
711 * subsys/win32k/dib/dib32bpp.c: Ditto.
712 * subsys/win32k/dib/dib4bpp.c: Ditto.
713 * subsys/win32k/dib/dib8bpp.c: Ditto.
714 * subsys/win32k/eng/lineto.c: Ditto.
715 * subsys/win32k/eng/mouse.c: Ditto.
716 * subsys/win32k/eng/xlate.c: Ditto.
717 * subsys/win32k/misc/driver.c: Ditto.
718 * subsys/win32k/ntuser/class.c: Ditto.
719 * subsys/win32k/ntuser/keyboard.c: Ditto.
720 * subsys/win32k/ntuser/timer.c: Ditto.
721 * subsys/win32k/ntuser/window.c: Ditto.
722 * subsys/win32k/objects/bitmaps.c: Ditto.
723 * subsys/win32k/objects/color.c: Ditto.
724 * subsys/win32k/objects/coord.c: Ditto.
725 * subsys/win32k/objects/dib.c: Ditto.
726 * subsys/win32k/objects/path.c: Ditto.
727 * subsys/win32k/objects/region.c: Ditto.
728 * subsys/win32k/objects/text.c: Ditto.
729
730 2003-08-13 Martin Fuchs <martin-fuchs@gmx.net>
731
732 * subsys/system/explorer/taskbar/ex_bar.c, ex_menu.c:
733 Make explorer bar look more like windows taskbar bar
734
735 2003-08-09 Martin Fuchs <martin-fuchs@gmx.net>
736
737 * subsys/system/explorer/*.c: Subclassing of shell window for drawing
738 desktop background. Open child folders by double click in
739 ShellBrowserChild
740
741 2003-08-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
742
743 * bootdata/txtsetup.sif (SetupData): Add /NOBOOTSCREEN to OsLoadOptions.
744 * hal/halx86/display.c (CHAR_ATTRIBUTE_BLACK): Define.
745 (HalClearDisplay): Add CharAttribute parameter.
746 (HalInitializeDisplay, HalReleaseDisplayOwnership): Blue screen.
747 * hal/halx86/halinit.c (DriverEntry): Blue screen for boot phase 2.
748 * include/reactos/resource.h (IDB_BOOTIMAGE): Define.
749 * ntoskrnl/Makefile: Add boot video objects.
750 * ntoskrnl/Makefile.i386: Ditto.
751 * ntoskrnl/ntoskrnl.def: Add boot video exports.
752 * ntoskrnl/ntoskrnl.edf: Ditto.
753 * ntoskrnl/ntoskrnl.rc (IDB_BOOTIMAGE): Define.
754 * ntoskrnl/include/internal/kd.h (KdInit3): Add.
755 * ntoskrnl/kd/kdebug.c (KdInitSystem): Print information in KdInit3.
756 * ntoskrnl/ke/bug.c (KeBugCheckWithTf, KeBugCheckEx): Switch to
757 text-mode on crash if needed.
758 * ntoskrnl/ke/main.c (ExpInitializeExecutive): Display bootscreen image
759 during boot.
760 * ntoskrnl/ke/i386/v86m_sup.S (_KiV86Complete): Restore previous mode and
761 old exception handler list.
762 * subsys/csrss/init.c: Change PrintString to DPRINT1.
763 * subsys/smss/init.c: Change PrintString to DPRINT1.
764 (SignalInitEvent): New.
765 (InitSessionManager): Call SignalInitEvent to switch to text-mode if
766 needed.
767 * subsys/smss/smss.c: Change PrintString to DPRINT1.
768 * ntoskrnl/inbv: New directory.
769 * ntoskrnl/inbv/i386: Ditto.
770 * ntoskrnl/res: Ditto.
771 * include/ntos/bootvid.h: New file.
772 * ntoskrnl/inbv/.cvsignore: Ditto.
773 * ntoskrnl/inbv/bootvid.c: Ditto.
774 * ntoskrnl/inbv/inbv.c: Ditto.
775 * ntoskrnl/inbv/i386/.cvsignore: Ditto.
776 * ntoskrnl/inbv/i386/pixelsup.S: Ditto.
777 * ntoskrnl/res/bootimage.bmp: Ditto.
778
779 2003-08-09 Martin Fuchs <martin-fuchs@gmx.net>
780
781 * win32k/ntuser/window.c implemented NtUserSetShellWindowEx() and
782 introduced NtUserGetShellWindow().
783 * iface/addsys/w32ksvc.db added new syscall for NtUserGetShellWindow().
784 * lib/user32/misc/desktop.c: moved SetShellWindowEx() implementation
785 in kernal space, see NtUserSetShellWindowEx().
786
787 2003-08-09 Martin Fuchs <martin-fuchs@gmx.net>
788
789 * subsys/system/explorer implemented explorer and desktop window
790 using shell view.
791
792 2003-08-09 Casper S. Hornstrup <chorns@users.sourceforge.net>
793
794 * lib/user32/windows/dialog.c (GetDlgItemInt): Fix unsigned/signed
795 warning.
796 * lib/user32/windows/menu.c (IsMenu): Ditto.
797 * lib/user32/windows/messagebox.c (MSGBOX_OnInit): Ditto.
798 * ntoskrnl/mm/ppool.c: Ditto.
799
800 2003-08-09 Martin Fuchs <martin-fuchs@gmx.net>
801
802 * include/func.h: added GetShellWindow()
803 * lib/user32/misc/desktop.c: implemented GetShellWindow(),
804 SetShellWindow() and SetShellWindowEx().
805 * lib/user32/user32.def: Ditto.
806 * lib/user32/user32.edf: Ditto.
807
808 2003-07-29 James Tabor <jimtabor@adsl-64-217-116-74.dsl.hstntx.swbell.net>
809
810 Patch by Art Yerkes <ayerkes@speakeasy.net>
811 * apps/utils/consw/: consw.c makefile runprg.bat Adding Keyboard
812 Testing Code
813
814 In order to use this patch you need a keyboard dll named kbdus.dll.
815 The dll is loaded at runtime, when TranslateMessage is called the
816 first time. Since these dlls are really simple (the kbd_us example
817 is in the DDK), it should be easy to make an LGPL one that gets
818 shipped with ReactOS. The one I am testing with so far is the one
819 from win2k. (arty)
820
821 I've tested this patch it works okay w/o kbdus.dll installed. (jt)
822
823 * apps/utils/Makefile: Main part of patch.
824 * ntoskrnl/include/internal/: kbd.h Ditto.
825 * subsys/csrss/api/conio.c: Ditto.
826 * subsys/csrss/api/wapi.c: Ditto.
827 * subsys/win32k/ldr/loader.c: Ditto.
828 * subsys/win32k/ntuser/input.c: Ditto.
829 * subsys/win32k/ntuser/keyboard.c: Ditto.
830
831 2003-07-24 Casper S. Hornstrup <chorns@users.sourceforge.net>
832
833 * drivers/fs/vfat/*.c: Remove protection of NDEBUG.
834
835 2003-07-24 Casper S. Hornstrup <chorns@users.sourceforge.net>
836
837 Move welcome from rosapps to here and beautify it a bit.
838
839 * Makefile: Copy bootdata/autorun.inf, and bootdata/icon.ico to CD.
840 (SYS_APPS) Add welcome.
841 * include/defines.h (BS_FLAT): Define.
842 * bootdata/autorun.inf: New file.
843 * bootdata/icon.ico: Ditto.
844 * subsys/system/welcome: New directory.
845 * subsys/system/welcome/.cvsignore: New file.
846 * subsys/system/welcome/Makefile: Ditto.
847 * subsys/system/welcome/resource.h: Ditto.
848 * subsys/system/welcome/welcome.c: Ditto.
849 * subsys/system/welcome/welcome.rc: Ditto.
850 * subsys/system/welcome/res/: New directory.
851 * subsys/system/welcome/res/background-right.bmp: New file.
852 * subsys/system/welcome/res/background-top.bmp: Ditto.
853 * subsys/system/welcome/res/default.bmp: Ditto.
854 * subsys/system/welcome/res/icon.ico: Ditto.
855 * subsys/system/welcome/res/topic0.bmp: Ditto.
856 * subsys/system/welcome/res/topic1.bmp: Ditto.
857 * subsys/system/welcome/res/topic2.bmp: Ditto.
858
859 2003-07-23 James Tabor <jimtabor@adsl-64-217-116-74.dsl.hstntx.swbell.net>
860
861 lib/user32/misc/: stubs.c Removed stub for ClientToScreen.
862 lib/user32/windows/: window.c Implemented ClientToScreen &
863 IsIconic.
864
865 2003-07-20 James Tabor <jimtabor@adsl-64-217-116-74.dsl.hstntx.swbell.net>
866
867 * include/win32k/ntuser.h Implemented GetKeyState, GetKeyboardState &
868 SetKeyboardState.
869 * subsys/win32k/ntuser/stubs.c
870 * subsys/win32k/ntuser/keyboard.c
871 * lib/user32/windows/input.c
872
873 2003-07-20 James Tabor <jimtabor@adsl-64-217-116-74.dsl.hstntx.swbell.net>
874
875 * lib/gdi32/misc/stubs.c Implemented Unpluged DC code.
876 * lib/gdi32/objects/dc.c ditto
877 * lib/gdi32/objects/line.c ditto
878 * lib/gdi32/objects/text.c ditto
879 * lib/gdi32/objects/region.c ditto
880 * lib/user32/windows/draw.c Implemented FrameRect, InvertRect and
881 DrawFocusRect.
882
883 2003-07-18 Royce Mitchell III <royce3@ev1.net>
884
885 * drivers/fs/vfat/volume.c: fixed bug lines 88, 92 - wasn't copying
886 null-terminator.
887
888 2003-07-18 Royce Mitchell III <royce3@ev1.net>
889
890 * include/defines.h: added missing DISP_CHANGE_BADPARAM
891 * include/ntos/gditypes.h: fixed DEVMODEA/W structures
892 (had to move POINTL structure from structs.h)
893 * include/win32k/ntuser.h: fixed some parameter lists
894 * subsys/win32k/ntuser/stubs.c: ditto
895 * lib/user32/misc/devmode.c: new function USER32_DevModeA2W
896 converts DEVMODEA structure to a DEVMODEW
897 * lib/user32/include/user32.h: declaration for USER32_DevModeA2W
898 * lib/user32/makefile: added misc/devmode.c
899 * lib/user32/misc/desktop.c: converting CreateDesktopA's
900 DEVMODEA to a DEVMODEW now.
901 * lib/user32/misc/display.c: implemented all functions except
902 GetMonitorInfoA/W
903
904 2003-07-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
905
906 * drivers/fs/ntfs/notes.txt: New file.
907 * drivers/fs/ntfs/close.c: Ditto.
908 * drivers/fs/ntfs/rw.c: Ditto.
909 * drivers/fs/ntfs/attrib.c: Change Cdfs prefix to Ntfs.
910 * drivers/fs/ntfs/fcb.c: Ditto.
911 * drivers/fs/ntfs/finfo.c: Ditto.
912 * drivers/fs/ntfs/fsctl.c: Ditto.
913 * drivers/fs/ntfs/volinfo.c: Ditto.
914 * drivers/fs/ntfs/ntfs.c (DriverEntry): Set remaining dispatch functions.
915 * drivers/fs/ntfs/ntfs.h: Change Cdfs prefix to Ntfs.
916 (NTFS_RECORD_HEADER, FILE_RECORD_HEADER): Document fields.
917 * drivers/fs/ntfs/makefile (TARGET_OBJECTS): Add close.o rw.o.
918
919 2003-07-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
920
921 * INSTALL: Update installation instructions.
922
923 2003-07-16 Royce Mitchell III <royce3@ev1.net>
924
925 * modifed strtok & wcstok in msvcrt so that crtdll can use it.
926 * new private support functions _lasttoken and _wlasttoken to support
927 strtok and wcstok respectively.
928 * fixed lib/msvcrt/stdio/vfscanf.c to remove unnecessary globals.
929 * changed crtdll to use msvcrt's stdio/scanf.c
930
931 2003-07-16 Royce Mitchell III <royce3@ev1.net>
932
933 * fixed warnings at lib/msvcrt/stdio/fputs.c:79
934 and lib/msvcrt/stdlib/errno.c:14
935 and lib/msvcrt/stdlib/wputenv.c:24
936
937 2003-07-16 Royce Mitchell III <royce3@ev1.net>
938
939 * integrated Art Yerkes' _ftime implementation at
940 lib/msvcrt/time/ftime.c
941 * fixed ungetc warning in lib/msvcrt/stdio/vfscanf.c (also
942 renamed ungetc macro to UNGETC for clarity)
943
944 2003-07-15 Royce Mitchell III <royce3@ev1.net>
945
946 * fixed references to errno in MSVCRT to use __set_errno() and
947 _errno() respectively.
948 * Fixed warning (args 3 & 6 in call to CreateThread) in
949 lib/msvcrt/process/threadx.c
950
951 2003-07-15 Royce Mitchell III <royce3@ev1.net>
952
953 * modified crtdll to forward most of it's CTYPE, STRING
954 and WSTRING entries to NTDLL or MSVCRT.
955
956 2003-07-14 James Tabor <jimtabor@adsl-64-217-116-74.dsl.hstntx.swbell.net>
957
958 * lib/gdi32/misc/stubs.c Remove FillRgn.
959 * lib/gdi32/objects/region.c Add FillRng.
960 It looks okay.
961
962 2003-07-12 Casper S. Hornstrup <chorns@users.sourceforge.net>
963
964 Changes for compiling with w32api
965
966 * include/ddk/extypes.h (NPAGED_LOOKASIDE_LIST, PAGED_LOOKASIDE_LIST):
967 Match w32api fields.
968 * include/ddk/halfuncs.h (HalReturnToFirmware, HalReleaseDisplayOwnership,
969 HalQueryDisplayOwnership): Move ...
970 * include/ntos/halfuncs.h: ... here.
971 * include/ntos/rtl.h: (PopEntrySList, PushEntrySList): Move to
972 ntoskrnl/ex/lookas.c.
973 * include/ntos/zw.h (NtAccessCheckAndAuditAlarm, NtCancelTimer,
974 NtCreatePagingFile, NtCreateThread, NtFlushInstructionCache,
975 NtFlushVirtualMemory, NtGetTickCount, NtLoadKey, NtLockVirtualMemory,
976 NtOpenObjectAuditAlarm, NtProtectVirtualMemory, NtQueryDirectoryObject,
977 NtQueryIntervalProfile, NtQueryVirtualMemory, NtRaiseHardError,
978 NtSetInformationKey, NtSetInformationObject, NtSetTimer, NtUnloadKey,
979 NtUnlockVirtualMemory, NtWaitForMultipleObjects, NtCreateProfile,
980 NtDelayExecution, NtExtendSection, NtQuerySection): Include for w32api.
981 * ntoskrnl/ntoskrnl.def (ExInterlockedAddUlong,
982 ExInterlockedInsertHeadList, ExInterlockedInsertTailList,
983 ExInterlockedPopEntryList, ExInterlockedPushEntryList,
984 ExInterlockedRemoveHeadList): Make FASTCALL.
985 * ntoskrnl/ntoskrnl.edf: Ditto.
986 * ntoskrnl/ex/list.c: Ditto.
987 * include/ddk/exfuncs.h: Ditto.
988 (InterlockedPopEntrySList, InterlockedPushEntrySList,
989 ExAllocateFromPagedLookasideList, ExFreeToPagedLookasideList): Add.
990 * ntoskrnl/ex/interlck.c (ExInterlockedDecrementLong,
991 ExInterlockedAddUlong, ExInterlockedIncrementLong): Undefine if defined.
992 * ntoskrnl/ex/lookas.c (PopEntrySList, PushEntrySList,
993 LookasideListLock): Add.
994 * drivers/dd/blue/blue.c: Include <roskrnl.h>.
995 * drivers/dd/videoprt/videoprt.c: Ditto.
996
997 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
998
999 * lib/user32/controls/edit.c (EDIT_EM_SetLimitText,
1000 EDIT_WM_StyleChanged): Fix unsigned/signed warning.
1001
1002 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
1003
1004 * config (DBG): Default to 0.
1005
1006 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
1007
1008 * regtests: New directory.
1009 * regtests/kmregtests: Ditto.
1010 * regtests/kmrtint: Ditto.
1011 * regtests/regtests: Ditto.
1012 * regtests/shared: Ditto.
1013 * regtests/win32base: Ditto.
1014 * include/roskrnl.h: New file.
1015 * regtests/Makefile: Ditto.
1016 * regtests/kmregtests/.cvsignore: Ditto.
1017 * regtests/kmregtests/driver.c: Ditto.
1018 * regtests/kmregtests/kmregtests.h: Ditto.
1019 * regtests/kmregtests/Makefile: Ditto.
1020 * regtests/kmrtint/.cvsignore: Ditto.
1021 * regtests/kmrtint/kmrtint.c: Ditto.
1022 * regtests/kmrtint/kmrtint.def: Ditto.
1023 * regtests/kmrtint/kmrtint.edf: Ditto.
1024 * regtests/kmrtint/Makefile: Ditto.
1025 * regtests/regtests/.cvsignore: Ditto.
1026 * regtests/regtests/Makefile: Ditto.
1027 * regtests/regtests/regtests.c: Ditto.
1028 * regtests/shared/.cvsignore: Ditto.
1029 * regtests/shared/Makefile: Ditto.
1030 * regtests/shared/regtests.c: Ditto.
1031 * regtests/shared/regtests.h: Ditto.
1032 * regtests/win32base/.cvsignore: Ditto.
1033 * regtests/win32base/driver.c: Ditto.
1034 * regtests/win32base/file-1.c: Ditto.
1035 * regtests/win32base/Makefile: Ditto.
1036 * regtests/win32base/win32base.def: Ditto.
1037 * regtests/win32base/win32base.edf: Ditto.
1038 * tools/regtests.c: Ditto.
1039 * Makefile: Add target regtests.
1040 * config: Add SEH option.
1041 * rules.mak: Add tool REGTESTS.
1042 * bootdata/hivesys.inf: Add service kmregtests.
1043 * include/win32k/bitmaps.h (DIB_BitmapInfoSize): Correct prototype.
1044 * ntoskrnl/ke/i386/exp.c (KiKernelTrapHandler): Reverse wrong boolean
1045 expression.
1046 * ntoskrnl/ke/i386/usertrap.c (KiUserTrapHandler): Ditto.
1047 * tools/Makefile: Add tool regtests.
1048 * tools/config.mk: Handle SEH option.
1049 * tools/helper.mk: Support regression tests.
1050
1051 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
1052
1053 * apps/tests/bitblt/bitblt.c (MainWndProc): Declare variables
1054 before any statements are processed in the scope.
1055 * apps/tests/icontest/icontest.c (WinMain): Ditto.
1056 * apps/tests/wm_paint/wm_paint.c (WinMain, MainWndProc): Ditto.
1057
1058 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
1059
1060 * lib/user32/controls/button.c (PB_Paint, GB_Paint): Declare variables
1061 before any statements are processed in the scope.
1062 * lib/user32/controls/combo.c (CBPaintButton): Ditto.
1063 * lib/user32/windows/accel.c (TranslateAcceleratorA): Ditto.
1064 * subsys/win32k/include/class.h (W32kGetClassLong): Fix prototype.
1065 * subsys/win32k/ntuser/class.c (W32kGetClassLong): Match prototype.
1066 * subsys/win32k/ntuser/windc.c (DceAllocDCE): Ditto.
1067 * subsys/win32k/ntuser/window.c (DestroyThreadWindows): Ditto.
1068
1069 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
1070
1071 * tools/rgenstat/rgenstat.c (process_directory): Fix building on Windows.
1072
1073 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
1074
1075 * tools/rgenstat/rgenstat.c (API_INFO): Add filename field.
1076 (path_to_url, get_filename): New functions.
1077 (parse_file, process_directory): Build cvs path.
1078 (generate_xml_for_component): Set file attribute on a function.
1079 * tools/rgenstat/web/rapistatus.css (.h): New class.
1080 * tools/rgenstat/web/rapistatus.js (clickHandler): Go to the file in
1081 ViewCVS on click on a function.
1082 * tools/rgenstat/web/rapistatus.xsl: Handle file attribute.
1083
1084 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
1085
1086 * subsys/win32k/objects/region.c (W32kFillRgn): Fix syntax error.
1087
1088 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
1089
1090 * tools/rgenstat/rgenstat.c (get_previous_identifier): Skip end-of-line
1091 characters when searching for identifier.
1092 (parse_file): Print a warning if no identifier is found.
1093
1094 2003-07-10 James Tabor <jimtabor@adsl-64-217-116-74.dsl.hstntx.swbell.net>
1095
1096 * subsys/win32k/objects/region.c: (W32kFillRgn) Implement.
1097
1098 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1099
1100 * lib/winspool/stubs.c: Add @implemented and @unimplemented to APIs.
1101
1102 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1103
1104 * lib/wsock32/stubs.c: Add @implemented and @unimplemented to APIs.
1105
1106 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1107
1108 * lib/ws2_32/misc/bsd.c: Add @implemented and @unimplemented to APIs.
1109 * lib/ws2_32/misc/dllmain.c: Ditto.
1110 * lib/ws2_32/misc/event.c: Ditto.
1111 * lib/ws2_32/misc/ns.c: Ditto.
1112 * lib/ws2_32/misc/sndrcv.c: Ditto.
1113 * lib/ws2_32/misc/stubs.c: Ditto.
1114 * lib/ws2_32/misc/upcall.c: Ditto.
1115
1116 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1117
1118 * drivers/dd/videoprt/videoprt.c: Add @implemented and @unimplemented
1119 to APIs.
1120
1121 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1122
1123 * lib/version/misc/stubs.c: Add @implemented and @unimplemented to APIs.
1124
1125 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1126
1127 * lib/user32/misc/dde.c: Add @implemented and @unimplemented to APIs.
1128 * lib/user32/misc/desktop.c: Ditto.
1129 * lib/user32/misc/display.c: Ditto.
1130 * lib/user32/misc/exit.c: Ditto.
1131 * lib/user32/misc/object.c: Ditto.
1132 * lib/user32/misc/resources.c: Ditto.
1133 * lib/user32/misc/sprintf.c: Ditto.
1134 * lib/user32/misc/stubs.c: Ditto.
1135 * lib/user32/misc/timer.c: Ditto.
1136 * lib/user32/misc/winhelp.c: Ditto.
1137 * lib/user32/misc/winsta.c: Ditto.
1138 * lib/user32/windows/accel.c: Ditto.
1139 * lib/user32/windows/bitmap.c: Ditto.
1140 * lib/user32/windows/class.c: Ditto.
1141 * lib/user32/windows/clipboard.c: Ditto.
1142 * lib/user32/windows/cursor.c: Ditto.
1143 * lib/user32/windows/dc.c: Ditto.
1144 * lib/user32/windows/defwnd.c: Ditto.
1145 * lib/user32/windows/dialog.c: Ditto.
1146 * lib/user32/windows/draw.c: Ditto.
1147 * lib/user32/windows/font.c: Ditto.
1148 * lib/user32/windows/hook.c: Ditto.
1149 * lib/user32/windows/icon.c: Ditto.
1150 * lib/user32/windows/input.c: Ditto.
1151 * lib/user32/windows/mdi.c: Ditto.
1152 * lib/user32/windows/menu.c: Ditto.
1153 * lib/user32/windows/message.c: Ditto.
1154 * lib/user32/windows/messagebox.c: Ditto.
1155 * lib/user32/windows/nonclient.c: Ditto.
1156 * lib/user32/windows/paint.c: Ditto.
1157 * lib/user32/windows/prop.c: Ditto.
1158 * lib/user32/windows/rect.c: Ditto.
1159 * lib/user32/windows/text.c: Ditto.
1160 * lib/user32/windows/window.c: Ditto.
1161
1162 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1163
1164 * drivers/net/tdi/cte/string.c: Add @implemented and @unimplemented to
1165 APIs.
1166 * drivers/net/tdi/cte/stubs.c: Ditto.
1167 * drivers/net/tdi/tdi/dereg.c: Ditto.
1168 * drivers/net/tdi/tdi/handler.c: Ditto.
1169 * drivers/net/tdi/tdi/obsolete.c: Ditto.
1170 * drivers/net/tdi/tdi/stubs.c: Ditto.
1171
1172 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1173
1174 * lib/snmpapi/snmpapi.c: Add @implemented and @unimplemented to APIs.
1175
1176 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1177
1178 * lib/secur32/lsa.c: Add @implemented and @unimplemented to APIs.
1179
1180 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1181
1182 * drivers/storage/scsiport/scsiport.c: Add @implemented and
1183 @unimplemented to APIs.
1184
1185 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1186
1187 * drivers/net/ndis/ndis/40gone.c: Add @implemented and @unimplemented
1188 to APIs.
1189 * drivers/net/ndis/ndis/50gone.c: Ditto.
1190 * drivers/net/ndis/ndis/buffer.c: Ditto.
1191 * drivers/net/ndis/ndis/cl.c: Ditto.
1192 * drivers/net/ndis/ndis/cm.c: Ditto.
1193 * drivers/net/ndis/ndis/co.c: Ditto.
1194 * drivers/net/ndis/ndis/control.c: Ditto.
1195 * drivers/net/ndis/ndis/hardware.c: Ditto.
1196 * drivers/net/ndis/ndis/io.c: Ditto.
1197 * drivers/net/ndis/ndis/memory.c: Ditto.
1198 * drivers/net/ndis/ndis/miniport.c: Ditto.
1199 * drivers/net/ndis/ndis/protocol.c: Ditto.
1200 * drivers/net/ndis/ndis/string.c: Ditto.
1201 * drivers/net/ndis/ndis/stubs.c: Ditto.
1202 * drivers/net/ndis/ndis/time.c: Ditto.
1203
1204 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1205
1206 * lib/kernel32/debug/break.c: Add @implemented and @unimplemented
1207 to APIs.
1208 * lib/kernel32/debug/debugger.c: Ditto.
1209 * lib/kernel32/debug/output.c: Ditto.
1210 * lib/kernel32/except/except.c: Ditto.
1211 * lib/kernel32/file/backup.c: Ditto.
1212 * lib/kernel32/file/cnotify.c: Ditto.
1213 * lib/kernel32/file/copy.c: Ditto.
1214 * lib/kernel32/file/create.c: Ditto.
1215 * lib/kernel32/file/curdir.c: Ditto.
1216 * lib/kernel32/file/delete.c: Ditto.
1217 * lib/kernel32/file/deviceio.c: Ditto.
1218 * lib/kernel32/file/dir.c: Ditto.
1219 * lib/kernel32/file/dosdev.c: Ditto.
1220 * lib/kernel32/file/file.c: Ditto.
1221 * lib/kernel32/file/find.c: Ditto.
1222 * lib/kernel32/file/iocompl.c: Ditto.
1223 * lib/kernel32/file/lfile.c: Ditto.
1224 * lib/kernel32/file/lock.c: Ditto.
1225 * lib/kernel32/file/mailslot.c: Ditto.
1226 * lib/kernel32/file/move.c: Ditto.
1227 * lib/kernel32/file/npipe.c: Ditto.
1228 * lib/kernel32/file/pipe.c: Ditto.
1229 * lib/kernel32/file/rw.c: Ditto.
1230 * lib/kernel32/file/tape.c: Ditto.
1231 * lib/kernel32/file/volume.c: Ditto.
1232 * lib/kernel32/mem/global.c: Ditto.
1233 * lib/kernel32/mem/heap.c: Ditto.
1234 * lib/kernel32/mem/isbad.c: Ditto.
1235 * lib/kernel32/mem/local.c: Ditto.
1236 * lib/kernel32/mem/procmem.c: Ditto.
1237 * lib/kernel32/mem/section.c: Ditto.
1238 * lib/kernel32/mem/virtual.c: Ditto.
1239 * lib/kernel32/misc/atom.c: Ditto.
1240 * lib/kernel32/misc/comm.c: Ditto.
1241 * lib/kernel32/misc/computername.c: Ditto.
1242 * lib/kernel32/misc/console.c: Ditto.
1243 * lib/kernel32/misc/env.c: Ditto.
1244 * lib/kernel32/misc/error.c: Ditto.
1245 * lib/kernel32/misc/errormsg.c: Ditto.
1246 * lib/kernel32/misc/handle.c: Ditto.
1247 * lib/kernel32/misc/ldr.c: Ditto.
1248 * lib/kernel32/misc/mbchars.c: Ditto.
1249 * lib/kernel32/misc/muldiv.c: Ditto.
1250 * lib/kernel32/misc/perfcnt.c: Ditto.
1251 * lib/kernel32/misc/profile.c: Ditto.
1252 * lib/kernel32/misc/res.c: Ditto.
1253 * lib/kernel32/misc/stubs.c: Ditto.
1254 * lib/kernel32/misc/sysinfo.c: Ditto.
1255 * lib/kernel32/misc/time.c: Ditto.
1256 * lib/kernel32/misc/toolhelp.c: Ditto.
1257 * lib/kernel32/process/cmdline.c: Ditto.
1258 * lib/kernel32/process/create.c: Ditto.
1259 * lib/kernel32/process/proc.c: Ditto.
1260 * lib/kernel32/process/session.c: Ditto.
1261 * lib/kernel32/string/lstring.c: Ditto.
1262 * lib/kernel32/synch/critical.c: Ditto.
1263 * lib/kernel32/synch/event.c: Ditto.
1264 * lib/kernel32/synch/intrlck.c: Ditto.
1265 * lib/kernel32/synch/mutex.c: Ditto.
1266 * lib/kernel32/synch/sem.c: Ditto.
1267 * lib/kernel32/synch/timer.c: Ditto.
1268 * lib/kernel32/synch/wait.c: Ditto.
1269 * lib/kernel32/thread/fiber.c: Ditto.
1270 * lib/kernel32/thread/fls.c: Ditto.
1271 * lib/kernel32/thread/thread.c: Ditto.
1272 * lib/kernel32/thread/tls.c: Ditto.
1273
1274 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1275
1276 * lib/iphlpapi/iphlpapi.c: Add @implemented and @unimplemented
1277 to APIs.
1278
1279 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1280
1281 * lib/gdi32/main/dllmain.c: Add @implemented and @unimplemented
1282 to APIs.
1283 * lib/gdi32/misc/stubs.c: Ditto.
1284 * lib/gdi32/misc/stubsa.c: Ditto.
1285 * lib/gdi32/misc/stubsw.c: Ditto.
1286 * lib/gdi32/objects/bitblt.c: Ditto.
1287 * lib/gdi32/objects/brush.c: Ditto.
1288 * lib/gdi32/objects/clip.c: Ditto.
1289 * lib/gdi32/objects/dc.c: Ditto.
1290 * lib/gdi32/objects/fillshap.c: Ditto.
1291 * lib/gdi32/objects/line.c: Ditto.
1292 * lib/gdi32/objects/pen.c: Ditto.
1293 * lib/gdi32/objects/region.c: Ditto.
1294 * lib/gdi32/objects/text.c: Ditto.
1295
1296 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1297
1298 * drivers/storage/class2/class2.c: Add @implemented and @unimplemented
1299 to APIs.
1300
1301 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1302
1303 * lib/advapi32/misc/shutdown.c: Add @implemented and @unimplemented
1304 to APIs.
1305 * lib/advapi32/misc/stubs.c: Ditto.
1306 * lib/advapi32/misc/sysfunc.c: Ditto.
1307 * lib/advapi32/reg/reg.c: Ditto.
1308 * lib/advapi32/sec/ac.c: Ditto.
1309 * lib/advapi32/sec/misc.c: Ditto.
1310 * lib/advapi32/sec/sec.c: Ditto.
1311 * lib/advapi32/sec/sid.c: Ditto.
1312 * lib/advapi32/service/scm.c: Ditto.
1313 * lib/advapi32/service/sctrl.c: Ditto.
1314 * lib/advapi32/token/privilege.c: Ditto.
1315 * lib/advapi32/token/token.c: Ditto.
1316
1317 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1318
1319 * tools/rgenstat/rgenstat.c (parse_file): Be silent.
1320
1321 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1322
1323 * rules.mak (XSLTPROC): Add.
1324 * tools/Makefile: Add rgenstat.
1325 * apistatus.lst: New file.
1326 * tools/rgenstat: New directory.
1327 * tools/rgenstat/.cvsignore: New file.
1328 * tools/rgenstat/llmosrt.c: Ditto.
1329 * tools/rgenstat/Makefile: Ditto.
1330 * tools/rgenstat/rgenstat.c: Ditto.
1331 * tools/rgenstat/web: New directory.
1332 * tools/rgenstat/web/*.gif: New files.
1333 * tools/rgenstat/web/.cvsignore: New file.
1334 * tools/rgenstat/web/rapistatus.css: Ditto.
1335 * tools/rgenstat/web/rapistatus.js: Ditto.
1336 * tools/rgenstat/web/rapistatus.xsl: Ditto.
1337
1338 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1339
1340 * drivers/fs/vfat/misc.c (VfatLockControl): Move it so it is placed
1341 before it is referenced.
1342 * include/win32k/ntuser.h (NtUserQueryWindow): Correct prototype.
1343 * lib/winedbgc/debug.c (default_dbg_vlog): Use wine_dbg_vprintf, not
1344 __wine_dbg_vprintf.
1345 * ntoskrnl/nt/vdm.c (NtEarlyInitVdm): Work around GCC 3.4 trying to be
1346 smart.
1347
1348 2003-07-07 James Tabor <jimtabor@adsl-64-217-116-74.dsl.hstntx.swbell.net>
1349
1350 * subsys/win32k/ntuser/window.c: (NtUserQueryWindow) Implement.
1351 * include/win32k/ntuser.h: Ditto.
1352 * lib/user32/windows/window.c: (GetWindowThreadProcessId) Implement.
1353
1354 2003-07-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
1355
1356 * lib/user32/windows/defwnd.c (DefWndHandleLButtonUpNC,
1357 User32DefWindowProc): Only send WM_SYSCOMMAND message, not WM_CLOSE.
1358 (DefWndHandleSysCommand): Handle SC_CLOSE message.
1359
1360 2003-07-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
1361
1362 * include/win32k/ntuser.h (NtUserSetFocus): Correct prototype.
1363 * lib/user32/misc/stubs.c (SetFocus): Remove.
1364 * lib/user32/windows/defwnd.c (KEYDATA_ALT): New.
1365 (User32DefWindowProc): Handle WM_SYSKEYDOWN.
1366 * lib/user32/windows/input.c (SetFocus): New.
1367 * subsys/win32k/include/msgqueue.h (USER_MESSAGE_QUEUE): Document
1368 FocusWindow field.
1369 * subsys/win32k/include/window.h (W32kSetFocusWindow): Change return type
1370 to HWND.
1371 * subsys/win32k/include/winsta.h (W32kGetFocusMessageQueue): New.
1372 * subsys/win32k/ntuser/input.c (KeyboardThreadMain): Handle system keys.
1373 * subsys/win32k/ntuser/keyboard.c (NtUserSetFocus): New.
1374 * subsys/win32k/ntuser/msgqueue.c (MsqPostKeyboardMessage): Implement.
1375 * subsys/win32k/ntuser/stubs.c (NtUserSetFocus): Remove.
1376 * subsys/win32k/ntuser/window.c (W32kSetFocusWindow): Implement.
1377 (NtUserGetClientRect, W32kGetWindowProc, NtUserCreateWindowEx): Release
1378 window reference on error.
1379 (W32kDestroyWindow): Remove focus from window tree before destroying it
1380 if needed.
1381 * subsys/win32k/ntuser/winpos.c (WinPosChangeActiveWindow): Implement.
1382 (WinPosShowWindow): Activate window if needed.
1383 * subsys/win32k/ntuser/winsta.c (W32kGetFocusMessageQueue): New.
1384
1385 2003-06-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
1386
1387 * lib/user32/controls/button.c (ButtonWndProc_common): Fix unsigned/signed
1388 warning.
1389
1390 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
1391
1392 * include/ddk/dbgfuncs.h: Move ...
1393 * include/ntos/dbgfuncs.h: ... here.
1394 * include/basetsd.h (LONG32): Make it a long.
1395 * include/ntos.h: Include ntos/dbgfuncs.h.
1396 * include/ddk/dbgfuncs.h (DBG_STATUS_*, DBG_GET_SHOW_*): Move to
1397 include/ntos/dbgfuncs.h.
1398 * include/ddk/exfuncs.h (ExNotifyCallback): Match w32api prototype.
1399 (*BinaryTree, *SplayTree, *HashTable): Move to include/ntos/zw.h.
1400 * include/ddk/extypes.h (TRAVERSE_METHOD, PKEY_COMPARATOR,
1401 PTRAVERSE_ROUTINE, _BINARY_TREE_NODE, BINARY_TREE, SPLAY_TREE_NODE,
1402 SPLAY_TREE, HASH_TABLE): Move to include/ntos/zwtypes.h.
1403 * include/ddk/status.h (STATUS_PATH_SYNTAX_BAD): Rename to
1404 STATUS_OBJECT_PATH_SYNTAX_BAD.
1405 * apps/utils/objdir/objdir.c (StatusToName): Change
1406 STATUS_PATH_SYNTAX_BAD to STATUS_OBJECT_PATH_SYNTAX_BAD.
1407 * ntoskrnl/dbg/errinfo.c: Use STATUS_OBJECT_PATH_SYNTAX_BAD.
1408 * include/ntos/rtl.h (RtlQueryRegistryValues, RtlWriteRegistryValue,
1409 RtlDeleteRegistryValue): Match w32api prototypes.
1410 * include/ntos/zw.h (ZwQuerySystemTime): Ditto.
1411 * lib/kernel32/file/cnotify.c (FindFirstChangeNotificationW): Use
1412 STATUS_OBJECT_PATH_SYNTAX_BAD.
1413 * lib/ntdll/rtl/registry.c (RtlDeleteRegistryValue,
1414 RtlQueryRegistryValues, RtlWriteRegistryValue): Match w32api prototypes.
1415 * ntoskrnl/cm/cm.h, ntoskrnl/cm/ntfunc.c, ntoskrnl/cm/regfile.c: Change
1416 FILETIME to LARGE_INTEGER.
1417 * ntoskrnl/cm/rtlfunc.c (RtlDeleteRegistryValue, RtlQueryRegistryValues,
1418 RtlWriteRegistryValue): Match w32api prototypes.
1419 * ntoskrnl/ex/callback.c (ExNotifyCallback): Ditto.
1420 * ntoskrnl/ex/time.c (NtQuerySystemTime): Ditto.
1421
1422 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
1423
1424 * hal/halx86/dma.c (AdapterObjects): Don't put braces on scalar
1425 initializers.
1426
1427 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
1428
1429 Changes for compiling with w32api
1430
1431 * include/ddk/obfuncs.h (ObCreateObject): Remove.
1432 * include/ntos/zwtypes.h (ObRosCreateObject): Add.
1433 * ntoskrnl/ntoskrnl.def, ntoskrnl/ntoskrnl.edf: Export ObCreateObject@36
1434 and ObRosCreateObject@20.
1435 * ntoskrnl/cm/ntfunc.c, ntoskrnl/cm/registry.c, ntoskrnl/cm/regobj.c,
1436 ntoskrnl/io/create.c, ntoskrnl/io/device.c, ntoskrnl/io/iocomp.c,
1437 ntoskrnl/lpc/connect.c, ntoskrnl/lpc/create.c, ntoskrnl/mm/section.c,
1438 ntoskrnl/nt/evtpair.c, ntoskrnl/nt/mutant.c, ntoskrnl/nt/ntevent.c,
1439 ntoskrnl/nt/ntsem.c, ntoskrnl/nt/nttimer.c, ntoskrnl/nt/profile.c,
1440 ntoskrnl/ob/dirobj.c, ntoskrnl/ob/namespc.c, ntoskrnl/ob/symlink.c,
1441 ntoskrnl/ps/create.c, ntoskrnl/ps/process.c, ntoskrnl/se/token.c,
1442 subsys/win32k/ntuser/winsta.c: Use ObRosCreateObject, not ObCreateObject.
1443 * ntoskrnl/ob/object.c (ObRosCreateObject): Rename from ObCreateObject.
1444 (ObCreateObject): Add stub.
1445
1446 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
1447
1448 Changes for compiling with w32api
1449
1450 * include/ddk/cctypes.h (PREACTOS_COMMON_FCB_HEADER): Remove.
1451 (FSRTL_COMMON_FCB_HEADER): Add.
1452 * include/ddk/iotypes.h (FILE_OBJECT): Rename field
1453 SectionObjectPointers to SectionObjectPointer.
1454 * ntoskrnl/cc/copy.c, ntoskrnl/cc/misc.c, ntoskrnl/cc/pin.c,
1455 ntoskrnl/cc/view.c, ntoskrnl/io/rawfs.c, ntoskrnl/mm/section.c,
1456 drivers/fs/cdfs/cleanup.c, drivers/fs/cdfs/fcb.c,
1457 drivers/fs/cdfs/fsctl.c, drivers/fs/ntfs/fcb.c, drivers/fs/ntfs/fsctl.c,
1458 drivers/fs/vfat/close.c, drivers/fs/vfat/create.c,
1459 drivers/fs/vfat/finfo.c, drivers/fs/vfat/fcb.c, drivers/fs/vfat/fsctl.c:
1460 Use new FILE_OBJECT structure.
1461 * drivers/fs/cdfs/cdfs.h, drivers/fs/ntfs/ntfs.h, drivers/fs/vfat/vfat.h:
1462 Use new FSRTL_COMMON_FCB_HEADER structure.
1463 * drivers/net/afd/include/afd.h (FSRTL_COMMON_FCB_HEADER): Remove.
1464 * include/ddk/ketypes.h (KQUEUE): Match w32api structure.
1465 * ntoskrnl/ke/queue.c, ntoskrnl/ke/wait.c: Use new structure.
1466 * ntoskrnl/ke/spinlock.c (KeAcquireSpinLockAtDpcLevel,
1467 KeReleaseSpinLockFromDpcLevel): Undefine before declaring.
1468
1469 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
1470
1471 Changes for compiling with w32api
1472
1473 * include/ddk/ketypes.h (KSPIN_LOCK, PKSPIN_LOCK): Match w32api
1474 structures.
1475 * ntoskrnl/ke/spinlock.c: Use new structures.
1476
1477 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
1478
1479 Changes for compiling with w32api
1480
1481 * include/ddk/service.h: Move ...
1482 * include/ntos/service.h: ... here.
1483 * include/ddk/kdfuncs.h: Move ...
1484 * include/ntos/kdfuncs.h: ... here.
1485 * include/ntos/halfuncs.h: New file.
1486 * ntoskrnl/include/internal/hal/hal.h,
1487 ntoskrnl/include/internal/hal/bus.h,
1488 ntoskrnl/include/internal/hal/mps.h: Remove.
1489 * hal/halx86/include/hal.h: Remove disabled code.
1490 * include/ntos.h: Include ntos/service.h, ntos/halfuncs.h, and
1491 ntos/kdfuncs.h.
1492 * include/ddk/fstypes.h (FILE_LOCK_TOC): Move ...
1493 * include/ntos/file.h: ... here.
1494 * include/ddk/halfuncs.h (HalAllProcessorsStarted,
1495 HalBeginSystemInterrupt, HalDisableSystemInterrupt,
1496 HalEnableSystemInterrupt, HalEndSystemInterrupt,
1497 HalInitializeProcessor, HalInitSystem, HalReportResourceUsage): Move to
1498 include/ntos/halfuncs.h.
1499 * include/ddk/iofuncs.h (IoAssignDriveLetters): Ditto.
1500 * include/ddk/kefuncs.h (KeInitializeApc): Match w32api prototype.
1501 (KeRaiseIrqlToSynchLevel): Move to include/ntos/halfuncs.h.
1502 * include/ddk/ketypes.h (KAPC_ENVIRONMENT): Move to include/ntos/types.h.
1503 (KDEVICE_QUEUE, KDEVICE_QUEUE_ENTRY): Match w32api prototype.
1504 (KINTERRUPT): Move to include/ntos/zwtypes.h.
1505 * include/ddk/mmtypes.h (PAGE_ROUND_UP, PAGE_ROUND_DOWN): Move ...
1506 * include/ntos/mm.h: ... here.
1507 * include/ddk/ntddk.h: Don't include ddk/kdfuncs.h.
1508 * include/ddk/pstypes.h (PKTHREAD, PRKTHREAD): Add.
1509 (PsInitialSystemProcess, PsProcessType, PsThreadType): Move ...
1510 include/ntos/ps.h: ... here.
1511 * lib/ntdll/rtl/i386/exception.c (SehpContinue): New.
1512 * ntoskrnl/rtl/i386/exception.c (SehpContinue): Ditto.
1513 * ntoskrnl/include/internal/ke.h: Include <ddk/ntifs.h>.
1514 * ntoskrnl/include/internal/ntoskrnl.h: Include internal/ke.h.
1515 * ntoskrnl/ex/napi.c: Use new structure SSDT_ENTRY.
1516 * ntoskrnl/ke/apc.c (KeInitializeApc): Match w32api prototype.
1517 * ntoskrnl/ke/kqueue.c: Use fields of new structures KDEVICE_QUEUE
1518 and KDEVICE_QUEUE_ENTRY.
1519
1520 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
1521
1522 * ntoskrnl/cm/regfile.c (CmiCopyKey): Fix unsigned/signed warning.
1523
1524 2003-06-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
1525
1526 * lib/user32/windows/icon.c (CURSORICON_FindBestCursor,
1527 CURSORICON_FindBestIcon): Fix unsigned/signed warning.
1528
1529 2003-06-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
1530
1531 Changes for compiling with w32api
1532
1533 * ntoskrnl/include/internal/i386/ps.h (KPCR_TSS): Redefine as 0x3C.
1534 (KPCR_TIB): New structure.
1535 (IKPCR): Ditto.
1536 (KPCR): Match w32api structure fieldnames.
1537 * ntoskrnl/ke/main.c (ExpInitializeExecutive): Adjust for changes to KPCR.
1538 * ntoskrnl/ke/i386/kernel.c: Ditto.
1539 * ntoskrnl/ps/thread.c: Ditto.
1540
1541 2003-06-01 Casper S. Hornstrup <chorns@users.sourceforge.net>
1542
1543 Changes for compiling with w32api
1544
1545 * include/ntos/zwtypes.h (SYSTEM_MODULES): Rename to
1546 SYSTEM_MODULE_INFORMATION. Match w32api structure fieldnames.
1547 (SYSTEM_MODULE_INFORMATION): Rename to SYSTEM_MODULE_INFORMATION_ENTRY.
1548 Match w32api structure fieldnames.
1549 * include/epsapi.h: Include <ntos.h>.
1550 (PSYSMOD_ENUM_ROUTINE, PsaCaptureSystemModules, PsaWalkSystemModules,
1551 PsaWalkFirstSystemModule, PsaWalkNextSystemModule): Use
1552 SYSTEM_MODULE_INFORMATION_ENTRY and SYSTEM_MODULE_INFORMATION structures.
1553 * lib/epsapi/enum/drivers.c: Use SYSTEM_MODULE_INFORMATION_ENTRY and
1554 SYSTEM_MODULE_INFORMATION structures.
1555 * lib/psapi/misc/win32.c: Ditto.
1556 * ntoskrnl/ldr/loader.c: Ditto.
1557 * lib/epsapi/enum/modules.c: Include <ntos.h>.
1558 * lib/ntdll/rtl/thread.c: Ditto.
1559 * lib/rosrtl/thread/context.c: Ditto.
1560 * lib/rosrtl/thread/create.c: Ditto.
1561 * lib/rosrtl/thread/stack.c: Ditto.
1562 * include/ntos.h: Include "rosrtl/thread.h".
1563 * include/structs.h (_BLOB_DEFINED): Rename to __BLOB_T_DEFINED.
1564 * include/winsock2.h: Ditto.
1565 * include/ntos/obtypes.h (POBJECT_TYPE): Make a pointer to struct
1566 _OBJECT_TYPE.
1567 (PHANDLE_TABLE): Make a pointer to struct _HANDLE_TABLE.
1568 * ntoskrnl/include/internal/mm.h (PSECTION_OBJECT): Make a pointer to
1569 struct _SECTION_OBJECT.
1570 * ntoskrnl/include/internal/i386/ps.h (PKPCR): Make a pointer to struct
1571 _KPCR.
1572
1573 2003-05-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
1574
1575 * Makefile: Update bootcd target.
1576
1577 2003-05-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
1578
1579 * subsys/system/usetup/progress.c (ProgressNextStep): Check if NewPos
1580 is odd.
1581
1582 2003-05-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
1583
1584 Changes for compiling with w32api
1585
1586 * include/ddk/haltypes.h: Move ...
1587 * include/ntos/haltypes.h: ... here.
1588 * include/ddk/obtypes.h: Move ...
1589 * include/ntos/obtypes.h: ... here.
1590 * include/ddk/i386/tss.h: Move ...
1591 * include/ntos/tss.h: ... here.
1592 * include/errors.h, include/windows.h: #include_next <windows.h>.
1593 * include/ntos.h: Include "ntos/haltypes.h", "ntos/obtypes.h", and
1594 "ntos/tss.h".
1595 * include/ddk/defines.h (EXPORTED, IMPORTED): Move to
1596 include/ntos/types.h.
1597 * include/ddk/exfuncs.h, include/ddk/mmtypes.h, include/ntos/except.h,
1598 include/ntos/file.h, include/ole32/guiddef.h, include/win32k/color.h,
1599 lib/msafd/include/debug.h, lib/user32/include/debug.h,
1600 lib/ws2_32/include/debug.h, lib/ws2help/debug.h,
1601 ntoskrnl/include/internal/debug.h, ntoskrnl/ke/i386/bthread.S,
1602 ntoskrnl/rtl/error.c: Don't define macros if previously defined.
1603 * include/ddk/halfuncs.h: Include <ntos/haltypes.h>.
1604 * include/ddk/iotypes.h: Include <ntos/obtypes.h>.
1605 * include/ddk/ketypes.h (MB_FLAGS_*, LOADER_MODULE, ADDRESS_RANGE,
1606 LOADER_PARAMETER_BLOCK): Move to include/ntos/types.h.
1607 * include/ddk/ntddk.h: #include_next <ddk/ntddk.h>.
1608 * include/ddk/ntifs.h: #include_next <ddk/ntifs.h>.
1609 * include/napi/shared_data.h (SharedUserData): Undefine before defining.
1610 * include/ntos/rtl.h (RtlUpcaseUnicodeString): Correct prototype.
1611 * include/ntos/zwtypes.h (THREAD_STATE): Add.
1612 * lib/ntdll/rtl/unicode.c (RtlUpcaseUnicodeString): Match new prototype.
1613 * ntoskrnl/rtl/unicode.c (RtlUpcaseUnicodeString): Ditto.
1614 * lib/string/Makefile: Include Makefile.$(ARCH). Don't include
1615 makefile.$(ARCH).
1616 * ntoskrnl/ex/sysinfo.c, ntoskrnl/include/internal/ntoskrnl.h,
1617 * ntoskrnl/include/internal/ob.h, ntoskrnl/ob/handle.c: Include <ntos.h>.
1618 * ntoskrnl/ke/i386/syscall.S: Don't include <ddk/defines.h>.
1619 (KernelMode, UserMode): Define.
1620 * ntoskrnl/ke/i386/stkswitch.S, ntoskrnl/ke/i386/tskswitch.S,
1621 ntoskrnl/ke/i386/v86m_sup.S: Include <ntos/tss.h>
1622
1623 2003-05-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
1624
1625 * Makefile: Fix typo.
1626
1627 2003-05-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
1628
1629 * Makefile: Don't install system.hiv. Install fonts and nls directory.
1630 * tools/rcopy.c (copy_file, copy_directory, is_directory): New functions.
1631
1632 2003-05-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
1633
1634 * ntoskrnl/io/irp.c (IofCallDriver): Don't reference FileObject.
1635
1636 2003-05-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1637
1638 * ntoskrnl/io/cleanup.c (IopCompleteRequest1, IoSecondStageCompletion):
1639 Don't dereference Irp->UserEvent here.
1640 * ntoskrnl/io/irp.c (IofCallDriver): Reference FileObject.
1641 * ntoskrnl/io/rw.c (IopReadWriteIoComplete): New function.
1642 * (NtReadFile, NtWriteFile): Set I/O completion routine if using an
1643 event that is under object manager control.
1644
1645 2003-05-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
1646
1647 * ntoskrnl/Makefile (OBJECTS_IO): Add io/rawfs.o.
1648 * ntoskrnl/cm/registry.c (CmiInitHives): Check status using NT_SUCCESS().
1649 * ntoskrnl/include/internal/io.h (RawFsIsRawFileSystemDeviceObject,
1650 RawFsDriverEntry): Add prototypes.
1651 * ntoskrnl/include/internal/ntoskrnl.h (IoInit2): Add prototype.
1652 * ntoskrnl/io/device.c (IopCreateDriverObject): Handle unnamed services.
1653 * ntoskrnl/io/fs.c (IoMountVolume): Handle mounting of raw volumes.
1654 (IoRegisterFileSystem): Add registered filesystem device objects at the
1655 head of the list.
1656 * ntoskrnl/io/iomgr.c (IoInit2): New function.
1657 * ntoskrnl/ke/main.c (ExpInitializeExecutive): Call IoInit2().
1658 * ntoskrnl/mm/section.c (MmQuerySectionView): Check return value of call
1659 to MmFindRegion().
1660 * ntoskrnl/io/rawfs.c: New file.
1661
1662 2003-05-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
1663
1664 * lib/fslib/vfatlib/vfatlib.c (VfatFormat): Set hidden sectors.
1665 * ntoskrnl/io/xhaldrv.c (xHalIoWritePartitionTable): Implement support
1666 for primary partitions.
1667 * subsys/system/usetup/partlist.c (CreateSelectedPartition): Compute
1668 hidden sectors.
1669 * subsys/system/usetup/usetup.c (SelectPartitionPage,
1670 DrawFileSystemList, FormatPartitionPage): Don't use conditional define
1671 ENABLE_FORMAT.
1672 (CreateFileSystemList): Don't draw "Keep current file system" option if
1673 formatting is needed.
1674 (SelectFileSystemPage): Figure out if partition must be formatted.
1675 * subsys/system/usetup/usetup.h (ENABLE_FORMAT): Remove.
1676 (FILE_SYSTEM_LIST): Add ForceFormat field.
1677
1678 2003-05-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
1679
1680 * lib/user32/windows/font.c (TEXT_PathEllipsify, TEXT_Reprefix): Fix
1681 unsigned/signed warning.
1682 * ntoskrnl/mm/pagefile.c (MmWriteToSwapPage, MmReadFromSwapPage,
1683 NtCreatePagingFile): Ditto.
1684
1685 2003-05-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
1686
1687 * tools/helper.mk: Kill implicit rule ".o".
1688
1689 2003-04-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
1690
1691 * Makefile (DLLS): Add epsapi, psapi and wsock32.
1692 * lib/ntdll/ldr/utils.c (LdrPerformRelocations): Handle the case where a
1693 relocation crosses a page boundary.
1694 (LdrFixupImports): Use image load address in calculatation of import
1695 address list.
1696
1697 2003-04-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
1698
1699 * lib/fslib/vfatlib/vfatlib.h: New file.
1700 * subsys/system/usetup/format.c: Ditto.
1701 * subsys/system/usetup/format.h: Ditto.
1702 * lib/fslib/vfatlib/vfatlib.c (GetShiftCount): Define.
1703 (VfatWriteBootSector, VfatWriteFsInfo, VfatWriteFAT,
1704 VfatWriteRootDirectory): New function.
1705 (VfatFormat): Implement.
1706 * subsys/system/usetup/bootsup.c: (InstallFat32BootCodeToFile): Use
1707 0x0000 as marker to disable backup boot sector.
1708 (InstallFat32BootCodeToDisk): Add lower 8-bit to BackupBootSector.
1709 Also treat 0x0000 as no backup boot sector is available.
1710 * subsys/system/usetup/makefile (TARGET_SDKLIBS): Define.
1711 (TARGET_OBJECTS): Add format.o.
1712 * subsys/system/usetup/partlist.c (AddPartitionList): Initialize
1713 PartNumber field.
1714 (GetSelectedPartition): Set PartEntryNumber correctly.
1715 (CreateSelectedPartition): Write partition information to disk.
1716 (DeleteSelectedPartition): New function.
1717 * subsys/system/usetup/partlist.h (PARTDATA): Add field CreatePartition.
1718 (DeleteSelectedPartition): Prototype.
1719 * subsys/system/usetup/usetup.c (ConfirmDeletePartition): New function.
1720 (SelectPartitionPage): Support deletion of partition.
1721 (FormatPartitionPage): Support formatting of partition.
1722
1723 2003-04-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
1724
1725 * tools/helper.mk (TARGET_ASFLAGS): Add -march and define MK_ARCH_ID.
1726 * lib/ntdll/makefile (TARGET_ASFLAGS): Define as
1727 "-I $(PATH_TO_TOP)/include".
1728 (TARGET_OBJECTS): Add ldr/entry.o.
1729 * lib/ntdll/ldr/startup.c: Move inline assembly code...
1730 * lib/ntdll/ldr/entry.S: ...here. New file.
1731
1732 2003-04-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
1733
1734 * include/kernel32/kernel32.h (assert): Define.
1735 * tools/mkhive/.cvsignore: New file.
1736
1737 2003-04-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
1738
1739 * subsys/system/usetup/partlist.c (AddPartitionList): Create
1740 unpartitioned areas.
1741 (CreatePartitionListNoGUI): Save disk geometry.
1742 (PrintDiskData): Do not print hidden partition list entries.
1743 (ScrollDownPartitionList, ScrollUpPartitionList): Skip hidden partition
1744 list entries.
1745 (GetActiveBootPartition): Use CurrentDisk as index.
1746 (CreateSelectedPartition): New function.
1747 * subsys/system/usetup/partlist.h (PARTDATA): Add field NewPartSize.
1748 (PARTENTRY): Add fields StartingOffset and HidePartEntry.
1749 (DISKENTRY): Add fields Cylinders, TracksPerCylinder, SectorsPerTrack,
1750 and BytesPerSector;
1751 (CreateSelectedPartition): Add Prototype.
1752 * subsys/system/usetup/usetup.c (PAGE_NUMBER): Add CREATE_PARTITION_PAGE
1753 and FORMAT_PARTITION_PAGE
1754 (CurrentPartitionList, CurrentFileSystemList): New globals.
1755 (SelectPartitionPage): Set CurrentPartitionList.
1756 (PARTITION_SIZE_INPUT_FIELD_LENGTH): Define as 6.
1757 (DrawInputField, ShowPartitionSizeInputBox, CreatePartitionPage,
1758 CreateFileSystemList, DestroyFileSystemList, DrawFileSystemList,
1759 ScrollDownFileSystemList, ScrollUpFileSystemList, FormatPartitionPage):
1760 New functions.
1761 (SelectFileSystemPage): Draw partition screen.
1762 (CheckFileSystemPage): Handle CREATE_PARTITION_PAGE and
1763 FORMAT_PARTITION_PAGE.
1764 * subsys/system/usetup/usetup.h (FILE_SYSTEM, FILE_SYSTEM_LIST): Add enums.
1765
1766 2003-04-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
1767
1768 * tools/mkhive/infcache.c (InfpCacheFindSection, InfpCacheFindKeyLine,
1769 InfFindFirstLine, InfFindFirstMatchLine, InfFindNextMatchLine,
1770 InfGetLineCount): Change call to stricmp() to strcasecmp().
1771 * tools/mkhive/reginf.c (GetRootKey): Ditto.
1772 * tools/mkhive/registry.c (RegSetValue, RegQueryValue): Ditto.
1773
1774 2003-04-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
1775
1776 * ntoskrnl/kd/gdbstub.c (KdEnterDebuggerException): Fix signed/unsigned
1777 comparison warning.
1778 * ntoskrnl/ke/i386/exp.c (KiKernelTrapHandler): Ditto.
1779 * ntoskrnl/ke/i386/usertrap.c (KiUserTrapHandler): Ditto.
1780 * tools/helper.mk: Do not install static libraries.
1781
1782 2003-04-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
1783
1784 * tools/Makefile: Fix rule for mkflpimg.
1785
1786 2003-04-12 Casper S. Hornstrup <chorns@users.sourceforge.net>
1787
1788 * tools/cdmake/Makefile: Use HOST_CC.
1789 * tools/cdmake/cdmake.c (MAX_PATH, DIR_SEPARATOR_CHAR,
1790 DIR_SEPARATOR_STRING): Define.
1791 (directory_record): Add fields name_on_cd and extension_on_cd.
1792 (error_exit): Make a macro. Avoid using vfprintf and fprintf.
1793 (write_directory_record, new_directory_record, compare_directory_order,
1794 pass): Use name_on_cd and extension_on_cd.
1795 (make_directory_records, get_file_specifications): Use DIR_SEPARATOR_CHAR.
1796 (new_directory_record, make_directory_records): Linux implementations.
1797 (main): Use DIR_SEPARATOR_CHAR.
1798
1799 2003-04-06 Casper S. Hornstrup <chorns@users.sourceforge.net>
1800
1801 * lib/freetype/.cvsignore: Ignore nul.
1802
1803 2003-04-06 Casper S. Hornstrup <chorns@users.sourceforge.net>
1804
1805 * drivers/storage/atapi/atapi.c (AtapiReadWrite): Expect an interrupt a
1806 bit sooner.
1807 * hal/halx86/isa.c (HalpGetIsaInterruptVector): Compute vector for MP.
1808 * hal/halx86/pci.c (HalpGetPciInterruptVector): Ditto.
1809 * hal/halx86/sysbus.c (HalpGetSystemInterruptVector): Ditto.
1810 * hal/halx86/mp.c (AssignIrqVector): Rewrite.
1811 (MpsTimerHandler): Disable for now.
1812 (MpsSpuriousHandler): Do not acknowledge interrupt.
1813 (HalAllProcessorsStarted): Only boot 1 CPU for now.
1814 (RescheduleDpcRoutine): New function.
1815 (RescheduleDpc): New variable.
1816 (HalpInitMPS): Initialize RescheduleDpc. Fix bug in call to memset.
1817 * hal/halx86/mpsirql.c: Rewrite.
1818 * hal/halx86/include/mps.h (VECTOR2IRQ, IRQ2VECTOR, VECTOR2IRQL,
1819 IRQL2VECTOR): New macros.
1820 * ntoskrnl/ntoskrnl.def: Add KeRescheduleThread@0.
1821 * ntoskrnl/ntoskrnl.edf: Ditto.
1822 * ntoskrnl/include/internal/ke.h (KeRescheduleThread): Prototype.
1823 * ntoskrnl/ke/kthread.c (KeRescheduleThread): New function.
1824 * ntoskrnl/ke/i386/exp.c (KeInitExceptions): Remove unneeded call to
1825 set_trap_gate().
1826 * ntoskrnl/ke/i386/irq.c (VECTOR2IRQ, IRQ2VECTOR, VECTOR2IRQL): Correct.
1827 (IRQ_BASE): Define as FIRST_DEVICE_VECTOR.
1828 (NR_IRQS): Define using IRQ_BASE.
1829 (KeInitInterrupts): Use IRQ_BASE.
1830 (KiInterruptDispatch2): Rewrite.
1831 (KiInterruptDispatch): Ditto.
1832 (KeConnectInterrupt): Pass Vector to HalEnableSystemInterrupt() for MP.
1833 (KeDisconnectInterrupt): Pass Vector to HalDisableSystemInterrupt() for MP.
1834 * ntoskrnl/ke/i386/trap.s (_KiTrapProlog): Change 0x124 to KPCR_CURRENT_THREAD.
1835
1836 2003-04-06 Casper S. Hornstrup <chorns@users.sourceforge.net>
1837
1838 * Makefile: Add format.
1839 * include/fslib/vfatlib.h (VfatFormat): Prototype.
1840 * lib/fmifs/format.c (VfatFormat): Add stub.
1841 * lib/fmifs/makefile (TARGET_LIBS): Add vfatlib.a.
1842 * lib/fslib/vfatlib/vfatlib.c (VfatFormat): Add stub.
1843 * tools/helper.mk: Do not install .sym files for static libraries.
1844 * subsys/system/format: New directory.
1845 * subsys/system/format/makefile: New file.
1846 * subsys/system/format/format.c: Ditto.
1847
1848 2003-04-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
1849
1850 * include/fslib: New directory.
1851 * lib/fslib: Ditto.
1852 * lib/fslib/vfatlib: Ditto.
1853 * include/fslib/vfatlib.h: New file.
1854 * lib/fslib/vfatlib/.cvsignore: Ditto.
1855 * lib/fslib/vfatlib/Makefile: Ditto.
1856 * lib/fslib/vfatlib/vfatlib.c: Ditto.
1857 * Makefile: Support file system libraries
1858 * lib/zlib/Makefile: Remove nostrip target.
1859 * tools/helper.mk: Add nostrip target.
1860
1861 2003-04-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
1862
1863 * tools/.cvsignore: Ignore rline.
1864
1865 2003-04-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
1866
1867 * bootcd.bat: Install dosmbr.bin.
1868 * drivers/storage/disk/disk.c (DiskClassDeviceControl): Pass physical
1869 device object to IoWritePartitionTable().
1870 * ntoskrnl/io/xhaldrv.c (xHalReadMBR): New function.
1871 (xHalWriteMBR): Ditto.
1872 (xHalExamineMBR): Use xHalReadMBR() to read MBR.
1873 (xHalIoWritePartitionTable): Partial implement.
1874 * subsys/system/usetup/bootsup.c (InstallMBRBootCodeToDisk): New function.
1875 * subsys/system/usetup/bootsup.h (InstallMBRBootCodeToDisk): Prototype.
1876 * subsys/system/usetup/partlist.c (CreatePartitionListNoGUI): New function.
1877 (CreatePartitionList): Use CreatePartitionListNoGUI() to create partition
1878 list.
1879 (GetPartitionInformation): New function.
1880 (MarkPartitionActive): Ditto.
1881 * subsys/system/usetup/partlist.h (MarkPartitionActive): Prototype.
1882 * subsys/system/usetup/usetup.c (SelectPartitionPage): Make SystemRootPath
1883 point to the selected partition if no partitions are active.
1884 (BootLoaderPage): If no partitions are active, then install a DOS MBR and
1885 mark the selected partition active.
1886
1887 2003-04-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
1888
1889 * Makefile: Add bootcd target.
1890 (BOOTCD_INSTALL): Set for bootcd install.
1891 * rules.mak (TOPDIR): Define on windows.
1892 (BOOTCD_DIR): Define.
1893 (RLINE): Define.
1894 * apps/tests/lpc/makefile: Handle BOOTCD_INSTALL.
1895 * apps/tests/mstest/Makefile: Ditto.
1896 * apps/tests/nptest/Makefile: Ditto.
1897 * apps/tests/shm/makefile: Ditto.
1898 * ntoskrnl/Makefile: Handle BOOTCD_INSTALL. Add bootcd target.
1899 * drivers/dd/vga/makefile: Add bootcd target.
1900 * drivers/dd/blue/makefile (TARGET_BOOTSTRAP): Define as yes.
1901 * drivers/dd/floppy/Makefile: Ditto.
1902 * drivers/fs/cdfs/makefile: Ditto.
1903 * drivers/fs/ntfs/makefile: Ditto.
1904 * drivers/fs/vfat/makefile: Ditto.
1905 * drivers/input/keyboard/makefile: Ditto.
1906 * drivers/storage/atapi/makefile: Ditto.
1907 * drivers/storage/cdrom/makefile: Ditto.
1908 * drivers/storage/class2/makefile: Ditto.
1909 * drivers/storage/disk/makefile: Ditto.
1910 * drivers/storage/scsiport/makefile: Ditto.
1911 * hal/halx86/Makefile: Ditto.
1912 * lib/ntdll/makefile: Ditto.
1913 * subsys/system/usetup/makefile (TARGET_BOOTSTRAP): Define as yes.
1914 (TARGET_BOOTSTRAP_NAME): Define as smss.exe.
1915 * tools/Makefile: Add rline executable.
1916 * tools/helper.mk: Support bootcd targets.
1917 * tools/rline.c: New file.
1918
1919 2003-04-04 Casper S. Hornstrup <chorns@users.sourceforge.net>
1920
1921 * lib/freetype/builds/compiler/gcc.mk (CC): Comment out; use CC from
1922 rules.mak instead.
1923 * lib/freetype/README.ROS: Note this in porting guide.
1924
1925 2003-03-29 Casper S. Hornstrup <chorns@users.sourceforge.net>
1926
1927 * ntoskrnl/ex/sysinfo.c (SystemProcessInformation): Fix warning.
1928
1929 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1930
1931 * include/ntos/rtltypes.h (PRTL_BASE_PROCESS_START_ROUTINE): Define.
1932 * lib/kernel32/process/create.c (RtlBaseProcessStartRoutine): Import.
1933 (KlCreateFirstThread): Support images with native subsystem ID.
1934 * lib/ntdll/def/ntdll.def (RtlBaseProcessStartRoutine): Export.
1935 * lib/ntdll/def/ntdll.edf (RtlBaseProcessStartRoutine): Ditto.
1936 * lib/ntdll/rtl/exception.c (RtlBaseProcessStart): Forward declare.
1937 (RtlBaseProcessStartRoutine, RtlBaseProcessStart): Add.
1938
1939 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1940
1941 * include/defines.h (VS_FFI_SIGNATURE, VS_FFI_STRUCVERSION): Define.
1942
1943 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1944
1945 * ntoskrnl/ke/i386/exp.c (KiKernelTrapHandler): Use exception code
1946 STATUS_ACCESS_VIOLATION for exception 14.
1947
1948 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1949
1950 * ntoskrnl/fs/util.c (FsRtlGetFileSize): Implement.
1951
1952 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1953
1954 * lib/ntdll/rtl/nls.c (RtlCustomCPToUnicodeN, RtlMultiByteToUnicodeN,
1955 RtlOemToUnicodeN, RtlUnicodeToCustomCPN, RtlUnicodeToMultiByteN,
1956 RtlUnicodeToMultiByteSize, RtlUnicodeToOemN,
1957 RtlUpcaseUnicodeToCustomCPN, RtlUpcaseUnicodeToMultiByteN,
1958 RtlUpcaseUnicodeToOemN): Assert when unimplemented code is reached.
1959
1960 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1961
1962 * include/ntos/zwtypes.h (FILE_BASIC_INFORMATION): Use LARGE_INTEGER,
1963 not TIME type for time fields.
1964 * lib/kernel32/file/copy.c (SetLastWriteTime): Adjust for new type.
1965 (CopyFileExW): Ditto.
1966
1967 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1968
1969 * include/ntos/types.h (FALSE): Protect with #ifndef FALSE.
1970 (TRUE): Protect with #ifndef TRUE.
1971
1972 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1973
1974 * include/napi/i386/segment.h (put_user, get_user,
1975 bad_user_access_length, __segment_dummy, __sd, __const_sd, __put_user,
1976 __get_user, __generic_memcpy_tofs, __constant_memcpy_tofs, COMMON,
1977 __generic_memcpy_fromfs, __constant_memcpy_fromfs, memcpy_fromfs,
1978 memcpy_tofs, get_fs_byte, get_fs_word, get_fs_long, put_fs_byte,
1979 put_fs_word, put_fs_long, get_user_word, get_user_byte, get_user_long,
1980 put_user_byte, put_user_word, put_user_long, get_fs, get_ds, set_fs,
1981 set_ds): Remove.
1982
1983 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1984
1985 * include/ddk/pstypes.h (TLS_OUT_OF_INDEXES): Define.
1986
1987 2003-02-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
1988
1989 * ntoskrnl/cc/view.c (CcRosFlushDirtyPages): Treat a write attempt with
1990 a return value of STATUS_END_OF_FILE as a successful write.
1991 * ntoskrnl/cc/copy.c (WriteCacheSegment): Ditto.
1992
1993 2003-02-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
1994
1995 * ntoskrnl/cm/regfile.c (CmiRemoveSubKey): Kill warnings.
1996 (CmiMergeFree): Ditto.
1997
1998 2003-02-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1999
2000 * include/structs.h (OSVERSIONINFOEXA): Expand definition of
2001 OSVERSIONINFOA.
2002 (OSVERSIONINFOEXW): Expand definition of OSVERSIONINFOW.
2003 * lib/msafd/misc/helpers.c (LocateHelperDLL): Cast AddressFamily,
2004 SocketType, and Protocol to INT.
2005 * lib/ws2_32/misc/catalog.c (LocateProvider): Ditto.
2006
2007 2003-01-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
2008
2009 * ntoskrnl/dbg/profile.c (KdbProfilerThreadMain): Make STDCALL.
2010
2011 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
2012
2013 * drivers/net/tcpip/makefile (TCP_OBJECTS): Add transport/tcp/tcpcore.o,
2014 transport/tcp/tcp_input.o, transport/tcp/tcp_ipv4.o,
2015 transport/tcp/tcp_output.o, and transport/tcp/tcp_timer.o.
2016 * drivers/net/tcpip/transport/tcp/tcp.c (TCPStartup): Call tcp_init().
2017 * drivers/net/tcpip/include/linux.h: New file.
2018 * drivers/net/tcpip/include/tcpcore.h: Ditto.
2019 * drivers/net/tcpip/include/tcpdef.h: Ditto.
2020 * drivers/net/tcpip/transport/tcp/tcp_input.c: Ditto.
2021 * drivers/net/tcpip/transport/tcp/tcp_ipv4.c: Ditto.
2022 * drivers/net/tcpip/transport/tcp/tcp_output.c: Ditto.
2023 * drivers/net/tcpip/transport/tcp/tcp_timer.c: Ditto.
2024 * drivers/net/tcpip/transport/tcp/tcpcore.c: Ditto.
2025
2026 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
2027
2028 * lib/kernel32/k32.h: New file.
2029 * lib/kernel32/makefile (TARGET_CFLAGS): Add -I./.
2030 (TARGET_PCH): Set to k32.h.
2031 * lib/kernel32/except/except.c: Use <k32.h>.
2032 * lib/kernel32/file/backup.c: Ditto.
2033 * lib/kernel32/file/cnotify.c: Ditto.
2034 * lib/kernel32/file/copy.c: Ditto.
2035 * lib/kernel32/file/create.c: Ditto.
2036 * lib/kernel32/file/curdir.c: Ditto.
2037 * lib/kernel32/file/delete.c: Ditto.
2038 * lib/kernel32/file/deviceio.c: Ditto.
2039 * lib/kernel32/file/dir.c: Ditto.
2040 * lib/kernel32/file/dosdev.c: Ditto.
2041 * lib/kernel32/file/file.c: Ditto.
2042 * lib/kernel32/file/find.c: Ditto.
2043 * lib/kernel32/file/iocompl.c: Ditto.
2044 * lib/kernel32/file/lfile.c: Ditto.
2045 * lib/kernel32/file/lock.c: Ditto.
2046 * lib/kernel32/file/mailslot.c: Ditto.
2047 * lib/kernel32/file/move.c: Ditto.
2048 * lib/kernel32/file/npipe.c: Ditto.
2049 * lib/kernel32/file/pipe.c: Ditto.
2050 * lib/kernel32/file/rw.c: Ditto.
2051 * lib/kernel32/file/tape.c: Ditto.
2052 * lib/kernel32/file/volume.c: Ditto.
2053 * lib/kernel32/mem/global.c: Ditto.
2054 * lib/kernel32/mem/heap.c: Ditto.
2055 * lib/kernel32/mem/isbad.c: Ditto.
2056 * lib/kernel32/mem/local.c: Ditto.
2057 * lib/kernel32/mem/procmem.c: Ditto.
2058 * lib/kernel32/mem/section.c: Ditto.
2059 * lib/kernel32/mem/virtual.c: Ditto.
2060 * lib/kernel32/misc/atom.c: Ditto.
2061 * lib/kernel32/misc/comm.c: Ditto.
2062 * lib/kernel32/misc/console.c: Ditto.
2063 * lib/kernel32/misc/debug.c: Ditto.
2064 * lib/kernel32/misc/dllmain.c: Ditto.
2065 * lib/kernel32/misc/env.c: Ditto.
2066 * lib/kernel32/misc/error.c: Ditto.
2067 * lib/kernel32/misc/handle.c: Ditto.
2068 * lib/kernel32/misc/ldr.c: Ditto.
2069 * lib/kernel32/misc/profile.c: Ditto.
2070 * lib/kernel32/misc/res.c: Ditto.
2071 * lib/kernel32/misc/stubs.c: Ditto.
2072 * lib/kernel32/misc/sysinfo.c: Ditto.
2073 * lib/kernel32/misc/time.c: Ditto.
2074 * lib/kernel32/process/cmdline.c: Ditto.
2075 * lib/kernel32/process/create.c: Ditto.
2076 * lib/kernel32/process/proc.c: Ditto.
2077 * lib/kernel32/process/session.c: Ditto.
2078 * lib/kernel32/string/lstring.c: Ditto.
2079 * lib/kernel32/synch/critical.c: Ditto.
2080 * lib/kernel32/synch/event.c: Ditto.
2081 * lib/kernel32/synch/intrlck.c: Ditto.
2082 * lib/kernel32/synch/mutex.c: Ditto.
2083 * lib/kernel32/synch/sem.c: Ditto.
2084 * lib/kernel32/synch/timer.c: Ditto.
2085 * lib/kernel32/synch/wait.c: Ditto.
2086 * lib/kernel32/thread/fiber.c: Ditto.
2087 * lib/kernel32/thread/thread.c: Ditto.
2088 * lib/kernel32/thread/tls.c: Ditto.
2089
2090 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
2091
2092 * apps/testsets/Makefile (TEST_SETS): Remove ldr.
2093 * include/msvcrt/ctype.h (towupper): Make returntype wchar_t.
2094
2095 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
2096
2097 * tools/rtouch.c: Include <sys/utime.h>, not <utime.h>.
2098
2099 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
2100
2101 * tools/rtouch.c: New file.
2102 * rules.mak (ROS_USE_PCH): Default to no.
2103 (RTOUCH): Define.
2104 * tools/Makefile: Add rtouch utility.
2105 * tools/helper.mk: Support precompiled headers.
2106
2107 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
2108
2109 * ntoskrnl/dbg/profile.c: New file.
2110 * ntoskrnl/Makefile (OBJECTS_KDBG): Add dbg/profile.o.
2111 * ntoskrnl/dbg/kdb.h: Define NTOS_MODE_KERNEL. Include <ntos.h>.
2112 (LdrGetAddressInformation, KdbInitProfiling, KdbInitProfiling2,
2113 KdbDisableProfiling, KdbEnableProfiling, KdbProfileInterrupt) Prototype.
2114 * ntoskrnl/kd/kdebug.c (KdInitSystem): Add /PROFILE option if KDBG=1.
2115 * ntoskrnl/ke/main.c (ExpInitializeExecutive): Call KdbInitProfiling2()
2116 if KDBG=1.
2117 * ntoskrnl/ke/i386/irq.c: Include <../dbg/kdb.h> if KDBG=1.
2118 (KiInterruptDispatch): Call KdbProfileInterrupt() on timer interrupt
2119 if KDBG=1.
2120
2121 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
2122
2123 * drivers/fs/vfat/create.c (VfatSupersedeFile): Only notify cache manager
2124 about change in file size if caching is initiated on the file stream.
2125
2126 2003-01-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
2127
2128 * boot.bat: Use DOS end-of-line characters.
2129
2130 2003-01-02 Casper S. Hornstrup <chorns@users.sourceforge.net>
2131
2132 * ntoskrnl/ke/timer.c (KeExpireTimers): Avoid signed/unsigned comparison
2133 warning.
2134 * lib/user32/controls/scrollbar.c (SCROLL_DrawScrollBar): Put a statement
2135 at end.
2136
2137 2002-12-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
2138
2139 * drivers/fs/vfat/cleanup.c (VfatCleanupFile): Only uninitialize caching
2140 when initialized.
2141 * drivers/fs/vfat/fcb.c (vfatReleaseFCB): Ditto.
2142 * lib/kernel32/mem/section.c (CreateFileMappingW): Pass NULL as
2143 MaximumSize to NtCreateSection if dwMaximumSizeHigh and dwMaximumSizeLow
2144 are both 0.
2145 * ntoskrnl/cc/pin.c (CcMapData): Assert if Bcb is NULL.
2146 * ntoskrnl/cc/view.c (CcRosReleaseCacheSegment, CcRosLookupCacheSegment,
2147 CcRosMarkDirtyCacheSegment, CcRosUnmapCacheSegment,
2148 CcRosCreateCacheSegment, CcRosGetCacheSegmentChain,
2149 CcRosGetCacheSegment, CcRosRequestCacheSegment, CcFlushCache,
2150 CcRosDeleteFileCache, CcRosReferenceCache, CcRosDereferenceCache,
2151 CcRosReleaseFileCache, CcGetFileObjectFromSectionPtrs): Ditto.
2152 * ntoskrnl/mm/section.c (MiReadPage): Assert if Fcb->Bcb is NULL.
2153 (MmCreateDataFileSection): Make sure caching is initialized for the file
2154 stream.
2155
2156 2002-11-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
2157
2158 * include/ddk/ldrtypes.h: Move ...
2159 * include/ntos/ldrtypes.h: ... here.
2160 * include/ddk/ntddk.h: Include ldrtypes.h at new location.
2161
2162 2002-11-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
2163
2164 * drivers/bus/acpi/ospm/osl.c (acpi_os_readable, acpi_os_writable):
2165 Match prototypes.
2166 * include/ascii.h (AbortSystemShutdownA): Correct prototype.
2167 * include/debug.h (assert): Wrap in #ifndef assert.
2168 * include/funcs.h (AbortSystemShutdown): Remove duplicate prototype.
2169 * include/ddk/rtltypes.h: Move ...
2170 * include/ntos/rtltypes.h: ... here.
2171 * include/ddk/rtl.h: Move ...
2172 * include/ntos/rtl.h: ... here.
2173 * include/ddk/zwtypes.h: Move ...
2174 * include/ntos/zwtypes.h: ... here.
2175 * include/ddk/zw.h: Move ...
2176 * include/ntos/zw.h: ... here.
2177 | include/ddk/cmfuncs.h: Remove file; Move NtCreateKey to ntos/zw.h.
2178 * include/ntos.h: #include ntos/rtltypes.h, ntos/rtl.h, ntos/zwtypes.h,
2179 and ntos/zw.h.
2180 * include/unicode.h: (AbortSystemShutdownW): Correct prototype.
2181 * include/ddk/ntddk.h: Include headers at new location; Don't include
2182 removed files.
2183 * include/defines.h: Wrap definitions in w32api in #ifndef __USE_W32API.
2184 * include/ntos/zwtypes.h: Ditto.
2185 * include/napi/lpc.h: Ditto.
2186 * include/napi/shared_data.h: Ditto.
2187 * include/napi/teb.h: Ditto.
2188 * include/napi/types.h: Ditto.
2189 * include/ntdll/ldr.h: Ditto.
2190 * include/ntdll/rtl.h: Ditto.
2191 * include/ntos/console.h: Ditto.
2192 * include/ntos/disk.h: Ditto.
2193 * include/ntos/except.h: Ditto.
2194 * include/ntos/file.h: Ditto.
2195 * include/ntos/gditypes.h: Ditto.
2196 * include/ntos/heap.h: Ditto.
2197 * include/ntos/keyboard.h: Ditto.
2198 * include/ntos/mm.h: Ditto.
2199 * include/ntos/ntdef.h: Ditto.
2200 * include/ntos/ps.h: Ditto.
2201 * include/ntos/registry.h: Ditto.
2202 * include/ntos/security.h: Ditto.
2203 * include/ntos/synch.h: Ditto.
2204 * include/ntos/time.h: Ditto.
2205 * include/ntos/types.h: Ditto.
2206 * include/ntos/port.h: Ditto.
2207 * lib/advapi32/misc/shutdown.c (AbortSystemShutdownW,
2208 AbortSystemShutdownA): Correct prototype.
2209 * lib/advapi32/reg/reg.c: #include ntos.h.
2210 * lib/advapi32/sec/misc.c: Ditto.
2211 * lib/advapi32/sec/sid.c: Ditto.
2212 * lib/advapi32/service/sctrl.c: Ditto.
2213 * lib/advapi32/token/token.c: Ditto.
2214 * lib/kernel32/misc/dllmain.c: Ditto.
2215 * ntoskrnl/ex/napi.c: Ditto.
2216 * ntoskrnl/rtl/i386/exception.c: Ditto.
2217 * lib/advapi32/sec/ac.c: Ditto.
2218 (FindFirstFreeAce, GetAce): Change PACE* to PACE_HEADER*.
2219 * lib/advapi32/service/scm.c (EnumServicesStatusExA,
2220 EnumServicesStatusExW, QueryServiceStatusEx): Correct prototype.
2221 * lib/ntdll/rtl/ppb.c (RtlDestroyProcessParameters): Match prototype.
2222 * ntoskrnl/dbg/errinfo.c (DbgGetErrorText): Use %08x, not %08lx.
2223 * ntoskrnl/io/arcname.c (IoCreateSystemRootLink): Use %u, not %lu.
2224 * ntoskrnl/ke/main.c (ExpInitializeExecutive): Ditto.
2225 * (_main): Use %d, not %ld.
2226 * ntoskrnl/include/internal/i386/ke.h: Add #pragma GCC system_header.
2227 * include/ddk/ntdef.h (NTSYSAPI, NTAPI, NTKERNELAPI): Define to STDCALL;
2228 Check if already defined.
2229 * include/base.h (STDCALL, CDECL, CALLBACK, PASCAL): Move to ntos/types.h.
2230
2231 2002-11-13 Rick Gaiser <RickG81@Wanadoo.nl>
2232
2233 * drivers/bus/isapnp/isapnp.c (FindNextReadPort): Increment Port before
2234 checking wether port address is in NE2000 address space range and returning
2235 port address value.
2236
2237 2002-11-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
2238
2239 * drivers/bus/acpi/include/acpi.h: Include platform/types.h.
2240 * drivers/bus/acpi/include/actypes.h: (UINT8, BOOLEAN, UCHAR, UINT16,
2241 INT32, UINT32, UINT64): Disable, use the OS defined types instead.
2242 * drivers/bus/acpi/include/platform/types.h: Remove all types,
2243 include ntos.h instead.
2244 * drivers/bus/acpi/ospm/include/acpisys.h: Don't include
2245 platform/types.h.
2246
2247 2002-11-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
2248
2249 * include/defines.h: Fix warnings when bulding with gcc 3.3.
2250 * include/ddk/status.h: Ditto.
2251 * include/freetype/internal/ftdebug.h: Ditto.
2252 * include/net/ndis.h: Ditto.
2253 * lib/msafd/misc/helpers.c: Ditto.
2254 * lib/user32/windows/defwnd.c: Ditto.
2255 * lib/user32/windows/window.c: Ditto.
2256 * ntoskrnl/cm/ntfunc.c: Ditto.
2257 * ntoskrnl/cm/regfile.c: Ditto.
2258 * ntoskrnl/cm/regobj.c: Ditto.
2259 * ntoskrnl/dbg/errinfo.c: Ditto.
2260 * ntoskrnl/ex/hashtab.c: Ditto.
2261 * ntoskrnl/include/internal/mm.h: Ditto.
2262 * ntoskrnl/io/irp.c: Ditto.
2263 * ntoskrnl/kd/gdbstub.c: Ditto.
2264 * ntoskrnl/ke/queue.c: Ditto.
2265 * ntoskrnl/ke/sem.c: Ditto.
2266 * ntoskrnl/ldr/resource.c: Ditto.
2267 * ntoskrnl/mm/balance.c: Ditto.
2268 * ntoskrnl/mm/freelist.c: Ditto.
2269 * ntoskrnl/mm/mdl.c: Ditto.
2270 * ntoskrnl/mm/npool.c: Ditto.
2271 * ntoskrnl/mm/section.c: Ditto.
2272 * ntoskrnl/rtl/error.c: Ditto.
2273 * ntoskrnl/rtl/mem.c: Ditto.
2274 * ntoskrnl/rtl/string.c: Ditto.
2275 * ntoskrnl/rtl/time.c: Ditto.
2276 * ntoskrnl/rtl/unicode.c: Ditto.
2277 * ntoskrnl/rtl/wstring.c: Ditto.
2278 * ntoskrnl/rtl/i386/exception.c: Ditto.
2279 * subsys/win32k/freetype/src/base/ftinit.c: Ditto.
2280
2281 2002-11-03 Casper S. Hornstrup <chorns@users.sourceforge.net>
2282
2283 * apps/tests/lpc/lpcclt.c: Change LPC_MESSAGE_HEADER to LPC_MESSAGE.
2284 * include/csrss/csrss.h: Ditto.
2285 * include/lsass/lsass.h: Ditto.
2286 * include/napi/dbg.h: Ditto.
2287 * include/napi/lpc.h: Ditto.
2288 * lib/kernel32/misc/console.c: Ditto.
2289 * lib/ntdll/csr/lpc.c: Ditto.
2290 * lib/ntdll/dbg/debug.c: Ditto.
2291 * lib/secur32/lsa.c: Ditto.
2292 * ntoskrnl/dbg/user.c: Ditto.
2293 * ntoskrnl/include/internal/port.h: Ditto.
2294 * ntoskrnl/lpc/connect.c: Ditto.
2295 * ntoskrnl/lpc/reply.c: Ditto.
2296 * ntoskrnl/ps/process.c: Ditto.
2297 * subsys/csrss/api/conio.c: Ditto.
2298 * subsys/csrss/api/process.c: Ditto.
2299 * subsys/csrss/api/user.c: Ditto.
2300
2301 2002-10-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
2302
2303 * lib/msvcrt/except/seh.s: Fix end-of-line formatting.
2304 * lib/ntdll/rtl/i386/exception.c: Ditto.
2305 * lib/ntdll/rtl/i386/except.s: Ditto.
2306 * ntoskrnl/rtl/i386/except.s: Ditto.
2307 * ntoskrnl/rtl/i386/seh.s: Ditto.
2308
2309 2002-10-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
2310
2311 * lib/msvcrt/Makefile (OBJECTS_EXCEPT): Add except/seh.o; Remove
2312 except/exhand3.o.
2313 * lib/msvcrt/except/exhand2.c (MsvcrtDebug): New function.
2314 * lib/msvcrt/except/unwind.c (PEXCEPTION_FRAME): Remove.
2315 (_global_unwind2): Correct prototype.
2316 * lib/ntdll/makefile (RTL_I386_OBJECTS, ARCH_OBJECTS): New groups.
2317 (TARGET_OBJECTS): Add ARCH_OBJECTS group.
2318 * lib/ntdll/rtl/exception.c (KiUserExceptionDispatcher): Set
2319 NumberParameters in exception record.
2320 (RtlRaiseStatus): Remove.
2321 * ntoskrnl/Makefile (OBJECTS_RTL): Remove rtl/seh.o.
2322 (OBJECTS_RTL_I386): Add rtl/i386/except.o, rtl/i386/exception.o, and
2323 rtl/i386/seh.o.
2324 * ntoskrnl/ke/catch.c (RtlpExecuteHandlerForException,
2325 RtlpDumpExceptionRegistrations, RtlpDispatchException,
2326 RtlpExecuteHandler, RtlpExceptionHandler, RtlpUnwindHandler,
2327 RtlpExecuteHandlerForException, RtlpExecuteHandlerForUnwind,
2328 RtlUnwind): Remove.
2329 (RtlpDispatchException): Add prototype.
2330 * ntoskrnl/ke/i386/usertrap.c (ExceptionTypeStrings): Remove.
2331 * ntoskrnl/ps/create.c (PsCreateTeb): Mark end of exception
2332 registration list.
2333 * tools/helper.mk (TARGET_ASFLAGS): Add -g if DBG = 1.
2334 * lib/msvcrt/except/exhand3.c: Remove.
2335 * ntoskrnl/rtl/seh.c: Ditto.
2336 * lib/msvcrt/except/seh.s: New file.
2337 * lib/ntdll/rtl/i386/except.s: Ditto.
2338 * lib/ntdll/rtl/i386/exception.c: Ditto.
2339 * ntoskrnl/rtl/i386/except.s: Ditto.
2340 * ntoskrnl/rtl/i386/exception.c: Ditto.
2341 * ntoskrnl/rtl/i386/seh.s: Ditto.
2342
2343 2002-10-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
2344
2345 * lib/kernel32/process/create.c (_except_handler): New function.
2346 (BaseProcessStart): Ditto.
2347 (KlCreateFirstThread): Return INVALID_HANDLE_VALUE on error; Call
2348 BaseProcessStart() before process entry point.
2349 * lib/kernel32/thread/thread.c (_except_handler): New function.
2350 (ThreadStartup): Protect thread using SEH constructs.
2351
2352 2002-10-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
2353
2354 * include/ddk/zw.h (NtProcessStartup): Use standard calling convention.
2355 * subsys/csrss/csrss.c (NtProcessStartup): Ditto.
2356 * subsys/smss/smss.c (NtProcessStartup): Ditto.
2357 * subsys/system/autochk/autochk.c (NtProcessStartup): Ditto.
2358 * subsys/system/usetup/usetup.c (NtProcessStartup): Ditto.
2359
2360 2002-10-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
2361
2362 * apps/tests/tokentest/tokentest.c (ROS_ACE_HEADER): Move field
2363 AccessMask ...
2364 (ROS_ACE): ... here.
2365 (DisplayDacl): Make pAce an ROS_ACE*; Use new path for AceType; Use
2366 sizeof(ACE) instead of sizeof(ACE_HEADER).
2367 * include/ntos/security.h (ACE_HEADER): Move field AccessMask ...
2368 (ACE): ... here.
2369 * lib/ntdll/rtl/acl.c: Use new path for AccessMask.
2370 * ntoskrnl/se/semgr.c: Ditto.
2371 * ntoskrnl/se/acl.c (SepInitDACLs): Use new path for AccessMask; Use
2372 sizeof(ACE) instead of sizeof(ACE_HEADER).
2373 * ntoskrnl/se/token.c (SepCreateSystemProcessToken): Use sizeof(ACE)
2374 instead of sizeof(ACE_HEADER).
2375
2376 2002-10-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
2377
2378 * include/napi/teb.h (RTL_USER_PROCESS_PARAMETERS): Use field names
2379 as described in Windows NT/2000 Native API Reference.
2380 * lib/kernel32/file/file.c: Use new field names.
2381 * lib/kernel32/misc/console.c: Ditto.
2382 * lib/kernel32/process/create.c: Ditto.
2383 * lib/kernel32/process/proc.c: Ditto.
2384 * lib/ntdll/rtl/path.c: Ditto.
2385 * lib/ntdll/rtl/ppb.c: Ditto.
2386 * lib/ntdll/rtl/process.c: Ditto.
2387
2388 2002-10-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
2389
2390 * include/ntos.h: Include relevant files.
2391 * include/internal/ke.h: Include files relative to
2392 ntoskrnl/include.
2393 * include/internal/arch/ke.h: Ditto.
2394
2395 2002-10-01 Casper S. Hornstrup <chorns@users.sourceforge.net>
2396
2397 * drivers/dd/floppy/floppy.c: Changed PAGESIZE to PAGE_SIZE.
2398 * drivers/fs/cdfs/fcb.c: Ditto.
2399 * drivers/fs/cdfs/fsctl.c: Ditto.
2400 * drivers/fs/cdfs/rw.c: Ditto.
2401 * drivers/fs/ext2/dir.c: Ditto.
2402 * drivers/fs/ext2/inode.c: Ditto.
2403 * drivers/fs/ext2/rw.c: Ditto.
2404 * drivers/fs/ext2/super.c: Ditto.
2405 * drivers/fs/minix/blockdev.c: Ditto.
2406 * drivers/fs/minix/cache.c: Ditto.
2407 * drivers/fs/minix/inode.c: Ditto.
2408 * drivers/fs/minix/rw.c: Ditto.
2409 * drivers/fs/ntfs/fcb.c: Ditto.
2410 * drivers/fs/ntfs/ntfs.h: Ditto.
2411 * drivers/fs/vfat/create.c: Ditto.
2412 * drivers/fs/vfat/direntry.c: Ditto.
2413 * drivers/fs/vfat/dirwr.c: Ditto.
2414 * drivers/fs/vfat/fat.c: Ditto.
2415 * drivers/fs/vfat/fcb.c: Ditto.
2416 * drivers/fs/vfat/fsctl.c: Ditto.
2417 * drivers/fs/vfat/rw.c: Ditto.
2418 * drivers/storage/class2/class2.c: Ditto.
2419 * drivers/storage/scsiport/scsiport.c: Ditto.
2420 * hal/halx86/adapter.c: Ditto.
2421 * hal/halx86/mp.c: Ditto.
2422 * include/ddk/mmfuncs.h: Ditto.
2423 * include/ddk/mmtypes.h: Ditto.
2424 * include/ddk/i386/pagesize.h: Ditto.
2425 * include/ntdll/pagesize.h: Ditto.
2426 * lib/kernel32/process/create.c: Ditto.
2427 * lib/kernel32/thread/thread.c: Ditto.
2428 * lib/ntdll/ldr/utils.c: Ditto.
2429 * lib/ntdll/rtl/env.c: Ditto.
2430 * lib/ntdll/rtl/heap.c: Ditto.
2431 * lib/ntdll/rtl/ppb.c: Ditto.
2432 * lib/ntdll/rtl/process.c: Ditto.
2433 * lib/ntdll/rtl/thread.c: Ditto.
2434 * ntoskrnl/cc/copy.c: Ditto.
2435 * ntoskrnl/cc/view.c: Ditto.
2436 * ntoskrnl/ex/sysinfo.c: Ditto.
2437 * ntoskrnl/include/internal/i386/mm.h: Ditto.
2438 * ntoskrnl/io/mdl.c: Ditto.
2439 * ntoskrnl/ke/kthread.c: Ditto.
2440 * ntoskrnl/ke/i386/kernel.c: Ditto.
2441 * ntoskrnl/ldr/init.c: Ditto.
2442 * ntoskrnl/ldr/loader.c: Ditto.
2443 * ntoskrnl/mm/anonmem.c: Ditto.
2444 * ntoskrnl/mm/cont.c: Ditto.
2445 * ntoskrnl/mm/freelist.c: Ditto.
2446 * ntoskrnl/mm/iospace.c: Ditto.
2447 * ntoskrnl/mm/kmap.c: Ditto.
2448 * ntoskrnl/mm/marea.c: Ditto.
2449 * ntoskrnl/mm/mdl.c: Ditto.
2450 * ntoskrnl/mm/mminit.c: Ditto.
2451 * ntoskrnl/mm/ncache.c: Ditto.
2452 * ntoskrnl/mm/npool.c: Ditto.
2453 * ntoskrnl/mm/pagefile.c: Ditto.
2454 * ntoskrnl/mm/pageop.c: Ditto.
2455 * ntoskrnl/mm/section.c: Ditto.
2456 * ntoskrnl/mm/slab.c: Ditto.
2457 * ntoskrnl/mm/i386/page.c: Ditto.
2458 * ntoskrnl/ob/handle.c: Ditto.
2459 * ntoskrnl/ps/create.c: Ditto.
2460 * ntoskrnl/ps/process.c: Ditto.
2461 * ntoskrnl/ps/w32call.c: Ditto.
2462 * subsys/win32k/include/object.h: Ditto.
2463
2464 2002-10-01 Casper S. Hornstrup <chorns@users.sourceforge.net>
2465
2466 * lib/ntdll/string/ctype.c: Undefine __MSVCRT__ to not have mingw
2467 runtime import _pctype.
2468
2469 2002-09-30 Casper S. Hornstrup <chorns@users.sourceforge.net>
2470
2471 * lib/user32/misc/desktop.c (string.h): Include.
2472 * lib/user32/misc/resources.c: Ditto.
2473 * lib/user32/misc/winhelp.c: Ditto.
2474 * lib/user32/windows/accel.c: Ditto.
2475 * lib/user32/windows/bitmap.c: Ditto.
2476 * subsys/win32k/freetype/ctype.c: Undefine __MSVCRT__ and _pctype to not
2477 have mingw runtime import _pctype.
2478
2479 2002-09-30 Casper S. Hornstrup <chorns@users.sourceforge.net>
2480
2481 * ntoskrnl/cc/view.c (alloca): Prototype.
2482 * ntoskrnl/rtl/ctype.c: Undefine __MSVCRT__ to not have mingw runtime
2483 import _pctype.
2484
2485 2002-08-26 David Welch <welch@computer2.darkstar.org>
2486
2487 * lib/gdi32/misc/dllmain.c (GdiDllInitialize): Don't initialize
2488 win32k.sys for each process.
2489 * subsys/csrss/init.c (CsrServerInitialization): Initialize
2490 win32k.sys as well.
2491
2492 2002-08-26 David Welch <welch@computer2.darkstar.org>
2493
2494 * ntoskrnl/ps/process.c (NtCreateProcess): Reference the
2495 parent process's handle using ExGetPreviousMode.
2496
2497 2002-08-26 David Welch <welch@computer2.darkstar.org>
2498
2499 * lib/user32/misc/dllmain.c (Init): Initialize gdi32 as well.
2500
2501 2002-08-26 David Welch <welch@computer2.darkstar.org>
2502
2503 * iface/addsys/genw32k.c (main, process): Generate a set of
2504 stubs for csrss as well.
2505
2506 2002-08-26 David Welch <welch@computer2.darkstar.org>
2507
2508 * lib/kernel32/process/create.c (CreateProcessW): Initialize
2509 all the members of the new process's PPB.
2510
2511 2002-08-17 David Welch <welch@computer2.darkstar.org>
2512
2513 * ntoskrnl/mm/rmap.c (MmWritePagePhysicalAddress): Ensure the
2514 process isn't freed in the middle of our operations.
2515
2516 2002-08-17 David Welch <welch@computer2.darkstar.org>
2517
2518 * drivers/fs/vfat/finfo.c (VfatSetAllocationSizeInformation): Fixed.
2519
2520 2002-08-17 David Welch <welch@computer2.darkstar.org>
2521
2522 * ntoskrnl/ps/create.c (PiDeleteThread): Don't dereference
2523 the thread's process while holding the thread list lock.
2524
2525 2002-08-17 David Welch <welch@computer2.darkstar.org>
2526
2527 * ntoskrnl/mm/section.c (MmMapViewOfSection): Check there is
2528 enough space for all parts of an image before mapping it; if
2529 there isn't enough space free at the preferred base address
2530 then try to choose a different one.
2531
2532 2002-08-17 David Welch <welch@computer2.darkstar.org>
2533
2534 * ntoskrnl/mm/mpw.c (MmInitMpwThread): Run the MPW thread at
2535 idle priority.
2536
2537 2002-08-17 David Welch <welch@computer2.darkstar.org>
2538
2539 * ntoskrnl/mm/kmap.c (ExUnmapPage, ExAllocatePageWithPhysPage,
2540 MiFreeNonPagedPoolRegion, MiAllocNonPagedPoolRegion): Maintain
2541 a hint of the next free page; makes running with whole page
2542 allocation more bearable.
2543
2544 2002-08-17 David Welch <welch@computer2.darkstar.org>
2545
2546 * ntoskrnl/mm/anonmem.c (MmPageOutVirtualMemory): Show an
2547 out of swap space message if we are out of swap space.
2548 * ntoskrnl/mm/section.c (MmPageOutSectionView): Show an
2549 out of swap space message if we are out of swap space.
2550 * ntoskrnl/mm/pagefile.c (MmAllocSwapPage): Don't automatically
2551 show an out of swap space message on failure.
2552 * ntoskrnl/mm/pagefile.c (MmShowOutOfSpaceMessagePagingFile): New
2553 function to notify the user that the pagefile is full.
2554
2555 2002-08-17 David Welch <welch@computer2.darkstar.org>
2556
2557 * drivers/lib/zlib/Makefile: Create a dummy zlib.sym
2558
2559 2002-08-16 David Welch <welch@computer2.darkstar.org>
2560
2561 * ntoskrnl/mm/npool.c (ExAllocateWholePageBlock): Converted
2562 to use PHYSICAL_ADDRESS type for page address.
2563
2564 2002-08-16 David Welch <welch@computer2.darkstar.org>
2565
2566 * subsys/win32k/ntuser/class.c (W32kCreateClass): Corrected
2567 typo when calculating the offset into the class object to
2568 put the class name string.
2569
2570 2002-08-16 David Welch <welch@computer2.darkstar.org>
2571
2572 * ntoskrnl/ps/thread.c (PsDispatchThreadNoLock): Don't call
2573 the reaper function directly; set an event to wake up a seperate
2574 reaper thread.
2575 * ntoskrnl/ps/thread.c (PsReaperThreadMain): New function that
2576 waits for a notification and then calls PsReapThreads.
2577 * ntoskrnl/ps/thread.c (PsInitThreadManagement): Create the
2578 reaper thread.
2579
2580 2002-08-15 David Welch <welch@computer2.darkstar.org>
2581
2582 * lib/advapi32/misc/dllmain.c (DllMain): Removed debug message.
2583
2584 2002-08-14 David Welch <welch@computer2.darkstar.org>
2585
2586 * subsys/smss/init.c (SmPagingFilesQueryRoutine): If possible
2587 take the size of the paging file from the registry.
2588
2589 2002-08-14 David Welch <welch@computer2.darkstar.org>
2590
2591 * ntoskrnl/mm/section.c (MmCreateDataFileSection): Extend the
2592 section if necessary.
2593
2594 2002-08-14 David Welch <welch@computer2.darkstar.org>
2595
2596 * ntoskrnl/mm/pagefile.c (NtCreatePagingFile): Set the file
2597 size using the FileAllocationInformation class.
2598
2599 2002-08-14 David Welch <welch@computer2.darkstar.org>
2600
2601 * ntoskrnl/mm/anonmem.c (MmWritePageVirtualMemory): Implemented
2602 function to write anonymous memory pages to the swap file.
2603 * ntoskrnl/mm/anonmem.c (MmFreeVirtualMemoryPage): Free any
2604 swap page associated with the page.
2605 * ntoskrnl/mm/mpw.c (MmWriteDirtyPages): New function to find
2606 pages to write to disk.
2607 * ntoskrnl/mm/mpw.c (MmMpwThreadMain): Implemented MPW functionality.
2608 * ntoskrnl/mm/rmap.c (MmWritePagePhysicalAddress): New function
2609 to write a single page back to disk.
2610 * ntoskrnl/mm/rmap.c (MmSetCleanAllRmaps, MmSetDirtyAllRmaps,
2611 MmIsDirtyPageRmap): New rmap function to support the MPW thread.
2612 * ntoskrnl/mm/section.c (MmWritePageSectionView): Implemented
2613 function to write back section pages.
2614 * ntoskrnl/mm/section.c (MmFreeSectionPage): Free any swap
2615 entry associated with the page; mark pages shared with
2616 the cache as dirty if necessary.
2617
2618 2002-08-14 David Welch <welch@computer2.darkstar.org>
2619
2620 * ntoskrnl/ldr/loader.c (LdrPEProcessModule): Set name of
2621 the module into the module text structure.
2622
2623 2002-08-14 David Welch <welch@computer2.darkstar.org>
2624
2625 * ntoskrnl/io/rw.c (NtReadFile, NtWriteFile): Use the correct
2626 test for whether to wait for the completion of i/o.
2627
2628 2002-08-14 David Welch <welch@computer2.darkstar.org>
2629
2630 * ntoskrnl/cm/ntfunc.c (NtFlushKey): Request synchronous i/o
2631 from NtOpenFile.
2632 * ntoskrnl/cm/regfile (CmiInitPermanentRegistryHive): Request
2633 synchronous i/o from NtCreateFile.
2634 * ntoskrnl/dbg/kdb_stabs.c (LdrpLoadModuleSymbols): Request
2635 synchronous i/o from NtOpenFile.
2636 * ntoskrnl/ldr/sysdll.c (LdrpMapSystemDll): Request synchronous i/o
2637 from NtOpenFile.
2638
2639 2002-08-14 David Welch <welch@computer2.darkstar.org>
2640
2641 * ntoskrnl/cc/view.c (CcRosSuggestFreeCacheSegment): Maintain the
2642 correct reference count.
2643
2644 2002-08-14 David Welch <welch@computer2.darkstar.org>
2645
2646 * ntoskrnl/cc/view.c (CcRosFlushCacheSegment): New function to
2647 write back a modified cache segment.
2648 * ntoskrnl/cc/view.c (CcRosFlushDirtyPages): New function to
2649 flush some dirty pages from the cache.
2650 * ntoskrnl/cc/view.c (CcRosMarkDirtyCacheSegment): New function to
2651 mark a cache segment modified while mapped into memory as dirty.
2652
2653 2002-08-14 David Welch <welch@computer2.darkstar.org>
2654
2655 * ntoskrnl/cc/pin.c (CcMapData, CcUnpinData, CcSetDirtyPinnedData):
2656 Store the dirty status in the BCB; don't write back dirty data
2657 immediately.
2658
2659 2002-08-14 David Welch <welch@computer2.darkstar.org>
2660
2661 * include/ntos/mm.h: Added SEC_XXXX defines from 'Windows NT/2000
2662 Native API Reference'
2663
2664 2002-08-14 David Welch <welch@computer2.darkstar.org>
2665
2666 * drivers/fs/vfat/ea.c (VfatSetExtendedAttributes): Empty
2667 placeholder for extended attribute functions.
2668
2669 2002-08-14 David Welch <welch@computer2.darkstar.org>
2670
2671 * drivers/fs/vfat/finfo.c (VfatSetAllocationSizeInformation):
2672 Added function to set allocation size.
2673
2674 2002-08-14 David Welch <welch@computer2.darkstar.org>
2675
2676 * drivers/fs/vfat/fcb.c (vfatFCBInitializeCache): Renamed
2677 to vfatFCBInitializeCacheFromVolume.
2678 * drivers/fs/vfat/fcb.c (vfatMakeFCBFromDirEntry): Don't
2679 initialise the cache with a file object representing the
2680 volume unless the FCB is for a directory.
2681
2682 2002-08-14 David Welch <welch@computer2.darkstar.org>
2683
2684 * drivers/fs/vfat/create.c (VfatPagingFileCreate): Added a
2685 new function for handling paging file only code.
2686 * drivers/fs/vfat/create.c (VfatSupersedeFile): Added a
2687 new function for doing a file supersede.
2688 * drivers/fs/vfat/create.c (VfatCreateFile): Reformatted and
2689 adjusted control flow. Set allocation size and extended attributes
2690 on create.
2691 * drivers/fs/vfat/create.c (VfatCreate): Removed goto.
2692
2693 2002-08-14 David Welch <welch@computer2.darkstar.org>
2694
2695 * drivers/fs/vfat/cleanup.c (VfatCleanupFile): Renamed
2696 updEntry to VfatUpdateEntry.
2697 * drivers/fs/vfat/close.c (VfatCloseFile): Renamed
2698 updEntry to VfatUpdateEntry.
2699 * drivers/fs/vfat/dirwr.c (updEntry): Renamed to
2700 VfatUpdateEntry.
2701 * drivers/fs/vfat/dirwr.c (addEntry): Renamed to
2702 VfatAddEntry.
2703
2704 2002-08-14 David Welch <welch@computer2.darkstar.org>
2705
2706 * apps/tests/sectest/sectest.c (main): Fixed formatting.
2707
2708 2002-08-10 David Welch <welch@computer2.darkstar.org>
2709
2710 * ntoskrnl/mm/i386/page.c (MmSetPageProtect): Fixed
2711 behaviour when called on the system address space.
2712
2713 2002-08-10 David Welch <welch@computer2.darkstar.org>
2714
2715 * ntoskrnl/mm/virtual.c (MmQueryAnonMem, MmProtectAnonMem,
2716 NtAllocateVirtualMemory, NtFreeVirtualMemory): Renamed
2717 segments to regions; moved region code to seperate file.
2718 Implemented NtQueryVirtualMemory and NtProtectVirtualMemory
2719 for anonymous memory areas.
2720
2721 2002-08-10 David Welch <welch@computer2.darkstar.org>
2722
2723 * ntoskrnl/mm/anonmem.c: Moved functions relating to
2724 areas created with NtAllocateVirtualMemory to a
2725 seperate file.
2726
2727 2002-08-10 David Welch <welch@computer2.darkstar.org>
2728
2729 * ntoskrnl/mm/section.c (MmQuerySectionView): Implemented
2730 NtQueryVirtualMemory for section views.
2731
2732 2002-08-10 David Welch <welch@computer2.darkstar.org>
2733
2734 * ntoskrnl/mm/section.c (MmAccessFaultSectionView,
2735 MmNotPresentFaultSectionView, MmProtectSectionView,
2736 MmMapViewOfSegment, MmAlterViewAttributes): Implemented
2737 NtProtectVirtualMemory for section views.
2738
2739 2002-08-10 David Welch <welch@computer2.darkstar.org>
2740
2741 * ntoskrnl/ke/main.c: Removed SEH test code.
2742
2743 2002-08-10 David Welch <welch@computer2.darkstar.org>
2744
2745 * lib/ntdll/ldr/utils.c (LdrFixupImports): Remove the readonly
2746 protection from the IAT before writing to it.
2747
2748 2002-08-10 David Welch <welch@computer2.darkstar.org>
2749
2750 * lib/ntdll/ldr/utils.c (LdrAdjustDllName): Properly null terminate
2751 the base name of the DLL.
2752
2753 2002-08-10 David Welch <welch@computer2.darkstar.org>
2754
2755 * ntoskrnl/ldr/loader.c (LdrPEProcessModule): Set the text segment
2756 of modules to readonly after loading.
2757
2758 2002-08-09 David Welch <welch@computer2.darkstar.org>
2759
2760 * ntoskrnl/ps/create.c (NtCreateThread): Call PsSuspendThread
2761 if NtCreateThread has CreateSuspended as TRUE.
2762 * ntoskrnl/ps/suspend.c (PsSuspendThread, PsResumeThread,
2763 PiSuspendThreadKernelRoutine): Fixed suspend functionality.
2764
2765 2002-08-09 David Welch <welch@computer2.darkstar.org>
2766
2767 * ntoskrnl/ke/i386/usertrap.c (print_user_address): Copy
2768 the LDR variable from the right address.
2769
2770 2002-08-09 David Welch <welch@computer2.darkstar.org>
2771
2772 * ntoskrnl/ke/apc.c (KiDeliverNormalApc): Check for
2773 kernel APCs pending on exit from the kernel.
2774 * ntoskrnl/ke/apc.c (KiDeliverNormalApc, KiDeliverUserApc,
2775 KiDeliverApc): Set the APC's inserted flag to FALSE after
2776 removing it from the thread's queue.
2777
2778 2002-08-09 David Welch <welch@computer2.darkstar.org>
2779
2780 * lib/kernel32/thread/thread.c (ThreadStartup): Don't
2781 call DLL entrypoints; this is done by LdrInitializeThunk.
2782 * lib/ntdll/ldr/startup.c (LdrInitializeThunk): Call
2783 DLLs in initialization order; take the loader lock before
2784 calling.
2785
2786 2002-08-09 David Welch <welch@computer2.darkstar.org>
2787
2788 * apps/tests/thread/thread.c (main): Test suspend and
2789 resume functionality.
2790
2791 2002-08-08 David Welch <welch@computer2.darkstar.org>
2792
2793 * ntoskrnl/mm/section (NtQuerySection): Return the
2794 right result length.
2795
2796 2002-08-08 David Welch <welch@computer2.darkstar.org>
2797
2798 * ntoskrnl/ke/usertrap.c (print_user_address): Check for
2799 a NULL LDR structure in the PEB; copy the LDR pointer in
2800 safely.
2801
2802 2002-08-08 David Welch <welch@computer2.darkstar.org>
2803
2804 * ntoskrnl/ke/apc.c (KiDeliverUserApc): Deliver all present
2805 APCs; release the APC spinlock while acccessing user memory.
2806
2807 2002-08-08 David Welch <welch@computer2.darkstar.org>
2808
2809 * include/internal/ps.h: Adjusted offsets into the ETHREAD
2810 structure.
2811 * include/internal/ps.h: Removed redundant members from the
2812 KTHREAD structure.
2813 * ntoskrnl/ke/kthread.c (KeInitializeThread): Removed
2814 redundant members from the KTHREAD structure.
2815
2816 2002-08-08 David Welch <welch@computer2.darkstar.org>
2817
2818 * ntoskrnl/dbg/kdb.c (KdbEnterDebuggerException): New
2819 function to enter the debugger on an exception.
2820 * ntoskrnl/kd/kdebug.c (KdInitSystem): Initialize the
2821 local kernel debugger if enabled.
2822 * ntoskrnl/ke/catch.c (KiDispatchException): Enter the
2823 local kernel debugger on an exception.
2824
2825 2002-08-08 David Welch <welch@computer2.darkstar.org>
2826
2827 * include/ntdll/ldr.h: Added definition for a DLL entrypoint.
2828 * lib/kernel32/process/create.c (KlCreateFirstThread): Put
2829 the argument to the NtProcessStartup function on the stack.
2830 * lib/kernel32/process/create.c (KlInitPeb): Read the
2831 base address of the new image from the PEB.
2832 * lib/kernel32/process/create.c (CreateProcessW): Start the
2833 first thread at the entrypoint of the new image.
2834 * lib/ntdll/ldr/startup.c (LdrInitializeThunk): If the
2835 function is called after the initial startup then just call the
2836 entrypoints for the loaded DLLs with DLL_THREAD_ATTACH. Don't
2837 call the entrypoint of the image.
2838 * lib/ntdll/rtl/process.c (RtlpCreateFirstThread): Put the
2839 argument to the NtProcessStartup function on the stack.
2840 * lib/ntdll/rtl/process.c (KlInitPeb): Read the base address of
2841 the new image from the PEB.
2842 * lib/ntdll/rtl/process.c (RtlCreateUserProcess): Start the
2843 first thread at the entrypoint of the new image.
2844 * ntoskrnl/ke/i386/bthread.S (PsBeginThreadWithContextInternal):
2845 Use the system call path to begin a usermode thread.
2846 * ntoskrnl/ke/i386/thread.c (Ke386InitThreadWithContext): Convert
2847 the supplied context into a trap frame.
2848 * ntoskrnl/ldr/init.c (LdrLoadInitialProcess): Put the PEB argument
2849 to the NtProcessStartup function on the new stack; start the
2850 first thread at the entrypoint of the image.
2851 * ntoskrnl/ps/create.c (NtCreateThread): Create an APC to call
2852 LdrInitializeThunk in the context of a new thread before its
2853 entrypoint.
2854
2855 2002-08-08 David Welch <welch@computer2.darkstar.org>
2856
2857 * drivers/fs/vfat/cleanup.c (VfatCleanupFile): Uninitialise
2858 the cache on file cleanup.
2859 * drivers/fs/vfat/fcb.c (vfatReleaseFcb): Don't uninitialise
2860 the cache on file close.
2861 * ntoskrnl/cc/copy.c: Renamed zero page global variable.
2862 * ntoskrnl/cc/view.c: Added cache delete function.
2863
2864 2002-07-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
2865
2866 * rules.mak (RSYM): Define.
2867 * include/ddk/zwtypes.h (DebugDbgLoadSymbols): Add to enum
2868 _DEBUG_CONTROL_CODE.
2869 * include/ntdll/ldr.h (LDR_SYMBOL_INFO, LdrpLoadUserModuleSymbols): Add.
2870 (LdrLoadModuleSymbols): Remove.
2871 * include/ntos/kdbgsyms.h (ST_FILENAME, ST_FUNCTION,
2872 ST_LINENUMBER): Add.
2873 (SYMBOL). Make Name an ANSI_STRING.
2874 (IMAGE_SYMBOL_INFO, AreSymbolsParsed): Add.
2875 * lib/ntdll/ldr/startup.c (LdrInitializeThunk): Call
2876 LdrpLoadUserModuleSymbols() not LdrLoadModuleSymbols().
2877 * lib/ntdll/ldr/utils.c (LdrLoadModuleSymbols): Rename to
2878 LdrpLoadUserModuleSymbols.
2879 (LdrpLoadUserModuleSymbols): Use DebugDbgLoadSymbols debug control code.
2880 (LdrLoadDll): assert if out of memory.
2881 (LdrLoadDll): Call
2882 LdrpLoadUserModuleSymbols(), not LdrLoadModuleSymbols().
2883 * lib/ntdll/string/ctype.c (_pctype): #undef.
2884 * ntoskrnl/dbg/dbgctrl.c (NtSystemDebugControl): Call
2885 LdrLoadUserModuleSymbols on DebugDbgLoadSymbols.
2886 * ntoskrnl/include/internal/ldr.h (LdrGetAddressInformation): Add.
2887 * ntoskrnl/include/internal/module.h (MODULE_TEXT_SECTION): Make SymbolInfo
2888 an IMAGE_SYMBOL_INFO.
2889 * ntoskrnl/ke/i386/exp.c (LdrGetAddressInformation): Add prototype.
2890 (print_address): Change #ifdef KDBG to #ifdef DBG.
2891 (KiDoubleFaultHandler, KiDumpTrapFrame, KeDumpStackFrames): Dump
2892 one stack frame per line.
2893 * ntoskrnl/ke/i386/multiboot.S: Create pagetables for more kernel
2894 address space so larger modules can be passed from the boot loader.
2895 * ntoskrnl/ke/i386/usertrap.c (LdrGetAddressInformation): Add prototype.
2896 (print_user_address): Print symbols using LdrGetAddressInformation().
2897 * ntoskrnl/ldr/loader.c (SYMBOLFILE_HEADER, IMAGE_SYMBOL_INFO_CACHE,
2898 STAB_ENTRY, N_FUN, N_SLINE, N_SO, SymbolListHead): Add.
2899 (TAG_SYM_BUF): Remove.
2900 (LdrInitDebug): Remove unneeded code.
2901 (LdrInit1): Prepare for loading symbols.
2902 (LdrpReadLine, HexL, LdrpParseLine, LdrpLoadModuleSymbolsFromBuffer,
2903 LdrpLoadUserModuleSymbolsFromBuffer): Remove.
2904 (LdrpParseImageSymbols, LdrpGetFileName, LdrpGetFunctionName,
2905 LdrpGetLineNumber, LdrGetAddressInformation, LdrpLookupUserSymbolInfo): Add.
2906 (LdrpLoadModuleSymbols, LdrInitializeBootStartDriver): Change to use new
2907 symbol structures.
2908 (LdrLoadUserModuleSymbols): Cache symbol buffers.
2909 (LdrUnloadModuleSymbols): Implement.
2910 (LdrLoadModule, LdrUnloadModule): Change #ifdef KDBG to #ifdef DBG.
2911 (LdrPEProcessModule): Split a line into two lines.
2912 (LdrPEProcessModule): Setup for loading symbols.
2913 * ntoskrnl/ldr/sysdll.c (LdrpMapSystemDll): Open with FILE_SHARE_READ.
2914 * ntoskrnl/ps/process.c (PiFreeSymbols): Call LdrUnloadModuleSymbols() to
2915 free symbols.
2916 (PiDeleteProcess): Change #ifdef KDBG to #ifdef DBG.
2917 * ntoskrnl/rtl/ctype.c (_pctype): #undef.
2918 * ntoskrnl/rtl/string.c (strncpy): Terminate destination string.
2919 * tools/Makefile (rsym): Add target.
2920 * tools/helper.mk: Include config and use -g if DBG = 1.
2921
2922 2002-07-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
2923
2924 * Makefile (install_before): Install system.hiv to correct location.
2925
2926 2002-07-04 David Welch <welch@computer2.darkstar.org>
2927
2928 * subsys/win32k/include/callback.h: Fixed callback argument
2929 definitions.
2930 * subsys/win32k/ntuser/winpos.c: Implemented some more of the windows
2931 sizing/moving code.
2932 * subsys/win32k/ntuser/painting.c: Implemented some more of the
2933 window painting code.
2934 * subsys/win32k/objects/coord.c: Implemented LPtoDP and DPtoLP.
2935 * subsys/win32k/objects/region.c: Added stubs for some more
2936 region functions.
2937
2938 2002-07-04 David Welch <welch@computer2.darkstar.org>
2939
2940 * ntoskrnl/ps/process.c (NtCreateProcess): Duplicate the
2941 process desktop handle as well.
2942
2943 2002-07-04 David Welch <welch@computer2.darkstar.org>
2944
2945 * ntoskrnl/se/token.c: Don't call the ZwXXX variant of
2946 system calls when in system context.
2947
2948 2002-07-04 David Welch <welch@computer2.darkstar.org>
2949
2950 * ntoskrnl/Makefile: Added file with MDA output code.
2951 * ntoskrnl/kd/kdebug.c: Recognize MDA as a destination for
2952 debug output.
2953
2954 2002-07-04 David Welch <welch@computer2.darkstar.org>
2955
2956 * lib/user32/windows/defwnd.c: Implemented some more of the
2957 default window handler.
2958
2959 2002-07-04 David Welch <welch@computer2.darkstar.org>
2960
2961 * lib/user32/misc/stubs.c: Removed some stubs to seperate files.
2962
2963 2002-07-04 David Welch <welch@computer2.darkstar.org>
2964
2965 * lib/user32/user32.def: Export ScreenToClient otherwise we
2966 get problems when code in user32 tries to call it.
2967
2968 2002-07-04 David Welch <welch@computer2.darkstar.org>
2969
2970 * include/win32k/region.h: Added prototypes for some missing
2971 region functions.
2972
2973 2002-07-04 David Welch <welch@computer2.darkstar.org>
2974
2975 * include/win32k/ntuser.h: Added prototypes for some missing
2976 NtUserXXX functions.
2977
2978 2002-07-04 David Welch <welch@computer2.darkstar.org>
2979
2980 * include/user32/wininternal.h: Added some constants for
2981 private GetDCEx styles that WINE needs.
2982
2983 2002-07-04 David Welch <welch@computer2.darkstar.org>
2984
2985 * include/user32/callback.h: Fixed callbacks for messages with
2986 parameters.
2987
2988 2002-07-04 David Welch <welch@computer2.darkstar.org>
2989
2990 * include/napi/win32.h (W32THREAD): Added pointer to the
2991 thread's desktop.
2992 * include/napi/win32.h (W32PROCESS): Removed handle table,
2993 added a pointer to the process's window station.
2994 * subsys/win32k/ntuser/guicheck.c (W32kGuiCheck): Reference
2995 a process's window station on the first win32k system call. Reference
2996 a thread's desktop on the first win32k system call.
2997
2998 2002-07-04 David Welch <welch@computer2.darkstar.org>
2999
3000 * include/messages.h: Added some missing WM_XXX constants.
3001
3002 2002-07-04 David Welch <welch@computer2.darkstar.org>
3003
3004 * drivers/dd/ide/makefile: Compiling with debugging messages
3005 needs libgcc to be linked in.
3006
3007 2002-07-04 David Welch <welch@computer2.darkstar.org>
3008
3009 * iface/addsys/genw32k.c: Generate a variable with the
3010 number of system calls.
3011 * iface/native/genntdll.c: Generate a proper stack frame for
3012 the user system call stubs.
3013 * ntoskrnl/ke/i386/syscall.S: Generate a proper stack frame for
3014 the handler for system calls.
3015
3016 2002-07-04 David Welch <welch@computer2.darkstar.org>
3017
3018 * Makefile: Build the GUI startup application.
3019 * subsys/system/gstart/gstart.c: Application to start up
3020 the GUI.
3021
3022 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3023
3024 * tools/helper.mk: Make an import library a proper target
3025 depending on the .def file.
3026
3027 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3028
3029 * subsys/win32k/ntuser/window.c (NtUserGetWindowLong): Began
3030 implementation.
3031
3032 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3033
3034 * subsys/win32k/misc/object.c (ObmCreateHandle): Return the
3035 correct handle value.
3036
3037 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3038
3039 * subsys/win32k/makefile: Make win32k depend on the file containing
3040 the service table.
3041
3042 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3043
3044 * ntoskrnl/ke/i386/stkswitch.S (KeSwitchStackAndRet,
3045 KePushAndStackSwitchAndSysRet): Push one value only.
3046 * ntoskrnl/ps/w32call.c (NtCallbackReturn, NtW32Call): Moved
3047 these functions to a new file. Restore the old trap frame after
3048 returning from a callback.
3049
3050 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3051
3052 * lib/user32/windows/message.c (CallWindowProcA, CallWindowProcW):
3053 Convert message to Unicode or ASCII if necessary.
3054
3055 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3056
3057 * include/user32/callback.h: Added WM_CREATE and WM_NCCALCSIZE
3058 callbacks.
3059 * lib/user32/windows/window.c (User32SendCREATEMessageForKernel,
3060 User32SendNCCREATEMessageForKernel): Implemented.
3061 * subsys/win32k/ntuser/callback.c (W32kSendCREATEMessage):
3062 Implemented.
3063
3064 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3065
3066 * include/structs.h: Added Unicode and ASCII versions of
3067 CREATESTRUCT.
3068
3069 2002-06-16 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3070
3071 * tools/helper.mk: Make the install target depend on all the
3072 files to be installed.
3073
3074 2002-06-16 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3075
3076 * ntoskrnl/ps/thread.c (NtCallbackReturn): Set TSS.Esp0 to the
3077 top of the old stack.
3078 * ntoskrnl/ps/thread.c (NtW32Call): Set TSS.Esp0 to the top of
3079 the new stack. Free the callback stack correctly. Don't copy
3080 portion of the trap frame that doesn't exist in non-v86-mode
3081 interrupts.
3082 * ntoskrnl/ps/thread.c (PsFreeCallbackStack): New function to
3083 free a stack allocated with PsAllocateCallbackStack.
3084
3085 2002-06-16 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3086
3087 * drivers/dd/null/makefile: Commented out local LDFLAGS as
3088 these cause bad relocations in the stripped image.
3089
3090 2002-06-16 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3091
3092 * config: Corrected spelling error.
3093
3094 2002-06-11 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3095
3096 * subsys/system/winlogon/winlogon.c (WinMain): Check for
3097 failure when creating a window system.
3098
3099 2002-06-11 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3100
3101 * ntoskrnl/ob/handle.c (ObDuplicateObject): Added this internal
3102 function for duplicating objects.
3103 * ntoskrnl/ps/process.c (NtCreateProcess): Duplicate the parent
3104 process's window station to the child process.
3105 * ntoskrnl/ps/process.c (PsInitProcessManagement): Initialize the
3106 first process's window station.
3107
3108 2002-06-11 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3109
3110 * ntoskrnl/mm/marea.c (MmCreateMemoryArea): Initialise
3111 page operation structure members.
3112 * ntoskrnl/mm/pageop.c (MmReleasePageOp, MmGetPageOp): Increment
3113 or decrement the page operation count in the memory area.
3114 * ntoskrnl/mm/virtual.c (MmNotPresentFaultVirtualMemory,
3115 MmPageOutVirtualMemory): Check for a deleted memory area before
3116 handling the fault.
3117 * ntoskrnl/mm/virtual.c (MmFreeVirtualMemory): Wait for all
3118 page operations to finish before freeing the memory area.
3119
3120 2002-06-11 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3121
3122 * ntoskrnl/ke/i386/syscall.S (interrupt_handler2e): Corrected
3123 test for previous mode, upper 16-bit of CS on the stack after an
3124 interrupt are arbitary.
3125
3126 2002-06-11 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3127
3128 * lib/user32/misc/winsta.c: Cleaned up indentation.
3129
3130 2002-06-11 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3131
3132 * apps/tests/winhello/winhello.c (WinMain, MainWndProc):
3133 Cleaned up formatting, some more error checks.
3134
3135 2002-06-04 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3136
3137 * ntoskrnl/mm/virtual.c (MmSecureVirtualMemory,
3138 MmUnsecureVirtualMemory, NtQueryVirtualMemory): Corrected indentation.
3139
3140 2002-06-04 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3141
3142 * ntoskrnl/ke/i386/exp.c (KiDoubleFaultHandler): Print CR3
3143 correctly.
3144
3145 2002-06-04 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3146
3147 * ntoskrnl/include/internal/ps.h: Added KTHREAD_STACK_LIMIT definition.
3148 * ntoskrnl/ke/i386/tskswitch.S (Ki386ContextSwitch): Force all the
3149 pages of the kernel stack to be accessible from this process.
3150
3151 2002-06-04 David Welch <welch@cwcom.net>
3152
3153 * ntoskrnl/cc/view.c (ReadCacheSegmentChain): Changes to use
3154 PHYSICAL_ADDRESS type for physical addresses.
3155 * ntoskrnl/cc/copy.c (CcRosCreateCacheSegment): Changes to use
3156 PHYSICAL_ADDRESS type for physical addresses.
3157 * ntoskrnl/cc/copy.c (CcFreeCachePage): Changes to use
3158 PHYSICAL_ADDRESS type for physical addresses.
3159 * ntoskrnl/include/internal/mm.h: Changed prototypes to use
3160 PHYSICAL_ADDRESS type for physical addresses.
3161 * ntoskrnl/include/internal/ps.h (KPROCESS): Changed type of
3162 page directory base to PHYSICAL_ADDRESS.
3163 * ntoskrnl/include/internal/i386/mm.h: Changed prototypes to use
3164 PHYSICAL_ADDRESS type for physical addresses.
3165 * ntoskrnl/ke/kthread.c (KeFreeStackPage): Changes to use
3166 PHYSICAL_ADDRESS type for physical addresses.
3167 * ntoskrnl/ke/kthread.c (KeInitializeThread): Changes to use
3168 PHYSICAL_ADDRESS type for physical addresses.
3169 * ntoskrnl/ke/process.c (KeAttachProcess, KeDetachProcess): Changes
3170 to use PHYSICAL_ADDRESS type for physical addresses.
3171 * ntoskrnl/ke/kernel.c (PcrPages, KeApplicationProcessorInit): Changes
3172 to use PHYSICAL_ADDRESS type for physical addresses.
3173 * ntoskrnl/mm/balance.c (MM_ALLOCATION_REQUEST): Changes to use
3174 PHYSICAL_ADDRESS type for physical addresses.
3175 * ntoskrnl/mm/balance.c (MmReleasePageMemoryConsumer): Changes to use
3176 PHYSICAL_ADDRESS type for physical addresses.
3177 * ntoskrnl/mm/balance.c (MmRequestPageMemoryConsumer): Changes to use
3178 PHYSICAL_ADDRESS type for physical addresses.
3179 * ntoskrnl/mm/cont.c (MmFreeContinuousPage): Changes to use
3180 PHYSICAL_ADDRESS type for physical addresses.
3181 * ntoskrnl/mm/cont.c (MmAllocateContinuousAlignedMemory): Changes to
3182 use PHYSICAL_ADDRESS type for physical addresses.
3183 * ntoskrnl/mm/freelist.c (MmTransferOwnershipPage,
3184 MmGetLRUFirstUserPage, MmGetLRUNextUserPage, MmGetContinuousPages,
3185 MmInitializePageList, MmSetFlagsPage, MmSetRmapListHeadPage,
3186 MmGetRmapListHeadPage, MmMarkPageMapped, MmMarkPageUnmapped,
3187 MmGetFlagsPage, MmSetSavedSwapEntryPage, MmGetSavedSwapEntryPage,
3188 MmReferencePage, MmGetReferenceCountPage, MmIsUsablePage,
3189 MmDereferencePage, MmGetLockCountPage, MmLockPage, MmUnlockPage,
3190 MmAllocPage): Changes to use PHYSICAL_ADDRESS type for physical
3191 addresses.
3192 * ntoskrnl/mm/iospace.c (MmMapIoSpace): Changes to use
3193 PHYSICAL_ADDRESS type for physical addresses.
3194 * ntoskrnl/mm/kmap.c (ExAllocatePage, MiZeroPage, MiCopyFromUserPage,
3195 ExAllocatePageWithPhysPage): Changes to use PHYSICAL_ADDRESS type for
3196 physical addresses.
3197 * ntoskrnl/mm/marea.c (MmFreeMemoryArea): Changes to use
3198 PHYSICAL_ADDRESS type for physical addresses.
3199 * ntoskrnl/mm/mdl.c (MmUnlockPages, MmMapLockedPages,
3200 MmProbeAndLockPages): Changes to use PHYSICAL_ADDRESS type for
3201 physical addresses.
3202 * ntoskrnl/mm/mm.c (MmSharedDataPagePhysicalAddress,
3203 MmCommitPagedPoolAddress, MmNotPresentFault): Changes to use
3204 PHYSICAL_ADDRESS type for physical addresses.
3205 * ntoskrnl/mm/mminit.c (MmInitVirtualMemory): Changes to use
3206 PHYSICAL_ADDRESS type for physical addresses.
3207 * ntoskrnl/mm/ncache.c (MmAllocateNonCachedMemory,
3208 MmFreeNonCachedPage): Changes to use PHYSICAL_ADDRESS type for
3209 physical addresses.
3210 * ntoskrnl/mm/npool.c (grow_kernel_pool): Changes to use
3211 PHYSICAL_ADDRESS type for physical addresses.
3212 * ntoskrnl/mm/rmap.c (MmPageOutPhysicalAddress, MmInsertRmap,
3213 MmDeleteAllRmaps, MmDeleteRmap): Changes to use
3214 PHYSICAL_ADDRESS type for physical addresses.
3215 * ntoskrnl/mm/section.c (MiReadPage, MmNotPresentFaultSectionView,
3216 MmAccessFaultSectionView, MmPageOutDeleteMapping,
3217 MmPageOutSectionView, MmFreeSectionPage): Changes to use
3218 PHYSICAL_ADDRESS type for physical addresses.
3219 * ntoskrnl/mm/slab.c (ExGrowSlabCache): Changes to use
3220 PHYSICAL_ADDRESS type for physical address.
3221 * ntoskrnl/mm/virtual.c (MmPageOutVirtualMemory,
3222 MmNotPresentFaultVirtualMemory, MmFreeVirtualMemoryPage): Changes to
3223 use PHYSICAL_ADDRESS type for physical address.
3224 * ntoskrnl/mm/wset.c (MmTrimUserMemory): Changes to use
3225 PHYSICAL_ADDRESS type for physical address.
3226 * ntoskrnl/mm/page.c (Mmi386ReleaseMmInfo, MmCopyMmInfo,
3227 MmGetPhysicalAddressForProcess, MmCreateVirtualMapping,
3228 MmCreateVirtualMappingUnsafe, MmCreateVirtualMappingForProcess,
3229 MmDeleteVirtualMapping): Changes to use PHYSICAL_ADDRESS type for
3230 physical address.
3231 * ntoskrnl/ps/process (PsInitProcessManagment): Changes to use
3232 PHYSICAL_ADDRESS type for physical address.
3233 * ntoskrnl/ps/thread.c (PsAllocateCallbackStack): Changes to use
3234 PHYSICAL_ADDRESS type for physical address.
3235
3236 2002-06-04 David Welch <welch@cwcom.net>
3237
3238 * Lots of change since the ChangeLog was last updated.
3239
3240 2001-03-18 David Welch <welch@cwcom.net>
3241
3242 * ntoskrnl/ke/apc.c (KiDeliverApc): Bug fix.
3243 * ntoskrnl/ke/apc.c (KeInsertQueueApc): More comments.
3244 * ntoskrnl/ke/catch.c (KiDispatchException): Bug fix.
3245 * ntoskrnl/ke/timer.c (KeDelayExecutionThread): Don't use removed
3246 function KeAddTimeoutThread.
3247 * ntoskrnl/ke/timer.c (KeAddTimeoutThread): Removed.
3248 * ntoskrnl/ke/wait.c (KeWaitForSingleObject, KeWaitForMultipleObjects):
3249 Don't use KeAddTimeoutThread.
3250 * ntoskrnl/mm/freelist.c (MmAllocateContiguousAlignedMemory): Bug fix
3251 * ntoskrnl/mm/freelist.c (MmAllocatePage): Allocate from the top
3252 memory.
3253
3254 2001-03-17 David Welch <welch@cwcom.net>
3255
3256 * ntoskrnl/ke/catch.c (KiDispatchException): Implementation of
3257 exception handling, user-mode only.
3258
3259 2001-03-16 David Welch <welch@cwcom.net>
3260
3261 * include/ddk/zw.h: Corrected declarations of NtCreateProfile,
3262 NtQueryIntervalProfile, NtSetIntervalProfile.
3263 * include/ddk/zwtypes.h: Added definitions of KPROFILE_SOURCE.
3264 * ntoskrnl/include/internal/ke.h: Added the interrupted EIP as a
3265 parameter to KiUpdateSystemTime for profiling purposes.
3266 * ntoskrnl/include/internal/nt: Added declaration for profiling
3267 support initialization.
3268 * ntoskrnl/ke/timer.c (KiUpdateSystemTime, KeExpireTimers): Call
3269 the profiling code on a timer interrupt with the interrupt EIP.
3270 * ntoskrnl/ke/i386/irq.c (KiDispatchInterrupt): Pass the interrupted
3271 EIP to KiUpdateSystemTime.
3272 * ntoskrnl/mm/virtual.c (NtReadVirtualMemory, NtWriteVirtualMemory):
3273 Release the MDLs used properly.
3274 * ntoskrnl/nt/nt.c: Call the profiling support initialization.
3275 * ntoskrnl/nt/ntevent.c (NtCreateEvent): Don't try copying the
3276 ObjectAttributes parameter if it is NULL.
3277 * ntoskrnl/nt/profile.c: Implemented profiling.
3278
3279 2001-03-16 David Welch <welch@cwcom.net>
3280
3281 * ntoskrnl/include/internal/safe.h: Corrected typo.
3282 * ntoskrnl/nt/ntevent.c (NtCreateEvent, NtOpenEvent, NtQueryEvent):
3283 Corrected typos.
3284 * ntoskrnl/rtl/mem.c: Missing header file.
3285
3286 2001-03-16 David Welch <welch@cwcom.net>
3287
3288 * ntoskrnl/include/internal/safe.h: Add definitions for handling
3289 potentially unsafe pointers.
3290
3291 2001-03-16 David Welch <welch@cwcom.net>
3292
3293 * ntoskrnl/include/internal/mm.h: Removed MmSafeCopyToUser and
3294 MmSafeCopyFromUser as source files need these but don't want internal
3295 mm definitions.
3296 * ntoskrnl/nt/ntevent.c (NtCreateEvent, NtOpenEvent, NtPulseEvent,
3297 NtQueryEvent, NtResetEvent, NtSetEvent): Copy data to and from
3298 user mode safely.
3299 * ntoskrnl/rtl/mem.c (MmCopyToCaller, MmCopyFromCaller): Helper
3300 functions for copying data to and from potentially unsafe pointers.
3301
3302 2000-12-23 David Welch <welch@cwcom.net>
3303
3304 * All task switching is done in software.
3305 * Beginnings of v86 mode support.
3306
3307 2000-12-22 David Welch <welch@cwcom.net>
3308
3309 * ntoskrnl/ps/kill.c (PiTerminateProcessThreads): Drop
3310 PiThreadListLock before calling PsTerminateOtherThread
3311
3312 2000-12-16 David Welch <welch@cwcom.net>
3313
3314 * ntoskrnl/ex/fmutex.c (ExReleaseFastMutexUnsafe): Only set the
3315 fast mutex's owner back to NULL if it is being released
3316
3317 2000-12-10 David Welch <welch@cwcom.net>
3318
3319 * ntoskrnl/ke/i386/vm86_sup.S (Ki386RetToV86Mode): Added function
3320 to do the raw switch to v86 mode.
3321 * ntoskrnl/include/internal/vm86.h: Definitions for the v86 mode
3322 support.
3323
3324 2000-12-10 David Welch <welch@cwcom.net>
3325
3326 * ntoskrnl/ke/i386/trap.s (PsBeginThreadWithContextInternal): Moved
3327 to ntoskrnl/ke/i386/bswitch.S.
3328 * ntoskrnl/ke/i386/trap.s (interrupt_handler2e): Moved to
3329 ntoskrnl/ke/i386/syscall.S.
3330 * ntoskrnl/ke/i386/trap.s (old_interrupt_handler2e): Removed.
3331
3332 2000-12-04 David Welch <welch@cwcom.net>
3333
3334 * ntoskrnl/ke/i386/irq.c (KiInterruptDispatch): Record the last PC
3335 value for a rescheduled thread.
3336 * ntoskrnl/ke/i386/irqhand.s: Construct a primitive trap frame
3337 in interrupt handlers.
3338
3339 2000-08-30 David Welch <welch@cwcom.net>
3340
3341 * Added calibration of KeStallExecutionProcessor timing
3342 (code from linux 2.2.16).
3343
3344 * Corrected compilation bugs in user32 library.
3345
3346 * Corrected compilation bugs related to anonymous structs
3347 in ndis code.
3348
3349 * Pass command line to kernel from loadros.
3350
3351 * Corrected PIC mask calculation.
3352
3353 2000-05-27 David Welch <welch@cwcom.net>
3354
3355 * Fixed issue with closing non-existent or already closed
3356 handle.
3357
3358 2000-01-26 David Welch <welch@cwcom.net>
3359
3360 * ZwCreateProcess now maps ntdll rather than the user-mode
3361 code.
3362
3363 1999-09-06 David Welch <welch@cwcom.net>
3364
3365 * Implemented ZwOpenProcess.
3366
3367 * Partially implemented killing other threads (possible memory
3368 leaks).
3369
3370 * Made a start on a proper implemention of APCs (based on
3371 article in NT insider).
3372
3373 1998-12-08 David Welch <welch@cwcom.net>
3374
3375 * Corrected bug in shell (Read two keypresses and assumed they
3376 where the key going up and down respectively).
3377
3378 * Corrected race in dpc handling.
3379
3380 * Took out cleanup sections in ZwReadFile (now handled by the
3381 APC).
3382
3383 * Disabled broken code in kernel32.
3384