Ondrej Pokorny
676c9a7bf6
Rename KeepAliveSupport->KeepAliveEnabled
2021-08-18 14:20:45 +02:00
Ondrej Pokorny
c67a44c07a
Read out KeepAlive only if enabled
2021-08-18 14:20:45 +02:00
Ondrej Pokorny
3814df5b4a
set socket options in TSocketStream.SetSocketOptions
2021-08-18 14:20:45 +02:00
Ondrej Pokorny
7d890608b8
comment
2021-08-18 14:20:45 +02:00
Ondrej Pokorny
8bf5eb8322
TFPCustomHttpServer KeepAlive* properties
2021-08-18 14:20:45 +02:00
Ondrej Pokorny
7fbc82a9ff
httpserver keep-alive first attempt
2021-08-18 14:20:45 +02:00
Pierre Muller
3da7d62b1a
Add support for hash generation for git repository (local modifier not implemented)
2021-08-18 12:00:07 +02:00
florian
3e3f99c328
* properly check if -unpushed should be appended in revision.inc
2021-08-18 10:49:42 +02:00
mattias
4401ef32bb
pastojs: emulate compile time assign integer constant of different type
2021-08-18 09:45:26 +02:00
Michaël Van Canneyt
6b36229d3c
* Allocate min threads
2021-08-17 16:47:00 +02:00
Michaël Van Canneyt
6e8775f2a9
* Add thread pool to fpmake
2021-08-17 16:25:24 +02:00
Michaël Van Canneyt
2e0a88901e
* Initial thread pool implementation
2021-08-17 16:21:21 +02:00
Pierre Muller
c426791a1b
Also ignore compiler/gppc* pattern
2021-08-17 13:49:05 +00:00
florian
4c1eb4e454
+ include -unpushed in revision.inc if not all changes are pushed to the remote
2021-08-17 15:43:53 +02:00
Pierre Muller
b962abc84f
Add compiler/revision.inc to .gitignore list
2021-08-17 12:28:25 +02:00
Ondrej Pokorny
400e11e6cf
Propagate SSL initialization errors as exceptions
2021-08-17 10:20:25 +00:00
florian
d5dfb73898
+ test pastojs with regression tests
...
* switch extension to .pas for files which shall be ignored
by the regression tests (they are found by the compiler automatically)
2021-08-16 23:02:09 +02:00
florian
5995a9909b
* testjson.pp needs to be compiled in objfpc mode, in particular when
...
being used in the regression tests
2021-08-16 21:54:54 +02:00
florian
0ff3f04700
* use git describe to create a revision.inc if a .git dir is found
2021-08-16 21:24:49 +02:00
Yuriy Sydorov
07dcd22b1c
* sizeof(array) and length(array) must return sizeUint in case the array
...
size does not fit in sizeint. This fixes a range check error during
compilation on small CPU targets where allowed array size is 64K, but
sizeint is 32K max.
2021-08-16 21:54:46 +03:00
Ondrej Pokorny
40c359a551
TFPCustomHTTPClient: do not reconnect when terminated
2021-08-16 18:51:02 +00:00
florian
2efaee6d85
* include fcl-json in regression tests
...
* switch extension to .pas for files which shall be ignored
by the regression tests (they are found by the compiler automatically)
2021-08-16 20:20:46 +02:00
Yuriy Sydorov
3ca73da912
* In TP-style INLINE, allowed the > modifier for global vars and relaxed range checks.
2021-08-16 17:36:12 +03:00
Ondrej Pokorny
fdaa1a12d0
fphttpclient: new DoDataWrite/OnDataSent event
2021-08-16 13:59:51 +00:00
Yuriy Sydorov
bd814c58c3
* Instruct GitLab to use the Pascal syntax highlighter for .pp and .inc files.
2021-08-16 16:32:00 +03:00
Yuriy Sydorov
fc3685819c
+ Added a test for the TP-style INLINE() statement.
2021-08-16 16:12:47 +03:00
Ondrej Pokorny
d502a38f20
TFPHTTPConnection: clear FBuffer when read from it in ReadRequestContent
2021-08-16 11:33:53 +02:00
Ondrej Pokorny
675312c201
*http client: rewind RequestBody in SendRequest
2021-08-16 07:04:20 +02:00
Yuriy Sydorov
64ddf22e1b
* TP compatibility: For retro CPUs always copy the function result to
...
the register(s) on function exit if assembler blocks are present.
2021-08-16 00:40:34 +03:00
Yuriy Sydorov
c78e9557f8
* Added support for the old Turbo Pascal INLINE(data/data/...) statement.
...
It is available only in the TP mode.
2021-08-16 00:40:34 +03:00
Yuriy Sydorov
122ed4b76a
* Support for sleb128 and uleb128 constants in the NASM writer.
...
* Added sleb128tostr() and uleb128tostr() methods to TExternalAssembler.
* Use these methods in assembler writers instead of code duplication.
2021-08-16 00:40:34 +03:00
Ondrej Pokorny
5479663e56
Move GetStatusCode from fphttpserver.pp to httpprotocol.pp in order to use it outside fphttpserver
2021-08-15 11:47:01 +00:00
Ondrej Pokorny
c64c0e617d
fphttpclient keepalive: failed socket operations raise exceptions - try to reconnect also in this case
2021-08-15 11:39:05 +00:00
florian
246bff92d2
+ include fcl-passrc in regression tests
2021-08-15 11:51:42 +02:00
Karl-Michael Schindler
dd4b4af6a5
compiler/msg/errord*.msg: Update of German error messages
2021-08-14 23:48:45 +02:00
FPK
bc2ed1a560
Merge branch 'main' into 'main'
...
Remove "r" from FPC revision.
See merge request freepascal.org/fpc/source!7
2021-08-13 20:39:18 +00:00
Michaël Van Canneyt
5022d0e772
Merge branch 'main' of gitlab.com:freepascal.org/fpc/source into main
2021-08-13 14:09:43 +02:00
Michaël Van Canneyt
a7d608dd43
* Add DB testsuite config file to ignore list
2021-08-13 14:09:34 +02:00
Yuriy Sydorov
07698050e5
* Before r35961 (back in 2017) some simple assignment optimizations, such as "x:=x+y" to "inc(x,y)", were performed when -O2 in tassignmentnode.simplify. In r35961 these optimizations were moved to a separate pass which is enabled only when -O3 by cs_opt_use_load_modify_store. This separate pass can benefit from other optimization. But worse code is generated with -O2 since then.
...
This commit restores applying of simple assignment optimizations when -O2.
2021-08-13 13:53:40 +03:00
Don
d147533c94
Remove "r" from FPC revision.
2021-08-13 11:18:42 +01:00
florian
777d536d9b
* extended routines int/frac/trunc shouldn't mess with precision or exception flags, should fix #39275
2021-08-12 21:20:30 +02:00
florian
306fae299e
* patch by J. Gareth Moreton: AND/CMP optimisation, resolves #39287
2021-08-11 23:01:30 +02:00
Michaël Van Canneyt
25e937b0c9
* Correct reader signatures
2021-08-11 22:03:36 +02:00
Michaël Van Canneyt
2f81580e04
* cast empty string to char no longer compiles
2021-08-11 21:54:10 +02:00
Michaël Van Canneyt
776790d014
* Rework packet handling
2021-08-11 21:54:10 +02:00
Michael Van Canneyt
5221388659
Merge branch 'ZeroSeparators' into 'main'
...
DateTimeToString: do not write #0 separators
See merge request freepascal.org/fpc/source!5
2021-08-11 12:22:54 +00:00
Ondrej Pokorny
a55794d80d
DateTimeToString: do not write #0 separators
2021-08-11 12:22:29 +00:00
Michael Van Canneyt
5997c13615
Merge branch 'WinDateSeparator' into 'main'
...
Win date separator in ShortDateFormat and LongDateFormat
See merge request freepascal.org/fpc/source!4
2021-08-11 12:21:51 +00:00
Ondrej Pokorny
0ae0e741cf
win: fix default ShortDateFormat and LongDateFormat
2021-08-11 11:37:43 +00:00
Ondrej Pokorny
2c81b44b1c
win: fix default ShortDateFormat and LongDateFormat
2021-08-11 11:37:43 +00:00