Commit Graph

275 Commits

Author SHA1 Message Date
marco
8e9a7e14ad * Revised yesterday solution to a more general one. Executeprocess gets
another parameter, a set type with flags, default = []

git-svn-id: trunk@14572 -
2010-01-07 20:49:28 +00:00
florian
3f17af3437 * patch by taka_jp to set SysLocale.PriLangID on windows properly, resolves #14872
git-svn-id: trunk@14570 -
2010-01-07 20:06:24 +00:00
florian
e6648da567 * make heaptrc aware of the fact that multi threading could be initialized before heaptrc itself is initialized, this is currently the case for windows dlls
git-svn-id: trunk@14560 -
2010-01-07 13:41:43 +00:00
florian
fb07fe5856 * always assume a multithreaded application when using threadvars in dlls, resolves #14992
git-svn-id: trunk@14557 -
2010-01-06 21:26:49 +00:00
marco
0b4b9b5220 * Windows specific overloads for ExecuteProcess that implements a hack for redir that exists for dos.exec too.
.. but then not using a global variable

git-svn-id: trunk@14556 -
2010-01-06 19:50:09 +00:00
florian
737514c434 * win crt unit returns #13 for numeric enter as well, resolves #13203
git-svn-id: trunk@14459 -
2009-12-21 09:59:04 +00:00
florian
cc0d946f16 * fixes bootstrapping with 2.2.4
git-svn-id: trunk@14442 -
2009-12-14 18:51:57 +00:00
florian
7a82669942 * forgotten part of r14432
git-svn-id: trunk@14433 -
2009-12-13 11:18:49 +00:00
marco
d72c2991e5 * group type to u_long as per mantis 15241
git-svn-id: trunk@14320 -
2009-12-04 08:37:18 +00:00
michael
01ed4a6745 * Implemented OnBeep to install custom beep handler
git-svn-id: trunk@14254 -
2009-11-22 17:33:56 +00:00
marco
c83ee377c1 * some defines from winioctl updated, mantis 15137
git-svn-id: trunk@14216 -
2009-11-19 11:51:03 +00:00
marco
17062d667c * ansistring versions of mk/rm/chdir in objpas, Mantis 15010. The os-dependant routines of *nix/os2/win/dos have been converted
git-svn-id: trunk@14211 -
2009-11-18 18:04:51 +00:00
florian
c288e6c105 * deallocate thread variables for the main thread as well, as described in #15002
git-svn-id: trunk@14201 -
2009-11-16 19:36:32 +00:00
pierre
19cc28d974 * STD_XXX_HANDLE constants are DWORD type
git-svn-id: trunk@14124 -
2009-11-09 15:41:40 +00:00
michael
1cf64c032f * Patch to remove useless process_entry_hook from sven barth
git-svn-id: trunk@14094 -
2009-11-07 10:10:47 +00:00
marco
59811e1012 * Findfirstex and findfirsttransacted as per #14924
git-svn-id: trunk@14080 -
2009-11-06 11:46:25 +00:00
marco
a91e106cde * PWSADAta was missing ^ to make it a pointer.
git-svn-id: trunk@13936 -
2009-10-23 19:01:35 +00:00
florian
cba72c423d * patch by Sergei Gorelkin to use always SetFilePointer, also for files with >2GB, this saves some lines of code, resolves #14630
git-svn-id: trunk@13838 -
2009-10-10 18:52:50 +00:00
michael
12fcb19bf4 * Added comment in SysRelocateThreadVar, not working in Windows Vista
git-svn-id: trunk@13753 -
2009-09-21 09:34:53 +00:00
marco
47e90bbdf3 * typo corrected as per #14578
git-svn-id: trunk@13707 -
2009-09-13 20:20:02 +00:00
florian
2f8e263560 * allow only one thread at a time to attach on a dll so the tls slot is allocated properly, resolves #12987
git-svn-id: trunk@13648 -
2009-09-05 13:41:09 +00:00
florian
a8c6d9ec3a * partially reverted 13571, I didn't get it work on W7 x64 in win32 mode
* use $ffffffff to signal an unsed TLSKey, 0 is a valid TLSKey and could be returned by Windows in theory

git-svn-id: trunk@13608 -
2009-08-29 20:46:06 +00:00
florian
d3d3596cd6 * accelerated/fixed TLS access on win32 by Pierre Muller
git-svn-id: trunk@13571 -
2009-08-21 09:15:11 +00:00
florian
512d66988c * put linebuffer on the stack instead on the heap on windows makes SysUpdateScreen slightly faster
git-svn-id: trunk@13540 -
2009-08-16 10:25:35 +00:00
florian
965828b6de * fix building on wince, resolves #14345
git-svn-id: trunk@13537 -
2009-08-15 20:58:31 +00:00
florian
a2862ce347 * cleaned up mess of r13516
git-svn-id: trunk@13524 -
2009-08-12 19:34:46 +00:00
florian
65690b9eee * forgotten part of r13514
git-svn-id: trunk@13522 -
2009-08-12 18:42:09 +00:00
florian
d34061d7e4 * introduced fmShareDenyNoneFlags on windows because the meaning of fmShareDenyNone is unclear, see also #8898
git-svn-id: trunk@13514 -
2009-08-10 20:33:20 +00:00
florian
380f3ac78f * fix from Nikolay Samofatov for #12987: initialize thread vars in libraries on windows correctly
* unified dll entry code between win32 and win64

git-svn-id: trunk@13445 -
2009-07-25 21:08:36 +00:00
florian
05ff453182 * patch by Dmitry Boyarintsev to fix some parameter names, resolves #14043
git-svn-id: trunk@13442 -
2009-07-25 15:14:14 +00:00
florian
e4e2b5be18 * added overloeaded InterlockedExchangeAdd with first parameter being a pointer, resolves #13282
git-svn-id: trunk@13363 -
2009-07-05 18:57:48 +00:00
marco
0212aa9311 * dss constants from Paul
git-svn-id: trunk@13303 -
2009-06-20 11:17:41 +00:00
florian
b47650960e * patch by Sergei Gorelkin: makes WideCompareText and WideCompareStr work in Windows 9x , resolves #13955
git-svn-id: trunk@13265 -
2009-06-12 18:21:06 +00:00
yury
3b32571557 * Fixed compilation for win64. ThreadID is DWORD on both win32 and win64.
git-svn-id: trunk@13235 -
2009-06-05 14:59:42 +00:00
florian
88f6b8854e * proper error handling in case of thread creation failure on windows, resolves #13768, no test case due because such a test is too sensitive regarding race conditions etc. and might cause false failures
git-svn-id: trunk@13222 -
2009-06-01 14:17:01 +00:00
Jonas Maebe
78c29a33ba * changed the parameters of gotoxy() and the return values of wherex/wherey
from byte into tcrtcoord=1..255, since all crt unit coordinates are
    1-based (not for Window() procedure, see comments in crth.inc;
    mantis #13788)

git-svn-id: trunk@13191 -
2009-05-24 11:48:49 +00:00
marco
82b9749e71 * thread creation failure for win<x>. Mantis 13798
git-svn-id: trunk@13188 -
2009-05-23 15:40:13 +00:00
marco
8fe555afca * some minor vista/w7 related updates to message numbers
git-svn-id: trunk@13183 -
2009-05-21 14:11:16 +00:00
marco
ec364a66e8 * win64 compatibility fix from Vincent. TLibHandle is now equal to system.thandle
git-svn-id: trunk@13182 -
2009-05-21 11:26:54 +00:00
marco
97093e4f2b * fixed 64-bit size of findmatch. (mantis 13504) Tested with $12000001 bytes large file, matched to the byte.
git-svn-id: trunk@13014 -
2009-04-16 05:38:00 +00:00
marco
c63a3723e1 * 64-bit related fix to overlapped structure (Mantis 13443)
git-svn-id: trunk@12994 -
2009-04-02 11:18:11 +00:00
micha
be06f28b18 - win rtl: remove unused thread window (hint by Sergei Gorelkin)
git-svn-id: trunk@12872 -
2009-03-09 19:10:00 +00:00
Vincent Snijders
acba12517b * fixed compilation on win64 by using LResult as result type of a window proc
git-svn-id: trunk@12779 -
2009-02-23 20:29:08 +00:00
micha
3b171cb6fb * windows rtl: fix resource leak when cleaning up last tthread without message loop (fixes issue #13173)
git-svn-id: trunk@12761 -
2009-02-21 17:42:33 +00:00
florian
0c65d53f45 + added register keyword to Interlocked* definitions as suggested by Jonas, resolves #12255
git-svn-id: trunk@12698 -
2009-02-07 16:09:05 +00:00
marco
c13f553b9b * comment added previous commit
git-svn-id: trunk@12683 -
2009-02-04 09:11:25 +00:00
marco
33133d00da * polybezierto and polydraw corrected as per Mantis 13112
git-svn-id: trunk@12677 -
2009-02-03 20:38:27 +00:00
marco
017f7b2528 * log* defines.
git-svn-id: trunk@12665 -
2009-02-02 20:44:18 +00:00
marco
1533599426 * regionsize now ptruint, mantis 13077
git-svn-id: trunk@12638 -
2009-02-01 13:20:21 +00:00
marco
c72c091277 * fix for 12619, security_descriptor_min_length now a sizeof as in the winsdk headers. (win64)
git-svn-id: trunk@12066 -
2008-11-13 08:53:50 +00:00