Commit Graph

13891 Commits

Author SHA1 Message Date
michael
e89c99f6a7 corrected by Michalis:
* VerQueryValue parameters (last parameter should be dwBytes instead of
    @dwBytes; you can call
      VerQueryValue(...,pp,dwBytes) or
      VerQueryValue(...,@pp,@dwBytes) but NOT
      VerQueryValue(...,pp,@dwBytes) (and that was the case) )
  * corrected
      if not VerQueryValue(p,a,pp,dwBytes) then Exit;
    to
      if not VerQueryValue(p,a,pp,dwBytes) then Continue;
    (when some info is missing the code should skip to the next info,
    not exit)
  + added destructor to Free FmyVersionStrings and FmyVersionCategories objects
    to avoid memory leaks
  + added ts.Free (and embedded some code in try..finally..end clause)
    to avoid memory leaks
  * inherited Create should be called at the beginning of constructor
    (it's just a good coding practice)
  * getVersionSetting re-written, optimised a little (LowerCase(inp) only once;
    this function is not supposed to be really "optimised" but this little
    improvement was so simple...) (note: when TStringList.CaseSensitive will
    be implemented in FPC, this function can be implemented even simpler,
    just by calling FmyVersionCategories.IndexOf)
2003-07-26 16:23:05 +00:00
michael
28ef3fa9d1 + Fixed readstring from TStringStream ( 2003-07-26 16:20:50 +00:00
florian
612a8cbbb1 * basic stuff fixed 2003-07-26 00:55:57 +00:00
Jonas Maebe
a1db92451c + added 2003-07-25 11:53:47 +00:00
Jonas Maebe
c3326c434a * fixed palettype declaration (web bug #2547) 2003-07-25 11:25:36 +00:00
Jonas Maebe
a783aea0b9 * fixed bogus abstract method warnings 2003-07-25 09:54:57 +00:00
Jonas Maebe
3c5d94dc64 * fixed nil pointer access 2003-07-24 10:45:40 +00:00
Jonas Maebe
177d57f22c * split en_exit_code into a part that may allocate a register and a part
that doesn't, so the former can be done before the register colouring
    has been performed
2003-07-23 11:04:15 +00:00
Jonas Maebe
af784cfb1e * final (?) fix to in-code 2003-07-23 11:02:53 +00:00
Jonas Maebe
a3cb0d2002 * don't use rg.getregisterint() anymore in g_stackframe_entry_*, because
the register colouring has already occurred then, use a hard-coded
    register instead
2003-07-23 11:02:23 +00:00
Jonas Maebe
355f84758e * several rg.allocexplicitregistersint/rg.deallocexplicitregistersint
pairs round calls to helpers
2003-07-23 11:01:14 +00:00
Jonas Maebe
356ee447ba * "lastsaveintreg" is RS_R31 instead of RS_R27 with -dnewra, because
there are no scratch regs anymore
2003-07-23 11:00:09 +00:00
Jonas Maebe
5ab3ea0af5 - disabled some debugging code 2003-07-23 10:58:06 +00:00
michael
4233636161 + Added canvas implementation 2003-07-23 07:22:15 +00:00
michael
b2abc44515 + Initial implementation 2003-07-23 07:21:54 +00:00
florian
5aba45edbf * very basic stuff for the arm 2003-07-21 16:35:30 +00:00
Jonas Maebe
d191387d5a * fixed 64bit int results with -dnewra (you can't free both registers and
then allocate two new ones, because then the registers could be reversed
    afterwards -> you get something like "movl %eax, %edx; movl %edx,%eax")
2003-07-21 13:51:50 +00:00
Jonas Maebe
7bc1557f5c * add_edges_used() is now also called for registers allocated with
getexplicitregisterint()
  * writing the intereference graph is now only done with -dradebug2 and
    the created files are now called "igraph.<module_name>"
2003-07-21 13:32:39 +00:00
Jonas Maebe
4b907b7c5e + added 2003-07-21 13:04:40 +00:00
florian
d2035fd6b4 * very basic stuff for the arm 2003-07-21 11:52:57 +00:00
Jonas Maebe
d73acd12f6 * fixed newra bug due to the fact that we sometimes need a temp reg
when loading/storing to memory (base+index+offset is not possible)
    and because a reference is often freed before it is last used, this
    temp register was soemtimes the same as one of the reference regs
2003-07-20 20:39:20 +00:00
Jonas Maebe
db3bd69a18 * fixed bug in tcginnode.pass_2 2003-07-20 18:03:27 +00:00
Jonas Maebe
66fcf33869 * fix for threadvars with -dnewra 2003-07-20 16:26:43 +00:00
Jonas Maebe
af61f830d0 * fixed bug in g_concatcopy with -dnewra 2003-07-20 16:15:58 +00:00
michael
3f4ec841ad + dl and crypt only needed on Linux 2003-07-19 15:36:24 +00:00
michael
bea2706914 + fix from Ivan Shikhalev for QueryInterface to return ancestor methods 2003-07-19 11:19:07 +00:00
mazen
2772a461b6 + using Assert to monitor done_init and get state of
un_cgi initailization
* renaming EnvP and EnvC to cgiEnvP and cgiEnvP
  to avoid confusion with regular EnvP and EnvC
  varaibles especially under win32 target
* set_contents get parameter by address (const)
2003-07-16 12:56:03 +00:00
michael
95d9a6e16e + Fixed cltransparant issue 2003-07-10 11:59:29 +00:00
michael
b87c40ac19 + Changed clColor to colColor 2003-07-09 21:26:20 +00:00
peter
1b633246b9 * sparc fixes 2003-07-08 21:23:24 +00:00
peter
0460035f53 * 1.1 does not need to load esi 2003-07-08 21:21:33 +00:00
peter
c2b929017a * test shall fail 2003-07-08 15:58:13 +00:00
peter
38616d29d6 * objfpc mode 2003-07-08 15:39:15 +00:00
peter
09ed47cba6 * don't allow add/assignments for formaldef
* formaldef size changed to 0
2003-07-08 15:20:56 +00:00
peter
aa51a11b02 * new bug 2003-07-08 14:34:31 +00:00
peter
accadea6a1 * new bug 2003-07-08 14:23:54 +00:00
peter
79bb865dfd * fdset changed to 1024 bits 2003-07-08 14:18:40 +00:00
peter
512d320e3a * added defines to override generic implementations 2003-07-07 20:23:46 +00:00
peter
a980741757 * generic string routines added 2003-07-07 20:22:05 +00:00
peter
3d85d9c2bd * Fix halt() call 2003-07-07 19:59:41 +00:00
peter
6cd9e5efc7 * big endian first allocates high 2003-07-06 22:10:56 +00:00
peter
d03fd8f7e0 * operand order of cmp fixed 2003-07-06 22:10:13 +00:00
peter
d0e4a452e4 * signed compare fixed 2003-07-06 22:09:50 +00:00
peter
3f97c26b4b * shr and div fixed 2003-07-06 22:09:32 +00:00
peter
e18f285edf * fix setting return value 2003-07-06 22:08:05 +00:00
Jonas Maebe
f909d6a620 * fixed ppc compilation problems and changed VOLATILE_REGISTERS for x86
so that it doesn't include ebp and esp anymore
2003-07-06 21:50:33 +00:00
marco
cd02a8ecca * regen makefile 2003-07-06 21:43:21 +00:00
marco
31945d49db * Fix for Peter's moving sysnr.inc to processor dependant dirs 2003-07-06 21:40:57 +00:00
peter
030f85b536 * syscall6 alias fixed 2003-07-06 21:26:10 +00:00
Jonas Maebe
d514f33ce4 * committed wrong file previously :( 2003-07-06 21:26:06 +00:00