Commit Graph

1951 Commits

Author SHA1 Message Date
Brett Nash 06e02b3f6b Vincent Torri pointed out that char bitfields are undefined in C89... and he
is correct.


SVN revision: 32160
2007-10-25 05:55:07 +00:00
Brett Nash 3a4c71f293 Don't use unportable 1-bit bitfields.
SVN revision: 32159
2007-10-25 05:26:03 +00:00
Brett Nash 619f9965c8 C89isms: ecore_job_init() and ecore_job_shutdown() now declared with void
paramater.


SVN revision: 32158
2007-10-25 05:17:57 +00:00
Kim Woelders eb2aa4a3d0 Add some const's.
SVN revision: 32132
2007-10-21 15:16:14 +00:00
Gustavo Sverzut Barbieri 075afa424d Fix help string.
By: Aloisio Almeida <aloisio.almeida/openbossa.org>


SVN revision: 32031
2007-10-09 18:36:41 +00:00
Sebastian Dransfeld 1bb9022482 Don't reset 'use_curl' flag.
SVN revision: 32007
2007-10-07 16:46:58 +00:00
tilman 75bd5e8902 Ecore now checks whether the composite extension is available before trying to open an ARGB window.
SVN revision: 31986
2007-10-06 08:37:34 +00:00
Carsten Haitzler 35cd952691 fix valgrind complaint (bad! its a string but its not 0 byte terminated!!!
its just a data lump!).

compact the lists of child windows down based on results of scan of children.

printf--


SVN revision: 31979
2007-10-05 12:39:06 +00:00
Carsten Haitzler 7fb1a30d72 printf--
SVN revision: 31978
2007-10-05 12:24:32 +00:00
Carsten Haitzler 34afff4284 add a shadowed window tree that allows you to fetch all the window tree in 1
hit (well a series of round trips) then keep it stored to find what window a
co-ordinate is in to avoid later round-trips.


SVN revision: 31976
2007-10-05 12:11:45 +00:00
Carsten Haitzler cf49928045 cedric's ecore_job_init/shtudown patches.
SVN revision: 31972
2007-10-05 05:12:38 +00:00
Carsten Haitzler 6a9f664bea avoid damage now has an enum (compatible with the old way at ABI though), so
you can either handle it via exposes, or native system methods (bg pixmaps)


SVN revision: 31944
2007-10-03 06:31:05 +00:00
doursse b6ca8e692a for Windows, use dll as extension of shared lib
SVN revision: 31896
2007-09-30 18:16:42 +00:00
andrunko befadf24e3 Fixed configure on maemo.
SVN revision: 31891
2007-09-30 15:31:13 +00:00
doursse a8ebdc324c * port ecore_plugin to windows
* add comments after some #endif
 * speed up the compilation on windows
 * remove some trailing spaces in ecore_path.c


SVN revision: 31890
2007-09-30 15:24:51 +00:00
Carsten Haitzler b51a8f26ad enable and disable draw ok onlyu on visibility changes.
SVN revision: 31860
2007-09-29 01:52:13 +00:00
doursse 18c11a3355 set to NULL the directdraw objects once they are relased
SVN revision: 31858
2007-09-28 23:44:14 +00:00
doursse e8452e7b4e revert, my bad
SVN revision: 31838
2007-09-28 15:27:44 +00:00
doursse ce6f933d50 return -1 if group is not valid
SVN revision: 31837
2007-09-28 15:25:50 +00:00
Carsten Haitzler 7a7607d656 ok fixed visibility event. now it works as planned.
SVN revision: 31832
2007-09-27 15:43:08 +00:00
Carsten Haitzler e8a3ed6312 trying to optimise expose draws - i think i fixed a double-draw bug.
SVN revision: 31831
2007-09-27 15:31:00 +00:00
Sebastian Dransfeld 3a84f04c4f formatting.
SVN revision: 31825
2007-09-26 17:18:52 +00:00
Sebastian Dransfeld 394664a09a curl is used both by ecore_file and ecore_con
SVN revision: 31824
2007-09-26 17:14:27 +00:00
Sebastian Dransfeld fcad0da826 formatting
SVN revision: 31823
2007-09-26 16:34:14 +00:00
Gustavo Sverzut Barbieri 9acabdd1c5 Ecore_Con fixes and improvements.
Bugs:
 - data buffer we are receiving must be copied, or we could receive
   garbage in the event handler.
 - complete event show up before we receive the last data event.

Improvements:
 - Use ECORE_MAGIC.
 - Status code is no longer curl internal status, but ftp or http return
   code (More usefull than CURLE_OK).
 - Add a time condition on requested url (see HTTP code 304).
 - Add progress events also (should work but not really tested).
 - Add data_set/data_get.

Closes bug #217.

Patch by Cedric BAIL.


SVN revision: 31822
2007-09-26 16:01:04 +00:00
Gustavo Sverzut Barbieri ac9e3d7412 Do not set color of cursor object.
We should not set the color of cursor objects, it damages things like
rectangles and polygons.


SVN revision: 31820
2007-09-26 15:41:50 +00:00
Gustavo Sverzut Barbieri e04b782d50 Change Ecore_Evas to work with Evas_Object as cursor.
WARNING: this breaks the API, if you rely on ecore_evas_cursor_get(), you
need to get the "Evas_Object *" instead of the filename.

Now the code is smaller and we can handle any object, including Edje.

Patch by Cedric BAIL.


SVN revision: 31818
2007-09-26 14:40:02 +00:00
Gustavo Sverzut Barbieri 7468078e12 SDL improvements.
Patch by Cedric BAIL (with minor changes).


SVN revision: 31815
2007-09-26 14:00:14 +00:00
doursse b8199cb7bc Win32 port:
* add _window_get() functions
 * add minimal fullscreen support (not completely finished yet, but should work)
 * remove CR character in ecore_evas_win32.c


SVN revision: 31790
2007-09-23 11:57:34 +00:00
doursse 99a0034778 * add cursor support
* add mouse wheel, window create, window configure and window resize events
 * fix fullscreen function
 * fix button release even
 * add _geometry_get function
 * minor cleanups


SVN revision: 31789
2007-09-23 11:08:52 +00:00
doursse 251f9a2f62 Windows port: mkdir is obsolete with vc++, use _mkdir instead. Define macros for realpath and mkdir
SVN revision: 31771
2007-09-21 17:06:24 +00:00
Gustavo Sverzut Barbieri b2bc472a17 Fix build inside scratchbox
SVN revision: 31768
2007-09-20 15:52:11 +00:00
Carsten Haitzler e043668721 add comment.
SVN revision: 31752
2007-09-17 23:13:59 +00:00
Sebastian Dransfeld a50768e616 ignore
SVN revision: 31726
2007-09-15 23:52:37 +00:00
Carsten Haitzler 875a5cc6f9 patches from lutin
SVN revision: 31688
2007-09-11 12:27:03 +00:00
doursse cc2b1dd65c fix linking when curl is used on Windows
SVN revision: 31664
2007-09-09 11:43:31 +00:00
doursse 21339321e9 add a readlink equivalent for Windows
SVN revision: 31663
2007-09-09 11:05:02 +00:00
doursse a22ebcafac port ecore_file to Windows
SVN revision: 31662
2007-09-09 10:26:37 +00:00
doursse bb89d5a5ab disable ecore_desktop by default
SVN revision: 31650
2007-09-08 08:21:08 +00:00
Carsten Haitzler 4b3c2c81af well that was wrong! fix!
SVN revision: 31647
2007-09-08 04:51:16 +00:00
Peter Wehrfritz 97dc553840 add #defines for ecore_dlist_first() and ecore_dlist_last()
SVN revision: 31641
2007-09-06 22:06:32 +00:00
Peter Wehrfritz 10a798bc88 don't leak
SVN revision: 31620
2007-09-05 09:46:56 +00:00
Peter Wehrfritz b2ec7dd266 *API BREAK*
rename ecore_plugin_call() to ecore_plugin_symbol_get()
add a version argument to ecore_plugin_load(); it makes it possible to have different versions for the interface. NULL gives you the old behaivor


SVN revision: 31616
2007-09-04 18:23:47 +00:00
Peter Wehrfritz 1078f34211 - implement ecore_plugin_available_get()
- fix ecore_path_group_new()


SVN revision: 31602
2007-09-02 17:54:16 +00:00
Peter Wehrfritz d770cd618e NULL is a valid value, it's actually the default
SVN revision: 31600
2007-09-02 17:44:38 +00:00
Peter Wehrfritz fbf7aaa1fb add constness
SVN revision: 31596
2007-09-02 12:21:00 +00:00
doursse b50328b469 fix ecore_evas_engine_type_supported_get and ecore_time_get on windows
SVN revision: 31552
2007-08-27 10:20:12 +00:00
Carsten Haitzler 278279e269 asparagus!
SVN revision: 31524
2007-08-26 14:33:41 +00:00
Carsten Haitzler 585139c7d7 fix build.
SVN revision: 31518
2007-08-26 12:57:11 +00:00
doursse 50432552c8 add windows support to ecore. ecore_evas is ported too (directdraw and direct3d. No opengl yet). It needs to be tested a lot, though. Remove some trailing spaces here and there. Replace WIN32 with _WIN32
SVN revision: 31513
2007-08-26 11:17:21 +00:00
tilman 1897c10296 include Ecore_Str.h so we get EAPI declarations. this the reason why IMO EAPI should be inserted in the code, too, instead of just the headers.
SVN revision: 31462
2007-08-22 17:44:04 +00:00
tilman 8af29b6691 unfuck configure.in
SVN revision: 31461
2007-08-22 17:24:44 +00:00
chaos 8b213aa687 And another one
SVN revision: 31412
2007-08-19 23:44:34 +00:00
Peter Wehrfritz fffdd89a4a the time is over, remove the obsolete function name aliases
SVN revision: 31403
2007-08-19 17:20:06 +00:00
chaos 32152d6ee1 2 x multi-byte IPC fixes
SVN revision: 31399
2007-08-19 13:39:01 +00:00
Carsten Haitzler 526f902e06 open has become nasty! --- che! :)
SVN revision: 31383
2007-08-18 14:26:49 +00:00
Carsten Haitzler 38962990d0 lok's xdnd work.
SVN revision: 31377
2007-08-18 10:35:47 +00:00
ningerso 29a2309415 Fix build on systems that don't use .so as the shared library extension.
SVN revision: 31354
2007-08-17 00:24:57 +00:00
Peter Wehrfritz 021597ec25 more docs
SVN revision: 31237
2007-08-10 16:01:59 +00:00
Peter Wehrfritz 32a28bf832 add some docs
SVN revision: 31236
2007-08-10 14:15:14 +00:00
Gustavo Sverzut Barbieri 4a4a0b0f4c Software 16 X11 now does rotation.
SVN revision: 31215
2007-08-07 19:09:53 +00:00
Davide Andreoli 8ea12a434f Ecore_File documented with doxy tags
SVN revision: 31198
2007-08-06 20:00:28 +00:00
Peter Wehrfritz 567e4b2aea put Nathan's mail into the doxy
SVN revision: 31117
2007-08-02 18:08:04 +00:00
Christopher Michael 73cd1d5643 Patch from caro to fix ecore_config dependency checks during configure.in.
Ecore_Config depends on ecore_ipc, but that was never previously checked for.


SVN revision: 31045
2007-07-28 19:54:40 +00:00
Peter Wehrfritz cd20fbc9d9 *API BREAK* see the discussion in the mailing list. misc and e_modules will follow
SVN revision: 30970
2007-07-25 17:01:04 +00:00
Peter Wehrfritz 65a19ed366 doxy
SVN revision: 30967
2007-07-25 09:04:28 +00:00
Viktor Kojouharov 35495cc97f the monitor was deleted twice
SVN revision: 30942
2007-07-23 16:25:38 +00:00
doursse 8966c010af compile ecore_config program only if ecore_config is available
SVN revision: 30872
2007-07-17 11:08:28 +00:00
Carsten Haitzler 64171b5ca6 cedric's SDL egnine patch - finally.
SVN revision: 30844
2007-07-16 07:23:11 +00:00
kaethorn 69ad9e0aaa remove deprecated ecore_dbus from debian package.
SVN revision: 30792
2007-07-13 12:27:33 +00:00
ningerso b44bdf2f92 Avoid changing the interval on a NULL timer.
SVN revision: 30783
2007-07-12 21:45:55 +00:00
rephorm 2960827592 move ecore_dbus to proto and flag it as deprecated
SVN revision: 30742
2007-07-11 05:46:52 +00:00
Carsten Haitzler 78408fe60a 1. fix a lot of things so they pass make distcheck - so many things have
broken. guys - need to be more careful!
2. asparagus
3. some extra docs/comments for evas


SVN revision: 30696
2007-07-10 00:13:26 +00:00
doursse 0199c38044 make ecore module compilable on Windows(tm)
SVN revision: 30605
2007-07-05 09:51:09 +00:00
doursse 25f684183c create the shared lib for ecore on windows
SVN revision: 30604
2007-07-05 09:33:11 +00:00
doursse 3883a45f07 create the shared lib for ecore_job and ecore_txt on windows
SVN revision: 30603
2007-07-05 09:29:27 +00:00
Dan Sinclair 84c6b57869 - if the file doesn't exist or the monitor add fails then we will delete the
item from the list, but if the item isn't in the list the resultant list ends
  up being NULL and we lose everything being monitored so far. So, add the item
  to the list earlier so we can remove it safely if needed.


SVN revision: 30584
2007-07-03 19:37:18 +00:00
Dan Sinclair 0aba1dbca4 - the event name is only valid if the event length is greater then 0
SVN revision: 30582
2007-07-03 18:18:12 +00:00
kaethorn bef5c4fdd6 remove ecore-config from debian install files.
clean up rules.


SVN revision: 30558
2007-07-03 11:24:28 +00:00
Andreas Volz f1b651886f removed ecore-config because of pkg-config
SVN revision: 30524
2007-07-01 17:28:11 +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
Gustavo Sverzut Barbieri 59d7929e73 Ecore_Evas now supports software_16_x11 engine.
SVN revision: 30424
2007-06-21 22:49:36 +00:00
Carsten Haitzler a6ad878e08 ASPARAGUS!
SVN revision: 30379
2007-06-17 15:25:52 +00:00
Sebastian Dransfeld 68f78f8e7f I assume that the Evas should be flushed and not the Ecore_Evas.
SVN revision: 30374
2007-06-17 09:23:51 +00:00
Carsten Haitzler aa68331c2a add idle flush support - 0.5 secs of no rendering gets the engine to flush
all floating data.


SVN revision: 30358
2007-06-17 03:41:43 +00:00
Carsten Haitzler db6835417d we really don't need this event filter. remove.
SVN revision: 30339
2007-06-16 03:29:43 +00:00
Carsten Haitzler 2a5d49866c clean up ecore_con dns query- on shut down nuke all pending queries
SVN revision: 30292
2007-06-10 03:41:05 +00:00
Eric Schuele 5a88f37fe1 oops.
SVN revision: 30260
2007-06-05 22:12:10 +00:00
Eric Schuele 91ced99888 FreeBSD has large file support out of the box
SVN revision: 30259
2007-06-05 21:52:15 +00:00
Peter Wehrfritz f3ae942b0a add a way to set a free callback for the keys in ecore_tree
SVN revision: 30228
2007-06-04 15:28:29 +00:00
Carsten Haitzler 849e428e7f documentation from brett... tiler can compiler again.
SVN revision: 30221
2007-06-04 09:48:28 +00:00
Sebastian Dransfeld 237cb22cf5 Fix hash reduce function. Passed wrong value to rehash.
SVN revision: 30214
2007-06-03 12:22:05 +00:00
Sebastian Dransfeld 6f042d4963 Temporary revert changes, made hash malfunction.
SVN revision: 30211
2007-06-03 11:37:32 +00:00
Sebastian Dransfeld 869c74666b Also check for PRIME_MAX when increasing hash size.
SVN revision: 30210
2007-06-03 08:22:48 +00:00
Sebastian Dransfeld 63a4d1b72a It's not hash->size which is to be compared to PRIME_{MIN,MAX}, but the
result from the ecore_prime_table lookup.


SVN revision: 30209
2007-06-03 08:10:33 +00:00
Carsten Haitzler d825b13440 delete all ev handlers
SVN revision: 30208
2007-06-03 07:07:27 +00:00
Carsten Haitzler f31429ba3d use features.h
SVN revision: 30204
2007-06-03 03:48:18 +00:00
Carsten Haitzler 0edf0118d4 dont actually need to #define this - features.h does ti for us
SVN revision: 30203
2007-06-03 03:46:35 +00:00
Carsten Haitzler 7c8c33371d make ecore_file able to handle large files.
SVN revision: 30194
2007-06-02 16:33:43 +00:00
Peter Wehrfritz 03f0a0ad75 use const void* for the keys in ecore_tree
SVN revision: 30058
2007-05-23 15:20:55 +00:00