sergei
|
179586f589
+ SEH support for Win32. Enable by cycling with OPT=-dTEST_WIN32_SEH.
|
11 years ago |
sergei
|
5ada0ff373
- Removed debugging code around SetUnhandledExceptionFilter. This function sets some global variable in kernel32.dll, and does not change fs:[0].
|
11 years ago |
sergei
|
bc4c1149c3
+ Native threadvar implementation for Win32 and Win64 (most of it, but not yet complete).
|
12 years ago |
florian
|
f6f6df2780
* removed line breaks
|
13 years ago |
florian
|
25b80bedf9
* get rid of tabs with wrong size
|
13 years ago |
florian
|
3d76823929
* load StackTop and StackBottom correctly on windows, also in libraries
|
13 years ago |
Tomas Hajny
|
d442d14e0c
+ FileNameCasePreserving added - see #18066 in Mantis
|
13 years ago |
sergei
|
cd44c5f45c
Win32 and Win64, fixed DLL exit sequence, resolves #14603:
|
13 years ago |
florian
|
562932a2c9
* change dllparam into PtrInt, this is required for 64 bit systems, patch based on Gennadiy's patch in #21089, resolves #21089
|
13 years ago |
sergei
|
ebb2205c63
* Moved TExceptionRecord definition to sysos.inc, it is identical for all Windows targets.
|
13 years ago |
sergei
|
5b6b6cdd11
- clean out remaining ver2_0, REGCALL, FPC_HAS_INDIRECT_MAIN_INFORMATION defines.
|
13 years ago |
sergei
|
bcbd25568e
* Call InitHeap before InitSystemThreads in TLS callback (necessary because InitSystemThreads calls RelocateHeap), and skip both of them in initialization section of system.pp if they have been called from TLS callback. This restores correct initialization sequence which was broken by r19779, resulting in lots of debug messages about corrupted heap when running tests/test/theapthread.pp
|
13 years ago |
pierre
|
4a9c8e330b
+ Move EXEC_callback into separate file win/systlsdir.inc
|
13 years ago |
sergei
|
32094761ef
* win32/system.pp, win64/system.pp: Moved duplicated declarations of WinAPI functions to sysos.inc (Florian's comment about include ordering is no longer true, wstrings.inc comes after sysos.inc these days).
|
13 years ago |
paul
|
1ccf16358c
rtl: init widestring and unitcodestring managers before initialization of Standard IO files (stdin,stdout,stderr)
|
14 years ago |
sergei
|
268d8685e7
- Removed SysResetFPU/SysInitFPU from win32/win64 system unit initialization. It is redundant here because it is called from fpc_initializeunits->fpc_cpuinit (on win64) or from fpc_cpucodeinit (on win32).
|
14 years ago |
sergei
|
ad5d2ccabb
* Moved command line handling and randomize() to syswin.inc, so a single copy of code is used for both win32 and win64. This implies that apostrophe is no longer supported as quoting symbol in win64.
|
14 years ago |
sergei
|
f35a8179b1
* Status codes are identical for win32 and win64, moved them to syswin.inc.
|
14 years ago |
paul
|
8cc22972a0
merge r13488 from cpstrnew branch by florian except ncgcon.pas which has a difficult merge conflict (code moved to another unit which is not at the branch during the revision):
|
14 years ago |
paul
|
28627482c5
merge r13483 from cpstrnew branch by florian:
|
14 years ago |
pierre
|
f0aa48b083
* Remove use of direct U_UNIT_NAME or TC_UNIT_NAME
|
14 years ago |
sergei
|
ad94e5e719
* Link TLS directory and callbacks only into executables. It is not necessary for DLLs, because callback functionality is contained in DllMain. Moreover, DLLs with TLS directory cannot be dynamically loaded in Windows versions prior to Vista.
|
14 years ago |
sergei
|
50952945e1
* Moved WideString-related code, which is identical for Win32 and Win64, into syswin.inc
|
14 years ago |
sergei
|
cd94bb5edf
* tls_index must be renamed everywhere, forgotten part of r17943.
|
14 years ago |
pierre
|
46a6be05a5
* More dummy code to avoid removal of required labels
|
14 years ago |
pierre
|
bffd571f9d
* win/sysos.inc: TTlsDirectory, new record type
|
14 years ago |
sergei
|
3a7ac49cc2
- Removed Win32Wide2AnsiMove, using Win32Unicode2AnsiMove for both Unicode-to-ansi and Wide-to-ansi conversions. In general, we don't need two different conversion routines in wideStringManager, as long as they differ only in PWideChar vs PUnicodeChar (these types are identical).
|
14 years ago |
florian
|
a0c25dc0f9
- removes Thread_count from the system unit of several OSes: the value of this variable was unpredictable and the hebaviour was not fixable, resolves #18089
|
14 years ago |
florian
|
2c823f5935
* fixes compilation of win32 system unit with -dSYSTEMEXCEPTIONDEBUG
|
15 years ago |
michael
|
1cf64c032f
* Patch to remove useless process_entry_hook from sven barth
|
15 years ago |