Commit Graph

2308 Commits

Author SHA1 Message Date
Cedric BAIL 61199e56ee Fix sdl engine.
SVN revision: 38277
2008-12-22 11:16:26 +00:00
Ulisses Furquim c2651a9f31 Fix segfault when double freeing a string.
This fix makes it work again. However, ecore plugin should really be rewritten
or we should start considering eina_module instead.


SVN revision: 38275
2008-12-22 02:30:17 +00:00
Gustavo Sverzut Barbieri c36a5f23c3 and we must always pre_free, otherwise we end being called after canvas free.
SVN revision: 38272
2008-12-21 22:33:35 +00:00
Gustavo Sverzut Barbieri 0ec59ba102 must dissociate even if we will not delete the canvas.
otherwise subsequent associate requests will crash on us by using stale pointer.



SVN revision: 38271
2008-12-21 22:29:50 +00:00
Gustavo Sverzut Barbieri 02ced33a33 Oops! ecore must not depend on ecore-evas!
move helper function inside ecore-evas.



SVN revision: 38250
2008-12-20 15:19:48 +00:00
Vincent Torri e66e9cc905 * ecore_win32_window.c:
fix fullscreen

 * ecore_evas_win32.c:
   add fullscreen (d3d and ddraw) and shape (d3d) support
   minor formatting

 * configure.ac:
   enable direct3d support



SVN revision: 38248
2008-12-20 14:37:04 +00:00
Gustavo Sverzut Barbieri 1fc336c2ee ecore_getopt: common callbacks go in.
ecore_evas_list_engines and geometry_parse, they're used in almost all
applications using ecore_getopt, let's avoid replicating code.



SVN revision: 38247
2008-12-20 14:29:45 +00:00
Jonathan Atton e58ac7064c missing parenthesis
from caro.



SVN revision: 38235
2008-12-19 21:28:32 +00:00
Jonathan Atton 11c671429e include the headers in the correct order so that EAPI is correctly defined on Windows
from caro


SVN revision: 38234
2008-12-19 20:54:13 +00:00
Carsten Haitzler a38ab7590d doc++
SVN revision: 38229
2008-12-19 14:44:47 +00:00
Carsten Haitzler d3f645a37a add del flag to associate
SVN revision: 38225
2008-12-19 14:30:03 +00:00
Carsten Haitzler 8da641854b dont resize/move fullscreen canvases
SVN revision: 38224
2008-12-19 13:11:21 +00:00
Cedric BAIL 3d41b74146 Update ac_attribute macro and remove __UNUSED__ declaration from eina.
SVN revision: 38179
2008-12-17 13:03:00 +00:00
Carsten Haitzler 6fc7c79741 use new engine merge.
SVN revision: 38175
2008-12-17 08:16:21 +00:00
Jaime Thomas a0ec6162f7 Plugin fixes, ewl_test workes now.
SVN revision: 38164
2008-12-16 00:40:22 +00:00
Sebastian Dransfeld 54b5d7d631 Fix compiler warnings.
SVN revision: 38156
2008-12-15 20:52:51 +00:00
Sebastian Dransfeld 582e0768fe Remove ecore-desktop
SVN revision: 38151
2008-12-15 18:39:01 +00:00
Sebastian Dransfeld 48202c24bc Misc cleanup.
- Don't use EAPI for internal functions.
- Add prototypes to header.
- Some compiler warnings.

SVN revision: 38150
2008-12-15 17:59:19 +00:00
Iván Briano c76c180b22 Goodbye forgotten debug. We won't miss you.
SVN revision: 38147
2008-12-14 19:26:41 +00:00
Gustavo Sverzut Barbieri f29338d413 Bugfix: do not search/delete in non-existent hashes.
SVN revision: 38119
2008-12-12 22:34:20 +00:00
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