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