Commit Graph

46880 Commits

Author SHA1 Message Date
svenbarth
79f19f79f2 msg/errore.msg:
+ add error message if a generic method is declared inside an interface
  + add error message if a generic method is declared as virtual

git-svn-id: trunk@31764 -
2015-09-18 14:52:47 +00:00
svenbarth
529677cc79 ncal.pas:
* extend tcallnode with the ability to pass a tspecializationcontext so that tcallcandidates can do a final specialization
  * the final procdef is registered at the end of tcallnode.pass_typecheck

git-svn-id: trunk@31763 -
2015-09-18 14:48:54 +00:00
yury
75b3ce2d2c * Added a comment.
git-svn-id: trunk@31762 -
2015-09-18 14:40:39 +00:00
yury
835e3efdad * i386-android: Library startup code is PIC compatible.
git-svn-id: trunk@31761 -
2015-09-18 14:40:27 +00:00
svenbarth
2e24d6dffb htypechk.pas:
* extend tcallcandidates by the ability to handle generic procdefs
pgenutil.pas:
  + export check_generic_constraints

git-svn-id: trunk@31760 -
2015-09-18 14:37:47 +00:00
svenbarth
e44a51f10d symdef.pas, tprocdef:
+ new token buffer that holds the declaration of the generic function/method while the one from tdef contains the body
ppu.pas:
  * increase PPU version
utils/ppuutils/ppudump.pp:
  * also read the declaration token buffer, it's however not printed yet (ToDo!)

git-svn-id: trunk@31759 -
2015-09-18 13:46:50 +00:00
svenbarth
e8c68a09c1 pgenutil.pas, parse_generic_parameters:
* no longer create the type symbol and the defs as registered
pdecl.pas, types_dec:
  * register the syms and defs of the parsed generic parameters

git-svn-id: trunk@31758 -
2015-09-18 13:16:25 +00:00
svenbarth
040786e5bb + extend tundefineddef with the possiblity to create it as unregistered
* for now all undefineddefs are created as registered
Note: an additional parameter instead of an overload is used for tundefineddef.create as otherwise both constructors would need to be overridden in potential descendant CPU-specific classes...

git-svn-id: trunk@31757 -
2015-09-18 13:08:58 +00:00
svenbarth
4b98b36212 pgenutil.pas:
* make generate_specialization_phase1() and generate_specialization_phase2() aware of the existance of procdefs

git-svn-id: trunk@31756 -
2015-09-18 12:53:42 +00:00
yury
61a1976e09 * Removed a leftover of my code. It is not needed anymore.
git-svn-id: trunk@31755 -
2015-09-18 10:34:27 +00:00
yury
7c62aadf65 * Fixed string conversion warnings in RTL.
git-svn-id: trunk@31752 -
2015-09-17 17:25:57 +00:00
nickysn
b3226f2e63 + readded the FIsCaseSensitive variable (that was removed in r31734) as a
property in the TOmfLibObjectReader class

git-svn-id: trunk@31751 -
2015-09-17 16:53:46 +00:00
yury
e1a0b1204a * Removed unused vars in RTL.
git-svn-id: trunk@31750 -
2015-09-17 16:48:53 +00:00
nickysn
718dda73ef + added an overload for EnumProps with a TFarProc parameter for BP7 compatibility
git-svn-id: trunk@31749 -
2015-09-17 16:43:15 +00:00
nickysn
d942309402 * fixed memory leak in TOmfLibObjectReader.ReadLibrary
git-svn-id: trunk@31748 -
2015-09-17 16:40:40 +00:00
nickysn
24d051703e + added the window repainting win16api functions
git-svn-id: trunk@31747 -
2015-09-17 16:38:44 +00:00
yury
374148b966 * fixed compilation of 8086 compiler.
git-svn-id: trunk@31746 -
2015-09-17 16:30:02 +00:00
yury
11a9ff4a43 * Removed unused vars for mipsel compiler.
git-svn-id: trunk@31745 -
2015-09-17 15:46:30 +00:00
yury
47b316d0e2 * Removed unused vars for x86-64 compiler.
git-svn-id: trunk@31744 -
2015-09-17 15:26:31 +00:00
yury
e04a3b4ac6 * Removed unused vars for x86 compiler.
git-svn-id: trunk@31743 -
2015-09-17 15:20:15 +00:00
yury
aa150093d2 * Hack-fixed a compiler note.
git-svn-id: trunk@31742 -
2015-09-17 15:11:45 +00:00
yury
d27964bd1a * Removed unused chunk of code. Looks like a not needed leftover.
git-svn-id: trunk@31741 -
2015-09-17 15:11:03 +00:00
nickysn
12cd32ec18 + added the win16api drawing support functions
git-svn-id: trunk@31740 -
2015-09-17 15:03:57 +00:00
nickysn
051c8e74ce + added the win16api window query and enumeration functions
git-svn-id: trunk@31739 -
2015-09-17 14:27:25 +00:00
nickysn
077ce10a93 + added the win16api window coordinate mapping and hit testing functions
git-svn-id: trunk@31738 -
2015-09-17 14:14:49 +00:00
nickysn
2dffffb66d + added the win16api main window support functions
git-svn-id: trunk@31737 -
2015-09-17 13:55:33 +00:00
nickysn
d62c342b9c + added the win16api window proc implementation and subclassing functions
git-svn-id: trunk@31736 -
2015-09-17 13:41:45 +00:00
nickysn
c56a028e31 + added the win16api window placement functions
git-svn-id: trunk@31735 -
2015-09-17 13:23:06 +00:00
yury
b26fa07f1a * Fixed notes "var is assigned but not used".
git-svn-id: trunk@31734 -
2015-09-17 13:03:04 +00:00
nickysn
e01d57cea3 + added the win16api window creation/destroy functions
git-svn-id: trunk@31733 -
2015-09-17 12:51:03 +00:00
yury
432248cbf1 * Removed lot of unused vars.
git-svn-id: trunk@31732 -
2015-09-17 12:48:58 +00:00
yury
40628fa614 * Removed unused vars.
git-svn-id: trunk@31731 -
2015-09-17 12:24:59 +00:00
yury
80e5eb0c5d * ARM: I hope this is a final proper fix for GOT initialization. + Test.
git-svn-id: trunk@31730 -
2015-09-17 12:18:04 +00:00
nickysn
fc6837799e * RegisterClass returns a BOOL in windows 3.0 and earlier, and an ATOM in 3.1+
git-svn-id: trunk@31729 -
2015-09-17 12:05:15 +00:00
yury
1dff9bf025 * ARM: Fixed GOT init when optimization is off.
git-svn-id: trunk@31728 -
2015-09-16 21:30:20 +00:00
yury
34efa0e9a9 * Skip tests for android since they must be run locally.
git-svn-id: trunk@31727 -
2015-09-16 18:22:00 +00:00
yury
95aa8cf453 * delete test file.
git-svn-id: trunk@31726 -
2015-09-16 18:19:57 +00:00
yury
6e638e31d7 * Use cp1251 on Android.
git-svn-id: trunk@31725 -
2015-09-16 17:49:38 +00:00
yury
b6b072e030 * android: install unicodedata and unicodenumtable units.
git-svn-id: trunk@31724 -
2015-09-16 17:42:12 +00:00
yury
d106fc9823 * Use cp1251 on Android.
git-svn-id: trunk@31723 -
2015-09-16 17:35:22 +00:00
yury
5cab55be27 * android: Fixed ansi-unicode conversion when DefaultSystemCodePage is changed.
git-svn-id: trunk@31722 -
2015-09-16 17:34:39 +00:00
yury
2c7da8e43f * Build Unicode collations for android.
git-svn-id: trunk@31721 -
2015-09-16 16:47:57 +00:00
yury
6f15b5bf63 * Use /data/local/tmp/ as a fallback temp dir on Android.
git-svn-id: trunk@31720 -
2015-09-16 16:37:17 +00:00
yury
f9f8c931f3 * arm-android: Do not use register r4, since it must be preserved. Use r3 instead.
git-svn-id: trunk@31719 -
2015-09-16 16:28:41 +00:00
yury
67758f450e * Set ARMv6 as default CPU for arm-android to eliminate multi-threading issues on multi-core CPUs.
git-svn-id: trunk@31718 -
2015-09-16 16:11:36 +00:00
nickysn
5c71414d02 + added the win16api window class management functions
git-svn-id: trunk@31717 -
2015-09-16 15:28:12 +00:00
nickysn
dde243e4e5 + added the application termination win16api functions and constants
git-svn-id: trunk@31716 -
2015-09-16 15:04:53 +00:00
nickysn
475c24670b + added the win16api power management constants
git-svn-id: trunk@31715 -
2015-09-16 15:00:14 +00:00
nickysn
90d4b116d7 + added the win16api window message functions
git-svn-id: trunk@31714 -
2015-09-16 14:47:14 +00:00
nickysn
07879e64ca + added the win16api rectangle functions
git-svn-id: trunk@31713 -
2015-09-16 13:59:38 +00:00