Vincent Torri
9be35d243b
autotools cleanups:
...
* reorganize configure.ac
* remove eina dependency, use the new ac_attribute m4 macro
* fix Libs.private field and add Requires field in embryo.pc
* rename embryo.c.in to embryo.dox.in
* add doc rule to build the documentation. The doc will completely
be fixed in the next commit
SVN revision: 37116
2008-10-26 08:04:06 +00:00
Vincent Torri
67acca9238
move header files from embryo_private.h to source files
...
SVN revision: 36915
2008-10-21 08:40:54 +00:00
Vincent Torri
e835bbcf6c
* autotools cleanup
...
* fix compilation with mingw32ce
SVN revision: 36913
2008-10-21 08:32:23 +00:00
ptomaine
1b9d1e312b
Fix embryo, i.e. add eina CFLAGS and LDFLAGS.
...
SVN revision: 36869
2008-10-20 18:47:00 +00:00
Cedric BAIL
02bf306fdd
Remove macro provided by Eina.
...
SVN revision: 36863
2008-10-20 16:34:59 +00:00
doursse
e190b8a0f0
fix headers order for vc++ compiler. Tanks to Dmitriy Mazovka
...
SVN revision: 34713
2008-05-31 06:24:46 +00:00
Carsten Haitzler
4e318745a8
and handle if the cl;ock is set backwards!
...
SVN revision: 34680
2008-05-27 08:03:46 +00:00
Carsten Haitzler
e3519ff383
fix tzset call.
...
SVN revision: 34679
2008-05-27 08:00:17 +00:00
Carsten Haitzler
2c60edf612
fix %% in snprintf
...
SVN revision: 34564
2008-05-14 06:10:58 +00:00
Carsten Haitzler
ad70ab93f4
handle tz updates with localtime - limit calls to more than 1 second apart.
...
SVN revision: 34553
2008-05-13 05:14:19 +00:00
Carsten Haitzler
465030f25b
check argc count before argv ptr.
...
SVN revision: 34476
2008-05-06 09:18:56 +00:00
doursse
62fcb69586
* use @datadir@/@PACKAGE@ and not @PACKAGE_DATA_DIR@ in embryo.pc.in
...
* use --enable-auto-import with CeGCC
* put WIN32_CFLAGS in CFLAGS and not CPPFLAGS
* remove warning when configuring with newest (2.62) autoconf
* clean MAINTAINERCLEANFILES and EXTRA_DIST
* formatting (should be very close to how eet is formatted, now)
SVN revision: 34320
2008-04-20 06:14:43 +00:00
doursse
67aaff7308
embryo_private.h is not a source file
...
SVN revision: 34261
2008-04-13 09:22:12 +00:00
doursse
a86946850d
remove trailing spaces and add indent doc for vi
...
SVN revision: 34246
2008-04-11 19:06:18 +00:00
doursse
9817e365b1
fix gettimeofday on windows and add __UNUSED__ for unused parameters
...
SVN revision: 34245
2008-04-11 05:59:42 +00:00
doursse
abfa4b4cd8
missing flag for cegcc
...
SVN revision: 34244
2008-04-11 05:31:02 +00:00
doursse
5b899a19e3
initialize correctly the stuctures
...
SVN revision: 34243
2008-04-11 05:29:33 +00:00
doursse
54c28a5391
add guards when including config.h
...
SVN revision: 34132
2008-03-28 18:32:09 +00:00
doursse
ee23c4b248
* make cegcc aware of the _WIN32 macro
...
* fix warning
SVN revision: 34078
2008-03-22 08:31:38 +00:00
doursse
45e9085e13
linux has a case sensitive fs
...
SVN revision: 34074
2008-03-22 00:25:07 +00:00
doursse
53c0a2d01d
* add evil support and remove evil windows code
...
* correctly handle alloca include
* remove trailing spaces
SVN revision: 34072
2008-03-21 17:18:25 +00:00
Greg Garner
b5a6772932
clean up license for embryo to match zlib elsewhere as per greg:
...
From: Greg Garner <Greg@rt-eng.com>
To: Jan L��bbe <j.luebbe@tu-bs.de>
Subject: Re: License of your contribution to SMALL/PAWN
Date: Mon, 03 Mar 2008 14:49:56 -0600
CC: greg@dluxlink.com , enlightenment-devel@lists.sourceforge.net
Reply-To: Greg@rt-eng.com
Dear enlightenment developers:
Please change the copyright to be the way zlib is. My intention was to
release this to be freely used source. Let me know if you need any
additional information to proceed.
It is pretty cool that this code that I wrote so long ago is still being
used!
Thanks
Greg Garner
(formerly of Artran Inc).
www.rt-eng.com
greg@rt-eng.com
SVN revision: 33914
2008-03-04 10:36:23 +00:00
Carsten Haitzler
7bc642aff1
fix path string stuff to not be able to overflow (unlikely tho - ever)
...
SVN revision: 33571
2008-01-24 00:25:13 +00:00
doursse
4317fe9155
update win32 port : use fulpath instead of a function, use correct temp dir value and correct open function according to the compiler
...
SVN revision: 32881
2007-11-25 11:38:49 +00:00
doursse
59d2a4a627
autostuff improvements:
...
* use non deprecated version of AC_INIT and AM_INIT_AUTOMAKE
and check the required minimal versions.
* add bzipped distribution archive
* add AC_LIBTOOL_WIN32_DLL
* forbid libtool to check fortran and c++ compilers
* compute libtool versioning from the version of the package
* pass the directories based on ${prefix} to the preoprocessor
with the -D option
* replace INCLUDES, wich is deprecated since 2001 by AM_CPPFLAGS
* remove useless -L flags in *_la_LDFLAGS
SVN revision: 32340
2007-11-04 09:44:15 +00:00
kiwi
a001af9e23
fix some warnings, mostly missing "void" when a function has no parameters
...
SVN revision: 30474
2007-06-27 10:57:54 +00:00
tilman
1a4dbaa145
fixed some const char*/char* confusion.
...
SVN revision: 29277
2007-03-31 10:28:20 +00:00
Carsten Haitzler
6e452edfd4
patches applied as per emails :)
...
SVN revision: 28302
2007-02-10 17:23:09 +00:00
Carsten Haitzler
449550166b
remove embryo debug/test stuff - move to elsewhere
...
SVN revision: 26823
2006-10-28 06:45:49 +00:00
sebastid
ab48ebabe5
Remove unused variable.
...
SVN revision: 25520
2006-09-06 07:11:31 +00:00
Carsten Haitzler
49bd390565
some prefix fixes for env vars
...
SVN revision: 24104
2006-07-21 15:55:54 +00:00
Carsten Haitzler
30cad4260b
fix bin/lib prefix - pass as -D
...
SVN revision: 23874
2006-07-13 16:35:46 +00:00
Carsten Haitzler
3bc78e5f07
add prefix detection to embryo
...
SVN revision: 23820
2006-07-10 18:31:18 +00:00
Carsten Haitzler
d7eee7eee6
patches that i said were in - commit. (see my reply emails)
...
also finish off a TODO item or 2
SVN revision: 23267
2006-06-07 23:30:15 +00:00
Carsten Haitzler
177af5e235
disable visibility
...
SVN revision: 19681
2006-01-10 07:33:12 +00:00
Carsten Haitzler
53ccb55e39
change headers
...
SVN revision: 19677
2006-01-09 13:38:21 +00:00
Carsten Haitzler
40afcfbd5b
fix warnings
...
SVN revision: 19564
2006-01-06 18:02:51 +00:00
Carsten Haitzler
7554f8ee36
actually make symbol hiding work!
...
SVN revision: 19314
2005-12-27 17:17:31 +00:00
Carsten Haitzler
d73081e84b
fix push/pop to recurse properly
...
SVN revision: 18687
2005-11-29 04:13:02 +00:00
sebastid
95b180caa0
Don't use strlen to check if a string is empty.
...
SVN revision: 18270
2005-11-04 08:16:24 +00:00
Carsten Haitzler
d28cb025f3
shaddap callipygous
...
:)
SVN revision: 17923
2005-10-25 02:39:44 +00:00
Carsten Haitzler
1f9fd57215
include fix
...
SVN revision: 17566
2005-10-15 08:48:43 +00:00
Carsten Haitzler
6b1e15b267
packed poo --
...
SVN revision: 14891
2005-05-22 03:01:22 +00:00
tsauerbeck
5e8af45064
i suck :)
...
SVN revision: 14496
2005-04-29 16:32:39 +00:00
tsauerbeck
5828825639
added getsarg() - copies the specified argument into a string buffer. use this instead of getarg(num, 0) if you want to retrieve all of the string
...
SVN revision: 14492
2005-04-29 14:30:59 +00:00
tsauerbeck
7b41e4e522
include config.h
...
SVN revision: 14188
2005-04-13 20:36:07 +00:00
tsauerbeck
9becc884d2
removed unused function
...
SVN revision: 14187
2005-04-13 20:34:51 +00:00
tsauerbeck
155dc59a6f
removed duplicatestring(), which was horribly broken and pretty useless
...
SVN revision: 14186
2005-04-13 20:27:03 +00:00
tsauerbeck
c1aa21b165
next round of cleanup
...
SVN revision: 14185
2005-04-13 20:16:30 +00:00
tsauerbeck
0335fea64d
properly include config.h
...
SVN revision: 14184
2005-04-13 20:01:23 +00:00
tsauerbeck
eee6e7059d
removed embryo_cc_sclinux.h
...
SVN revision: 14183
2005-04-13 19:52:55 +00:00
tsauerbeck
3559fa001e
cleanup
...
SVN revision: 14182
2005-04-13 19:50:58 +00:00
tsauerbeck
ad337df8cf
fuck windows-isms
...
SVN revision: 14179
2005-04-13 19:45:19 +00:00
tsauerbeck
ab64c38407
removed unused macros
...
SVN revision: 14178
2005-04-13 19:38:53 +00:00
tsauerbeck
8b6e8a16c9
some more cleanup
...
SVN revision: 14177
2005-04-13 19:37:01 +00:00
tsauerbeck
b8d6ef0f60
we don't have no fortify.h
...
SVN revision: 14176
2005-04-13 19:22:58 +00:00
tsauerbeck
ba98ad2841
removed some unused code
...
SVN revision: 14175
2005-04-13 19:21:07 +00:00
tsauerbeck
5154569ca9
s/sc_printf/printf/ i hope i'm not missing anything :)
...
SVN revision: 14174
2005-04-13 19:18:12 +00:00
tsauerbeck
7037866a71
replace ishex() by isxdigits() calls
...
SVN revision: 14063
2005-04-01 15:15:38 +00:00
tsauerbeck
7f9e3204b1
remove no longer needed (crappy) code
...
SVN revision: 14062
2005-04-01 15:11:31 +00:00
tsauerbeck
207ee341a7
sanitized asm file handling
...
SVN revision: 13925
2005-03-26 16:44:12 +00:00
tsauerbeck
b02572979a
use a temporary file for the intermediate asm output
...
SVN revision: 13924
2005-03-26 16:37:25 +00:00
tsauerbeck
62785c2466
Don't simply change the extension of the input file to foo.sma if it doesn't end in '.sma' already. If we really want embryo_cc to only accept *.sma files, it should print an error message if we feed it something other than a *.sma file. To be defined ;)
...
SVN revision: 13922
2005-03-26 15:27:14 +00:00
tsauerbeck
383755fc56
removed some dead code
...
SVN revision: 13921
2005-03-26 15:21:02 +00:00
Carsten Haitzler
1da201a836
autopackage up embryo
...
SVN revision: 13851
2005-03-22 13:10:09 +00:00
tsauerbeck
c748aecba1
fixed switch statements with only one case statement
...
SVN revision: 13517
2005-02-26 14:46:07 +00:00
Carsten Haitzler
f505f667cd
atoi booboo - accepts 1, not 2 params! :)
...
SVN revision: 12824
2005-01-08 08:57:00 +00:00
Carsten Haitzler
5d5a4b4551
fix some typedefs... and cell arrays...
...
SVN revision: 12416
2004-12-09 05:10:42 +00:00
Carsten Haitzler
d0f2572394
getfarg
...
SVN revision: 12414
2004-12-09 02:46:32 +00:00
Carsten Haitzler
f778cf70fb
forcibly shut up about loose indentation!
...
SVN revision: 12399
2004-12-08 06:05:23 +00:00
Carsten Haitzler
feb5571092
hidden symbol support
...
SVN revision: 12252
2004-11-25 05:18:31 +00:00
Carsten Haitzler
c8fee00895
ldflags
...
SVN revision: 12123
2004-11-02 03:34:42 +00:00
tsauerbeck
61c2b9b99c
hopefully noone will ever notice :O
...
SVN revision: 12067
2004-10-29 20:06:39 +00:00
tsauerbeck
2ed098e8c7
made snprintf() return the number of characters written on success, as it advertises to do
...
SVN revision: 12063
2004-10-29 17:21:14 +00:00
Carsten Haitzler
0e38160623
buildie cleanies
...
SVN revision: 11955
2004-10-22 02:40:32 +00:00
Carsten Haitzler
1dfebe2dd4
no brackets!
...
SVN revision: 11943
2004-10-21 07:38:04 +00:00
Carsten Haitzler
f6573ea820
system LDFLAGS
...
SVN revision: 11932
2004-10-21 02:47:58 +00:00
tsauerbeck
63f3874903
better vim modelines for raster code
...
SVN revision: 11910
2004-10-19 16:50:27 +00:00
Carsten Haitzler
78e5656a61
instruction limiter on the amx lets u limit function runs in instruction count
...
SVN revision: 11905
2004-10-19 09:36:35 +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
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
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
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
64b608f7e7
works on mingw now
...
SVN revision: 11842
2004-10-12 16:15:54 +00:00
tsauerbeck
c52cd76b91
oops, accessing random memory is bad
...
SVN revision: 11834
2004-10-11 19:26:08 +00:00
tsauerbeck
d833f56657
Implemented string concatenation.
...
For example, "pants""off" becomes "pantsoff".
SVN revision: 11831
2004-10-11 17:49:59 +00:00
Carsten Haitzler
0d4c9b87ff
ignore loose indentation :)
...
SVN revision: 11735
2004-09-28 03:06:21 +00:00
ncn
bfb1076a77
Embryo documentation. About 90% done. Still some extra explanatory stuff to do, and some bugs to iron out, but all the functions in the API now at least have something written about them.
...
SVN revision: 11722
2004-09-25 14:37:39 +00:00
Carsten Haitzler
7e672d79f8
ok that's it. fuck stdtypes.
...
SVN revision: 11588
2004-09-09 00:48:12 +00:00
technikolor
5f9604253c
Typo fix.
...
SVN revision: 11378
2004-08-25 18:51:42 +00:00
tsauerbeck
f87a1c7395
another warning fix
...
SVN revision: 11338
2004-08-24 09:51:37 +00:00
tsauerbeck
bb78f4bf38
warning fix
...
SVN revision: 11337
2004-08-24 09:47:06 +00:00
Carsten Haitzler
b25fae82f4
wow. now THAT was interesting. multiple native call entries in the native
...
symbol table... so returning once the first was set was not a good idea.
SVN revision: 11336
2004-08-24 06:37:26 +00:00
vacuum
58dda3b0ad
Better fix.
...
SVN revision: 11233
2004-08-15 21:29:35 +00:00
tsauerbeck
af9fa5f640
increase max line length some more
...
SVN revision: 11184
2004-08-08 16:18:18 +00:00