Commit Graph

1210 Commits

Author SHA1 Message Date
David Walter Seikel 11a7cad11a Formatting.
SVN revision: 20864
2006-03-01 06:00:41 +00:00
David Walter Seikel 224b968219 Formatting.
SVN revision: 20861
2006-03-01 05:05:58 +00:00
rbdpngn 6b9fc45788 Fix the doubly linked list to use a more correct method to insert data in the
list instead of walking from the beginning.


SVN revision: 20662
2006-02-21 05:45:18 +00:00
Carsten Haitzler d7840f652b codeset patch from illogict
SVN revision: 20553
2006-02-18 04:35:43 +00:00
David Walter Seikel e7fa0baa71 Brain fart--
SVN revision: 20513
2006-02-16 05:31:21 +00:00
rbdpngn ad83be938c Fix return value on ecore hash when key already exists in hash.
SVN revision: 20473
2006-02-15 05:06:01 +00:00
Christopher Michael d214a5ad7e SVN revision: 788
SVN revision: 20472
2006-02-15 04:55:14 +00:00
David Walter Seikel 52579f1283 I thought the child exe was responsible for closing it's own end of the
pipe, guess I was wrong.  Thanks to raster for continueing to pester me.


SVN revision: 20455
2006-02-14 12:54:26 +00:00
handyande 6e93eda95a Mortens latest ecore_config update - fixes last breakage ;)
SVN revision: 20419
2006-02-12 21:08:36 +00:00
Carsten Haitzler 1ce159175b exit - without atexit calls
SVN revision: 20392
2006-02-11 07:42:33 +00:00
David Walter Seikel 048a266571 Be paranoid, don't rely on dup2 to close for us. As a bonus, we get error
messages if there's a problem closing them.


SVN revision: 20325
2006-02-07 06:05:58 +00:00
David Walter Seikel 5d04321374 Found the bug, so no need for the debugging stuff.
SVN revision: 20264
2006-02-04 02:21:43 +00:00
David Walter Seikel f8d0bcb617 debug--
They are only commented out, coz there might still be a problem there.  On
the other hand, it might just be KDE strangeness.


SVN revision: 20256
2006-02-03 23:01:02 +00:00
Christopher Michael fa508bfaec Some refresh rate fixes
SVN revision: 20251
2006-02-03 21:42:38 +00:00
Christopher Michael c6122c09bf Remove Unused Variable
SVN revision: 20245
2006-02-03 20:04:12 +00:00
Carsten Haitzler 682430bc67 disabel much more sinply :)
SVN revision: 20175
2006-02-01 12:43:06 +00:00
Carsten Haitzler bc2749f508 disable signals for RTMIN
SVN revision: 20174
2006-02-01 12:39:06 +00:00
Carsten Haitzler 23f7254cce some extra handy calls :)
SVN revision: 20169
2006-02-01 11:24:49 +00:00
handyande 749bfd77de remove EAPI from internal methods - is this correct? should EAPI have been added to _priveate functions?
SVN revision: 20142
2006-01-31 11:11:21 +00:00
handyande 108fbe6a7f addition of argbint convenience on argb - thanks Morten
SVN revision: 20141
2006-01-31 11:05:47 +00:00
Christopher Michael 4f6a9721f6 Remove C++ comments
SVN revision: 20031
2006-01-25 18:52:46 +00:00
Christopher Michael ddc72506e0 Add ecore refresh rate functions.
SVN revision: 20030
2006-01-25 13:29:42 +00:00
David Walter Seikel 382628e412 Forgot to change the prototype. Still scratching my head about why it
complied here.

Good catch jcwong.


SVN revision: 20007
2006-01-24 15:25:26 +00:00
David Walter Seikel 33d8ec9653 When I cloned the pipe read stuff to make pipe error, I didn't realise that
ECORE_FD_ERROR is not the stderr equivilant of ECORE_FD_READ.  I just cloned,
and changed READ's to ERROR's.

imho ECORE_FD_ERROR is missnamed, and should at least be better documented.
See man select_tut, especially the entry on exceptfds.


SVN revision: 20006
2006-01-24 13:58:18 +00:00
David Walter Seikel 408a8a4ae7 Added lots of test output, some of which may be problematic. The shere
bulk of the text is also required for testing.


SVN revision: 20004
2006-01-24 05:55:00 +00:00
David Walter Seikel 96b4289af6 For testing fork'n'bitch.
SVN revision: 19992
2006-01-23 17:36:04 +00:00
Carsten Haitzler 1c0b3c9706 check for NULL list
SVN revision: 19935
2006-01-21 02:12:51 +00:00
David Walter Seikel dc78ff4607 A little bit more planning.
SVN revision: 19928
2006-01-20 15:52:12 +00:00
David Walter Seikel fa091358dd Figured this out finally.
SVN revision: 19927
2006-01-20 15:44:36 +00:00
doursse 2c32fdaca4 const char * here
SVN revision: 19919
2006-01-20 09:13:19 +00:00
David Walter Seikel a92aef0a6b Better documentation.
SVN revision: 19916
2006-01-20 04:48:31 +00:00
David Walter Seikel 96b9fe94e5 Fork'n'bitch is now operational.
TODO -
* Actually make the limits mean something.
* Clean up all that allocing and copying.  I'm sure I could make that better.


SVN revision: 19915
2006-01-20 04:42:35 +00:00
Carsten Haitzler f06d201516 remove duplicate paths
SVN revision: 19900
2006-01-19 09:32:18 +00:00
Carsten Haitzler 370108d580 a bit of work to make dns lookups happen in a forked child - the dns protocol
stuff, though nice and cool, is having problems with multiple listing returns
and more with segv's, so this is the fastest/easiest fix right now - all the
old code is still there.


SVN revision: 19899
2006-01-19 09:11:30 +00:00
handyande 3b4b47eb77 Fix up RGB parsing and the string output - bad someone...
SVN revision: 19890
2006-01-18 12:36:51 +00:00
handyande a35fb4d4a7 Sorry Morten, this append func got broken - do not have time to debug, so am rolling it back
SVN revision: 19889
2006-01-18 12:35:06 +00:00
David Walter Seikel 29b4630756 Seperate the data event code from the fd handler code in preparation for
fork'n'bitch.


SVN revision: 19876
2006-01-17 11:33:39 +00:00
David Walter Seikel 0f5da34bce Commit API now, write code later.
Actually, this may turn into a can of worms, so comments would be useful.
Search for "can of worms" in ecore_exe.c for some commentary.  Personally,
I worry that we may have gone overboard, polling is bad 'mkay.


SVN revision: 19859
2006-01-16 13:21:52 +00:00
David Walter Seikel aa1b75baec Dammit.
SVN revision: 19853
2006-01-16 09:52:56 +00:00
David Walter Seikel bfa592058a Beginnings of the feature previously known as fork'n'bitch. Now it will be
a bit more general purpose.


SVN revision: 19852
2006-01-16 09:47:59 +00:00
David Walter Seikel e754564803 Refactoring the exe exit stuff.
SVN revision: 19844
2006-01-16 03:20:36 +00:00
David Walter Seikel e109255415 More ecore_exe naming break'n'fix. Should be all done now.
SVN revision: 19832
2006-01-15 11:27:19 +00:00
David Walter Seikel 8ff26002a5 * ecore_exe events now get allocated just like other events.
* added ECORE_EXE_EVENT_ADD and support code.


SVN revision: 19758
2006-01-13 13:18:36 +00:00
David Walter Seikel d08ccf6fa6 Minor API breakage and fixage.
SVN revision: 19757
2006-01-13 06:38:44 +00:00
David Walter Seikel cf29de295c * Preperation before making the exe events consistant.
* Inlining a function that is only used once.
* More comments.


SVN revision: 19756
2006-01-13 04:31:41 +00:00
Carsten Haitzler 80dbc9fa05 big fat asparagus!
SVN revision: 19736
2006-01-12 05:43:08 +00:00
Dan Sinclair a74f72c2ad - these data structures are never compiled with locking anymore so remove
the locks.


SVN revision: 19732
2006-01-12 03:01:58 +00:00
rbdpngn f1bc839522 Revert disown call and force the parent to check if it created the socket
before unlinking it.


SVN revision: 19714
2006-01-11 05:13:23 +00:00
David Walter Seikel 2bc2ef0db6 Merged the two almost identical fd handlers.
SVN revision: 19703
2006-01-10 18:36:19 +00:00
David Walter Seikel 20a8865152 * fork'n'pipe now has stderr support.
* both exe run functions now use the same code.
* don't allocate pipes that wan't be used.  This made the code much cleaner.
* track and free the exe timers as needed.

E still reports a naughty null timer free at shutdown time, but I don't
think its in ecore_exe.  I'll valgrind it later.

The error fd handler is curently an identical copy of the read fd handler,
with only the names changed.  That's a big slab of code that is duplicated.
I'll merge the two into something generic next.

raster also mentioned that say the first ten lines or so of stderr should
be thrown into a dialog and shown to the user.  I don't know if there is a
way to do that from ecore, or if the user of ecore_exe has to do that
themselves.  The stderr support does line buffered mode just like the read
support, but has not been tested yet.  I'll test properly after the merge.


SVN revision: 19700
2006-01-10 16:46:07 +00:00