Cedric BAIL
642d8686de
Remove ecore_hash and eina_hash use from ecore.
...
SVN revision: 38105
2008-12-11 13:55:47 +00:00
Sebastian Dransfeld
dd4a299895
Remove const qualifier.
...
Dynamically allocated buffers which we will free shouldn't be const.
SVN revision: 38069
2008-12-09 20:08:36 +00:00
Chidambar Zinnoury
c4525334f3
Leak --: ecore_file_dir_get always returns a new buffer.
...
SVN revision: 38068
2008-12-09 18:28:45 +00:00
Gustavo Sverzut Barbieri
c8d86791e6
Include stdio.h so ecore_getopt_help() is fine.
...
We need FILE* for ecore_getopt_help().
SVN revision: 38067
2008-12-09 18:15:28 +00:00
Chidambar Zinnoury
dfadbd5bd7
When your libc doesn't provide iconv, and that you use GNU libiconv, iconv is available on libiconv_plug.so.
...
SVN revision: 38052
2008-12-09 13:31:38 +00:00
Cedric BAIL
e51aa4745a
Valgrind complain when doing IC Destroy after XCloseDisplay, doing it before
...
sounds better to valgrind.
SVN revision: 38021
2008-12-08 14:29:44 +00:00
Iván Briano
d4d14f54ed
Very basic Input Method support. For now, it only uses X default to support things like composed characters with deadkeys kb layouts.
...
SVN revision: 38008
2008-12-08 00:28:37 +00:00
Nicholas Hughart
0b63514546
Some tweaks/fixups for abstract sockets.
...
SVN revision: 37931
2008-12-05 04:48:12 +00:00
Vincent Torri
1a897239c7
Patch by Dmitriy Mazovka:
...
add drag'n drop support in ecore_win32 (reworked) (missing files)
SVN revision: 37890
2008-12-01 22:43:04 +00:00
Carsten Haitzler
9cf7c7c3a3
hmm revert this for now - i think it broke efm... i think...
...
SVN revision: 37879
2008-12-01 11:41:32 +00:00
Carsten Haitzler
b8b89cb17e
flush should use select with a timeout and try write every 10th of a sec
...
SVN revision: 37877
2008-12-01 10:13:16 +00:00
Vincent Torri
b1f46fb7e8
remove trailing spaces
...
SVN revision: 37851
2008-11-29 11:23:17 +00:00
Vincent Torri
4862bc46f1
* Patch by Dmitriy Mazovka
...
- add shape support in ecore_win32
- add drag'n drop support in ecore_win32 (reworked)
* remove strange character (ecore_evas_win32.c)
* include Eina.h before defining EAPI (Ecore_Data.h)
* add -lole32 as lib for DnD, minor thing (configure.ac)
next steps will be the new direct3d engine, and full support
of DnD, shapes and fullscreen for the directdraw engine and
in ecore_evas.
SVN revision: 37831
2008-11-27 19:30:39 +00:00
Gustavo Sverzut Barbieri
62d0d7eca0
Easy to use and powerful getopt implementation.
...
Create a parser description and give it the parameters, that's it. You
can store values (automatically converting types!), count occurrences,
make it true or false, create a list, choose from a list of items or
even specify your own callback to process arguments!
It was inspired by Python's optparse: http://www.python.org/doc/2.5.2/lib/module-optparse.html
SVN revision: 37781
2008-11-24 00:49:04 +00:00
Vincent Torri
d661628349
add evil init / shutdown. Necessary for gettimeofday on Windows CE
...
SVN revision: 37741
2008-11-22 07:55:02 +00:00
Vincent Torri
5da71a34cd
typo
...
SVN revision: 37725
2008-11-21 08:18:09 +00:00
Vincent Torri
e9798f4d5e
add Windows CE gdi backend
...
SVN revision: 37713
2008-11-19 09:24:26 +00:00
Vincent Torri
e3dd190240
remove the problem of the main loop taking 100% of the cpu
...
consumption on Windows
SVN revision: 37699
2008-11-18 06:56:31 +00:00
Gustavo Sverzut Barbieri
14243bc1b3
runtime configurable timer precision
...
One can now configure the maximum acceptable delay to be introduced by
Ecore so possibly more timers will be dispatched together, reducing
wakeups and saving more power.
SVN revision: 37607
2008-11-13 20:42:01 +00:00
Gustavo Sverzut Barbieri
d5216f9ea7
it's 'UNsigned' char, not signed!
...
SVN revision: 37606
2008-11-13 20:39:56 +00:00
Vincent Torri
f3456d4368
fix compilation on windows, minor formatting, use unix end of line
...
SVN revision: 37597
2008-11-12 07:54:25 +00:00
Massimiliano Calamelli
3292fa9100
Fix doxy
...
SVN revision: 37526
2008-11-06 15:59:28 +00:00
Peter Wehrfritz
f0129584b5
take the right patch for ecore_pipe. I moved nbytes back to unsigned int, from int. Was there a reason why you changed it to a signed integer? Negative values doesn't make sense for a size value. Anyway, if you really prefer int, I can change it, later.
...
One possible problem that come to mind, is that some one could del a pipe inside of the handler. That segfaults at the moment. So this should be fixed some time.
SVN revision: 37438
2008-11-03 13:57:53 +00:00
Carsten Haitzler
c8731aeaa6
add patch to add a pipe handler for glueing threads to the core main loop via
...
pipes - makes it save for a thread to send a message to the main loop and not
need lots of thread locks etc.
SVN revision: 37429
2008-11-03 05:42:27 +00:00
Carsten Haitzler
3de2227ec4
stderr-- (just noisy!)
...
SVN revision: 37426
2008-11-03 00:04:43 +00:00
Carsten Haitzler
f025b8cd62
move setup of loop time to init.
...
SVN revision: 37424
2008-11-02 22:32:18 +00:00
Vincent Torri
9b19b7dec4
autotools fixes
...
* remove useless _DEPENDENCIES variables
* remove useless files in EXTRA_DIST
* use -no-undefied directly
* add some flags when the host is windows ce
make distcheck succeeds on my computer
next step will be to fix the horrible mess in Ecore.h and ecore_private.h
SVN revision: 37406
2008-11-02 09:01:35 +00:00
Vincent Torri
36a04eb80a
const++
...
SVN revision: 37405
2008-11-02 08:40:27 +00:00
Vincent Torri
f90666e89b
const++
...
SVN revision: 37404
2008-11-02 08:32:52 +00:00
Carsten Haitzler
41ac47244f
remove more useless ecore_time_get's
...
SVN revision: 37392
2008-11-02 02:19:18 +00:00
Carsten Haitzler
b2edd2d7d6
new ecore_loop_time_get() call. also priority setting for spawning sub-procs
...
SVN revision: 37389
2008-11-02 01:29:08 +00:00
Vincent Torri
478e8c1e4c
fix ecore_evas on Windows CE
...
SVN revision: 37380
2008-11-01 19:01:58 +00:00
Cedric BAIL
6d2ca9c036
Add support for GNU TLS in ecore_con.
...
SVN revision: 37329
2008-10-30 15:26:11 +00:00
Gustavo Sverzut Barbieri
59c00da15a
add some const.
...
SVN revision: 37318
2008-10-29 20:12:45 +00:00
Gustavo Sverzut Barbieri
fe94f35f38
Return associated object.
...
SVN revision: 37316
2008-10-29 19:50:24 +00:00
Gustavo Sverzut Barbieri
9f45e76c20
Export driver as engine_name.
...
Also make sure it matches the names used by engines_get().
SVN revision: 37314
2008-10-29 19:31:05 +00:00
Gustavo Sverzut Barbieri
37b9f3af65
use unsigned for 1-bit members.
...
SVN revision: 37313
2008-10-29 19:07:10 +00:00
Peter Wehrfritz
eea7912a84
no need for eina here
...
SVN revision: 37285
2008-10-28 22:26:59 +00:00
Sebastian Dransfeld
c42322aebf
Remove unused variable.
...
SVN revision: 37217
2008-10-27 09:49:49 +00:00
Sebastian Dransfeld
381dc201ad
Fix sign warning.
...
SVN revision: 37216
2008-10-27 09:49:37 +00:00
Sebastian Dransfeld
97b46f898b
Fix sign warning.
...
SVN revision: 37215
2008-10-27 09:49:25 +00:00
Sebastian Dransfeld
6c3723225a
parse functions should return the point where they left of.
...
SVN revision: 37168
2008-10-26 20:05:59 +00:00
Sebastian Dransfeld
92383c7ce4
Don't declare static functions if they are not used.
...
SVN revision: 37165
2008-10-26 19:56:38 +00:00
Sebastian Dransfeld
c343d0dfb9
Don't declare static functions if they are not used.
...
SVN revision: 37164
2008-10-26 19:54:42 +00:00
Sebastian Dransfeld
71e3ad924c
This function returns void
...
SVN revision: 37163
2008-10-26 19:45:59 +00:00
Sebastian Dransfeld
b2ea1570fe
Make internal inline functions static inline
...
SVN revision: 37161
2008-10-26 17:24:52 +00:00
Sebastian Dransfeld
f0783945d9
* Declare function ecore_con_info_udp_listen in private header
...
* Remove unused variables
* Add paranthesis to remove ambiguity
SVN revision: 37157
2008-10-26 16:32:45 +00:00
Sebastian Dransfeld
a527a94e79
remove inline from ecore_print_warning, exported functions
...
shouldn't be inline.
SVN revision: 37156
2008-10-26 16:32:34 +00:00
Sebastian Dransfeld
70d1e5d58d
Add Eina.h for eina_init
...
SVN revision: 37155
2008-10-26 16:32:21 +00:00
Sebastian Dransfeld
842d3dcf79
Make ecore_print_warning externally accesible for ecore_evas
...
SVN revision: 37040
2008-10-24 05:49:29 +00:00
Michael Lauer
dc655bce76
Apply patch from thomasg <thomas@gstaedtner.net>:
...
"The attached patch fixes the ecore_path_group_available by removing the
senseless check on shared object suffix.
It also renames the function to ecore_path_group_available_get, to match the
ecore API."
SVN revision: 37031
2008-10-23 20:12:49 +00:00
Gustavo Sverzut Barbieri
0621fd52cc
add helper ecore_evas_object_associate.
...
We usually want to create an Ecore_Evas and attach an object to it, be
it the background, your smart object that will manage the scene (ie:
edje) and this is replicated everywhere. Not anymore!
ecore_evas_new() and ecore_evas_object_associate() will behave much
like regular toolkits "window-new()" and "window-main-child-add()",
actually it was based on elm_win.c and hopefully we can remove that,
or most of that code and replace with this helper.
I'll add an Evas smart object to handle stacks of objects, that is, it
will be a clipped smart object that on resize it will resize every
child to the same size. This means we can associate this stack object
and add a background and then your stuff on top of it.
SVN revision: 37010
2008-10-23 01:00:16 +00:00
Cedric BAIL
f3252b5b6e
Fix a little typo.
...
SVN revision: 36989
2008-10-22 15:46:20 +00:00
Carsten Haitzler
f7283eb333
remove some debugging
...
SVN revision: 36960
2008-10-22 09:25:38 +00:00
Cedric BAIL
0780128787
Remove Evas_List from Ecore.
...
SVN revision: 36941
2008-10-21 15:54:55 +00:00
Cedric BAIL
02bf306fdd
Remove macro provided by Eina.
...
SVN revision: 36863
2008-10-20 16:34:59 +00:00
Cedric BAIL
5015cf3a8d
Patch from Shulga Nikita.
...
SVN revision: 36846
2008-10-20 11:18:58 +00:00
Chidambar Zinnoury
e917baaacd
Add eina init and shutdown to ecore init and shutdown.
...
Please, let me log in using Entrance! :D
SVN revision: 36726
2008-10-16 20:33:05 +00:00
Cedric BAIL
1774413b17
Remove ecore_strings and switch to eina_stringshare.
...
SVN revision: 36675
2008-10-15 14:45:53 +00:00
Miculcy Brian
0660f3a086
fix warnings, thanks thomasg
...
SVN revision: 36643
2008-10-13 23:27:58 +00:00
Cedric BAIL
3d49d88a32
Make ecore depend on eina. No change in the code yet, so just fix your build system and no bug must show up.
...
SVN revision: 36622
2008-10-13 15:59:19 +00:00
Cedric BAIL
9ff9555cc7
Make IPv6 work.
...
Patch from Arnaud de Turckheim.
SVN revision: 36612
2008-10-13 11:24:52 +00:00
Carsten Haitzler
daf72b327b
ok- disabel error handlign for file_init.. foudn a case where iot fails...
...
wow! must check.
SVN revision: 36586
2008-10-11 14:25:58 +00:00
Cedric BAIL
632615fd1f
Fix entrance and perhaps exquisite too.
...
SVN revision: 36545
2008-10-09 12:30:19 +00:00
Cedric BAIL
3a2ab6069d
When the list is NULL, it's empty.
...
SVN revision: 36542
2008-10-09 10:21:16 +00:00
Carsten Haitzler
cad561706f
go back to svnrev 36473 for ecore_con - these ipv6 changes broke exquisite on boot - so unix sockets have been compromised somehow in the changes. cannot debug because system is stuck in boot and wont continue. narrowed down break to this change
...
SVN revision: 36540
2008-10-09 00:46:29 +00:00
Cedric BAIL
0ad506a441
Fix some warning.
...
SVN revision: 36532
2008-10-08 16:36:14 +00:00
Cedric BAIL
5f3c76b84a
Correctly use addrinfo.
...
SVN revision: 36526
2008-10-08 13:31:09 +00:00
Cedric BAIL
f3ace08723
More cleanup and export a replacement for ecore_con_dns_lookup.
...
SVN revision: 36497
2008-10-07 12:41:36 +00:00
Cedric BAIL
2455961732
Fix little macro error spotted by Peter Wehrfritz.
...
SVN revision: 36495
2008-10-07 12:36:06 +00:00
Carsten Haitzler
2549f9a0c3
don't leake keysyms!
...
SVN revision: 36486
2008-10-06 22:56:35 +00:00
Cedric BAIL
922509b98d
Another step toward IPv6 support with more cleanup.
...
Patch from Arnaud de Turckheim.
SVN revision: 36483
2008-10-06 16:40:01 +00:00
Cedric BAIL
554ad88eff
Starting work for IPv6 support of ecore_con. Use getaddrinfo and getnameinfo instead of gethostbyname.
...
Patch from Arnaud de Turckheim.
SVN revision: 36475
2008-10-06 09:41:39 +00:00
Cedric BAIL
1cef991ffd
Add full UDP client/server support.
...
Patch from Matt Barclay.
SVN revision: 36474
2008-10-06 09:28:15 +00:00
Peter Wehrfritz
19106de2a1
warnings--
...
SVN revision: 36457
2008-10-05 18:33:35 +00:00
Vincent Torri
793eb8511b
missing 'x'
...
SVN revision: 36421
2008-10-03 17:29:30 +00:00
Vincent Torri
5fb70fd80d
add 2 missing _CON_ ...
...
SVN revision: 36384
2008-10-01 19:51:29 +00:00
Cedric BAIL
fb90b057e8
Patch from Quarium. Ecore_Con handle in progress connection with it.
...
SVN revision: 36380
2008-10-01 15:27:52 +00:00
Michael Jennings
c36f11f8ea
This should fix the DNS hangs.
...
SVN revision: 36372
2008-10-01 06:17:50 +00:00
Peter Wehrfritz
beaa909d45
configure.in -> configure.ac
...
SVN revision: 36364
2008-09-30 18:07:29 +00:00
Sebastian Dransfeld
cdb45ce04a
Rename REMOTE_SYSTEM to REMOTE_TCP, keep SYSTEM as #define (should be
...
removed in the future)
SVN revision: 36249
2008-09-25 11:37:01 +00:00
Cedric BAIL
6bbe0efc55
Patch from Matt Barclay that add UDP client support to ecore_con.
...
SVN revision: 36247
2008-09-25 10:14:31 +00:00
Carsten Haitzler
2b9cecee4f
asparagus!
...
SVN revision: 36234
2008-09-25 02:59:59 +00:00
Carsten Haitzler
4d3f6362b6
fix dpi check! oops!
...
SVN revision: 36210
2008-09-24 13:03:54 +00:00
Carsten Haitzler
44fc837b6a
add simple dpi get call
...
SVN revision: 36205
2008-09-24 10:18:26 +00:00
Carsten Haitzler
e8a109b62d
oops - objc even tho i made it optional.. i had it ALSO put in afterwards
...
hard-coded. fixed.
SVN revision: 36161
2008-09-22 11:14:32 +00:00
Carsten Haitzler
8c5d095827
from sacial - condition where pipe close doesnt happen.
...
SVN revision: 36117
2008-09-20 03:20:33 +00:00
Carsten Haitzler
1dce18e33a
illogict - patch for right lefty mouse...
...
- ecore-x-pointer_mapping_support.patch: add support for modifying
pointer button mapping
SVN revision: 36113
2008-09-20 02:19:38 +00:00
Carsten Haitzler
5b4a924fd5
tim horton's quartz engine patches - ecore adds.
...
SVN revision: 36110
2008-09-20 02:08:50 +00:00
Carsten Haitzler
c4624ffa93
add event_win's to all events that didnt have them before - needed.
...
SVN revision: 36091
2008-09-19 09:29:27 +00:00
Cedric BAIL
286a19f5e2
Add a test app and switch from SOL_IP to IPPROTO_IP for FreeBSD.
...
SVN revision: 36087
2008-09-18 15:18:59 +00:00
Gustavo Sverzut Barbieri
6956e1057b
Since we use ecore, we must initilize it.
...
Problem: ecore reference count can drop to zero before
_ecore_evas_async_events_fd is deleted, ecore_shtudown() will finish
all fd handlers and then we would delete a now invalid pointer.
SVN revision: 36055
2008-09-17 17:19:20 +00:00
Cedric BAIL
36fdd93f13
Add multicast support thanks to Matt Barclay <mbarclay@gmail.com>.
...
SVN revision: 36046
2008-09-17 15:08:48 +00:00
Cedric BAIL
bae88b46ff
Include evas asynchronous feature.
...
SVN revision: 36019
2008-09-16 16:22:00 +00:00
Cedric BAIL
1fc6d866c2
Only set the struct one time (remove useless memset) and sync idler with animator.
...
SVN revision: 35966
2008-09-12 13:19:26 +00:00
Cedric BAIL
41d40ee473
Put SDL engine priority lower as it should find a way to build a window when
...
every one else fail.
SVN revision: 35955
2008-09-11 14:48:34 +00:00
Cedric BAIL
3a15a282fc
Add auto discovery for ecore_evas_sdl_16
...
SVN revision: 35954
2008-09-11 14:47:09 +00:00
Cedric BAIL
d748ced8e1
Add ecore_evas_sdl16_new.
...
SVN revision: 35950
2008-09-11 13:26:40 +00:00
Gustavo Sverzut Barbieri
7292d49894
Add generic call to create Ecore_Evas from engine names.
...
One can get engine names with ecore_evas_engines_get() and present
them to its users (from --help, for example) and then give that name
to ecore_evas_new(), that accepts the name, geometry and extra options
as a string.
As I don't have all the engines here, I might have missed something
from those, tested here:
- software_x11
- xrender_x11
- opengl_x11
- directfb
- buffer
SVN revision: 35919
2008-09-10 05:13:29 +00:00
Peter Wehrfritz
3deae56fa1
fix primary selection, probably also clipboard selection
...
SVN revision: 35856
2008-09-06 21:55:01 +00:00