Commit Graph

860 Commits

Author SHA1 Message Date
sebastid 24fac015c6 Export TRUE/FALSE
SVN revision: 16620
2005-09-06 19:26:19 +00:00
rephorm e7aae96593 Get this fixed the proper way...
SVN revision: 16613
2005-09-06 03:43:02 +00:00
rephorm 35c8148ffa So, according to raster and the XGetWindowProperty man page, this should in fact be a long, not an int. (though this is still broken under ubuntu-64 here)
SVN revision: 16612
2005-09-06 03:25:05 +00:00
rephorm 3833561118 change this cast to an int so things will work on both 32 _and_ 64 bit processors.
now all of us with athlon-64's can restart E without losing the desktop positions of all our windows :)


SVN revision: 16607
2005-09-06 00:52:43 +00:00
sebastid 62ff8d7226 * Don't export TRUE/FALSE.
* ecore main uses 0/1 as return values.


SVN revision: 16588
2005-09-05 17:45:38 +00:00
sebastid 36b8a938d4 TRUE/FALSE is defined in ecore_private.h
SVN revision: 16587
2005-09-05 17:24:50 +00:00
sebastid da1ce663a9 These sohuld be global.
SVN revision: 16572
2005-09-05 15:10:34 +00:00
sebastid ac0f8ec127 Don't export local defines.
SVN revision: 16569
2005-09-05 15:01:40 +00:00
sebastid d758ca86bb Header cleanup. Don't include unneeded headers in system lib header.
SVN revision: 16550
2005-09-05 10:17:08 +00:00
sebastid 5250fbc7c8 * Difference between user wanting a module, and the possibility of building
a module.
* Only do tests related to a module, if the module is to be built
* use AC_PATH_GENERIC
* Formatting
* Remove som weird AC_SUBST, why were they there?


SVN revision: 16543
2005-09-05 08:40:50 +00:00
sebastid 6b7f4f50ce Only need Ecore_Data.h to define Ecore_List
SVN revision: 16524
2005-09-04 18:54:32 +00:00
sebastid 12ee7bd302 Include Ecore_Data.h to define Ecore_List
SVN revision: 16523
2005-09-04 18:53:46 +00:00
sebastid 7068ed1fc0 Define pid_t
SVN revision: 16513
2005-09-04 00:25:20 +00:00
sebastid ceb143f80c Delay dns lookup until after initializing the server. If the hostname
is in cache, it will execute the callback without delay.


SVN revision: 16476
2005-09-03 03:07:29 +00:00
sebastid b72979a68e Remove _ from global variables.
SVN revision: 16426
2005-08-30 10:17:10 +00:00
sebastid 19d9aa1452 Move Ecore_Oldlist to Ecore_List2 and rename the funcs from _list_
to _list2_


SVN revision: 16425
2005-08-30 10:05:27 +00:00
sebastid d2d9f29e1a Move data to the first element in the callback. Ecore style.
SVN revision: 16424
2005-08-30 09:32:09 +00:00
sebastid 2f17af26aa Fix cache free.
SVN revision: 16422
2005-08-30 04:50:55 +00:00
sebastid 24d6118b32 Add a small cache.
SVN revision: 16421
2005-08-30 04:35:24 +00:00
sebastid a83d7cb3b3 inotify is updated to support only kernel 2.6.13 with an updated
kernel-headers. It should work with some older revisions of inotify with
some hacking, but I don't have different versions to check with.


SVN revision: 16394
2005-08-29 15:15:59 +00:00
sebastid 8b675d93ff Remove debug info.
SVN revision: 16384
2005-08-27 12:25:22 +00:00
sebastid b71553bff9 Fix and enable inotify monitoring. You need a fairly recent inotify for
it to work.


SVN revision: 16383
2005-08-27 11:50:50 +00:00
lordchaos 2c51880650 Don't clip "/" if that's all we have
SVN revision: 16379
2005-08-27 04:34:56 +00:00
lordchaos a228627e6c Make ecore_file_exists return true for "/", so we can monitor that dir
SVN revision: 16378
2005-08-27 04:17:36 +00:00
lordchaos 5e18e6ef44 Stop a seg on stopping '/' monitoring in ecore_file_monitor_poll
SVN revision: 16377
2005-08-27 03:23:10 +00:00
Carsten Haitzler e0d908af71 report unfound steppping at -1 so we know more :)
SVN revision: 16369
2005-08-26 10:00:15 +00:00
Carsten Haitzler e9ada42ee1 more shape :)
SVN revision: 16363
2005-08-26 04:19:06 +00:00
sebastid c05660f264 Don't need searchname and hostname stored.
SVN revision: 16344
2005-08-25 15:12:57 +00:00
sebastid 8c3e630528 Don't segv on early error (before malloc).
SVN revision: 16330
2005-08-25 08:16:01 +00:00
sebastid c2074ba87d Delay initialization of SSL.
SVN revision: 16315
2005-08-24 16:29:06 +00:00
tsauerbeck 3cc8008f84 fixed a memleak
SVN revision: 16314
2005-08-24 16:20:12 +00:00
sebastid e9dfdea2e9 Change ecore_con_dns_gethostbyname() to ecore_con_dns_lookup()
SVN revision: 16307
2005-08-24 09:11:30 +00:00
sebastid e90fd32b80 Big update.
Understand CNAME, get the right hostname and aliases and get all IP's.


SVN revision: 16303
2005-08-24 02:24:25 +00:00
Carsten Haitzler 6ad4e5e98e alloc checks
SVN revision: 16297
2005-08-23 08:18:17 +00:00
Carsten Haitzler b8955c9f1f handle circulate events...
SVN revision: 16292
2005-08-23 03:47:55 +00:00
sebastid 509d18c822 TODO++
SVN revision: 16281
2005-08-22 14:03:16 +00:00
stffrdhrn ad9a2cdc13 A wise man once said 'There is no need to display warnings about syntax one didn't create and may not fully support'. I otherword, don't complain about anything we don't recongnise.
SVN revision: 16278
2005-08-22 13:33:41 +00:00
stffrdhrn 6a13fae932 skip # as well
SVN revision: 16277
2005-08-22 13:08:20 +00:00
stffrdhrn 6b56f53ea9 dont complain about comments in resolv.conf
SVN revision: 16257
2005-08-21 15:46:57 +00:00
rbdpngn 1cceb03000 Fix build on OS X, holler if this causes Linux issues.
SVN revision: 16222
2005-08-17 06:23:58 +00:00
sebastid 4468e67fa0 Don't divide by 0.
SVN revision: 16216
2005-08-17 00:30:09 +00:00
sebastid 3682e40ecc search domain and search
remove problem in kill_server, didn't check if the fd_handler was NULL
Don't recreate the message for each server.


SVN revision: 16210
2005-08-16 13:15:24 +00:00
sebastid 26e35fe2c5 Check if the server was found.
Formatting.


SVN revision: 16209
2005-08-16 11:26:05 +00:00
sebastid 4a68032422 More checking.
SVN revision: 16208
2005-08-16 10:48:46 +00:00
sebastid 8db857be0d non-blocking gethostbyname
SVN revision: 16203
2005-08-16 09:25:02 +00:00
Carsten Haitzler f69ffbf261 64bit fix
SVN revision: 16201
2005-08-16 08:40:55 +00:00
sebastid 2f244acc2e Formatting.
SVN revision: 16192
2005-08-15 23:36:22 +00:00
lordchaos 04b233b56c Fix for null ecore_list on ecore_file_monitor_poll when we are monitoring a file
SVN revision: 16174
2005-08-15 08:05:50 +00:00
sebastid 86bfc3c2ac Updates to randr.
SVN revision: 16144
2005-08-14 10:21:08 +00:00
sebastid cac5ded864 Add xrandr.
Check for Xprint extension before using Xprint functions.


SVN revision: 16137
2005-08-13 22:14:40 +00:00
sebastid b7cb623648 Formatting.
SVN revision: 16132
2005-08-13 15:21:15 +00:00
handyande fa02e19197 ecore_config boolean patch - Peter Wehrfritz
SVN revision: 16131
2005-08-13 14:34:34 +00:00
sebastid 9dbd1bf5b4 Formatting.
SVN revision: 16129
2005-08-13 12:44:45 +00:00
sebastid 71e050fd2a Formatting.
SVN revision: 16128
2005-08-13 12:43:11 +00:00
werkt 3e74bc08a0 Added ecore_list_goto_first to the list returned by ecore_hash_keys.
SVN revision: 16054
2005-08-07 06:08:47 +00:00
Carsten Haitzler 5441abeadf hisham patch
SVN revision: 16027
2005-08-04 08:51:31 +00:00
Carsten Haitzler 90e352e0c7 aha! bug! bad ecore_file_poll! fix!
SVN revision: 16021
2005-08-04 03:56:27 +00:00
Carsten Haitzler 34fd99a287 lets make buttons 6 and 7 be another mouse wheel goign in another direction -
eh? :)


SVN revision: 15960
2005-07-30 11:43:17 +00:00
Carsten Haitzler 7248a6553e fix free stuff
SVN revision: 15946
2005-07-30 05:45:07 +00:00
Dan Sinclair 0bf7211e4b - call _ecore_evas_free this stops emblem from looping infinitly on exit.
SVN revision: 15941
2005-07-29 21:47:33 +00:00
Kim Woelders b25f5c9e75 Quiet.
SVN revision: 15939
2005-07-29 16:41:05 +00:00
Carsten Haitzler a17ebe021d defer evas destruction until idle time :)
SVN revision: 15933
2005-07-28 14:09:09 +00:00
Carsten Haitzler 7c1ced7036 when this moved to ecore_lists... someone forgot that accessing a struct
after u free is is BAD... :)


SVN revision: 15931
2005-07-28 12:44:28 +00:00
Carsten Haitzler 25ee18e1ed return proper default if accpet focus hint simply not provided
SVN revision: 15926
2005-07-28 07:38:37 +00:00
tsauerbeck 83369e7d75 c89 rocks. warnings are bad
SVN revision: 15919
2005-07-27 18:23:53 +00:00
Carsten Haitzler a1a07c06c3 one way or the other i'm forced to add timestamps to events - i cant avoid it
anymore. sorry guys. really no way around it. :(


SVN revision: 15891
2005-07-25 09:55:47 +00:00
rbdpngn 898b69b88c List consistency fix from Dylan Shell.
SVN revision: 15859
2005-07-21 18:47:04 +00:00
rbdpngn 85f1d386d8 Fix a memory leak if the local bundle is NULL.
Use a generic FAIL error when the local bundle is NULL.
Return a more detailed error report from the type add function.


SVN revision: 15839
2005-07-20 14:21:40 +00:00
doursse fc1a4a2027 hehe, no, it was good
SVN revision: 15837
2005-07-20 09:25:00 +00:00
doursse eb109c1e7e bad fix
SVN revision: 15836
2005-07-20 09:09:04 +00:00
doursse e669cd1b22 memory leak
SVN revision: 15835
2005-07-20 08:27:33 +00:00
Carsten Haitzler 02ecad26ea remove random lockups in click to focus and sometimes pointer focus - lets
have this tested for a while...


SVN revision: 15749
2005-07-12 15:27:46 +00:00
Carsten Haitzler 26b608ceb0 well it seems x changed how it maps keysyms to keycodes to break our keysym
finder... but now i changed it to play a different game. :)


SVN revision: 15747
2005-07-12 13:54:39 +00:00
Carsten Haitzler bea2e5af1c just debugging
SVN revision: 15744
2005-07-12 07:15:31 +00:00
Carsten Haitzler f020fff2e6 put flush back
SVN revision: 15736
2005-07-12 03:31:21 +00:00
Carsten Haitzler c29fb4435e printf--
SVN revision: 15707
2005-07-10 09:42:19 +00:00
Carsten Haitzler 4d0028e1b7 printf--
SVN revision: 15706
2005-07-10 09:40:14 +00:00
Carsten Haitzler 33f8163029 fix grabs and double/triple clicks
SVN revision: 15700
2005-07-10 07:34:10 +00:00
Carsten Haitzler 0bc77892a0 actually - if avoid damage is set render anyway :)
SVN revision: 15653
2005-07-07 03:37:57 +00:00
Carsten Haitzler 4b6d09d0ed oops - remove that
SVN revision: 15652
2005-07-07 03:33:17 +00:00
Carsten Haitzler c5973d1f61 if an ecore evas is shaped and avoid damage - render it just before a show :)
SVN revision: 15651
2005-07-07 03:31:34 +00:00
rbdpngn f51d85d87a Patch for ecore_dlist_remove_destroy from Dylan Shell.
SVN revision: 15589
2005-06-30 16:47:29 +00:00
rbdpngn 909b2923e1 Patch to fix ecore_dlist indices from Dylan Shell.
SVN revision: 15587
2005-06-30 15:45:46 +00:00
Carsten Haitzler c31fe11a92 the bg pixmap was a nice experiemnt - but not working as nicely as i hoped
SVN revision: 15574
2005-06-30 06:32:30 +00:00
Carsten Haitzler 551ae9b107 oops -leak. fix.
SVN revision: 15540
2005-06-27 10:03:16 +00:00
technikolor 61cd21df39 Warnings cleanup. Unused variables were commented out (ala C99) rather than removed. Proto was added to private header. No major changes made, just simple fixes.
SVN revision: 15533
2005-06-25 10:11:25 +00:00
Carsten Haitzler 36b2e425f7 special case - if direct resize on AND avoid damage... THEN use window bg
pixmap. :)


SVN revision: 15531
2005-06-25 07:23:38 +00:00
Carsten Haitzler b89cbfc687 dont segv if get text prop fails and stack has garbage on it
SVN revision: 15529
2005-06-25 00:15:19 +00:00
sebastid ee61e32cbd curlm must exist for this function to work, so remove the test.
Only and active Ecore_Con_Url is registered with curlm.


SVN revision: 15528
2005-06-24 15:01:59 +00:00
sebastid d233c9ca43 Set fd_handler to NULL after deletion.
SVN revision: 15527
2005-06-24 14:47:51 +00:00
sebastid d7317dfe80 indent
Check if the lib is inited before allowing ecore_con_url_new. Then we
don't need to check if the global variables are set.


SVN revision: 15526
2005-06-24 14:39:25 +00:00
sebastid 54caa33ce3 Free allocated memory on error.
Set pointer to NULL after free.


SVN revision: 15525
2005-06-24 14:31:51 +00:00
sebastid c6954d8592 Only increment init if init succeded.
Always free mem if init fails.


SVN revision: 15524
2005-06-24 14:26:01 +00:00
bangersnmash74 678cc6d50a Generic ecore_con_url implementation based on CURL
SVN revision: 15523
2005-06-24 13:38:27 +00:00
Carsten Haitzler 5fbfe89441 poolie patch
SVN revision: 15502
2005-06-23 03:33:43 +00:00
Dan Sinclair 1c6ef60b3c - add ecore_file_download_protocol_available so we can determine if the
protocols we need are compiled in or not


SVN revision: 15488
2005-06-22 14:51:37 +00:00
Carsten Haitzler 94c5dabec5 only handle errors for ecore's display handle - not others :)
SVN revision: 15481
2005-06-22 06:47:44 +00:00
Dan Sinclair 6d166a447e - call the job completion callback after we've closed the file so we know
its all written out to disk.


SVN revision: 15473
2005-06-22 02:00:35 +00:00
technikolor 7984d2fa1c Adding a check prior to attempted load of the config to avoid a possible segv.
SVN revision: 15449
2005-06-20 10:28:14 +00:00
technikolor c7eaf8d3f1 null pointer causing segv.
SVN revision: 15446
2005-06-20 09:18:01 +00:00
sebastid 97631c20b2 Remove debug.
SVN revision: 15404
2005-06-18 00:23:00 +00:00
sebastid 4548e51fa5 Download files with CURL. Thanks to Simon Poole.
SVN revision: 15400
2005-06-17 23:52:32 +00:00
Carsten Haitzler e9e3bed845 man thats bad. leak AND we dont get the client leaer property right! fix.
SVN revision: 15380
2005-06-17 09:05:22 +00:00
Carsten Haitzler fb47ce6b94 follow x icccm focus model explicitly
SVN revision: 15374
2005-06-17 06:13:54 +00:00
sebastid 6dd0159c60 Add a ecore_file_download function. For now it can "download" urls pointing
to local files. Should be extended to support several types.


SVN revision: 15346
2005-06-16 01:54:12 +00:00
sebastid 4c01976819 If the ecore_evas is hidden, we need to request pos for a move to be
effective.


SVN revision: 15300
2005-06-13 11:57:14 +00:00
Carsten Haitzler e5d55213fd bracketsessss
SVN revision: 15283
2005-06-13 02:30:37 +00:00
tsauerbeck 6510cb9d31 fixed a segfault that happened when a event was emitted but no event handlers were registered. not tested though :)
SVN revision: 15282
2005-06-12 21:32:18 +00:00
sebastid 62e822d67e The size is there to not overflow the buf, so just use the buf size.
SVN revision: 15275
2005-06-12 14:08:46 +00:00
sebastid 7523c7699b If the window hasn't any sizehint, reset the struct.
SVN revision: 15271
2005-06-12 11:49:39 +00:00
sebastid 0d0d458f76 Remove unused prototypes.
SVN revision: 15268
2005-06-12 11:03:18 +00:00
handyande 088534a6f6 Move app detection code from inside E to Ecore_File
SVN revision: 15256
2005-06-11 13:29:09 +00:00
doursse b71e13aad9 change of internal names for parralel implementation of ecore_xcb
SVN revision: 15248
2005-06-11 06:05:51 +00:00
sebastid 6cf0e8228a Don't return on error, might be because there are no hints.
SVN revision: 15231
2005-06-10 09:15:17 +00:00
sebastid da60c9de1b Make ecore evas use netwm and icccm, not window_prop.
Window_prop is gone, but maybe resurrect some parts of it as a wrapper
around icccm/netwm as convencience functions?


SVN revision: 15227
2005-06-10 04:18:24 +00:00
Carsten Haitzler ed3329b628 aspara!
SVN revision: 15226
2005-06-10 03:59:52 +00:00
sebastid da4b114bb3 Compiler warnings. The use of unsigned char vs. char seems a bit messy.
SVN revision: 15225
2005-06-10 02:41:37 +00:00
Carsten Haitzler adb1341f15 1 mask to many
SVN revision: 15189
2005-06-08 07:58:28 +00:00
Carsten Haitzler ca90b8d7ed oops - copy & paste bugs
SVN revision: 15187
2005-06-08 01:45:59 +00:00
handyande a94263b1da Ecore_config cleanup step 2)
A contraversial one perhaps - remove the modular backend
This fixes the hard coded .so extension problems and gives us a must more stable system
still no API breakage :)


SVN revision: 15185
2005-06-07 21:54:07 +00:00
handyande 2ccfb66cc7 start an ecore_config overhaul - things will break, but overall we will be happy
step 1) start abstraction of read/write to eet file - this will be moved to handlers and [en|de]coders shortly - lists will follow this
this breaks current .eet config files, but the API remains the same


SVN revision: 15182
2005-06-07 20:08:16 +00:00
sebastid 990a827101 The LAST netwm update. Made all function prototypes similar, return int
on get (error or not) and no return from set.


SVN revision: 15179
2005-06-07 15:34:54 +00:00
sebastid 9ee64d258a Don't send message to nonexisting windows.
SVN revision: 15173
2005-06-07 07:43:58 +00:00
sebastid 1c29ff504b XSync and netwm sync.
SVN revision: 15162
2005-06-06 15:04:28 +00:00
sebastid ee1106fa61 ssssh
SVN revision: 15160
2005-06-06 09:41:44 +00:00
sebastid b799ec80fc Cleanup, and add XSync support.
SVN revision: 15159
2005-06-06 09:40:00 +00:00
sebastid f8266f2a18 Catch ping event.
SVN revision: 15136
2005-06-05 14:46:55 +00:00
sebastid b7c40c5e93 Function to ping windows with _NET_WM_PING.
SVN revision: 15135
2005-06-05 14:38:42 +00:00
sebastid 8af53488ae Fix wrong cast, and some updates.
SVN revision: 15132
2005-06-05 08:25:48 +00:00
sebastid 16dc9e614a set/get supported as a list.
Don't use XFree on data allocated by ecore.


SVN revision: 15118
2005-06-04 10:01:23 +00:00
sebastid 6670dff66f Cleanup.
SVN revision: 15111
2005-06-04 05:43:11 +00:00
sebastid 5a21529d23 Update.
SVN revision: 15107
2005-06-03 19:53:07 +00:00
sebastid 760a75c48c Stupid me.
SVN revision: 15106
2005-06-03 19:46:40 +00:00
sebastid 9f6deaadf2 Hah!
SVN revision: 15105
2005-06-03 19:26:41 +00:00
sebastid 88ef96ff4e Hm
SVN revision: 15104
2005-06-03 19:25:13 +00:00
sebastid c20549031d Event for _NET_REQUEST_FRAME_EXTENTS
SVN revision: 15102
2005-06-03 19:00:01 +00:00
sebastid 9a48d8556f Nope. Split functions completely. Let subsystem handle the difference.
SVN revision: 15086
2005-06-03 12:11:27 +00:00
sebastid cb51ef97ac Let STRUT_PARTIAL check STRUT on failure.
SVN revision: 15085
2005-06-03 12:05:10 +00:00
sebastid af9f9b72c6 Time can't be negative.
SVN revision: 15084
2005-06-03 11:58:10 +00:00
sebastid 235e22abc2 Fix.
SVN revision: 15077
2005-06-03 05:38:20 +00:00
Carsten Haitzler f8fb37a45e handle NULL data ret - and we can just memcpy - the netwm spec matches
imlib2/evas ARGB pixel format.x


SVN revision: 15073
2005-06-03 01:18:58 +00:00
sebastid 639bde5915 _NET_WM_ICON
SVN revision: 15067
2005-06-02 20:14:13 +00:00
Carsten Haitzler 3a829a464f formatting
SVN revision: 15041
2005-05-31 22:42:24 +00:00
Carsten Haitzler d4c7c547a3 simon's tscal stuff
SVN revision: 15040
2005-05-31 22:30:47 +00:00
sebastid 09fc45f3c8 Set complete state at once.
SVN revision: 15033
2005-05-31 06:51:50 +00:00
sebastid 24e0230079 Get/Set icon name in utf8
SVN revision: 15012
2005-05-29 10:52:42 +00:00
sebastid 2227605773 Get complete state of a window.
SVN revision: 15009
2005-05-29 09:52:56 +00:00
sebastid 6d1880bef5 Hm, there it was.
SVN revision: 14993
2005-05-28 17:06:51 +00:00
sebastid 42ecef7392 Maybe raster meant to commit this function?
SVN revision: 14991
2005-05-28 17:04:49 +00:00
Carsten Haitzler 49ac378900 property calls
SVN revision: 14990
2005-05-28 16:59:03 +00:00