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