nickysn
b0ca862f32
+ implemented IntroSort (hybrid between QuickSort and HeapSort) in unit SortAlgs
...
git-svn-id: trunk@41258 -
2019-02-08 15:34:29 +00:00
pierre
4d8dcfc42e
Fix compilation on targets without Random: add $ifdef FPC_HAS_FEATURE_RANDOM
...
git-svn-id: trunk@41245 -
2019-02-07 10:46:41 +00:00
nickysn
1c64f4c751
* some formatting changes to avoid very large lines in the source code
...
git-svn-id: trunk@41242 -
2019-02-06 18:26:05 +00:00
nickysn
52b4fc039c
+ added randomized quicksort to unit sortalgs
...
git-svn-id: trunk@41237 -
2019-02-06 14:20:40 +00:00
nickysn
c728a1204a
+ added additional notes in the comments for HeapSort
...
git-svn-id: trunk@41233 -
2019-02-05 18:25:27 +00:00
nickysn
ec45f0069a
+ added unit SortAlgs to rtl-extra. It implements extra sorting algorithms
...
that can be used in place of the default QuickSort implementation from unit
SortBase. Currently, only HeapSort is implemented, but others will be added
in the future.
git-svn-id: trunk@41219 -
2019-02-04 14:34:13 +00:00
michael
ed91d6d094
* Fix syntax error
...
git-svn-id: trunk@40930 -
2019-01-20 12:32:01 +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
Jonas Maebe
c6bb85eae9
* support for compiling the objects unit methods that expect local procedure/
...
function pointers using {$modeswitch nestedprocvars} functionality, activate
this for LLVM and also activate that modeswitch for a test that uses this
o also convert the IDE units to use this functionality
o requires extra typecasts because implicit type conversions from
procvar(p: psometype) to procvar(p: pointer) are not supported; on the
plus side, even those type conversions are checked for validity
o note: requires {$modeswitch nestedprocvars} in all programs/units
that rely on this functionality
git-svn-id: trunk@40598 -
2018-12-20 21:22:40 +00:00
yury
21c867d3fc
* android: Use libc for sockets since the "accept" syscall is blocked by SECCOMP, but the "accept4" alternative is not available on old Android versions (2.3 and older).
...
git-svn-id: trunk@40532 -
2018-12-12 11:49:38 +00:00
yury
8958d94091
* Fixed locale detection on new Android versions.
...
git-svn-id: trunk@40200 -
2018-11-03 14:16:21 +00:00
yury
b717a149b6
* android: Removed cwstring from the uses clause of the unix unit. Use cwstring indirectly. It allows to avoid using cwstring if needed.
...
git-svn-id: trunk@40198 -
2018-11-03 12:34:59 +00:00
yury
a29290202f
* Regenerated makefiles to support x86_64-android.
...
git-svn-id: trunk@39958 -
2018-10-17 17:12:20 +00:00
yury
8c59eb1ce5
* Regenerated makefiles to support aarch64-android.
...
git-svn-id: trunk@39863 -
2018-10-06 09:36:03 +00:00
pierre
4e7003fb94
Update all packages Makefile's
...
git-svn-id: trunk@39828 -
2018-09-27 07:05:49 +00:00
florian
a34d4e715c
Merged riscv_new branch
...
git-svn-id: trunk@39813 -
2018-09-26 19:49:08 +00:00
pierre
41d2a0a496
Disable libraries not compiling for jvm-java or jvm-android targets
...
git-svn-id: trunk@39808 -
2018-09-26 09:29:33 +00:00
yury
3a2884df70
* Android: The list of supported syscalls has been auto-generated directly from android sources for each CPU.
...
* Minor adjustments to make all compilable with the proper list of Android syscalls.
git-svn-id: trunk@39739 -
2018-09-11 16:10:50 +00:00
svenbarth
5d9ddf99d4
* use SizeInt instead of LongInt for the size fields of the VMT to match what the compiler generates for non-32-bit targets
...
git-svn-id: trunk@39727 -
2018-09-10 20:57:04 +00:00
svenbarth
00663728b5
* fix for Mantis #34239 : the parent VMT is an indirect reference due to the changes for dynamic packages for quite some time already, so handle that accordingly
...
+ added test
git-svn-id: trunk@39715 -
2018-09-08 14:56:09 +00:00
marco
98f00acb06
* trunk to 3.3.1
...
git-svn-id: trunk@39635 -
2018-08-18 15:47:44 +00:00
marco
d143ab60e1
* regenned makefile without date/rev components for easier merging.
...
git-svn-id: trunk@39630 -
2018-08-18 15:06:25 +00:00
Jeppe Johansen
dcb0f4fdb5
Fixed setjmp that overwrote a callee save register.
...
Disable relaxation for the gp load part of the prt0 code.
Fixed up some syscall definitions.
git-svn-id: branches/laksen/riscv_new@39478 -
2018-07-20 15:00:14 +00:00
michael
dae7d20d69
* Fix bug #33880
...
git-svn-id: trunk@39274 -
2018-06-21 20:54:03 +00:00
pierre
0673f181bb
android jvm doesn't need clocale unit
...
git-svn-id: trunk@39140 -
2018-05-28 22:26:04 +00:00
pierre
a93fe1b363
Regenerated Makefile's after addition of ppas and ppaslink script removal in rev 38745
...
git-svn-id: trunk@38751 -
2018-04-12 15:26:33 +00:00
michael
16ba47be46
* Patch from Ondrej Pokorny to convert unit names to CamelCase (bug ID 33481)
...
git-svn-id: trunk@38616 -
2018-03-23 22:06:36 +00:00
florian
8d52be0d10
* package enabled for embedded-*
...
git-svn-id: trunk@37979 -
2018-01-15 22:03:07 +00:00
Jonas Maebe
d448349330
* updated/corrected TIPC_Perm record for Darwin 64 bit platforms (patch by
...
Werner Bochtler, mantis #32520 )
git-svn-id: trunk@37888 -
2018-01-01 17:34:21 +00:00
nickysn
0e6bb08efa
* fixed the CallVoidLocal, CallPointerLocal, CallVoidMethodLocal and CallPointerMethodLocal
...
functions on i8086 (parentfp is always word-sized on i8086, regardless of the memory
model)
git-svn-id: trunk@37658 -
2017-12-01 23:10:13 +00:00
nickysn
718eb04ef8
* redefine sw_integer and sw_word in unit objects to be 16-bit on i8086, so
...
that they match BP7 and FPC's FV units
git-svn-id: trunk@37649 -
2017-12-01 20:20:39 +00:00
nickysn
2a852a490a
+ enabled compilation of unit 'objects' on win16
...
git-svn-id: trunk@37646 -
2017-12-01 19:46:46 +00:00
yury
13957d32b8
* Fixed packages building for mipsel-android. socketcall is used only for i386 CPU.
...
git-svn-id: trunk@37527 -
2017-10-29 12:46:02 +00:00
pierre
d18627f0af
* Update all fpcsrc Makefile's using latest fpcmake version 2017-09-21 rev 37286
...
git-svn-id: trunk@37462 -
2017-10-16 00:27:27 +00:00
pierre
e3a35d99ba
Add watcom OS to ObjectOSes and symbian to UComplexOSes and MatrixOSes
...
git-svn-id: trunk@37460 -
2017-10-16 00:15:40 +00:00
michael
243002023c
* Patch from Markus Beth to fix some comments
...
git-svn-id: trunk@37431 -
2017-10-09 08:31:12 +00:00
svenbarth
68f94d2d2d
+ add SOCKADDR_STORAGE type
...
git-svn-id: trunk@37365 -
2017-09-30 16:34:02 +00:00
pierre
de456308c1
Enable clocale and objects units for BeOS
...
git-svn-id: trunk@37279 -
2017-09-20 16:01:43 +00:00
Károly Balogh
04dee0fc04
regenerated Makefiles for m68k-macos target
...
git-svn-id: trunk@37034 -
2017-08-22 11:16:42 +00:00
pierre
5d96ca4baf
Add EMX to SocketsOses constant
...
git-svn-id: trunk@37012 -
2017-08-21 14:06:27 +00:00
Károly Balogh
4c25bd935f
packages: disabled packages for macos and palmos which currently cannot be built for these
...
git-svn-id: trunk@36889 -
2017-08-12 21:08:34 +00:00
pierre
7a172d3d5a
Regenerated all Makefile from packages directories
...
git-svn-id: trunk@36395 -
2017-06-01 14:15:50 +00:00
pierre
17b2671213
Regenerate all Makefile's after changes related to FPCDIR checks
...
git-svn-id: trunk@35833 -
2017-04-18 14:15:47 +00:00
Mattias Gaertner
7f8cdc56d3
undo accidental commit: fppas2js: test TestFunctionResult
...
git-svn-id: trunk@35023 -
2016-11-30 10:29:13 +00:00
Mattias Gaertner
3bb089223b
fppas2js: test TestOperators1
...
git-svn-id: trunk@35022 -
2016-11-30 10:23:57 +00:00
Károly Balogh
f4bbb229fa
rtl-extra: enabled for atari
...
git-svn-id: trunk@34667 -
2016-10-08 14:02:33 +00:00
Károly Balogh
72424073d7
rtl-extra: objects unit actually doesn't seem to depend on dos
...
git-svn-id: trunk@34617 -
2016-10-04 10:58:17 +00:00
nickysn
24ca717072
- temporarily disable compilation of the real48utils unit on i8086-msdos,
...
because bitpacked records, containing longints (which this unit uses) don't
yet work on 16-bit and 8-bit targets. As soon as this is fixed, it'll be
reenabled again.
git-svn-id: trunk@34561 -
2016-09-26 12:18:09 +00:00
michael
29ed02d228
* utility unit to add 48-bit real math, bug ID #30460
...
git-svn-id: trunk@34501 -
2016-09-10 19:48:52 +00:00
yury
4a661ea8f8
* android: Implemented clocale. Fixed makefile.
...
git-svn-id: trunk@34349 -
2016-08-19 16:30:23 +00:00