Commit Graph

7206 Commits

Author SHA1 Message Date
sg
6fcf8dcda3 * Added declarations for WideString utility functions 2000-08-08 22:11:45 +00:00
peter
43f82ba0ff * memdebug/memory patches (merged)
* only once illegal directive (merged)
2000-08-08 19:28:57 +00:00
peter
b2a4233525 * equal_constsym() needed for default para 2000-08-08 19:26:41 +00:00
peter
beefc6ac92 * crash fix for default para when all parameters were omitted 2000-08-08 19:23:28 +00:00
peter
1a0277d7b0 * smallatheapptr undef and other cleanup (merged) 2000-08-08 19:22:46 +00:00
Jonas Maebe
cca5461149 * fixed bug in type conversions between enum subranges (it didn't take
the packenum directive into account)
  + define PACKENUMFIXED symbol in options.pas
   (merged from fixes branch)
2000-08-07 11:31:04 +00:00
Jonas Maebe
ede6479557 + emit_push_mem_size() which pushes a value in memory of a certain size
* pushsetelement() and pushvaluepara() use this new procedure, because
    otherwise they could sometimes try to push data past the end of the
    heap, causing a crash
   (merged from fixes branch)
2000-08-07 11:29:40 +00:00
peter
deb46cc56f * removed note 2000-08-06 19:42:40 +00:00
peter
658a1f4fcd * default parameters working ! 2000-08-06 19:39:28 +00:00
peter
52d9682415 * overload directives removed (merged) 2000-08-06 14:19:06 +00:00
peter
95253a2759 * overload fixes (merged) 2000-08-06 14:17:15 +00:00
peter
aa4be75abc * more checks 2000-08-06 14:14:25 +00:00
peter
4b2595322b * force smartlink (merged) 2000-08-06 10:46:23 +00:00
peter
ec3f05fe39 * merged patches name generation in lib and asm constant eval 2000-08-06 10:42:29 +00:00
peter
7fbf34e60d * init 2000-08-06 10:27:52 +00:00
peter
3c7d8f0db1 * merged setvideostate patch 2000-08-05 18:34:47 +00:00
peter
b601e36f55 * paramstr(0) fix for linux 2.0 kernels (merged) 2000-08-05 18:33:51 +00:00
peter
195bc075eb * $ifdef go32v2 -> target_info.target=go32v2 2000-08-05 13:33:08 +00:00
peter
2c86bfd561 * fixed build prob without support_mmx 2000-08-05 13:32:39 +00:00
peter
72e263e0a6 * build fixes (merged) 2000-08-05 13:27:55 +00:00
peter
e955ac6135 * packenum 1 fixes (merged) 2000-08-05 13:25:06 +00:00
Jonas Maebe
5efdcfc3a5 * readded l1 variable (between ifdef go32v2 to avoid hints/notes) 2000-08-05 10:35:51 +00:00
Jonas Maebe
83eeb7b9f7 * added missing register deallocation (could cause IE10 i some cases)
(merged from fixes branch)
2000-08-05 09:57:27 +00:00
peter
4549ef44e1 * merges from fixes 2000-08-04 22:00:50 +00:00
peter
6bf27d1c7a * merges from fixes branch 2000-08-04 21:50:37 +00:00
peter
9cd54ba9ca * forgot some conflicts :( 2000-08-04 21:48:29 +00:00
peter
f3205911a2 * applied patch from Paul te Bokkel (merged) 2000-08-04 21:47:29 +00:00
peter
9b1864c586 * getenv case insensitive (merged) 2000-08-04 21:45:39 +00:00
peter
3503b88e37 * packenum bug 2000-08-04 21:37:40 +00:00
Jonas Maebe
5d7597c09f * improved detection of range of instructions which use a register
(merged from fixes branch)
2000-08-04 20:08:03 +00:00
Jonas Maebe
debe8d1498 * correct version (I also had a regvars.pp locally, which was used
instead of the regvars.pas on CVS, so I didn't notice the errors :( )
2000-08-04 05:52:00 +00:00
Jonas Maebe
1d8195c247 * forgot to commit :( (part of regvar changes) 2000-08-04 05:09:49 +00:00
Jonas Maebe
999162e78d * fixed inserting of allocated register for regvars (only those for
parameters were done, and sometimes even the wrong ones)
2000-08-03 14:36:47 +00:00
Jonas Maebe
41f84e639c * save/reset/restore regvar info around inlined code 2000-08-03 14:27:04 +00:00
Jonas Maebe
c999d3b17d + allow regvars to be used inside inlined procs, which required the
following changes:
      + load regvars in genentrycode/free them in genexitcode (cgai386)
      * moved all regvar related code to new regvars unit
      + added pregvarinfo type to hcodegen
      + added regvarinfo field to tprocinfo (symdef/symdefh)
      * deallocate the regvars of the caller in secondprocinline before
        inlining the called procedure and reallocate them afterwards
2000-08-03 13:17:25 +00:00
Jonas Maebe
ac16977232 - disable regvars for inlined procedures (merged from fixes branch) 2000-08-03 11:15:42 +00:00
peter
227e983397 * first things for default parameters 2000-08-02 19:49:58 +00:00
peter
e514bed570 * added more tests 2000-08-02 19:47:40 +00:00
Jonas Maebe
c7307da856 * fixed crashes under ncurses 4 by adding auto-detection for ncurses 4/5
* cur_term is not directly usable anymore for the largest part because
    of a different record layout in ncurses 4/5, therefore the pointers
    cur_term_booleans, cur_term_numbers, cur_term_strings and
    cur_term_common are now available
  * adapted video.inc to use the new naming convention
  (merged from fixes branch)
2000-08-02 12:39:22 +00:00
Jonas Maebe
7ef99ada12 * fixed web bug1087
* allocate R_ECX explicitely if it's used
  (merged from fixes branch)
2000-08-02 08:05:04 +00:00
Jonas Maebe
8e76008e98 - undid my changes from the previous two commits because it was a bug
in cg386cnv which I've now fixed (previous changes only masked it in
      some cases) (merged from fixes branch)
2000-08-02 07:20:32 +00:00
Jonas Maebe
89f0a308a2 * fixed ie(10) when using -Or and shortstring -> ansistring conversions
(or when using a lot of ss -> as conversions in one statement, the
    source was freed only *after* pushusedregisters($ff), which means its
    registers were reallocated when popusedregisters was called) (merged
    from fixes branch)
2000-08-02 07:05:32 +00:00
Jonas Maebe
a0d91b1b85 * fixed crash when an undeclared identifier is used in a raise statement
(merged from fixes branch)
2000-08-02 07:04:56 +00:00
Jonas Maebe
fcaa820523 * fixed crash when passing undeclared identifiers to str() (merged from
fixes branch)
2000-08-01 14:07:49 +00:00
Jonas Maebe
d88607d154 * refined my previous IE(10) fix (in some cases, too many registers could
be reserved) (merged from fixes branch)
2000-08-01 10:41:35 +00:00
Jonas Maebe
8bce8284d3 * the defaulthooks are reset if setmode() fails at any point (merged
from fixes branch)
2000-08-01 06:03:32 +00:00
Jonas Maebe
167eb0e268 * set _graphresult to grnotdetected if the vesa setmode interrupt
call returns an error (merged from fixes branch)
2000-08-01 06:03:13 +00:00
Jonas Maebe
3035952b07 * fixed web bug #1037 (disable linking of ctrl-c to exception handler,
ctrl-break still works fine then) (merged from fixes)
2000-07-31 14:07:43 +00:00
Jonas Maebe
43ccd75f63 * You can now set colors > 15 (merged from fixes branch) 2000-07-31 12:30:54 +00:00
Jonas Maebe
d446128ceb - removed imul support from -dfoldarithops since "imull [reg32],[mem32]"
doesn't exist (merged from fixes branch)
2000-07-31 08:44:05 +00:00