Commit Graph

29426 Commits

Author SHA1 Message Date
florian
5e448b47a5 * compilation fixed
git-svn-id: trunk@12061 -
2008-11-12 20:42:21 +00:00
marco
066e99be2b * fixed another whtmlhlp
git-svn-id: trunk@12060 -
2008-11-12 20:16:59 +00:00
peter
8419161964 * current_objectdef is now always valid when parsing is within the
context of a class. This can be either the class declaration or
    a method implementation
  * replaced all current_procinfo.procdef._class with current_objectdef

git-svn-id: trunk@12059 -
2008-11-12 18:54:39 +00:00
yury
b580cbc778 * Removed unused local var.
git-svn-id: trunk@12057 -
2008-11-12 18:02:02 +00:00
marco
c665711b4a * Fixing result, no mode Delphi.
git-svn-id: trunk@12056 -
2008-11-12 17:53:13 +00:00
marco
2a28ba151f * fix for win32 chm use.
git-svn-id: trunk@12054 -
2008-11-12 17:38:18 +00:00
Jonas Maebe
53213844d8 + new test (not yet fixed)
git-svn-id: trunk@12050 -
2008-11-11 20:20:29 +00:00
florian
74efea399e * fix getlabelwithsym for 64 bit hosts and 32 bit targets
git-svn-id: trunk@12049 -
2008-11-11 19:10:11 +00:00
peter
a3a66ba74d * split tvisibility from tsymoptions
* replace current_object_option with symtable.currentvisibility

git-svn-id: trunk@12048 -
2008-11-11 09:05:39 +00:00
peter
e5e3462161 * object_dec can now return tobjectdef instead of tdef
git-svn-id: trunk@12047 -
2008-11-10 21:04:08 +00:00
peter
af437d5beb * refactor the forward type declaration handling, remove
global typecanbeforward and move 'class of ..' parsing
    to ptype

git-svn-id: trunk@12045 -
2008-11-09 22:07:36 +00:00
florian
53ffda14f3 * fixes taking the address of an assembler block defined label
* create short jumps also for asm blocks, thanks to Sergej Gorelkin for the patch, resolves #11638

git-svn-id: trunk@12043 -
2008-11-09 21:14:45 +00:00
florian
49195b0ac0 * fixes assembling of mov ax,<mem16>
* fixes assembling of test <mem8>,reg8; resolves #11786

git-svn-id: trunk@12040 -
2008-11-09 10:24:59 +00:00
Jonas Maebe
c6c9ec83e0 * only make the target of a type conversion not regable after checking
whether it's assignable if 1) the size/sign changes (was already the
    case) and 2) in case something actually can be assigned to it

git-svn-id: trunk@12039 -
2008-11-09 10:24:23 +00:00
Jonas Maebe
1e178d324f * explicitly check whether the methodpointer isn't the same as the result
before optimising function result assignment, because at this point the
    hidden self parameter is not yet inserted (mantis #12597)
  * changed ttypeconvnode.actualtargetnode to use the same logic as what
    is used to determine whether something can be assigned to the result
    of a type conversion (so the above check also works if the methodpointer
    contains a typecast to a different object type)

git-svn-id: trunk@12038 -
2008-11-09 10:19:29 +00:00
Jonas Maebe
dbbd75ca47 * fixed setting EInoutError.ErrorCode (mantis #12575, thanks to
Bart Broersma for the analysis)

git-svn-id: trunk@12037 -
2008-11-09 09:46:47 +00:00
Jonas Maebe
718694d1d6 * always specify an explicit alignment for tgobj.gettemp (so e.g.
shortstring temps don't get maximum alignment)
  * changed some gettemptyed() calls into gettemp() calls (gettemptyped
    means that this temp can only be used for temps of that type,
    which is necessary for refcounted types but not for floats)

git-svn-id: trunk@12036 -
2008-11-08 22:20:47 +00:00
marco
334379f844 * splitting of long lines when copying a TStringlist to a dos (shortstring) eq.
git-svn-id: trunk@12035 -
2008-11-08 13:58:46 +00:00
marco
1f511e1b9a * fix for 12480, unify multiple styles of stderr debugmsgs
git-svn-id: trunk@12034 -
2008-11-08 11:52:59 +00:00
paul
4f8838d731 gtk2: add g_slice_xxx functions from glib 2.10
git-svn-id: trunk@12033 -
2008-11-08 10:10:24 +00:00
Jonas Maebe
f07d00b7f0 * changed test so it also produces a warning (and hence fails) on 64 bit
platforms

git-svn-id: trunk@12032 -
2008-11-07 20:00:06 +00:00
peter
b6dcffe79b * remove obsolete bt_specialize
git-svn-id: trunk@12031 -
2008-11-07 00:14:08 +00:00
peter
da13c20f59 * refactor, no functional changes
git-svn-id: trunk@12030 -
2008-11-06 23:25:50 +00:00
peter
ca48c2f34c * tobjectdef.set_parent also inherits oo_can_have_published
git-svn-id: trunk@12029 -
2008-11-06 23:25:00 +00:00
Jonas Maebe
53e52ac6a9 * implementation of 32x32->64 multiplication for i386 based on patch
by Sergei Gorelkin

git-svn-id: trunk@12028 -
2008-11-06 21:03:10 +00:00
peter
84112032c3 * rename aktobjectdef to current_objectdef
git-svn-id: trunk@12027 -
2008-11-06 19:46:31 +00:00
michael
67f56b7adf * Patch from Sergei Gorelkin:
src/xmlread.pp, src/dom.pp
  * Improvements to attribute processing: attributes are now validated as
    they come. This enables reporting of the corresponding validation
    errors at correct positions (previously everything was reported at the
    end of element start-tag).
  * Search for a declaration for attribute, not for an attribute
    corresponding to the declaration. This reduces number of lookups
    (because unspecified attributes are not searched) and obsoletes the
    need in FDeclared field on every attribute.

  tests/domunit.pp, tests/testgen.pp:

  * Various improvements required to support converting of the
    DOM level 3 XPath module.

git-svn-id: trunk@12026 -
2008-11-04 18:33:05 +00:00
Jonas Maebe
e5920bc2b8 * delay verbosity changes just like localswitches changes
* store a node's verbosity in the node so that e.g. disabling warnings
    also disables warnings for this node in pass_1
   (the above together fix mantis #12076)
  * save/restore verbosity with {$push}/{$pop} (mantis #12075)
  * if warnings/notes/hints are turned off, also do not count encountered
    ones for the totals (otherwise -Sew cannot be used properly in
    combination with {$warnings off}, because disabled warnings will still
    trigger a compiler error) -- this required adding -vw/-vn/-vh to all
    tests using -Sew/-Sen/-Seh
  - removed some superfluous state saving/restoring from firstpass()

git-svn-id: trunk@12025 -
2008-11-03 21:18:27 +00:00
Jonas Maebe
658dd00f5f * more program header fixes
git-svn-id: trunk@12024 -
2008-11-03 20:19:38 +00:00
Jonas Maebe
66669b00b1 * put program header in the right place
git-svn-id: trunk@12023 -
2008-11-03 20:13:03 +00:00
Jonas Maebe
cdf6d8cd04 * formatting fixes of requirements
git-svn-id: trunk@12022 -
2008-11-03 20:08:02 +00:00
Jonas Maebe
7626a91592 * disabled last safecall code for non-windows (mantis #12237)
git-svn-id: trunk@12021 -
2008-11-02 15:13:20 +00:00
Jonas Maebe
7f8e9b8d35 * fixed node complexity calculation for certain inlinenodes
(mantis 12404)

git-svn-id: trunk@12020 -
2008-11-02 14:50:17 +00:00
Jonas Maebe
7c919b3c74 + test to make sure any future fix of mantis #12508 takes this special
case into account

git-svn-id: trunk@12019 -
2008-11-02 14:23:55 +00:00
florian
937067e367 + check if forward definitions and real definitions have the same type, resolves #11970
git-svn-id: trunk@12017 -
2008-11-02 12:36:31 +00:00
florian
a47a107cb2 * newline changes
git-svn-id: trunk@12016 -
2008-11-02 09:42:49 +00:00
florian
6dcdf5bdf4 * tabs/spaces fixed
git-svn-id: trunk@12015 -
2008-11-02 09:41:30 +00:00
florian
db7a66f3af + fixed zlib for windows, resolves #12451
+ test

git-svn-id: trunk@12013 -
2008-11-02 09:23:34 +00:00
Jonas Maebe
9e8048a033 * regenerated using more recent fpcmake
git-svn-id: trunk@12012 -
2008-11-02 09:23:26 +00:00
michael
c85ce877fb * Some more explanations
git-svn-id: trunk@12011 -
2008-11-01 22:28:04 +00:00
michael
f3dccf9e7d * Added expression parser
git-svn-id: trunk@12010 -
2008-11-01 22:15:23 +00:00
Jonas Maebe
a23630260b + "weakexternal" support for imported procedures and variables.
the syntax is exactly the same as for "external", except for
    the keyword. It is currently only active for Darwin targets.
    It should also work at least for Linux targets, but only with
    the GNU assembler (which is why it is not activated there)
  + test for this functionality

git-svn-id: trunk@12009 -
2008-11-01 18:38:32 +00:00
Jonas Maebe
eb130d7501 * fixed invalid type cast in case of errors in a library's export section
git-svn-id: trunk@12008 -
2008-11-01 17:08:26 +00:00
marco
699a0ba70f * another part of Almindor's fix.
git-svn-id: trunk@12007 -
2008-11-01 11:53:21 +00:00
marco
e0821f6682 * pipe cleanup from Ales, also fixes TProcess for AMD64.
git-svn-id: trunk@12006 -
2008-11-01 11:43:43 +00:00
michael
65637e301f * Fixed strtotime. Last character was never taken into account
git-svn-id: trunk@12005 -
2008-11-01 11:05:21 +00:00
Almindor
dfda298172 * fix compilation and bug in new aspell lib loading code
git-svn-id: trunk@12004 -
2008-10-31 22:35:30 +00:00
Almindor
dbe3cfba21 * remove unused oldfpccall from amd64 BSD syscall code
git-svn-id: trunk@12003 -
2008-10-31 18:19:44 +00:00
Almindor
bf9358efd4 * revert previous AssignPipe change, will need different approach
git-svn-id: trunk@12002 -
2008-10-31 13:28:00 +00:00
Almindor
da3718b74b * use iterarive numbering to find first usable libaspell.so.xx on linux
* don't use specific libaspell.so.xx on BSDs (they have dev by default)

git-svn-id: trunk@12001 -
2008-10-30 22:25:40 +00:00