Commit Graph

50319 Commits

Author SHA1 Message Date
marco
a2d397c064 * pmethod declaration, patch from mantis #31576 by Silvio
git-svn-id: trunk@35632 -
2017-03-20 21:19:20 +00:00
michael
a1303eecde * Fixed from Mattias Gaertner
pasresolver: checking all varargs arguments
  pasresolver: checking arguments are readable
  fppas2js: fixed using externals from other units

git-svn-id: trunk@35631 -
2017-03-20 07:31:39 +00:00
lacak
2e58447447 fcl-db: base: typo
git-svn-id: trunk@35630 -
2017-03-19 18:54:07 +00:00
lacak
93a528cd7a fcl-db: tests: test for bug #31532
git-svn-id: trunk@35629 -
2017-03-19 17:49:58 +00:00
lacak
4582b56506 fcl-db: base: cosmetic
git-svn-id: trunk@35628 -
2017-03-19 17:16:48 +00:00
maciej-izak
dcf172dee4 rtl-generics: speed up quadratic probe function. If the hash table size is a prime number and load factor is < 0.5 then the probe function p(k,i)=(h(k)+sqr(i)) is sufficient.
git-svn-id: trunk@35627 -
2017-03-19 16:00:11 +00:00
sergei
2357ca1fe6 * Fixed size suffix generated for CVTSI2SS, CVTSI2SD, VCVTSI2SS, VCVTSI2SD instructions. Mantis #31550.
* tasm2.pp already detected this bug if run with -al option. Added a copy of tasm2.pp and configured it with -al, so it is run daily on all suitable machines.

git-svn-id: trunk@35626 -
2017-03-19 10:29:28 +00:00
michael
051f8568b3 * Fix nested comments (* *) style
git-svn-id: trunk@35625 -
2017-03-19 09:44:58 +00:00
michael
d831c57883 * Force stop now first sends stop, then shutdown signals (bug ID 19510)
git-svn-id: trunk@35624 -
2017-03-18 22:33:30 +00:00
michael
2469aa48c1 * Patch from Mario Ray Mahardika to remove need for TypeCasts (bug ID 30252)
git-svn-id: trunk@35623 -
2017-03-18 19:38:37 +00:00
michael
cd03ec93fe * Patch from Karl-Michael Schindler (Bug ID 30402)
git-svn-id: trunk@35622 -
2017-03-18 18:11:18 +00:00
michael
cfbf1820e1 * Fix bug ID #31540 (again?)
git-svn-id: trunk@35621 -
2017-03-18 17:01:45 +00:00
michael
68bb9bef2c * Optimize fpc_AnsiStr_Compare to not use exception frame unless codepages differ
git-svn-id: trunk@35620 -
2017-03-18 14:38:50 +00:00
michael
2714a06e77 * Small optimization for comparing nil strings.
git-svn-id: trunk@35619 -
2017-03-18 14:22:57 +00:00
michael
b0ad48c877 * Fix bug #31532
git-svn-id: trunk@35618 -
2017-03-18 14:14:33 +00:00
michael
72c8dc8a65 * Fix bug #31560
git-svn-id: trunk@35617 -
2017-03-18 14:08:03 +00:00
michael
90f3ec2e3b * Fix bug ID #31559: methods of generic classes
git-svn-id: trunk@35616 -
2017-03-18 08:53:06 +00:00
michael
b517ab7906 * Patch from Mattias Gaertner:
- ability to omit declarations
  - removed obsolete code
  + Test unit for optimizations

git-svn-id: trunk@35615 -
2017-03-17 21:28:11 +00:00
michael
309c0115f7 * Patch from Mattias Gaertner:
* Whole Program optimization

git-svn-id: trunk@35614 -
2017-03-17 21:26:18 +00:00
michael
ef82aff9cd * Patch from Mattias Gaertner:
- nicer error handling for resourcestrings
  - resolve 'Result' element always to declaration

git-svn-id: trunk@35613 -
2017-03-17 21:25:35 +00:00
michael
4f24dfb71a * Fix bug #31483
git-svn-id: trunk@35612 -
2017-03-17 18:30:12 +00:00
michael
5bbf299c22 * Fix bug #31555, disbablefile locking
git-svn-id: trunk@35611 -
2017-03-17 07:58:59 +00:00
maciej-izak
154216788e rtl-generics: Override TOpenAddressingQP<OPEN_ADDRESSING_CONSTRAINTS>.FindBucketIndex for quadratic probing to omit infinite loop (for ContainsKey). Small refactoring for FindBucketIndexOrTombstone (no functional change).
git-svn-id: trunk@35610 -
2017-03-16 21:01:14 +00:00
maciej-izak
cc5027cd75 rtl-generics: remove unused "m" parameter from "Probe" methods for memory expanders related to dictionaries.
git-svn-id: trunk@35609 -
2017-03-16 17:22:43 +00:00
maciej-izak
52ec13613b rtl-generics: Fix critical issue (infinity loop) for quadratic probing. Table size must be a prime number.
git-svn-id: trunk@35608 -
2017-03-16 14:53:41 +00:00
michael
c213a4187a * Fix bug ID #21458
git-svn-id: trunk@35607 -
2017-03-16 13:48:38 +00:00
maciej-izak
e089e19a7d rtl-generics: Change visibility of method TDeamortizedDArrayCuckooMap<CUCKOO_CONSTRAINTS>.UpdateItemsThreshold from private to protected
git-svn-id: trunk@35606 -
2017-03-16 13:41:08 +00:00
pierre
984f9ff25e Regenerate Makefiel using trunk fpcmake with -Tall option to avoid failure on unsupported targets
git-svn-id: trunk@35605 -
2017-03-16 09:32:36 +00:00
marcus
824cabd203 Fixed textractquote regression after r35598
git-svn-id: trunk@35604 -
2017-03-16 08:04:38 +00:00
michael
ae6b9652fc * Avoid exception frame in ansistring compare for cases where codepage is equal
git-svn-id: trunk@35603 -
2017-03-15 22:02:29 +00:00
Károly Balogh
4b1ac10e0d libusb: fixed Windows build. Enabled the package for Win64
git-svn-id: trunk@35602 -
2017-03-15 21:47:30 +00:00
michael
e2d704cc8d * Small optimization in CompareStr as suggested in bug ID #30777
git-svn-id: trunk@35601 -
2017-03-15 21:30:19 +00:00
Károly Balogh
fccff1f010 libusb: attempt to fix build on Linux, fix typo in description
git-svn-id: trunk@35600 -
2017-03-15 21:18:13 +00:00
michael
5ca540f3c7 * LibUSB headers from Anton Kavalenka (Bug ID 31095)
git-svn-id: trunk@35599 -
2017-03-15 18:38:45 +00:00
michael
0ee31963ed * explicit check for Nil in AnsiExtractQuotedString (bug 31212)
git-svn-id: trunk@35598 -
2017-03-15 18:05:39 +00:00
michael
0ad519aac5 * Fix bug ID #0031546, far modifier for procedure
git-svn-id: trunk@35597 -
2017-03-15 17:36:40 +00:00
Károly Balogh
23ee8eb418 amiga-likes: removed amiga, morphos and aros from the list of platforms using .a library smartlinking
git-svn-id: trunk@35596 -
2017-03-15 17:01:21 +00:00
michael
655542e056 * Patch from werner Pamler to implement GammaP/GammaQ functions (Bug ID 31534)
git-svn-id: trunk@35594 -
2017-03-15 15:05:24 +00:00
michael
0a9031c76f * Fix bug ID #31524
git-svn-id: trunk@35593 -
2017-03-15 15:01:45 +00:00
Károly Balogh
ca9e2f5e5d wasm: added target to fpcmake
git-svn-id: trunk@35592 -
2017-03-15 14:53:04 +00:00
michael
3d95f39686 * Fix bug #31523
git-svn-id: trunk@35591 -
2017-03-15 14:20:18 +00:00
Károly Balogh
a4b096e9da m68k: added the embedded target
git-svn-id: trunk@35589 -
2017-03-15 13:37:56 +00:00
michael
3b9956dd3e * fix bug ID #31540
git-svn-id: trunk@35588 -
2017-03-15 12:36:12 +00:00
michael
525e16127b * Add some compiler opts
git-svn-id: trunk@35587 -
2017-03-14 11:05:32 +00:00
michael
7d92b0bd63 * unused Identifier analyser
git-svn-id: trunk@35586 -
2017-03-14 10:59:18 +00:00
michael
85df3d14ba * Some comments from Mattias Gaertner
git-svn-id: trunk@35585 -
2017-03-14 10:57:07 +00:00
michael
ffeaae5e09 * Small formatting change from Mattias Gaertner
git-svn-id: trunk@35584 -
2017-03-14 10:55:25 +00:00
michael
cbb2f35f77 * Patch from Mattias Gaertner to add more tests
git-svn-id: trunk@35583 -
2017-03-14 10:54:31 +00:00
michael
ceaf50de10 * More testcases, test now extendable
git-svn-id: trunk@35582 -
2017-03-14 10:53:52 +00:00
michael
ec94b8d7c4 * Fix from Mattias Gaertner:
- store Access type for references
  - made some protected methods virtual
  - nicer error position for const expressions errors

git-svn-id: trunk@35581 -
2017-03-14 10:53:06 +00:00