Commit Graph

31921 Commits

Author SHA1 Message Date
Jonas Maebe
f530de8da6 * also honor keep_sign_equal in get_common_intdef() for signed types
(r14892)

git-svn-id: trunk@14909 -
2010-02-13 20:50:18 +00:00
Jonas Maebe
fea789eca4 * fixed (harmless) range check errors
git-svn-id: trunk@14908 -
2010-02-13 20:48:59 +00:00
Jonas Maebe
efcc6f6440 * also handle statement nodes in has_no_code()
git-svn-id: trunk@14907 -
2010-02-13 20:48:38 +00:00
Jonas Maebe
a37850742c * fixed range check error if cstringpattern is empty (r14789, r14850)
git-svn-id: trunk@14906 -
2010-02-13 20:48:14 +00:00
Jonas Maebe
bb28dd7d08 * also show Darwin-specific external resource options for ARM and x86_64
* documented how to specify ARM-specific and x86_64-specific options in
    the help pages

git-svn-id: trunk@14905 -
2010-02-13 20:45:57 +00:00
Jonas Maebe
38b1271a21 * fixed wrong range check errors for "qword and constant" after
r14892

git-svn-id: trunk@14904 -
2010-02-13 20:44:03 +00:00
Jonas Maebe
1f4d7d6057 * add type symbol names to -vp output (patch by Adriaan van Os, mantis
#15737)

git-svn-id: trunk@14903 -
2010-02-13 16:47:37 +00:00
Tomas Hajny
5c31042f6a * SharedSuffix moved to include files to reduce number of ifdefs
git-svn-id: trunk@14902 -
2010-02-13 15:44:12 +00:00
marco
ef4954f8d9 * Pascal version for asm code in video (Mantis 15700)
git-svn-id: trunk@14901 -
2010-02-13 15:37:07 +00:00
marco
da19c48e05 * initial x86_64 code for compare videobuffer. To be tested later. Mantis 15700
git-svn-id: trunk@14900 -
2010-02-13 14:30:07 +00:00
marco
d8d0c6ae96 * patch that cleans up openal. Mantis 15756
git-svn-id: trunk@14899 -
2010-02-13 14:13:33 +00:00
marco
54b15ba318 * tcursorinfo incorrectly was aliassed to console_cursor_info, which is incorrect for
getcursorinfo in redef.inc. Added cursor_info structs as per MSDN. Mantis 15745

git-svn-id: trunk@14898 -
2010-02-13 14:06:08 +00:00
marco
b99d54383c * fix for 15509.
* setcount drastically simplified
   * Capacity now property with setter, to allow shrinking (but only till count)

git-svn-id: trunk@14897 -
2010-02-13 13:47:06 +00:00
Jonas Maebe
5e1a09f817 * fixed getting the "original" def in taddnode.simplify by stopping at
type conversions for absolute variables (fixes test/tprec13 on, a.o.,
    ppc64 after r14892)

git-svn-id: trunk@14896 -
2010-02-13 11:30:43 +00:00
Jonas Maebe
6dd25eb233 * fixed location_force_reg() for big endian 32 bit targets and
LOC_SUBSETREF/LOC_CSUBSETREF (fixes test/tregreg4 on sparc and ppc32
    after r14892)

git-svn-id: trunk@14895 -
2010-02-13 11:29:42 +00:00
ivost
efc3054644 * commented "deprecated". specialization is not working
git-svn-id: trunk@14894 -
2010-02-13 00:29:22 +00:00
marco
d742d6db58 * another fix for #15655, wrongly fixed in r14885
git-svn-id: trunk@14893 -
2010-02-12 22:32:22 +00:00
Jonas Maebe
85984c2d8f * insert proper type conversions when optimising logical operations and
compares by avoiding unnecessary sign extensions (fixes bug reported in
    http://lists.freepascal.org/lists/fpc-pascal/2010-January/023907.html )
  * never throw away int2int type conversions on bitpacked loads, because
    in these cases the proper bits still need to be selected

git-svn-id: trunk@14892 -
2010-02-12 18:13:08 +00:00
joost
8f90db3e98 * Fixed mem-leaks
git-svn-id: trunk@14891 -
2010-02-12 15:44:56 +00:00
ivost
2f20f6efc1 * marked old OnCompare properties as deprecated. use OnKeyCompare or OnDataCompare instead.
git-svn-id: trunk@14889 -
2010-02-11 20:48:35 +00:00
ivost
0637586076 * extended TFPGMap so that it's possible to add a custom compare function for data. Default compare function is binary compare.
git-svn-id: trunk@14888 -
2010-02-11 20:45:14 +00:00
marco
83fc2dd1ea * fix for #7308. (changeonopen preferences does nothing)
git-svn-id: trunk@14887 -
2010-02-11 16:11:53 +00:00
ivost
02b4a626de * changed some var parameters to out. the context allows that. it's required to prevent "not initialized variable" warning.
git-svn-id: trunk@14886 -
2010-02-11 15:52:37 +00:00
marco
fb1e916ed2 * fix from mantis 15655 that adds notifiers to tlist.addlist.
git-svn-id: trunk@14885 -
2010-02-11 13:37:34 +00:00
florian
092153e7ad * handle unrolling of for ... downto ... correctly, resolves #15668
git-svn-id: trunk@14884 -
2010-02-10 21:08:54 +00:00
Jonas Maebe
e89d0bcee3 + also print node tree after firstpass with -vp (patch by Adriaan van Os,
mantis #15710)

git-svn-id: trunk@14883 -
2010-02-10 16:41:16 +00:00
Jonas Maebe
6b0a0c149b * don't perform a range check in Delphi mode when passing a cardinal as
vtInteger to an array-of-const parameter (mantis #15727)

git-svn-id: trunk@14882 -
2010-02-10 16:35:37 +00:00
Jonas Maebe
d60e1f674c * automatically try to call procvars that are subscripted or used in a
with-statement, both in FPC and TP/Delphi modes (mantis #15728)

git-svn-id: trunk@14881 -
2010-02-10 16:12:18 +00:00
Jonas Maebe
1b58fcc877 * set moduleislib to true for libraries. Differences with islibrary:
a) is also set to true for packages (when packages will beimplemented)
     b) exists for each package/library/application separately, instead of
        being stored in the package containing the system unit (when packages
        will be implemented)
    (mantis #15701)

git-svn-id: trunk@14880 -
2010-02-10 16:10:23 +00:00
joost
257c6b0b89 * Fixed AV in GetURL
* Removed useless code (warning)

git-svn-id: trunk@14879 -
2010-02-09 12:45:58 +00:00
florian
c459100773 + basic info program
git-svn-id: trunk@14878 -
2010-02-07 22:56:05 +00:00
florian
be71dc16b4 + CL_PLATFORM_EXTENSION
git-svn-id: trunk@14877 -
2010-02-07 22:55:38 +00:00
joost
c5c0bab10b * Added OnChange and OnChangeCS events to THTMLCustomDatasetContentProducer
git-svn-id: trunk@14876 -
2010-02-07 12:31:55 +00:00
joost
7d16a2ded2 * Fixed GetURL for the case there are no parameters in the CGIScriptName
git-svn-id: trunk@14875 -
2010-02-07 12:31:07 +00:00
florian
0c153a46df * math.power/intpower(0,0) return 1, this is as recommended in IEEE 754
as well as compatible with other programming languages and delphi

git-svn-id: trunk@14873 -
2010-02-06 23:10:03 +00:00
Jonas Maebe
879e487ee8 * changed linker target name for WinCE from arm-pe into arm-wince-pe
(mantis #15666)

git-svn-id: trunk@14872 -
2010-02-06 20:22:15 +00:00
Jonas Maebe
89110baab8 * don't modify the flags while simplifying PIC memory references
(mantis #15694)

git-svn-id: trunk@14871 -
2010-02-06 20:18:36 +00:00
Jonas Maebe
b1d2ab5450 * tobject.inheritsfrom(nil) has to return false (mantis #15690)
git-svn-id: trunk@14870 -
2010-02-06 18:14:26 +00:00
Jonas Maebe
870edaf916 * tobject.unitname and tobject.tostring have to return an ansistring instead
of a shortstring (mantis #15693)
  * changed tobject5 so it checks whether the return values are correct

git-svn-id: trunk@14869 -
2010-02-06 17:53:49 +00:00
pierre
3f30dded7f * avoid problems if two svnversion executable are in SEARCHPATH
git-svn-id: trunk@14868 -
2010-02-06 17:33:47 +00:00
florian
34f976afea * enabled internal sar support for sparc and mips as well
git-svn-id: trunk@14867 -
2010-02-04 22:04:19 +00:00
florian
f8bf268406 * handle sarX(<const>,<var>) properly. resolves #15653
git-svn-id: trunk@14866 -
2010-02-04 21:30:25 +00:00
michael
7d7a3d20ed * Regenerated
git-svn-id: trunk@14865 -
2010-02-04 20:32:08 +00:00
michael
45a22a30b0 * Regenerated
git-svn-id: trunk@14864 -
2010-02-04 20:31:56 +00:00
michael
7096ee6bfa * Regenerated
git-svn-id: trunk@14863 -
2010-02-04 20:31:49 +00:00
michael
09109e5bf9 * Do not use case with strings, older compilers do not support it
git-svn-id: trunk@14862 -
2010-02-04 20:27:32 +00:00
michael
e3c5ce04ec * Fixed compilation
git-svn-id: trunk@14861 -
2010-02-04 20:22:44 +00:00
Jonas Maebe
fbfe277144 r321 | jonas | 2010-02-04 16:49:46 +0100 (Thu, 04 Feb 2010) | 3 lines
* CIconHandle = ^CIconPtr instead of = CIconPtr (error noted by James
    Chandler Jr)

git-svn-id: trunk@14860 -
2010-02-04 16:02:04 +00:00
michael
59bd32b7ea * Initial check-in
git-svn-id: trunk@14859 -
2010-02-04 15:18:07 +00:00
michael
82f0d61ad9 * Added libsee for win32 and linux
git-svn-id: trunk@14858 -
2010-02-04 13:00:08 +00:00