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