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