Commit Graph

57089 Commits

Author SHA1 Message Date
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
pierre
0b2a6e5a74 * tests/Makefile.fpc: Add NATIVE_FPC=$(FPC) to tstunits rule make call.
* tests/Makefile: Regenerate.
  * tests/tstunits/Makefile.fpc: Pass FPCFPMAKE=$(NATIVE_FPC) to rtl and packages
    recompilation rules, to avoid truobles for cross-compilation.
  * tests/tstunits/Makefile: Regenerate.

git-svn-id: trunk@43019 -
2019-09-16 07:41:37 +00:00
Jonas Maebe
9678542ba6 + add "thunk" attribute for stubs/thunks and emit it for LLVM
- also removed wrong "noreturn" attribute for interface thunks generated
     for high level code generator targets

git-svn-id: trunk@43018 -
2019-09-15 20:43:12 +00:00
Jonas Maebe
ff2d718699 * fixed occasional rounding error with currency constants on the LLVM targets
(fixes test/tcustomattr13.pp)

git-svn-id: trunk@43017 -
2019-09-15 20:43:09 +00:00
Jonas Maebe
4deb62ad87 * fix for "ldr label" support in AArch64 assembler reader (r42988)
git-svn-id: trunk@43016 -
2019-09-15 17:26:25 +00:00
Jonas Maebe
13902c1c7a * fixed compilation for __ARM_EABI_UNWINDER__ with -dexcdebug
git-svn-id: trunk@43015 -
2019-09-15 17:26:21 +00:00
florian
bfd83911e4 * set stack alignment for i386-linux to 16 byte boundaries, this implies a fixed stack layout inside the subroutine code as well
git-svn-id: trunk@43014 -
2019-09-15 17:17:33 +00:00
florian
719ff5fb4c * converted _FPC_libc21_haltproc into a pascal subroutine so stack alignment is kept
git-svn-id: trunk@43013 -
2019-09-15 17:17:32 +00:00