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
|
před 13 roky |
pierre
|
4a9c8e330b
+ Move EXEC_callback into separate file win/systlsdir.inc
|
před 13 roky |
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).
|
před 13 roky |
paul
|
1ccf16358c
rtl: init widestring and unitcodestring managers before initialization of Standard IO files (stdin,stdout,stderr)
|
před 14 roky |
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).
|
před 14 roky |
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.
|
před 14 roky |
sergei
|
f35a8179b1
* Status codes are identical for win32 and win64, moved them to syswin.inc.
|
před 14 roky |
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):
|
před 14 roky |
paul
|
28627482c5
merge r13483 from cpstrnew branch by florian:
|
před 14 roky |
pierre
|
f0aa48b083
* Remove use of direct U_UNIT_NAME or TC_UNIT_NAME
|
před 14 roky |
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.
|
před 14 roky |
sergei
|
50952945e1
* Moved WideString-related code, which is identical for Win32 and Win64, into syswin.inc
|
před 14 roky |
sergei
|
cd94bb5edf
* tls_index must be renamed everywhere, forgotten part of r17943.
|
před 14 roky |
pierre
|
46a6be05a5
* More dummy code to avoid removal of required labels
|
před 14 roky |
pierre
|
bffd571f9d
* win/sysos.inc: TTlsDirectory, new record type
|
před 14 roky |
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).
|
před 14 roky |
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
|
před 14 roky |
florian
|
2c823f5935
* fixes compilation of win32 system unit with -dSYSTEMEXCEPTIONDEBUG
|
před 15 roky |
michael
|
1cf64c032f
* Patch to remove useless process_entry_hook from sven barth
|
před 16 roky |
florian
|
cba72c423d
* patch by Sergei Gorelkin to use always SetFilePointer, also for files with >2GB, this saves some lines of code, resolves #14630
|
před 16 roky |
florian
|
a2862ce347
* cleaned up mess of r13516
|
před 16 roky |
florian
|
380f3ac78f
* fix from Nikolay Samofatov for #12987: initialize thread vars in libraries on windows correctly
|
před 16 roky |
florian
|
a8804cf2a6
* unified some win32/win64 code
|
před 17 roky |
florian
|
b178b08ba7
Merged revisions 11665-11738 via svnmerge from
|
před 17 roky |
florian
|
93d86a60e4
* patch by Sergei Gorelkin improving win32 command line handling, resolves #10175
|
před 17 roky |
yury
|
d1dd8bd928
* Fixed warning and notes.
|
před 17 roky |
florian
|
577d26b290
* better handling of error output for gui programs
|
před 17 roky |
michael
|
174de3eab1
Merged revisions 9693-10480 via svnmerge from
|
před 17 roky |
peter
|
f4f3ae84d0
* AllowDirectorySeparators and AllowDriveSeparators typed constants
|
před 17 roky |
peter
|
5acb3649df
* revert r9557, the performance impact is to big for an academic corner
|
před 17 roky |