Vincent Torri
3fd2eab56a
* Add Visual Studio 2008 solution and project file
...
* make start.bat generic
SVN revision: 42524
2009-09-16 20:10:27 +00:00
Gustavo Sverzut Barbieri
8e56bad0e6
dunno what's this crazy math, but it overflows on 64 bits... ensure it's unsigned long long...
...
SVN revision: 42523
2009-09-16 19:20:26 +00:00
Vincent Torri
98817e4ed3
add other wrapping for Windows function (fileno and fdopen)
...
SVN revision: 42521
2009-09-16 18:05:04 +00:00
Vincent Torri
02adb06f5a
fix VS8 project file
...
SVN revision: 42520
2009-09-16 17:55:18 +00:00
Vincent Torri
927fe76f5f
move EINA_DEPRECATED at the beginning of the declaration
...
SVN revision: 42519
2009-09-16 17:45:04 +00:00
Vincent Torri
17bd8aecf8
add int64_t type when compiling with vc++. Nedded for eina_f*p*.h files
...
SVN revision: 42518
2009-09-16 17:25:28 +00:00
Vincent Torri
e2b34b41ee
* fix compilation on Windows when using amalgamation
...
* put alloca declaration at the beginning
SVN revision: 42517
2009-09-16 17:22:01 +00:00
Vincent Torri
12788aff0b
fix--
...
SVN revision: 42516
2009-09-16 16:28:30 +00:00
Vincent Torri
082c4496b1
make start.bat more generic
...
SVN revision: 42514
2009-09-16 13:47:01 +00:00
Vincent Torri
c1f402b6fc
* allow compilation with vc++
...
* fix a small warning
SVN revision: 42513
2009-09-16 13:38:21 +00:00
Vincent Torri
49ac7ebc95
* update Visual Studio project files:
...
- link against evil
- eina mempools are statically linked
* formatting in start.bat
SVN revision: 42512
2009-09-16 13:31:23 +00:00
Vincent Torri
ceb5e10348
update Visual Studio project files
...
SVN revision: 42511
2009-09-16 13:27:04 +00:00
Vincent Torri
d14efa7613
* add Visual Studio 2008 project
...
* use a single start file to launch Visual Studio 2005 or 2008 automatically
SVN revision: 42510
2009-09-16 11:32:24 +00:00
Carsten Haitzler
65f147aa81
make loaders use "big image" macro to detect an image that is going to just
...
be way too big to ever allocate. probably code can do with other fixes too.
also make jpeg loader rudametarily understand load regions. very brute-force.
but enough for just this moment to do testing.
SVN revision: 42507
2009-09-16 09:48:05 +00:00
Iván Briano
ed7064edcc
Move some defines to enum and expose them.
...
Move to Eina_Bool.
Return success for rename of group and part to the same name.
Patch by Tiago Rezende Campos Falcão
SVN revision: 42506
2009-09-16 03:37:28 +00:00
Gustavo Sverzut Barbieri
5b68d0be34
minor fixes.
...
SVN revision: 42504
2009-09-15 22:32:24 +00:00
Vincent Torri
06cb4ebf40
update Visual Studio project
...
SVN revision: 42501
2009-09-15 21:20:56 +00:00
Vincent Torri
9b9c496175
move the declaration of variables at the beginning of the block
...
SVN revision: 42499
2009-09-15 21:20:08 +00:00
Vincent Torri
0ba193bae0
move EINA_DEPRECATED at the beginning of the declaration,
...
because it's more visible, and vc++ does not like it at
the end.
SVN revision: 42498
2009-09-15 21:19:15 +00:00
Cedric BAIL
f523b22bb3
* eet: Update ChangeLog
...
SVN revision: 42496
2009-09-15 15:06:03 +00:00
Cedric BAIL
3e23569492
* eet_data: Remove unused freeleak.
...
SVN revision: 42495
2009-09-15 14:48:42 +00:00
Carsten Haitzler
f780cc2c8f
add "region" load opt. no loader handles it... yet
...
SVN revision: 42494
2009-09-15 13:34:12 +00:00
Cedric BAIL
7fe73280d6
* eet: Update AUTHORS and ChangeLog accordingly.
...
SVN revision: 42493
2009-09-15 11:23:28 +00:00
Cedric BAIL
cab54bd121
* eet: Use eina_log.
...
Patch from Mathieu Taillefumier <mathieu.taillefumier@free.fr>.
SVN revision: 42492
2009-09-15 11:22:11 +00:00
Davide Andreoli
5f6ba77546
Don't segfault if 'icon' is null
...
SVN revision: 42490
2009-09-14 20:18:25 +00:00
Cedric BAIL
8e6a393cf9
* eina_log: Fallback to mutex when spinlock doesn't exist.
...
SVN revision: 42489
2009-09-14 16:06:18 +00:00
Cedric BAIL
d117093a55
* eina: Add explanation around compiler false positiv warning.
...
SVN revision: 42488
2009-09-14 15:28:55 +00:00
Carsten Haitzler
0b8f43494a
moe enume typedefs together. typedef before enum is bad for some compilrs...
...
like g++.. or suncc... dod so in all headers anyay for consistency
SVN revision: 42477
2009-09-14 00:38:59 +00:00
Hannes Janetzek
51fd74a36f
efreet_mime add fallback check for executables
...
SVN revision: 42474
2009-09-14 00:28:51 +00:00
dieb
c2fde2fa75
Trailing whitespaces--, remove wrong tabs.
...
SVN revision: 42454
2009-09-13 03:04:20 +00:00
Gustavo Sverzut Barbieri
56d5c74815
done items
...
SVN revision: 42449
2009-09-12 18:29:46 +00:00
Gustavo Sverzut Barbieri
97645fe7bc
API BREAK: Fix Ethumb API to be more EFL-like
...
* Callbacks were named to help Vala bindings.
* All callbacks get 'void *data' as first argument, always.
* All async methods get free_data parameters and call them also on disconnect()
* queue_remove() renamed to generate_cancel() to be more clear.
* queue_clear() renamed tp generate_cancel_call() to be more clear.
SVN revision: 42445
2009-09-12 18:23:05 +00:00
Rafael Antognolli
52de9e33cd
Added the Eina_Tile_Grid_Slicer iterator.
...
This new iterator receives a rectangle as argument and tile_w X tile_h sized
tile, and slices the rectangle iterating over it on each iteration.
SVN revision: 42427
2009-09-11 23:51:47 +00:00
Gustavo Sverzut Barbieri
7d1745e3c1
constness++
...
SVN revision: 42426
2009-09-11 23:10:57 +00:00
Gustavo Sverzut Barbieri
f98cb6e5f5
fix lighblue and add cyan.
...
SVN revision: 42410
2009-09-11 14:22:24 +00:00
Carsten Haitzler
7ee7fb5604
1. make max image size a #define
...
2. max image size > 65536x65536
3. fix cserve leak
4. fix cserve+async load to work together.
SVN revision: 42406
2009-09-11 13:44:53 +00:00
Hannes Janetzek
e7d76f6392
also remove text class members on object deletion
...
SVN revision: 42397
2009-09-11 00:48:57 +00:00
Carsten Haitzler
fda3149474
ecore-conig dont build if no evas found (mind u if no evas... why ecore etc.?
...
very unusual)
SVN revision: 42394
2009-09-10 21:49:41 +00:00
Horms
bef3c68926
Add libeina-svn-04.lintian-overrides
...
Based on libeina-svn-03.lintian-overrides from
the eina 0.0.2.062-2 package on debian.org
SVN revision: 42378
2009-09-10 02:44:05 +00:00
Horms
fd13f43a81
Update libeina-svn-01 to libeina-svn-04
...
SVN revision: 42377
2009-09-10 02:41:40 +00:00
Horms
19afb9e363
Remove bogus mmu debian-version
...
SVN revision: 42376
2009-09-10 02:32:47 +00:00
Horms
7ac04b3860
Update version in Debian changelog to 0.0.2.62
...
SVN revision: 42375
2009-09-10 02:31:36 +00:00
Horms
0d0e486d54
Update Debian standards version from 3.8.1 to 3.8.3
...
SVN revision: 42374
2009-09-10 01:41:41 +00:00
Rafael Antognolli
0e716d559b
EINA: Fix compilation when builddir != srcdir.
...
SVN revision: 42369
2009-09-09 20:37:23 +00:00
Iván Briano
bbce7b5e0d
Avoid clashes.
...
SVN revision: 42368
2009-09-09 15:53:50 +00:00
Vincent Torri
74a22e367f
* use Requires.private field in eet.pc if pkg-config 0.22 is installed.
...
We list in it the required packages needed to compile eet.
* remove uneeded flags that are in Libs.private (those from the packages
that are listed in Requires.private)
Patch by dottedmag, modified a bit.
SVN revision: 42367
2009-09-09 15:50:52 +00:00
Iván Briano
555de0f914
Support EINA_INLIST to be anywhere in the struct with _FOREACH macros.
...
Fix pointer arithmetic with EINA_CONTAINER_GET.
Change Inlist test to have the int first and not assume a direct cast works.
SVN revision: 42366
2009-09-09 14:05:31 +00:00
Vincent Torri
2d3021f128
* add amalgation support in configure output
...
* remove a warning when eina_amalgamation.c is deleted but does not exist
* delete eina_amalgamation.c when doing 'make clean'
SVN revision: 42363
2009-09-09 07:42:08 +00:00
Gustavo Sverzut Barbieri
d909319998
tests: explain some errors messages are expected and check for safety checks.
...
Many people try "make check" and then complain they have some error
messages, but they are actually expected... but even for the
experienced is hard to know whenever it was expected or not, so
explicitly say that.
Also check if safety checks are enabled or not before doing "break"
tests, otherwise we'll end with segfaults and tests failing. (I have
not tested with them disabled, but should be okay).
SVN revision: 42360
2009-09-09 01:53:40 +00:00
Gustavo Sverzut Barbieri
93b28743c5
remove warnings from tests.
...
SVN revision: 42359
2009-09-09 01:41:29 +00:00
Gustavo Sverzut Barbieri
2de7c52bd1
remove easy warnings, 2 still left that I need someone else to check
...
proper fix.
SVN revision: 42358
2009-09-09 01:27:30 +00:00
Gustavo Sverzut Barbieri
88730b324d
let's have more testing: amalgamation on by default, report problems!
...
SVN revision: 42356
2009-09-09 00:38:26 +00:00
Gustavo Sverzut Barbieri
c98bf92366
replace UNLIKELY() with EINA_UNLIKELY()
...
SVN revision: 42354
2009-09-08 21:42:17 +00:00
Vincent Torri
c88e3887d8
* INSTALL:
...
update INSTALL file
SVN revision: 42345
2009-09-08 06:55:14 +00:00
Vincent Torri
df88395e4f
* fix logging for Windows XP and CE port
...
by adding namespace to logging macros
* formatting and warning cleanup
SVN revision: 42341
2009-09-08 05:39:09 +00:00
dieb
073dd0542c
Fix segv reported by Peter Wehrfritz on eina init/shutdown (specifically on
...
eina_log init/shutdown as it wasn't resetting domains counters properly).
SVN revision: 42334
2009-09-07 23:23:03 +00:00
Peter Wehrfritz
809cfd97ff
eina_stringshare_init -> eina_init, dito shutdown
...
SVN revision: 42328
2009-09-07 16:32:26 +00:00
Carsten Haitzler
deb61bbe7c
fix some possible mutex probs
...
SVN revision: 42319
2009-09-07 10:42:30 +00:00
Gustavo Sverzut Barbieri
9b3e482ad2
--enable-amalgamation
...
This will concatenate all source files in the hope compiler will do a
better job. On my test with static/built in mempools it saves me 4k, I
guess some intra module calls can be saved.
SVN revision: 42315
2009-09-07 05:54:42 +00:00
Gustavo Sverzut Barbieri
b84e3424fe
use quotes to include config.h
...
SVN revision: 42314
2009-09-07 04:32:49 +00:00
Gustavo Sverzut Barbieri
bda2733238
fix message
...
SVN revision: 42313
2009-09-07 04:29:27 +00:00
Gustavo Sverzut Barbieri
8318f4c1f2
allow amalgamation of files, at least symbols don't clash anymore.
...
more related to amalgamation later.
SVN revision: 42312
2009-09-07 04:23:05 +00:00
Gustavo Sverzut Barbieri
a4bd77905d
malloc--: error and magic can take statically defined strings so no
...
need to strdup them.
SVN revision: 42311
2009-09-07 03:32:22 +00:00
Gustavo Sverzut Barbieri
404e3e09fb
API BREAK: eina_magic_string_set() does not change existing strings anymore.
...
It's pointless to be able to change magic number string after it's
created, so let's avoid walking the existing list and just remove
places where strings were being duplicated (list/array both inited
magic strings for accessor/iterators).
Also an optimization, register using an array and sort it before
searching. Sort will just happen when array was changed, and this is
just done when eina_magic_string_get() is called.
SVN revision: 42310
2009-09-07 02:33:54 +00:00
Gustavo Sverzut Barbieri
4baa70798c
eina_inlist.h is not required anymore.
...
SVN revision: 42305
2009-09-06 22:56:34 +00:00
Gustavo Sverzut Barbieri
777e74ce7d
eina_error: improvements to make it faster.
...
Use a simple array instead of inlist, error get is now much faster
using direct index access.
SVN revision: 42304
2009-09-06 22:54:49 +00:00
Gustavo Sverzut Barbieri
f98bf21da7
allocate more buckets on init to save couple of reallocs during startup.
...
SVN revision: 42303
2009-09-06 22:34:38 +00:00
Gustavo Sverzut Barbieri
205e0fe399
fix macro positioning of '\'
...
SVN revision: 42302
2009-09-06 22:25:36 +00:00
Gustavo Sverzut Barbieri
992936af22
Update to match new EINA init/shutdown.
...
SVN revision: 42301
2009-09-06 22:23:04 +00:00
Gustavo Sverzut Barbieri
e4af7c100c
EINA API BREAK: no more individual modules init/shutdown.
...
Being able to indivually initialize individual modules was initially
"good", but at end it's putting complexities on users that would try
to "optimize" by doing just what they used, but in the end most people
would get them wrong, users would have to do lots of code and etc. At
the end it does not worth.
Most module init just register handful errors and log domains, so are
cheap. The exception is mempool users, that would dlopen() stuff, but
people that are concerned (embedded) can just compile those statically
in eina.
Since at the end any real application would use most of modules, we
actually end saving lots of function calls that would do nothing other
than increment a global counter.
I also did the init/shutdown use an array, making it easier to
maintain. The inital dependencies were analysed by a script I wrote, I
hope it's all right.
Please fix any breakages you find!
SVN revision: 42300
2009-09-06 22:21:56 +00:00
Vincent Torri
718873e00c
shut down safety checks in the log module
...
Note : currently, because of a circular calls of
eina_log_init() and eina_safety_checks_init(), eina
is not correctly shut down. Imho, eina_log should not
depend on the safety checks module. That would mean
some fprintf in eina_log_domain_new(), eina_log_domain_free(),
eina_log_domain_register()and eina_log_domain_unregister().
SVN revision: 42292
2009-09-06 15:25:35 +00:00
Vincent Torri
e780763aa0
shutdown array module
...
SVN revision: 42287
2009-09-06 08:39:04 +00:00
Vincent Torri
e6891b228c
formatting
...
SVN revision: 42275
2009-09-05 08:52:41 +00:00
Vincent Torri
1dd8436cd4
add Mathieu Taillefumier's patch for eina logging,
...
with small modifications and fixing
ecore_evas_win32 does not build, though. I think that
if we add log support in evas, all the macro must have
different names, because of all the _private.h headers
that are included in all source files (that's the problem
with win32). I'll fix ecore_evas_win32 build later. Or
someone can do it if he wants :-)
SVN revision: 42274
2009-09-05 08:39:34 +00:00
Vincent Torri
911ce19bfc
fix build when async events are not enabled
...
SVN revision: 42273
2009-09-05 07:56:03 +00:00
Gustavo Sverzut Barbieri
5846195caf
eina_log: be able to disable function or line.
...
write down specialized cases for threads or not, function or file,
color or not. Maybe it's not even an optimization since we add yet
another indirection/function call, but each case is simpler.
* EINA_LOG_FILE_DISABLE=1: disables show of file:line in
stderr/stdout messages.
* EINA_LOG_FUNCTION_DISABLE=1: disables show of function() in
stderr/stdout messages.
one must not use the two options at the same time, if that's the case
code will ignore EINA_LOG_FILE_DISABLE=1 and use just function
disable.
SVN revision: 42272
2009-09-04 23:45:16 +00:00
Gustavo Sverzut Barbieri
86aa8a433b
mark log functions as not_instrument_function.
...
SVN revision: 42270
2009-09-04 21:55:03 +00:00
Gustavo Sverzut Barbieri
b5397eea63
eina_log optimization: allow to compile out some debug messages.
...
Users may opt to set EINA_LOG_LEVEL_MAXIMUM to some integer and macro
will then evaluate to check for that value before actually call
eina_log_print() macro. By using optimizations compilers will
effectivelly compile out the code if it is never reached, thus saving
the check and function call in possible critical paths.
SVN revision: 42269
2009-09-04 21:28:50 +00:00
Gustavo Sverzut Barbieri
e229b25826
loggify ethumb.
...
remove debug_level options as it is better handled by EINA_LOG_LEVELS
and EINA_LOG_LEVEL variables, for example:
EINA_LOG_LEVEL=3 EINA_LOG_LEVELS=ethumb:4,ethumb_client=1
will show debug for ethumb (lib), just errors (no warnings) for
ethumb_client library and everything else shows "info".
SVN revision: 42261
2009-09-04 19:27:12 +00:00
xcomputerman
1f24df9c39
Update EINA_ERROR_LEVEL* to EINA_LOG_LEVEL* to allow building again
...
SVN revision: 42255
2009-09-04 18:04:00 +00:00
Vincent Torri
1d7608daaa
fix coverage support configuration
...
SVN revision: 42250
2009-09-04 16:55:51 +00:00
Vincent Torri
5e05323794
include eina_log.h in eina_error.h as some log macro are used in it
...
SVN revision: 42249
2009-09-04 16:54:38 +00:00
Vincent Torri
d56568b7f9
eina_log uses pthreads now (if enabled), so link libeina against pthread
...
SVN revision: 42248
2009-09-04 16:25:18 +00:00
Gustavo Sverzut Barbieri
eef2d35ea6
eina_matrixsparse: loggify, install header, remove warnings and coding style.
...
* use eina_log
* install eina_matrixsparse.h
* remove unused variable
* fix coding style issue reported by Vincent
SVN revision: 42246
2009-09-04 14:18:05 +00:00
Gustavo Sverzut Barbieri
643958705b
eina_matrixsparse: welcome sparse matrix implementation and tests.
...
Sparse Matrix was implemented and tested by Rafael Antognolli and
myself in order to implement optimized large sparse matrix walk in
some products, one of them WebKit-EFL optimizations.
We have done extensive tests, with good code coverage. Similar to
lists/inlists, we keep pointer to last known element and similar to
iterators we keep reference to last accessed row and cell inside
rows. This allows fast sequential access (for i... for j... m[i,j]),
that is our most common usage case.
Rows are kept in a list, with cells inside that row as another
list. It's not similar to most book implementations where cells keep
reference to their sibling cells in other rows as well, we opted to
not do that to save some pointers and make algorithms simpler, still
do great for our use case.
This code was developed on behalf of our client, that wants to remain
unnamed so far. Thanks client ;-)
SVN revision: 42243
2009-09-04 13:43:44 +00:00
Vincent Torri
d8acbfc6f6
rename ecore_thread_init and ecore_thread_shutdown to fit usual private function names
...
SVN revision: 42240
2009-09-04 05:49:54 +00:00
Vincent Torri
eaf9934e80
evas_init() fails if eina_init() or evas_async_events_init() fail
...
SVN revision: 42239
2009-09-04 05:41:20 +00:00
Vincent Torri
ac3dae2a80
remove trailing spaces
...
SVN revision: 42238
2009-09-04 05:13:19 +00:00
Vincent Torri
be3e63eb6d
et_init should fail if eina_init fails
...
SVN revision: 42237
2009-09-04 05:03:47 +00:00
Vincent Torri
4576249649
fix maintainer-clean rule
...
SVN revision: 42236
2009-09-04 04:45:47 +00:00
Vincent Torri
d109fae2f9
remove from MAINTAINERCLEANFILES files that are removed by distclean rule
...
SVN revision: 42235
2009-09-04 04:36:03 +00:00
Vincent Torri
cb3150f9ea
remove uneeded files
...
SVN revision: 42234
2009-09-04 04:29:23 +00:00
Carsten Haitzler
1352efe452
1. make smart callback calling faster with == instead of strcmp
...
2. add linesize/line relsize for setting line sizes in textblock
SVN revision: 42231
2009-09-04 03:53:18 +00:00
Gustavo Sverzut Barbieri
e88b62b295
oops! thanks Vincent.
...
SVN revision: 42230
2009-09-04 03:52:05 +00:00
Gustavo Sverzut Barbieri
e455e6f5b9
fix eina to not use deprecated eina_error logging.
...
SVN revision: 42229
2009-09-04 02:42:51 +00:00
Gustavo Sverzut Barbieri
4d5fbb7742
loggify array.
...
this is the last eina module to be converted to eina_log! :-)
SVN revision: 42228
2009-09-04 02:35:24 +00:00
Gustavo Sverzut Barbieri
5ea9ceeafc
eina_module must initialize eina_array as it is used.
...
SVN revision: 42227
2009-09-04 02:34:48 +00:00
Gustavo Sverzut Barbieri
dfee09d6b0
make it easier to spot wrong users of eina_log_print()
...
SVN revision: 42226
2009-09-04 02:34:10 +00:00
Gustavo Sverzut Barbieri
9f8dfea129
loggify rectangle.
...
SVN revision: 42225
2009-09-04 02:11:44 +00:00
Gustavo Sverzut Barbieri
04489ec727
loggify stringshare, with extensive debug.
...
note that one can turn per module debug, for example:
EINA_LOG_LEVEL=4 EINA_LOG_LEVELS=eina_stringshare:0 ./bla
will enable level 4 (debug) for all modules except eina_stringshare
that is forced to 0 (just critical messages).
SVN revision: 42224
2009-09-04 02:03:46 +00:00
Gustavo Sverzut Barbieri
21545b087a
loggify stringshare.
...
SVN revision: 42223
2009-09-04 01:54:37 +00:00
Gustavo Sverzut Barbieri
ecbff0cb75
loggify main.
...
SVN revision: 42222
2009-09-04 01:48:36 +00:00
Gustavo Sverzut Barbieri
8a2c84631c
loggify list.
...
SVN revision: 42221
2009-09-04 01:43:50 +00:00
Gustavo Sverzut Barbieri
8ca1675c51
eina_error: deprecated old logging, move to eina_log.
...
SVN revision: 42220
2009-09-04 01:37:11 +00:00
Gustavo Sverzut Barbieri
2406791660
loggify benchmark.
...
SVN revision: 42219
2009-09-04 01:19:19 +00:00
Gustavo Sverzut Barbieri
dac152772f
loggify mempool.
...
SVN revision: 42218
2009-09-04 01:13:49 +00:00
Gustavo Sverzut Barbieri
253a9623e9
loggify eina_convert.
...
SVN revision: 42217
2009-09-04 01:03:27 +00:00
Gustavo Sverzut Barbieri
eeb2d38d38
eina_log_vprint() for those that want to wrap it in other functions.
...
SVN revision: 42216
2009-09-04 00:57:09 +00:00
Gustavo Sverzut Barbieri
0dd3836c56
missing file, sorry.
...
SVN revision: 42215
2009-09-04 00:56:16 +00:00
Gustavo Sverzut Barbieri
07d2bde900
eina_safety_checks_init()
...
All these individual init functions are getting messy, some modules
lack them and it's easy to get inconsistent. Safety check needs error
and log, but these need safety checks as well, some modules (lalloc,
rbtree and others) use safety checks but provide no _init().
I want to know if we really gain something to init individual
modules. It should not be that expensive as init should not allocate
heavy resources and the recommendation is to call eina_init() so most
users will do that anyway.
If people agree I'll unmark all *_init() as EAPI and make them private
to eina lib.
SVN revision: 42214
2009-09-04 00:53:19 +00:00
Gustavo Sverzut Barbieri
4d37971d60
eina_safety_checks now uses eina_log.
...
SVN revision: 42213
2009-09-03 23:36:27 +00:00
Massimo Maiurana
63ebbb00a0
adding french and italian translations
...
SVN revision: 42211
2009-09-03 17:22:10 +00:00
Gustavo Sverzut Barbieri
cee03dcb3c
eina_log: CONVENTION BREAK!!!! automatically adds \n
...
Automatically add \n to messages. Since we use that prefix, there is
no use to allow messages without \n, it would look a mess.
Some logging systems may not require the trailing newline, for example
logging to xml or syslog, for those you don't need to ignore this char
if present.
Yes, this breaks convention, but better now than latter. And the
results are not so bad.
SVN revision: 42200
2009-09-03 01:39:45 +00:00
Gustavo Sverzut Barbieri
8024360138
eina_log: thread safe logging!
...
eina_log_threads_enable() and then get thread safe logging with
non-main threads being printed with special notation to easily spot
those.
SVN revision: 42199
2009-09-03 01:31:26 +00:00
Gustavo Sverzut Barbieri
d8ee1b3a24
eina_log: fix error handling and handle deleted domains.
...
EINA_SAFETY_CHECKS will call eina_log, so calling these from inside
eina_log_print() may lead to recursion, that is really bad (although
it seems it would never lead to infinite recursion).
handle d->deleted, also showing error.
SVN revision: 42198
2009-09-03 00:17:27 +00:00
Gustavo Sverzut Barbieri
9fb9b1259d
eina_log: fix stderr, improve log output.
...
* stderr logger was doing prefix properly but user message to stdout, fixed.
* log is improved:
* grep-able, it shows the 3 letter level name as prefix, unknown levels
will have their number printed.
* colors just on prefix, less polluted output still easy to spot.
* function names are highlighted.
SVN revision: 42197
2009-09-03 00:07:25 +00:00
Gustavo Sverzut Barbieri
418c99a8e3
eina_log improvements: docs, micro optimizations and stderr logging by default.
...
* more docs.
* do not getenv("EINA_LOG_ABORT") everytime, just at init.
* EINA_UNLIKELY() in some critical paths (not that big impact anyway)
* eina_log_print_cb_stderr() and use it by default.
SVN revision: 42196
2009-09-02 23:28:00 +00:00
Gustavo Sverzut Barbieri
bb717a3be5
less malloc and memory fragmentation.
...
not that important, but an easy improvement does not hurt.
SVN revision: 42195
2009-09-02 23:11:22 +00:00
Gustavo Sverzut Barbieri
2f8ded1037
loggify eina_module, adding couple of debug info.
...
SVN revision: 42194
2009-09-02 23:06:55 +00:00
Gustavo Sverzut Barbieri
c1e2a300e4
coding style/indent.
...
SVN revision: 42193
2009-09-02 22:39:41 +00:00
Christopher Michael
d00a91f70d
Formatting.
...
SVN revision: 42185
2009-09-02 15:48:34 +00:00
Carsten Haitzler
8a202ffe04
remove excessive backspace
...
SVN revision: 42183
2009-09-02 12:49:09 +00:00
Carsten Haitzler
d6cdd8131b
1. ecore-evas doesnt disable draws to fully obscured windows if compositoir
...
is there
2. static atom for compositor check
3. stop filterng out mouse moves for better scroll momentum checks
SVN revision: 42182
2009-09-02 12:48:56 +00:00
Vincent Torri
af6cde97d3
fix gettext stuff
...
to disable it, pass to configure --disable-nls
SVN revision: 42166
2009-09-01 17:27:23 +00:00
Iván Briano
d0e971620e
fix docs
...
SVN revision: 42159
2009-09-01 16:16:23 +00:00
Gustavo Sverzut Barbieri
7d5dfd2b1c
fix build to actually use gettext, create ecore.pot
...
SVN revision: 42158
2009-09-01 14:56:06 +00:00
Gustavo Sverzut Barbieri
ba79d71f95
have ecore+gettext stuff to actually compile.
...
SVN revision: 42157
2009-09-01 14:46:16 +00:00
Gustavo Sverzut Barbieri
21e66eec2b
some parts I missed before.
...
SVN revision: 42156
2009-09-01 14:35:59 +00:00
Daniel Kolesa
2f319b9a5c
Gettext support in Ecore_Getopt. Thanks to k-s :)
...
SVN revision: 42155
2009-09-01 14:15:37 +00:00
Cedric BAIL
49cb141f10
* eina_magic: Test suite now work when magic debug is disabled.
...
SVN revision: 42150
2009-09-01 12:17:13 +00:00
Cedric BAIL
a77cd76e1d
* edje: Fix static build of edje.
...
SVN revision: 42146
2009-09-01 10:02:40 +00:00
dieb
7eff1d432b
Remove legacy error code definition from eina log.
...
SVN revision: 42126
2009-08-31 14:40:48 +00:00
Cedric BAIL
2bc38ddb92
* eina: Add more FP type (f8p24 and f32p32).
...
SVN revision: 42124
2009-08-31 13:52:17 +00:00
Vincent Torri
2d11ac918c
fix number of events
...
SVN revision: 42114
2009-08-30 21:41:51 +00:00
Vincent Torri
8f53c520a4
typo
...
SVN revision: 42091
2009-08-29 20:53:12 +00:00
Vincent Torri
2a5548f8e9
better fix : if HW_AVAILCPU is defined, we use it, otherwise we use HW_NCPU
...
SVN revision: 42090
2009-08-29 19:59:26 +00:00
Vincent Torri
841aaa8f52
typo
...
SVN revision: 42089
2009-08-29 19:29:30 +00:00
Vincent Torri
9f01ad25cf
fix for the BSD systems
...
SVN revision: 42088
2009-08-29 16:39:59 +00:00
Vincent Torri
17cb74c23f
don't try to remove monitors if non has been added before
...
SVN revision: 42087
2009-08-29 08:44:05 +00:00
Vincent Torri
d3d9560eb1
remove debug
...
SVN revision: 42086
2009-08-29 08:42:44 +00:00
Vincent Torri
2e38151ed8
formatting
...
SVN revision: 42084
2009-08-29 05:29:05 +00:00
Vincent Torri
72b87160a2
* add eina_config.h in all source files. Fix linking with Visual Studio
...
* move eina_private.h and eina_safety_checks.h just after eina_config.h
SVN revision: 42077
2009-08-28 12:03:34 +00:00
Carsten Haitzler
c1e675d669
fix copying to 2.1 again and keep static linking clause
...
SVN revision: 42075
2009-08-28 11:30:35 +00:00
Carsten Haitzler
1c58a8b3f3
static linking exception
...
SVN revision: 42073
2009-08-28 11:17:59 +00:00
Vincent Torri
42918e0b9e
rename the dll name created by VS
...
SVN revision: 42068
2009-08-28 09:51:39 +00:00
Vincent Torri
2678846b95
rename project name and filename
...
SVN revision: 42064
2009-08-28 07:34:58 +00:00
Vincent Torri
5612cf9020
* declare variables at the beginning of the block
...
* strtol returns a long int
SVN revision: 42063
2009-08-28 07:21:35 +00:00
Vincent Torri
bc6ee8c17a
fix warning with vc++
...
SVN revision: 42062
2009-08-28 07:15:49 +00:00
Vincent Torri
8eb64a4e2d
update Visual Studio project
...
SVN revision: 42060
2009-08-28 06:32:45 +00:00
Vincent Torri
0de03a3f2b
update Visual Studio project even more
...
SVN revision: 42059
2009-08-28 06:20:15 +00:00
Vincent Torri
bede23211d
update Visual Studio project
...
SVN revision: 42058
2009-08-28 06:15:35 +00:00
Vincent Torri
1029babb26
remove debug
...
SVN revision: 42057
2009-08-28 05:49:40 +00:00
dieb
7bc6284e09
Fix compilation issue reported by Vincent on Windows (stdint and c++ compiler), setup a negative value for flagging the unknown level.
...
SVN revision: 42049
2009-08-27 21:32:42 +00:00
dieb
e6b9bea5d8
Add missing prototype for ecore_con_url_response_headers_get().
...
SVN revision: 42048
2009-08-27 21:21:43 +00:00
Vincent Torri
bb6e659965
* src/lib/dlfcn/dlfcn.c:
...
fix warnings
* src/lib/evil_fnmatch_list_of_states.c:
fix vc++ warning
* win32/MANIFEST.txt:
* win32/README.txt:
* win32/start.bat:
* win32/vs9/evil.sln:
* win32/vs9/libdlfcn.vcproj:
* win32/vs9/libevil.vcproj:
* win32/vs9/test/out/update_deps.bat:
* win32/vs9/test/start.bat:
* win32/vs9/test/test.sln:
* win32/vs9/test/test.vcproj:
* win32/vs9/test/test_fnmatch.cpp:
* win32/vs9 (added):
* win32/vs9/test (added):
* win32/vs9/test/test_fnmatch.cpp (added):
* win32/vs9/test/test.vcproj (added):
* win32/vs9/test/start.bat (added):
* win32/vs9/test/out (added):
* win32/vs9/test/out/update_deps.bat (added):
* win32/vs9/test/test.sln (added):
* win32/vs9/libdlfcn.vcproj (added):
* win32/vs9/libevil.vcproj (added):
* win32/vs9/evil.sln (added):
* win32/start.bat (added):
* win32/vs8/libmman.vcproj (deleted):
* win32/vs8/start.bat (deleted):
* win32/set_env.bat (deleted):
update the Visual Studio environment. Now, there is only one
script to launch (start.bat) in win32/. It detects automatically
the latest Visual Studio environment which is installed and launch
the solution. Currently supported VS are 2005 and 2008.
SVN revision: 42029
2009-08-27 08:19:06 +00:00
Vincent Torri
654330e183
warnings--
...
SVN revision: 42018
2009-08-26 15:43:45 +00:00
Vincent Torri
77a9dab5eb
fix warnings
...
SVN revision: 42016
2009-08-26 15:36:01 +00:00
Vincent Torri
ebf35949a6
* fix potential bugs
...
* fix warnings
* make the code a bit more readable
SVN revision: 42015
2009-08-26 15:34:49 +00:00
Vincent Torri
0bd66ee195
fix warnings
...
SVN revision: 42014
2009-08-26 15:32:23 +00:00
Lars Munch
023b8909af
Added missing pthread guard
...
Patch from Vincent Torri
SVN revision: 42005
2009-08-26 05:59:56 +00:00
dieb
c891a34a08
Add eina_log module into the main module and global header.
...
SVN revision: 41985
2009-08-25 21:26:27 +00:00
Gustavo Sverzut Barbieri
c8534587f2
do not check for data, eina_iterator_next/eina_accessor_data_get() does that.
...
SVN revision: 41984
2009-08-25 21:05:00 +00:00
Vincent Torri
2a8d44f5a0
allow the user to chose in which directory the temporary file
...
will be created. The logic is the following:
* if the environment variable TMPDIR is set, use its value
* if it is not set, take the directory passed with the
-td option (see edje_cc help)
* otherwise on Windows use a temporary dir and on other
platform, use /tmp
SVN revision: 41978
2009-08-25 17:25:23 +00:00
Vincent Torri
ea9c39e2f7
masks should be correctly rotated in the xcb engine, now
...
remove a few unused parameters and unused variables
SVN revision: 41975
2009-08-25 16:21:09 +00:00
Vincent Torri
86dab3bef7
we should try if shm is available
...
SVN revision: 41974
2009-08-25 15:23:15 +00:00
Vincent Torri
e005dd2479
* fix compilation when curl is not available
...
* small formatting
SVN revision: 41968
2009-08-25 06:45:35 +00:00
dieb
d7bbc05b12
Initial import of the new eina logging API.
...
* eina_error might be kept for error messages and codes, but it's logging API
will be deprecated. For now, it's been kept for not breaking others code and
for a smoother transition.
* Added test for new logging API, also demonstrates usage.
SVN revision: 41960
2009-08-24 21:43:48 +00:00
dieb
85ba9823e7
Change my email address to a fixed one.
...
SVN revision: 41959
2009-08-24 21:28:59 +00:00
Vincent Torri
5fd9a46869
small cleanup
...
SVN revision: 41958
2009-08-24 17:20:33 +00:00
Vincent Torri
8b2bd0c079
* remove unused parameters (except in edje_lua.c, as i don't know the current status)
...
* remove unused variables
SVN revision: 41957
2009-08-24 16:40:42 +00:00
Cedric BAIL
05549684f7
* ecore_con_url: Remove debug.
...
SVN revision: 41954
2009-08-24 13:25:51 +00:00
Christopher Michael
26f32b9520
Return NULL to be consistent, not 0.
...
SVN revision: 41953
2009-08-24 10:52:40 +00:00
Cedric BAIL
3c24106508
* ecore: Add Andre Dieb in ecore AUTHORS file.
...
SVN revision: 41952
2009-08-24 09:41:46 +00:00
Cedric BAIL
8d908436c6
* ecore_con_url: Add a way to retrieve request response headers.
...
Patch from Andre Dieb <andre.martins@ee.ufcg.edu.br>.
SVN revision: 41951
2009-08-24 09:41:07 +00:00
Vincent Torri
37fc8c9674
fix warning
...
SVN revision: 41943
2009-08-23 20:37:17 +00:00
Vincent Torri
b4ddae48b8
typo
...
SVN revision: 41942
2009-08-23 15:37:20 +00:00
Vincent Torri
da7d129e2d
* remove the inclusion of config.h in Eet_private.h (not needed)
...
* add config.h in all source file to be consistent, even if it
is not necessary
* formatting
SVN revision: 41941
2009-08-23 09:36:43 +00:00
Vincent Torri
6e7aecc7c0
* Put definition of alloca before any standard header
...
files according to the doc
* define _GNU_SOURCE before the inclusion of alloca
as features.h inclued by alloca.h, defines some
macros according to _GNU_SOURCE.
SVN revision: 41940
2009-08-23 09:18:14 +00:00
Christopher Michael
581556e6d2
Patch from Andre Dieb to remove a debug statement.
...
Fix formatting also.
SVN revision: 41919
2009-08-21 19:47:04 +00:00
Gustavo Sverzut Barbieri
85c2e25399
have efreet to match x-generic as well, requested by jeffdameth.
...
SVN revision: 41907
2009-08-21 03:03:59 +00:00
Vincent Torri
c01af79f80
portable way to do echo -n as some shells do not
...
support it (Mac OS X or OpenSolaris)
SVN revision: 41897
2009-08-20 21:20:31 +00:00
Vincent Torri
13b23be252
don't do arithmetic on void *
...
SVN revision: 41885
2009-08-20 11:56:57 +00:00
Vincent Torri
5213fca489
rewrite a bit that m4 macro
...
SVN revision: 41881
2009-08-20 08:31:26 +00:00
Lars Munch
2e7e9169e7
Fix building without pthread support
...
SVN revision: 41880
2009-08-20 06:09:15 +00:00
Vincent Torri
008b437d52
update changelog
...
SVN revision: 41877
2009-08-19 12:18:08 +00:00
Vincent Torri
137f6f2d91
-pthread should be passed to eina_chained_mempool_la_LDFLAGS
...
SVN revision: 41876
2009-08-19 12:15:10 +00:00
Vincent Torri
5c8b90d23c
add alloca() declaration
...
SVN revision: 41874
2009-08-19 10:58:38 +00:00
Carsten Haitzler
59f676f369
oh suncc - shut up!
...
SVN revision: 41873
2009-08-19 09:56:46 +00:00
Vincent Torri
989ade86dd
fix a bit the documentation
...
SVN revision: 41870
2009-08-19 07:54:13 +00:00
Vincent Torri
2d97e95d2a
clean a bit the hamster
...
SVN revision: 41869
2009-08-19 07:36:39 +00:00
Vincent Torri
c45bf860da
* remove uneeded semicolons
...
* fix and add doxygen doc
SVN revision: 41868
2009-08-19 07:09:24 +00:00
Vincent Torri
36be15fc55
don't suppose that gcc is the only compiler that can be used.
...
Check if -Wall and -fno-strict-aliasing are supported by the compiler
SVN revision: 41863
2009-08-18 20:04:19 +00:00
Cedric BAIL
0b7407905c
* eina_rectangle: Add a local cache to rectangle creation.
...
SVN revision: 41856
2009-08-18 13:35:33 +00:00
Davide Andreoli
dfac5a2a59
* Remove _strdup(). Useless unless we don't check the return value
...
SVN revision: 41850
2009-08-17 21:28:40 +00:00
Cedric BAIL
9abdbe30af
* edje: Fix tween when comming from same state.
...
SVN revision: 41844
2009-08-17 15:16:23 +00:00
Davide Andreoli
cb29b20245
* Do not include edje_cc.h anymore :)
...
SVN revision: 41843
2009-08-17 14:49:26 +00:00
Davide Andreoli
74565cec99
* Do not use the 'Font' struct from edje_cc.h
...
SVN revision: 41842
2009-08-17 14:26:31 +00:00
Davide Andreoli
8fa5f302d3
* Do not use SZ() macro from edje_cc.h
...
SVN revision: 41841
2009-08-17 14:13:26 +00:00
Cedric BAIL
06f76b1e87
* edje: Fix calc.
...
SVN revision: 41840
2009-08-17 14:00:44 +00:00
Davide Andreoli
061798f628
* rename mem_strdup() to not clash (in the case of a static build) with the one defined in bin/
...
SVN revision: 41839
2009-08-17 13:54:17 +00:00