Carsten Haitzler
1fff84ea1a
some mroe calls... guess what i'm doing eh? :)
...
SVN revision: 11894
2004-10-17 12:29:02 +00:00
Carsten Haitzler
011f0e3ef5
move to simpler calls.
...
SVN revision: 11892
2004-10-17 06:21:21 +00:00
tsauerbeck
0750d18533
check that the input file exists. make sure that the input file doesn't equal the output file
...
SVN revision: 11891
2004-10-16 11:34:09 +00:00
tsauerbeck
b52dafb5ed
make sure source file data is terminated properly
...
SVN revision: 11890
2004-10-15 22:05:54 +00:00
tsauerbeck
381ac7f9f8
init vars before usage
...
SVN revision: 11889
2004-10-15 15:12:05 +00:00
tsauerbeck
75d0539221
use EMBRYO_FLOAT_TO_CELL/CELL_TO_FLOAT macros in the sanity checks. not sure we need this anymore at all since we now use a union to do the casting.
...
SVN revision: 11888
2004-10-15 15:11:26 +00:00
tsauerbeck
4d82a78bdb
cvsignore
...
SVN revision: 11886
2004-10-15 11:52:17 +00:00
Carsten Haitzler
0ecea4b609
0.9.1 version up
...
SVN revision: 11882
2004-10-14 06:09:59 +00:00
tsauerbeck
5765aa4ef7
int 'list' ops
...
SVN revision: 11881
2004-10-14 04:29:16 +00:00
Carsten Haitzler
9a09666229
embryo speedups...
...
this makes embryo just about the fastest "scripting vm" around - unless you
tie yourself to a particular cpu and add a jit for that cpu (which embryo
doesnt have).
bash: 4681.700 (estimate - ran only 1/100th of loop)
python: 38.193
ruby: 21.015
perl: 18.925
java (gij-3.4) (no jit): 2.484
embryo: 1.041
java (kaffe) (jit): 0.176
c: 0.157
notice emrbyo is more than double the speed of the java vm. this is all
portable code - no jit tied to 1 cpu. we can add that later per cpu - but for
a vm/scripting solution thats cross-platform and runs anwyeher on 32, 64bit
cpus, ppc, x86, x86-64, alpha, arm, sparc, mips etc. it's pretty damn good.
yes this test is VERY naieve and simple and only tests a subset - but it
tests the general execution and interpreting engine, being able to make
logical decisions, interpret code and do math operations. we should do a more
comprehensive test, but this is pretty good for a simple one.
here's the source used:
bash:
#!/bin/bash
I=1
while [ $I -lt 1000000 ]; do
let I++
done
python:
i = 1
while i < 100000000:
i = i + 1
ruby:
1.upto(100000000) { }
perl:
#!/usr/bin/perl
for ($i = 1; $i < 100000000; $i++) {
}
java:
public class loop {
public static void main(String[] args) {
int i;
for (i = 1; i < 100000000; i++) { }
}
}
embryo:
main() {
new i;
for (i = 1; i < 100000000; i++) { }
}
c:
main() {
int i;
for (i = 1; i < 100000000; i++);
}
SVN revision: 11880
2004-10-14 04:17:20 +00:00
tsauerbeck
0fdc3f087a
a sane version of the EmbryoCell to float (and vice versa) macros
...
SVN revision: 11870
2004-10-13 19:49:03 +00:00
handyande
a8ea9cd5a3
Start tidying ecore_config
...
SVN revision: 11869
2004-10-13 19:43:16 +00:00
tsauerbeck
bc7980f17b
bah, i suck
...
SVN revision: 11868
2004-10-13 19:34:04 +00:00
tsauerbeck
159b8d0412
cast correctly between Embryo_Cell and float
...
SVN revision: 11867
2004-10-13 19:19:13 +00:00
tsauerbeck
432cc2a13d
warnings
...
SVN revision: 11866
2004-10-13 19:04:45 +00:00
tsauerbeck
d0cdfc0f7c
the 'low level' edje var list functions decrement id by EDJE_VAR_MAGIC_BASE, too, so make sure we increment it before to get a correct value in the end
...
SVN revision: 11865
2004-10-13 18:56:48 +00:00
tsauerbeck
5a4030f762
boolean values can now be specified in the following ways: 0, false, off resp 1, true, on (case insensitive)
...
SVN revision: 11864
2004-10-13 18:07:56 +00:00
Carsten Haitzler
def151b8d6
check the type by hand... if declared - otherwise ASSUME its an int.
...
SVN revision: 11856
2004-10-13 08:45:47 +00:00
Carsten Haitzler
02e79c381d
BAD HANDY.... BAD! watch your types there... or we'll feed you cod liver oil!
...
:)
SVN revision: 11855
2004-10-13 07:20:35 +00:00
Carsten Haitzler
e56130f4ff
accessing wrong memmber. fixed.
...
SVN revision: 11854
2004-10-13 07:05:28 +00:00
Carsten Haitzler
44984e65a3
allow text source and text style sources to be specified.. this lets multiple
...
text parts "shadow" a controlling/parent text part. this allows multiple
window titles for example even tho the app only sets 1 title part. this
allows for interesting text effects with mutliepl text parts animating
differently... or you cna use invivlbe text parts ad "proxies" for
calculating sizes of stuff... :)
SVN revision: 11851
2004-10-13 03:43:42 +00:00
tsauerbeck
54705c6816
adapted to embryo_cc changes
...
SVN revision: 11845
2004-10-12 16:58:18 +00:00
tsauerbeck
2a15427bf5
command line arguments are now handled in a sane way: '-i blah' instead of '-iblah' etc. removed error filename crap, we prefer to redirect stderr.
...
SVN revision: 11844
2004-10-12 16:57:38 +00:00
tsauerbeck
57743f51db
portability improvements
...
SVN revision: 11843
2004-10-12 16:20:12 +00:00
tsauerbeck
64b608f7e7
works on mingw now
...
SVN revision: 11842
2004-10-12 16:15:54 +00:00
tsauerbeck
226bc8ccf3
String concatenation ("foo""bar" -> "foobar") now works when used in arguments to PART/PROGRAM/IMAGE lookups, e.g. PART:"foo""bar" will look up the part id of "foobar".
...
SVN revision: 11836
2004-10-11 20:48:32 +00:00
tsauerbeck
c52cd76b91
oops, accessing random memory is bad
...
SVN revision: 11834
2004-10-11 19:26:08 +00:00
tsauerbeck
587d771f32
warning fixes
...
SVN revision: 11832
2004-10-11 18:12:26 +00:00
tsauerbeck
d833f56657
Implemented string concatenation.
...
For example, "pants""off" becomes "pantsoff".
SVN revision: 11831
2004-10-11 17:49:59 +00:00
tsauerbeck
541c116fc6
part names need to be unique in a collection, too
...
SVN revision: 11826
2004-10-10 15:18:07 +00:00
Carsten Haitzler
2820c696d4
more compile options.. allow image sot be FORCIBLY rescaled so u can include
...
like 1/2 or 1/4 res images to make a smaller .eet :)
SVN revision: 11825
2004-10-10 11:58:43 +00:00
tsauerbeck
0a7178b883
smooth
...
SVN revision: 11824
2004-10-10 11:29:00 +00:00
tsauerbeck
5b18584b96
don't print constant data
...
SVN revision: 11823
2004-10-10 10:00:51 +00:00
tsauerbeck
da59ff6c92
added edje_decc to cvsignore
...
SVN revision: 11822
2004-10-10 08:22:54 +00:00
Carsten Haitzler
f40fa3993e
and dont use buf! :)
...
SVN revision: 11821
2004-10-10 04:29:21 +00:00
Carsten Haitzler
e60a541c5a
actually... error on any source file not being able to be found, decoded or
...
written out. images AND fonts. :)
SVN revision: 11820
2004-10-10 04:25:42 +00:00
tsauerbeck
4c702d01dc
when a font cannot be loaded (because -fd was omitted, for example), just print a warning instead of an error message. i.e., fonts are treated the same way images are.
...
SVN revision: 11799
2004-10-09 16:23:29 +00:00
handyande
0a8b298d6a
option bug and hide if setting not allowed
...
SVN revision: 11795
2004-10-08 22:28:27 +00:00
tsauerbeck
207a5af796
fixed an endless loop caused by unexpected preprocessor commands. tweaked the code a bit so its more readable, hopefully.
...
SVN revision: 11790
2004-10-08 17:03:04 +00:00
handyande
9c5a572361
Not to forget help text :)
...
SVN revision: 11775
2004-10-06 20:46:27 +00:00
handyande
202f1ba109
Finally fix boolean up properly - phew
...
SVN revision: 11773
2004-10-06 20:32:47 +00:00
handyande
8f0ab07a61
OK - who added boolean, but did not allow it to save???
...
SVN revision: 11772
2004-10-06 19:10:42 +00:00
Carsten Haitzler
cd39a020b2
1. note all the /* dup */ entries in edje_cc_handlers.c - we now are lenient
...
and allow image, font, images{} fonts {} programs{} program{} and scropt{}
sections in many mroe places...
SVN revision: 11764
2004-10-06 05:25:03 +00:00
Carsten Haitzler
3d5d362ba3
only pass certain callbacks to smart parents...
...
SVN revision: 11761
2004-10-06 02:34:01 +00:00
Carsten Haitzler
3c5dcbbffe
font size updates... again
...
SVN revision: 11760
2004-10-06 00:18:51 +00:00
Carsten Haitzler
80b3550c38
font size change
...
SVN revision: 11759
2004-10-06 00:14:24 +00:00
Carsten Haitzler
8375062f08
oops - NOw they agree. evas is fixed to 75 dpi - thats how it thinks now.
...
maybe i should export this as engine and then evas calls? lets see.
SVN revision: 11758
2004-10-06 00:08:12 +00:00
Carsten Haitzler
7edce6a8d6
this has always been there - it measn xft, x and evas dont agree on the size
...
of a "7 pixel" or "20 pixel" font. now they will. the numbers were fudged
frome examples... now they are pure :)
SVN revision: 11757
2004-10-06 00:05:20 +00:00
Carsten Haitzler
7cd1fc87ce
norti norti. very norti.
...
dont free list nodes and then proceed to use the list->next member of a freed
list node! :)
SVN revision: 11738
2004-09-29 10:23:56 +00:00
Carsten Haitzler
0d4c9b87ff
ignore loose indentation :)
...
SVN revision: 11735
2004-09-28 03:06:21 +00:00