Commit Graph

57246 Commits

Author SHA1 Message Date
florian
d8e2db2691 + command line switch -CV to select the threadvar model for section threadvars
git-svn-id: trunk@43071 -
2019-09-25 21:19:04 +00:00
florian
56d91b4ca7 + support tls threadvars with the internal assembler
git-svn-id: trunk@43070 -
2019-09-25 21:19:03 +00:00
florian
f6667a5143 * we have to use __tls_get_addr from the dyn. linker lib else tls on programs with pure pascal dyn. libraries fail
git-svn-id: trunk@43069 -
2019-09-25 21:19:01 +00:00
florian
5ed2475c85 * InitThread variant without parameters as user threads normally cannot know the max. stack size
git-svn-id: trunk@43068 -
2019-09-25 21:19:01 +00:00
florian
14b7eaa46f + x86-64: implemented support for relocation needed by tls threadvars in the binary elf writer
git-svn-id: trunk@43067 -
2019-09-25 21:18:59 +00:00
michael
75216d3309 * Construct query string, needed in proxy
git-svn-id: trunk@43066 -
2019-09-25 15:49:28 +00:00
michael
97ce90ef0d * remove forced debug flag
git-svn-id: trunk@43065 -
2019-09-25 15:40:19 +00:00
michael
7f94a08b67 * Improve header & get variable fetching
git-svn-id: trunk@43064 -
2019-09-25 15:38:20 +00:00
michael
80663ce324 * Add (cust)microhttpapp, high-concurrency standalone server
git-svn-id: trunk@43063 -
2019-09-25 14:06:28 +00:00
pierre
ee22dbe589 Handle change of memory base address after call to SysTryResizeMem
git-svn-id: trunk@43062 -
2019-09-24 12:44:01 +00:00
michael
85616e7dc7 * Use AppendPathInfo
git-svn-id: trunk@43061 -
2019-09-23 15:19:25 +00:00
michael
43685c95a8 * Fix appending path info and setting headers
git-svn-id: trunk@43060 -
2019-09-23 15:14:35 +00:00
nickysn
667e090e2b + added and implemented procedure SetMousePos in unit ptcmouse
git-svn-id: trunk@43059 -
2019-09-23 14:11:07 +00:00
Károly Balogh
d352dbe044 fpcmake: simplified defines for Amiga-like systems
git-svn-id: trunk@43058 -
2019-09-22 20:42:31 +00:00
Mattias Gaertner
4a226f39ab fcl-passrc: fixed stop on implementation keyword in program, fixed parsing attributes in class type section
git-svn-id: trunk@43057 -
2019-09-22 17:55:36 +00:00
Mattias Gaertner
2b76f439fe fcl-passrc: parser: position of generic function is in front of type params
git-svn-id: trunk@43056 -
2019-09-22 15:58:55 +00:00
florian
bd1d6f335d * if we load a got depends only if one is needed, not if PIC is generated as this could be also caused by tls support
git-svn-id: trunk@43055 -
2019-09-22 15:27:51 +00:00
florian
02deb7d954 * try to avoid to use pic based calls
git-svn-id: trunk@43054 -
2019-09-22 15:27:50 +00:00
Mattias Gaertner
64e846ebe9 fcl-passrc: check objfpc generic procedure has templates
git-svn-id: trunk@43053 -
2019-09-22 14:09:58 +00:00
Mattias Gaertner
422afb8ebc fcl-passrc: specialize generic forward proc
git-svn-id: trunk@43052 -
2019-09-22 13:50:58 +00:00
Mattias Gaertner
009a3435c1 pas2js: avoid use of in when enumerating uses list
git-svn-id: trunk@43051 -
2019-09-22 12:04:33 +00:00
Mattias Gaertner
9ac8abeb4e fcl-passrc: specialize non forward generic procedure
git-svn-id: trunk@43050 -
2019-09-22 12:02:04 +00:00
michael
db5620354e avoid use of in when enumerating uses list
git-svn-id: trunk@43049 -
2019-09-22 11:19:45 +00:00
svenbarth
a00be912aa * fix regression introduced with r42240: packed sets for the Integer based variants of SetToString/StringToSet need to be shifted on Big Endian systems
git-svn-id: trunk@43048 -
2019-09-21 14:36:19 +00:00
svenbarth
e4c275a349 * extend test so that it also covers the SetToString/StringToSet variants take/return Integer arguments
git-svn-id: trunk@43047 -
2019-09-21 14:36:16 +00:00
svenbarth
ad8de624b8 * make halt codes unique
git-svn-id: trunk@43046 -
2019-09-21 14:36:13 +00:00
Károly Balogh
eb71d11b99 m68k: also handle OS_64 register sizes in cgsize2subreg
git-svn-id: trunk@43045 -
2019-09-20 13:48:30 +00:00
Károly Balogh
435b57bdb1 m68k: allow vecnode to use word size index registers
git-svn-id: trunk@43044 -
2019-09-20 11:37:18 +00:00
Károly Balogh
19a6964088 m68k: add subregisters. on 68k, these are not as universal as on x86 and work differently, but the compiler needs this infrastructure to do 16bit math (which is a massive improvement on '000) or word-size indexes on CPUs which support it
git-svn-id: trunk@43043 -
2019-09-20 11:35:35 +00:00
pierre
912bc1e65b + Add math unit dependency to types$(PPUEXT) rule.
* Fix missing close-brace in several types$(PPUEXT) rules.

git-svn-id: trunk@43042 -
2019-09-19 20:49:12 +00:00
michael
df6c01be27 * Lazarus project file for json test
git-svn-id: trunk@43041 -
2019-09-19 17:14:49 +00:00
michael
8d4a46a5bd command-line version of test progam
git-svn-id: trunk@43040 -
2019-09-19 17:11:55 +00:00
michael
64795253ae * Fix serverfilter and Refresh
git-svn-id: trunk@43039 -
2019-09-19 08:39:59 +00:00
michael
3dba0fe5b2 Call CurrentIndexBuf only once
git-svn-id: trunk@43038 -
2019-09-19 08:39:35 +00:00
michael
9396decb19 * Make sure FieldDefs.Update operates on prepared query
git-svn-id: trunk@43037 -
2019-09-19 08:02:05 +00:00
michael
b9e94a961d * Added test for bug ID #36086 (lookup on empty dataset)
git-svn-id: trunk@43035 -
2019-09-19 07:40:26 +00:00
michael
18479fa113 * Fix bug #36086 (Lookup causes AV if dataset is empty)
git-svn-id: trunk@43034 -
2019-09-19 07:35:38 +00:00
michael
19791c0a06 * Fix bug ID #36085
git-svn-id: trunk@43033 -
2019-09-19 07:31:53 +00:00
Mattias Gaertner
c769b8dc7d pastojs: type helper for jsvalue
git-svn-id: trunk@43032 -
2019-09-18 15:46:49 +00:00
Mattias Gaertner
1145d0d18a pas2js: replace setArrayLength with faster non recursive version
git-svn-id: trunk@43031 -
2019-09-18 15:34:33 +00:00
pierre
5cc4f0be20 Fix bug report #36081: fix cycling starting with i386-linux 3.0.4 release compiler
git-svn-id: trunk@43029 -
2019-09-18 07:45:47 +00:00
pierre
eb3a470f45 * assemble.pas (TInternalAssembler.TreePass0): Avoid range/overflow check error.
(TInternalAssembler.TreePass2): Check that objsymend and objsym are in same section
    and avoid range/overflow check error.

git-svn-id: trunk@43028 -
2019-09-17 21:06:18 +00:00
florian
94832d5eea * fixed define
git-svn-id: trunk@43027 -
2019-09-17 18:42:40 +00:00
michael
9aa024c7df * Allow sourcing program from stdn with -- option (bug ID 35945)
git-svn-id: trunk@43026 -
2019-09-17 10:35:36 +00:00
michael
ccfe575645 * Fix bug #36080, add wirecompression to IBConnection
git-svn-id: trunk@43025 -
2019-09-17 09:54:13 +00:00
michael
0ce71294ea * Fix Bug ID #0033025 : Prepare should be called only once for repeated use
git-svn-id: trunk@43024 -
2019-09-17 09:38:17 +00:00
michael
63106e3844 * Remove debug statement
git-svn-id: trunk@43023 -
2019-09-17 07:14:28 +00:00
pierre
0fa70759a2 * cutils.pas (size_2_align): Move to..
globals.pas (size_2_align): ...here.
     Change parameter type to asizeuint to avoid overflows.
     (var_align_size, const_align_size): Also change parameter type to asizeuint.
     i386/cpupara.pas, i8086/cpupara.pas, x86_64/cpupara.pas: Add globals
     to implementation uses clause because of size_2_align move.

git-svn-id: trunk@43022 -
2019-09-16 14:50:43 +00:00
Mattias Gaertner
3e673c09a9 pastojs: changed constraints to TPasElementArray, changed TInlineSpecializeExpr to NameExpr:TPasExpr and Params:TFPList
git-svn-id: trunk@43021 -
2019-09-16 14:26:33 +00:00
Mattias Gaertner
4f64058a9f fcl-passrc: changed constraints to TPasElementArray, changed TInlineSpecializeExpr to NameExpr:TPasExpr and Params:TFPList
git-svn-id: trunk@43020 -
2019-09-16 14:26:17 +00:00