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