Commit Graph

55052 Commits

Author SHA1 Message Date
Jonas Maebe
170ec00348 - removed withnode (was no longer used since a very long time)
git-svn-id: trunk@40777 -
2019-01-05 22:28:37 +00:00
michael
f89431c4f7 * GNU TLS Library import
git-svn-id: trunk@40775 -
2019-01-05 18:21:49 +00:00
michael
dabd4fa625 * Specify correct OSes for sslsockets. Add sslbase as dependency
git-svn-id: trunk@40774 -
2019-01-05 18:12:25 +00:00
Jonas Maebe
91d5457b38 * moved around/replaced the following procedures to stop nflw from depending
on pdecsub (node units should not depend on parser units):
   o maybe_add_public_default_java_constructor()
   o handle_calling_convention()
   o create_finalizer_procdef() (replaced with create_outline_procdef())
   o insert_record_hidden_paras()
   o handle_calling_convention()
   o proc_add_definition()
   o build_parentfpstruct()
   o maybe_guarantee_record_typesym()
   o get_first_proc_str()
  * factored out the creation of a procinfo for a nested procdef based on a
    subnodetree of the current procdef into tprocinfo.create_for_outlining()

git-svn-id: trunk@40773 -
2019-01-05 16:26:33 +00:00
Jonas Maebe
28df55fe08 * moved handle_calling_convention() to pparautl
git-svn-id: trunk@40772 -
2019-01-05 16:26:29 +00:00
Jonas Maebe
f20e7bc193 * only adjust the stack pointer of the signal context if it's aligned (it
may still be unaligned in case the signal got raised in a leaf function)

git-svn-id: trunk@40771 -
2019-01-05 16:26:26 +00:00
marcus
e3126bdf3d fixed compilation for amiga-likes after r40769
git-svn-id: trunk@40770 -
2019-01-05 14:43:10 +00:00
michael
b0c264948e * Rework SSL handling to be pluggable, add HTTPS support to fphttpserver
git-svn-id: trunk@40769 -
2019-01-05 12:37:44 +00:00
michael
1378f55f6d * Extended example based on pas2js test sample
git-svn-id: trunk@40768 -
2019-01-05 12:29:45 +00:00
michael
1e9e87175e * Add class definition
git-svn-id: trunk@40767 -
2019-01-05 12:29:00 +00:00
olivier
4d7c0ce1b3 * Haiku : adjust alignment of records the C way.
This should fix Haiku on 32 bits CPU while not breaking the 64 bits version.

git-svn-id: trunk@40766 -
2019-01-05 02:36:34 +00:00
svenbarth
56eaa913b5 * correctly check for the Extended value of a Currency and Comp value
git-svn-id: trunk@40765 -
2019-01-04 15:03:27 +00:00
Károly Balogh
fa4502387b haiku: more fixes of base OS types for 64bit, the compiler itself works natively now at least somewhat
git-svn-id: trunk@40764 -
2019-01-04 06:34:56 +00:00
Károly Balogh
634503591b haiku: code cleanup, fixed off-by-one buffer size and removed 'packed' for the TAlternateSignalStack
git-svn-id: trunk@40763 -
2019-01-04 05:10:50 +00:00
Károly Balogh
1a4b8bfa27 haiku: do not use a packed record to define the signal stack and sigactionrec
git-svn-id: trunk@40762 -
2019-01-04 05:09:03 +00:00
Károly Balogh
82cdd6cec0 haiku: use some of the right ptypes for 64bit CPUs
git-svn-id: trunk@40761 -
2019-01-04 05:04:59 +00:00
Károly Balogh
3508ad0d20 haiku: properly pass on the exitcode to the haltproc on x86_64
git-svn-id: trunk@40760 -
2019-01-04 04:08:00 +00:00
Károly Balogh
d19cb0ee4c haiku: Makefile.fpc update for x86_64 support
git-svn-id: trunk@40759 -
2019-01-04 03:34:20 +00:00
Károly Balogh
5182dc37af haiku-x86_64: regenerated all Makefiles, take 2
git-svn-id: trunk@40758 -
2019-01-04 03:18:42 +00:00
Károly Balogh
59aef99f52 haiku-x86_64: regenerated all Makefiles
git-svn-id: trunk@40757 -
2019-01-04 03:17:19 +00:00
Károly Balogh
0d8ef46195 haiku: linker support code for internal sysinit and make the x86_64 port use it
git-svn-id: trunk@40756 -
2019-01-04 03:00:03 +00:00
Károly Balogh
a6cd62b358 haiku: enable usestime for x86_64 as well
git-svn-id: trunk@40755 -
2019-01-04 02:46:27 +00:00
Károly Balogh
efba70f82b haiku: pascal sysinit code for haiku, will be needed for x86_64, nice to have for i386
git-svn-id: trunk@40754 -
2019-01-04 02:44:39 +00:00
Károly Balogh
2f7fe0e737 haiku-x86_64: add target to the compiler and ppudump, enable it in fpmake and fpcmake
git-svn-id: trunk@40753 -
2019-01-04 02:16:24 +00:00
Károly Balogh
1d7486748a tabs to spaces cleanup. no functional change
git-svn-id: trunk@40752 -
2019-01-04 01:35:36 +00:00
florian
3a8f25348b * set default abi to eabi5 on arm
git-svn-id: trunk@40751 -
2019-01-03 20:55:25 +00:00
svenbarth
04bbfd1746 * fix for Mantis #27378: save and (more importantly) restore verbosity when switching a unit
+ added test

git-svn-id: trunk@40750 -
2019-01-03 20:31:34 +00:00
florian
10ab893de3 * improved explanation for warning 9034
git-svn-id: trunk@40749 -
2019-01-03 17:38:27 +00:00
joost
0bdfc51a0b * Do not choke on a non existing compiler executable during initialization
git-svn-id: trunk@40748 -
2019-01-02 23:29:45 +00:00
svenbarth
5d1edc8ca2 * move CallHandler() abstract method out of Windows ifdef so that the include works for non-Windows as well
git-svn-id: trunk@40747 -
2019-01-02 21:58:50 +00:00
florian
2ba239ea6d * more robust fix of #27543
git-svn-id: trunk@40746 -
2019-01-02 16:14:18 +00:00
marco
90ca418206 * bug #34758 iolecache.setdata 2nd param now var.
git-svn-id: trunk@40745 -
2019-01-02 13:46:09 +00:00
florian
e74a5c89b0 * patch by Marģers: fix wrong button caption in Options -> Save As dialog, resolves #34533
git-svn-id: trunk@40743 -
2019-01-01 23:46:37 +00:00
florian
e7c4fccf41 * patch by Simon Ameis: adds mcu STM32F091* to compiler unit t_embed.pas; thus internal error 200902011 is not raised anymore, resolves #34570
git-svn-id: trunk@40742 -
2019-01-01 23:16:07 +00:00
florian
91a0de27aa * pass -meabi=5 when calling the assembler in the linux rtl Makefile, non-eabi target are not supported for years already, so this should cause little problems
git-svn-id: trunk@40738 -
2019-01-01 19:29:43 +00:00
Jonas Maebe
a72a12eef6 * don't emit 0-sized parameters for LLVM: clang doesn't either, and some
LLVM backends (like the AArch64 one) trigger internal errors when
    encountering them

git-svn-id: trunk@40736 -
2019-01-01 16:55:41 +00:00
Jonas Maebe
4d03f3a65e * fixed LLVM memory leaks
git-svn-id: trunk@40732 -
2019-01-01 16:22:31 +00:00
florian
22365a1f57 + test for #27543 which is fixed meanwhile
git-svn-id: trunk@40731 -
2019-01-01 16:16:54 +00:00
florian
22efab7b1a * patch by Marģers: fix undo of deleting of lines in the text mode ide, resolves #24663
git-svn-id: trunk@40730 -
2019-01-01 16:04:20 +00:00
Jonas Maebe
ff8ccb06e5 * changed reverseparameters() from function into procedure: it does not make
sense as a function (the original input needed to be replaced by its
    result to make any sense), and someone already mistakenly used it like that
    in htypechk causing a bug/memory leak

git-svn-id: trunk@40729 -
2019-01-01 15:08:40 +00:00
Mattias Gaertner
9d079bfb97 pastojs: generate elevated local types as vars
git-svn-id: trunk@40722 -
2019-01-01 12:17:22 +00:00
florian
a2cee252e8 * when optimizing range checks in case nodes, unsigned comparisions must be used, resolves #34782
git-svn-id: trunk@40721 -
2019-01-01 01:11:13 +00:00
nickysn
635a6c7ef8 * fixed msdos .com file generation
git-svn-id: trunk@40720 -
2018-12-31 17:41:31 +00:00
Mattias Gaertner
3099c4db18 pastojs: test precompiled local types
git-svn-id: trunk@40715 -
2018-12-31 14:30:37 +00:00
Mattias Gaertner
f2625dd206 fcl-passrc: resolver: class constructor/destructor
git-svn-id: trunk@40714 -
2018-12-31 14:29:39 +00:00
Mattias Gaertner
7b050bb17c pastojs: generate all local types in global function
git-svn-id: trunk@40712 -
2018-12-31 10:48:14 +00:00
joost
d63f6ad9d5 * Do not try to write a fppkg compiler-configuration file when the
fppkg.cfg file has not been written, but raise an error instead.

git-svn-id: trunk@40711 -
2018-12-31 00:15:33 +00:00
florian
1641585655 * updated bcase.pp benchmark by Gareth Moreton, now used also as test
git-svn-id: trunk@40710 -
2018-12-30 22:21:03 +00:00
Mattias Gaertner
8604d83436 pastojs: fixed tests
git-svn-id: trunk@40708 -
2018-12-30 09:40:01 +00:00
Mattias Gaertner
b1752fb4ce fcl-js: omit brackets on associative operations (a||b)||(c||d), (a&&b)&&(c&&d), (a|b)|c, (a&b)&c, (a^b)^c, (a+b)+c, (a-b)-c, (a*b)*c
git-svn-id: trunk@40707 -
2018-12-30 09:39:46 +00:00