Commit graph

46257 commits

Author SHA1 Message Date
Claudiu Mihail
04c4235e97 [TCPIP]
Closing a socket while in listening state (that has not accepted any connections) no longer certainly crashes the system. There's still a tendency to crash the system sometimes, but it's related to possibly not canceling any outstanding IRPs for the listening socket.

svn path=/branches/GSoC_2011/TcpIpDriver/; revision=51962
2011-05-27 19:37:28 +00:00
Claudiu Mihail
350d378e7f Slightly updated todo list.
svn path=/branches/GSoC_2011/TcpIpDriver/; revision=51956
2011-05-27 10:54:23 +00:00
Claudiu Mihail
a9d9b3583e [TCPIP]
- Removed hack from lwIP code. Now the listening pcb is obtained in a way as to not affect pllute lwIP code.
- Also there's still a little foreign code left in lwIP, but this can be easily removed as it contains no functional purpose, except debugging.

svn path=/branches/GSoC_2011/TcpIpDriver/; revision=51924
2011-05-26 17:42:00 +00:00
Claudiu Mihail
f75011c71f [TCPIP]
Fixed an error in the accepting code (in rostcp.c line 576). tcp_accepted was being called for the wrong pcb. Instead of the pcb belonging to the listening socket it was being called for the pcb belonging to the newly created connection socket. In order to fix this I added an extra field to the tcp_pcb structure to hold a reference to the listening socket. This is a crude method and it will be replaced by something more elegant.
Right now however there's a slight nondeterminism regarding the connection. One it's established the message either gets through to the other side or not, randomly. This could be due to a race condition of some sorts.
Also another problem is that the server side brings down the system when closing.

svn path=/branches/GSoC_2011/TcpIpDriver/; revision=51889
2011-05-24 18:05:51 +00:00
Claudiu Mihail
8ac934b5e6 GSoC todo list.
svn path=/branches/GSoC_2011/TcpIpDriver/; revision=51816
2011-05-17 22:18:21 +00:00
Claudiu Mihail
e1b7306f9b Make kernel not crash when trying to accept in incoming tcp connection. The problem is in TCPAcceptEventHandler, where calling the LibTCPAccept function would cause an assert to fail in LibTCPAccept. We just set the state of the pcb to LISTEN and after calling LibTCPAccept we set it to ESTABLISHED. The connection still fails but at least the kernel doesn't crash. Needs further serious investigation.
svn path=/branches/GSoC_2011/TcpIpDriver/; revision=51781
2011-05-16 13:00:34 +00:00
Amine Khaldi
6c758f20d0 [TCPIP DRIVER]
* Integrate the work that has been done in tcp-rewrite-branch.

svn path=/branches/GSoC_2011/TcpIpDriver/; revision=51629
2011-05-07 19:53:38 +00:00
Rafal Harabien
9ab4e6808d [CMAKE]
* Add sndrec32 to ISOs

svn path=/branches/cmake-bringup/; revision=51535
2011-05-01 16:33:50 +00:00
Rafal Harabien
6466d12e9b [CMAKE]
* Add sndrec32 to build
* Fix build of mmc

svn path=/branches/cmake-bringup/; revision=51534
2011-05-01 16:27:17 +00:00
Amine Khaldi
9ea47cc905 [CMAKE]
* configure.cmd: formatting.

svn path=/branches/cmake-bringup/; revision=51502
2011-04-30 11:34:02 +00:00
Amine Khaldi
10bc602a7c [CMAKE]
* msc.cmake: Apply a consistent formatting.

svn path=/branches/cmake-bringup/; revision=51467
2011-04-27 21:48:41 +00:00
Rafal Harabien
ff6f3da3f1 [CMAKE]
Add idndl to build

svn path=/branches/cmake-bringup/; revision=51465
2011-04-27 14:05:18 +00:00
Amine Khaldi
2d93921768 [CMAKE]
* uncomment the NDEBUG define.

svn path=/branches/cmake-bringup/; revision=51462
2011-04-26 22:54:53 +00:00
Amine Khaldi
141823a750 [CMAKE]
* Sync with trunk r51445.

svn path=/branches/cmake-bringup/; revision=51446
2011-04-24 13:44:58 +00:00
Aleksey Bragin
0e5118d97b [NTOSKRNL/KE]
- Correctly return whether there is a kernel APC pending in KiSwapContextExit. Fixes IRQL asserts seen in bugs 5955 and 5777. Michael Martin's help in finding and fixing this bug was invaluable. Also thanks to Art Yerkes and testing team for additional information.
See issue #5955 for more details.

svn path=/trunk/; revision=51445
2011-04-24 11:24:37 +00:00
Olaf Siejka
28b188a8e9 - Swedish translation of calcs, charmap, doskey, more, dxdiag, fontview, kbswitch, logoff, magnify and mmc
- Swedish translation adjustments of calc and find

- Fix comments in magnify

Patch by Jan Blomqvist Kinander (JaixBly [at] spray [dot] se)

svn path=/trunk/; revision=51444
2011-04-24 10:05:12 +00:00
Michael Martin
7e9f462dbd [ntoskrnl]
- Fix a type from rev 19847. Only if the KernelMode List is not empty are there pending APCs.

svn path=/trunk/; revision=51442
2011-04-24 06:48:50 +00:00
Sylvain Petreolle
265463422d [CMAKE]
* msvc compatibility fixes for doskey.

svn path=/branches/cmake-bringup/; revision=51441
2011-04-23 20:05:19 +00:00
Eric Kohl
39eeae29f8 [SERVICES]
Disable more debug messages.

svn path=/trunk/; revision=51439
2011-04-23 14:40:30 +00:00
Eric Kohl
5e449dfe39 [NPFS]
Silence some debug messages.

svn path=/trunk/; revision=51438
2011-04-23 11:26:16 +00:00
Eric Kohl
2ec4368714 [CLASS2]
Prepare ReactOS for the change from the ancient 32 sectors / 64 tracks disk layout (used until Windows NT4) to the modern 63 sectors / 255 tracks disk layout (used since Windows 2000).

svn path=/trunk/; revision=51437
2011-04-23 10:52:01 +00:00
Gregor Schneider
87a668d95f [shell32] Split declarations and operations, in case any pure C compiler cares
svn path=/trunk/; revision=51436
2011-04-22 22:58:09 +00:00
Gregor Schneider
2fda6e7d2a [shell32] Pass an argument array to FormatMessage to insert the filename details into error messages (instead of failing)
See issue #5977 for more details.

svn path=/trunk/; revision=51435
2011-04-22 22:53:31 +00:00
Gregor Schneider
6a89b41bff [ipconfig] Respect the size parameter in the LoadStringAndOem helper function, fixes "ipconfig /?"
See issue #6146 for more details.

svn path=/trunk/; revision=51434
2011-04-22 21:29:30 +00:00
Eric Kohl
63bd3c88e9 [SERVICES]
RChangeServiceConfig2W: Use the error code of a call to RegSetValueExW.

svn path=/trunk/; revision=51429
2011-04-22 15:18:31 +00:00
Amine Khaldi
d05dbec4a3 [NETID]
* Use EDITTEXT instead of LTEXT. Patch by Edijs Kolesnikovics <terminedijs at yahoo dot com>
See issue #6129 for more details.

svn path=/trunk/; revision=51428
2011-04-22 14:23:49 +00:00
Eric Kohl
d58660ce71 [SERVICES]
Lock the service database in order to protect it from concurrent access.

svn path=/trunk/; revision=51427
2011-04-22 14:09:21 +00:00
Amine Khaldi
295e7d388c [Translations]
* explorer-new: Fix some wrong UK and RU translations.
* shell32: Update UK and RU translations.
* Patch by Igor Paliychuk <mansonigor at gmail dot com>

svn path=/trunk/; revision=51426
2011-04-22 14:07:22 +00:00
Rafal Harabien
aa3f41345e [KERNEL32]
* Add Traditional, Hongkong and Macau Chinese NLS removed in 48530. Fixes msvcrt:locale cmake branch regression.

svn path=/branches/cmake-bringup/; revision=51425
2011-04-22 12:47:36 +00:00
Gabriel Ilardi
b0d9033638 [shimgvw]
Add Italian translation.
[mplay32]
Fix Italian translation for play.

svn path=/trunk/; revision=51424
2011-04-22 12:30:50 +00:00
Rafal Harabien
d8e1c6609b [MPLAY32]
* Move "Play" string from shell32. It will be used in audio files context menu in explorer

[SHIMGVW]
* Move "Preview" string from shell32. It will be used in image files context menu in explorer
* Add Polish translation

[SHELL32]
* Remove "Play" and "Preview" translations - they shouldn't be in shell32
* Add "explore" translation for folder context menu

svn path=/trunk/; revision=51423
2011-04-22 11:51:08 +00:00
Amine Khaldi
18046ee2de [CMAKE]
* Add a couple missing definitions.

svn path=/branches/cmake-bringup/; revision=51422
2011-04-22 10:59:15 +00:00
Gregor Schneider
0314742b01 [kernel32] Radek Liska: sync czech NLS resources to Wine
See issue #6122 for more details.

svn path=/trunk/; revision=51419
2011-04-21 21:59:17 +00:00
Timo Kreuzer
3b11a6bdbc [CRT]
Fix a typo in a comment

svn path=/trunk/; revision=51418
2011-04-21 21:49:46 +00:00
Timo Kreuzer
35a1d66de7 [WIN32K/GDI32]
Add official ENTRY structure definition

svn path=/trunk/; revision=51417
2011-04-21 21:48:24 +00:00
Gregor Schneider
7037613d3d [cardlib] Install a button release callback
[spider] Use the button release callback instead of button click callbacks
See issue #6125 for more details.

svn path=/trunk/; revision=51416
2011-04-21 21:25:30 +00:00
Gregor Schneider
f3aa24aa4f Rename paint to mspaint to maintain script compatibility
See issue #6071 for more details.

svn path=/trunk/; revision=51415
2011-04-21 21:05:47 +00:00
James Tabor
a6294542d0 - Add Unicows to packing list.
svn path=/trunk/; revision=51414
2011-04-21 16:43:52 +00:00
Rafal Harabien
682100b73e [CMAKE]
Add libtiff to build
Fixes gdiplus:image winetest regression in cmake branch

svn path=/branches/cmake-bringup/; revision=51413
2011-04-21 15:05:05 +00:00
Rafal Harabien
a861f7c282 [KERNEL32]
* Properly check if buffer given to GetComputerName is too small. Fixes hostname.exe if computer name is MAX_COMPUTERNAME_LENGTH long (the default for bootcd since it's generated randomly in Setup).
* Simplify it a bit

svn path=/trunk/; revision=51412
2011-04-20 21:31:41 +00:00
Timo Kreuzer
be4bb69ef8 [WIN32K]
Don't try to lock a dcs clip region if its NULL

svn path=/trunk/; revision=51411
2011-04-20 21:10:13 +00:00
Rafal Harabien
1e27c057e4 [FLOPPY]
Formatting only, no code changes.

svn path=/trunk/; revision=51410
2011-04-20 18:13:27 +00:00
Rafal Harabien
057f42a554 [FLOPPY]
Increase floppy drives count in global ConfigurationInformation. Fixes not working floppies in explorer.
See issue #4236 for more details.

svn path=/trunk/; revision=51409
2011-04-20 17:44:12 +00:00
James Tabor
a75c77dfa7 [Unicows]
- Import wine unicows for Adobe Reader 7.1.0. See bug 5560.

svn path=/trunk/; revision=51408
2011-04-20 04:55:08 +00:00
James Tabor
81a19f5ad5 [Win32k]
- This should fix the dcattr leaked when deleting a DC, See bug 6119.

svn path=/trunk/; revision=51405
2011-04-19 18:18:19 +00:00
Amine Khaldi
c3d35eaa65 [CMAKE]
* The cmake branch is so awesome you don't even need to manually translate addresses. Automagic usermode address translation brought to you by the Arty.

svn path=/branches/cmake-bringup/; revision=51404
2011-04-19 18:13:10 +00:00
James Tabor
b307a60502 [Win32k]
- Replace patch point for forced DC removal. See bug 6119.

svn path=/trunk/; revision=51403
2011-04-19 17:18:05 +00:00
Gabriel Ilardi
dc2b96f14f [winetests]
Add new lines to test results for kernel32/dosdev.c

svn path=/trunk/; revision=51400
2011-04-19 09:15:05 +00:00
Gabriel Ilardi
e3c5f3cdd8 [win32csr/file.c]
Add missing new lines to some DPRINT1

svn path=/trunk/; revision=51399
2011-04-19 07:59:23 +00:00
Amine Khaldi
27bd630de0 * Fix build.
svn path=/trunk/; revision=51395
2011-04-18 22:17:25 +00:00