Commit graph

44903 commits

Author SHA1 Message Date
Giannis Adamopoulos 123516873b [win32k]
- Partly revert r51031

svn path=/trunk/; revision=51050
2011-03-14 15:59:21 +00:00
Colin Finck e15adf5dd5 [RAPPS]
- Add a "mIRC 6" entry to have a working IRC client while keeping "mIRC 7" for testing. (see bug 6005)
  Keep in mind that the automatically downloaded app database is the same for previous releases, current releases and Trunk, so just changing the version for the release wouldn't have been a solution.
- Add SumatraPDF 1.2 (working) to the app database. Patch by Vincenzo Cotugno (vins820 at hotmail dot com), German translation by me.
- Change all .txt files to svn:eol-style CRLF, these are target files which should have Windows line-endings.

svn path=/trunk/; revision=51048
2011-03-14 14:31:19 +00:00
Johannes Anderwald 3f8643ca67 [MSAFD]
- Print the caller in MsafdReturnWithErrno
- Initialize SockAsyncCompletionPort handle
- Check if the creation of the completion port failed
- Defer free of the socket information struct until the socket handle has been closed because the socket may have a pending select. When the socket is closed, the pending select is canceled, thus a apc routine is invoked which access the freed socket information struct.
- Fixes mIRC crash
- Should be merged to 0.3.13 branch

svn path=/trunk/; revision=51047
2011-03-14 12:48:28 +00:00
Pierre Schweitzer 95dbb35059 [RAPPS]
Added French translation for all the available applications. Only strings that other translators have translated are translated here.
Regarding OOo 2.4, as 2.4.3 version isn't available in French (wut?!), it has been set to 2.4.2.
If anything wrong, let me know.

svn path=/trunk/; revision=51046
2011-03-14 08:40:09 +00:00
Colin Finck 58e86efe04 [RAPPS]
Adam Stachowicz (saibamenppl@gmail.com)
- Fix mIRC version number in Rapps

See issue #5999 for more details.

svn path=/trunk/; revision=51044
2011-03-13 22:00:28 +00:00
Colin Finck 4bcca728f3 Michael Martin
- Fix "EnableUserModePnpManager() failed!" in second stage setup.

Tested by Eric Kohl and igorko.
See issue #5989 for more details.

svn path=/trunk/; revision=51043
2011-03-13 21:55:49 +00:00
Roel Messiant b16c59e50e [WDMAUD.DRV]
- Correct function declaration of WdmAudOpenSoundDeviceByLegacy and remove a duplicate (wut..).  Should fix build.

svn path=/trunk/; revision=51042
2011-03-13 21:28:51 +00:00
Roel Messiant 9009dd37ad [DLL]
- Change () to (VOID) in function declarators. Part 4/XX.

svn path=/trunk/; revision=51041
2011-03-13 20:56:27 +00:00
Roel Messiant 338d63e19c [BASE]
- Change () to (VOID) in function declarators. Part 3/XX.

svn path=/trunk/; revision=51039
2011-03-13 17:59:02 +00:00
Colin Finck d99032f362 [RAPPS]
Rafal Harabien (rafalh1992@o2.pl)
- Fix links and descriptions in the Rapps database, also update some application versions

I took the last patch in the bug report and applied the changes to remood.txt manually (due to mixed encoding within the same file).
See issue #5999 for more details.

svn path=/trunk/; revision=51034
2011-03-13 12:49:37 +00:00
Colin Finck 4956af0dbc [RAPPS]
Fix a bug while testing Rapps under Windows. If you had an application with no registered DisplayName installed, Rapps used to consider every application with no RegName in its database (= currently all Rapps applications) installed. Therefore the list of available applications has always been empty.
Now an application is always added to the ListView if no RegName is set for it.

svn path=/trunk/; revision=51033
2011-03-13 12:44:58 +00:00
Pierre Schweitzer 2ad9ba56bd [RAPPS]
Fix french translation file encoding

svn path=/trunk/; revision=51032
2011-03-13 12:10:41 +00:00
Giannis Adamopoulos d1a2f235a3 [win32]
- Rafal Harabien:
- Always call IntKeyboardInput and co_MsqPostKeyboardMessage while holding the user lock
- Simplify cleaning up sent messages
See issue #5580 for more details.

svn path=/trunk/; revision=51031
2011-03-13 11:22:18 +00:00
Pierre Schweitzer 58b9a229c5 [RAPPS]
French translation by Jason Toscano <JasonGenie at gmail dot com>
Corrections/adjustements by me
See issue #5993 for more details.

svn path=/trunk/; revision=51030
2011-03-13 10:43:38 +00:00
Aleksey Bragin 18e63b0a1e [USER32]
- Rafal Harabien: Add some missing bitmaps to user32. They are copied from Wine. Change "old" cursors identifiers to defines from winuser.h (OCR_*).
See issue #6000 for more details.

svn path=/trunk/; revision=51029
2011-03-13 09:56:01 +00:00
Roel Messiant dca21c3ce8 [FTP]
- FTP has been a really, really naughty app.. Fix up function prototypes and definitions after () -> (void) change.
  Fixes build.. if I'm lucky.

svn path=/trunk/; revision=51028
2011-03-12 23:39:18 +00:00
Roel Messiant bd9d264de3 [APPLICATIONS]
- Change all C function prototype declarations with an empty argument list to use void, or the list specified in the function definition.
  According to the C language specification, such a declaration means "no information about the number or types of the parameters is supplied".
  This can expose cases where gcc allows us to pass an excessive amount of arguments to functions in certain cases.
  Thanks to Thomas Faber for informing us about this.

svn path=/trunk/; revision=51027
2011-03-12 19:03:27 +00:00
Amine Khaldi f51eb1ce60 [DDK]
Fix ioaccess.h svn properties. Spotted by Jonathan Yong.

svn path=/trunk/; revision=51026
2011-03-12 15:50:58 +00:00
Pierre Schweitzer dc102df1d6 [NTOSKRNL]
Revert r51017 that was reverting r51016.
In fact, it seems that cmlib assert error, whatever that eats randomly doesn't come from software issue inside ReactOS, but from a build issue.
Indeed, as you may see in the different tests I performed it shows that the same build produces the same failure, again and again. But, new build shows that there is no assert anylonger with that commit.
Don't ask me why or how it happens, I just don't get it.
But most of the time, it works, no one knows why ("as usual" (tm)). But it's cool.

Someone from BE team and/or buildslaves managers should take a serious look at this issue.

Just in case: if that commit re-hits cmlib assert, don't blame it immediatly, just commit something else, and see whether trunk is still broken.
But, as you can see in testman, we have now test results for r51016 ;-)

svn path=/trunk/; revision=51025
2011-03-12 12:56:36 +00:00
Pierre Schweitzer 57664d7105 [EXPLORER]
Make fix of r51022 compiler independant, on Johannes' suggestion.

svn path=/trunk/; revision=51024
2011-03-12 11:53:55 +00:00
Giannis Adamopoulos a6812ef2e2 [win32k]
-In WH_KEYBOARD hook, lparam isn't a pointer to KBDLLHOOKSTRUCT
See issue #5991 for more details.

svn path=/trunk/; revision=51023
2011-03-12 11:08:06 +00:00
Pierre Schweitzer df00c74675 [EXPLORER]
Fix array access out of bounds.
See issue #5990 for more details

svn path=/trunk/; revision=51022
2011-03-12 08:23:05 +00:00
James Tabor 47dde244bd [Win32k]
- Move the drag detection routine to kernel space, this will decrease the number of kernel calls that is noticeable with slower systems running an emulator.

svn path=/trunk/; revision=51021
2011-03-12 01:29:08 +00:00
Eric Kohl f33b16a71d [SETUPAPI]
Implement CM_Register_Device_Driver[_Ex].

svn path=/trunk/; revision=51020
2011-03-11 18:58:23 +00:00
Jérôme Gardou 0cc06c7b45 [OPENGL32]
- use well defined macro instead of weird pointer calculation
  - reset thread specific data on a thread detach call
Fixes crash in heroes 3 and probably others

svn path=/trunk/; revision=51019
2011-03-11 18:17:34 +00:00
Jérôme Gardou 1f0f4f62b0 [GDI32_APITEST]
- Test Rectangle function.
Don't laugh, ROS fails those tests and fixing this breaks the GUI.

svn path=/trunk/; revision=51018
2011-03-11 15:32:54 +00:00
Pierre Schweitzer b6ee921ee6 [NTOSKRNL]
Revert r51016 that quite magically breaks Qemu test bot (Registry corruption?).
Everything was (and is still fine) on VirtualBox.
It will be put back online once the issue will have been fixed.

svn path=/trunk/; revision=51017
2011-03-11 15:17:59 +00:00
Pierre Schweitzer c4d0b3e36b [NTOSKRNL]
Add most of the missing HAL stubs for both public & private dispatch tables

svn path=/trunk/; revision=51016
2011-03-11 13:16:16 +00:00
Pierre Schweitzer 7161edbfe7 [NDK]
pHalAllocateMapRegisters type functions are to return NTSTATUS and not BOOLEAN

svn path=/trunk/; revision=51015
2011-03-11 13:00:20 +00:00
Jérôme Gardou fd5a3bdc63 [GDI32]
- allocate sufficient buffer when creating a DIBSECTION compatible bitmap.
Fixes bug 5822

svn path=/trunk/; revision=51014
2011-03-11 10:33:03 +00:00
Aleksey Bragin 1e2dd5d5d2 [NOTEPAD]
- Edijs: Zero initialize the caption string.
See issue #5992 for more details.

svn path=/trunk/; revision=51013
2011-03-10 22:07:56 +00:00
Pierre Schweitzer 81f9d934ff [NTOSKRNL]
Implemented FstubTranslatorNull, FstubTranslateResource, FstubTranslateRequirement, xHalGetInterruptTranslator.
In other words: please welcome interrupt translator in ReactOS.
It's not used yet.

svn path=/trunk/; revision=51012
2011-03-10 21:02:21 +00:00
Ged Murphy 8afa712c7a FatCreateCcb has no params.
Fixes building on msvc

svn path=/trunk/; revision=51011
2011-03-10 15:37:51 +00:00
Johannes Anderwald 65635497f6 [MSAFD]
- Fix bug introduced in 51007

svn path=/trunk/; revision=51010
2011-03-10 14:07:55 +00:00
James Tabor ebe3986eb9 [GDI32]
- Protect SetDIBitsToDevice with seh and track it. This is for vbrun60spXX. Code fix ups and cleanup.

svn path=/trunk/; revision=51009
2011-03-10 13:45:09 +00:00
James Tabor 729ce068d8 [Win32k]
- Fix an uncovered bug. This should fix coolplayer and winamp type applications. Does not fix drawing issues.

svn path=/trunk/; revision=51008
2011-03-10 13:09:56 +00:00
Johannes Anderwald a2453433f1 [MSAFD]
- Correct calculating PollBufferSize
- Found by DPH

svn path=/trunk/; revision=51007
2011-03-10 12:41:50 +00:00
Michael Martin 092d6ca92e [syssetup]
- EnableUserModePnpManager:  StartServiceW can fail due to the service already running. Check last error for such a case. Should fix bug #5846.

svn path=/trunk/; revision=51006
2011-03-10 10:36:49 +00:00
Timo Kreuzer 2bbd8711a7 [WIN32K]
- Fix calculation of dest rect in IntSetDIBits
- Rewrite NtGdiStretchDIBitsInternal. It now calls NtGdiSetDIBitsToDeviceInternal in case of SRCCOPY and no stretching and NtGdiCreateDIBitmapInternal + IntEngStretchBlt in the default case. This fixes RLE compressed dibs.
- The code isn't yet perfect, Windows behaviour is pretty complex, especially in regard to topdown/bottomup DIBs and the whole code needs to be rewritten. It will cause one more failed bitmap test, but another one that was formerly only passing with legacy 9x behaviour now behaves correctly.

See issue #5886 for more details.

svn path=/trunk/; revision=51005
2011-03-09 15:46:13 +00:00
Timo Kreuzer 775a83cdf4 [win32csr]
Fix zero termination of harderror string parameters, when they are ansi.

See issue #5983 for more details.

svn path=/trunk/; revision=51004
2011-03-09 15:31:25 +00:00
Timo Kreuzer 031e55222a [CRT]
Patch by Thomas Faber: Fix nt version of mbstowcs.

See issue #5983 for more details.

svn path=/trunk/; revision=51003
2011-03-09 15:29:13 +00:00
Pierre Schweitzer c6d8f7de70 [NTOSKRNL]
Implemented FstubFixupEfiPartition():
Purpose is to let ReactOS handle realistic partitions length in case of an EFI/GPT protective MBR.
Indeed, when formatting a disk to GPT, you add a protective MBR that contains a fake partition entry, with type 0xEE having the following property: its size is set to maximum allocatable size in MBR.
In that case, if disk is small, you may go beyond disk size.
This is why a fix to partition length may be needed when re-reading partition entry.
This is the way ReactOS creates protective MBR.
You may find some more information here: http://msdn.microsoft.com/en-us/windows/hardware/gg463525

Fixed xHalIoReadPartitionTable():
- Allocate a buffer that has the proper size (instead of allocating a buffer which is too big). Especially since this leads to partial init only some lines after.
- Remove redundant & useless affectation.
- Check/fix 0xEE partition length in case of an EFI/GPT protective MBR (see upper point).

svn path=/trunk/; revision=51002
2011-03-09 10:33:13 +00:00
Sylvain Petreolle b2832e17fc [ROSTESTS]
Properly skip bitmap and outline tests in gdi32_winetest:font.

svn path=/trunk/; revision=51001
2011-03-08 11:30:14 +00:00
Timo Kreuzer ccd17d40ec [WIN32K]
Fix a warning about an uninitialized variable :D

svn path=/trunk/; revision=51000
2011-03-07 22:14:14 +00:00
Timo Kreuzer 38e6b4b424 [WIN32K]
Fix IntCreateCompatibleBitmap, previously when the given DC was a memory DC with a dibsection selected, the function would only work if the dibsection was <= 8 bpp.

svn path=/trunk/; revision=50999
2011-03-07 22:06:23 +00:00
Timo Kreuzer d089825a9f [WIN32K]
clip the destination rect against the bounds of the destination and source surface. Fixes a crash of gdi32_winetest bitmap that occurs as soon as IntCreateCompatibleBitmap is fixed. Other Eng* code needs to be checked as well.

svn path=/trunk/; revision=50998
2011-03-07 22:00:19 +00:00
Timo Kreuzer 8daf17a4e8 [WIN32K]
Update all brushes in DC_vPrepareDCsForBlit. This allows us to simplify the code elsewhere.

svn path=/trunk/; revision=50997
2011-03-07 21:55:17 +00:00
Jérôme Gardou f9ac17b332 [NTOSKRNL]
- Beatify cpu supported features output once and for all
DPRINT1 is not printf...

svn path=/trunk/; revision=50996
2011-03-07 20:39:33 +00:00
Pierre Schweitzer ff0651e441 [FASTFAT]
Do not set file attributes in case they are set to 0 or -1

svn path=/trunk/; revision=50995
2011-03-07 20:28:42 +00:00
Eric Kohl 69b1f9091e [SERVICES]
Leave the critical section when the allocation of the control packet fails.

Bug spotted by hzlilx.

svn path=/trunk/; revision=50994
2011-03-07 20:25:28 +00:00