Commit Graph

1190 Commits

Author SHA1 Message Date
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
David Walter Seikel 5e78588f50 Damn typos. Well, at least I didn't break cvs.
SVN revision: 19693
2006-01-10 12:26:31 +00:00
David Walter Seikel c4cf8905c4 Preparation for adding stderr to fork'n'pipe. The rest cames later tonight.
SVN revision: 19692
2006-01-10 11:15:38 +00:00
Carsten Haitzler dcd2b68e49 indenting...
SVN revision: 19689
2006-01-10 08:44:15 +00:00
Carsten Haitzler 0f9188f1d2 vis -> off
SVN revision: 19683
2006-01-10 07:36:51 +00:00
Carsten Haitzler a8ac626eb0 include changes
SVN revision: 19676
2006-01-09 13:36:22 +00:00
handyande 54694c9d01 format
SVN revision: 19661
2006-01-08 19:50:42 +00:00
handyande 229e127911 Latest Morten patch and some fixes
SVN revision: 19660
2006-01-08 19:45:11 +00:00
handyande 7c24ebf4e0 Morten Nilsen's latest patches for ecore_config argb etc
SVN revision: 19655
2006-01-08 14:57:14 +00:00
rbdpngn ea0749e88a Allow servers to disown their sockets. Allows for closing after a fork()
without unlinking the socket in the filesystem.


SVN revision: 19636
2006-01-08 07:42:56 +00:00
Carsten Haitzler 6249f12f2f eek. formatting!
SVN revision: 19635
2006-01-08 07:15:27 +00:00
Mike Frysinger f91bf649a7 make sure _ecore_con_url_data_cb is declared static in both places (prototype and definition) as reported by Vladimir Lushnikov via e-mail
SVN revision: 19632
2006-01-08 02:37:50 +00:00
sebastid 9bd391e812 Silence
SVN revision: 19596
2006-01-07 09:23:39 +00:00
Kim Woelders 640fd3375b Add missing.
SVN revision: 19593
2006-01-07 08:32:26 +00:00
Carsten Haitzler cb2dc9c0d7 headers before setting up symbol hiding
SVN revision: 19588
2006-01-07 06:48:56 +00:00
Kim Woelders 4b3320bfd0 Fix warnings.
SVN revision: 19578
2006-01-06 21:56:05 +00:00
David Walter Seikel ace06b37f6 At rasters request, I followed his example and told them all to stfu.
SVN revision: 19573
2006-01-06 20:22:09 +00:00
David Walter Seikel 770cb8b3b9 I noticed some duplicates.
SVN revision: 19572
2006-01-06 20:18:41 +00:00
Carsten Haitzler f22ac19a1e no more warnings
SVN revision: 19570
2006-01-06 18:51:30 +00:00
Carsten Haitzler 07ce0152b6 and less warnings!
SVN revision: 19569
2006-01-06 18:47:56 +00:00
Carsten Haitzler 2c52634e85 and yet more warning removal
SVN revision: 19568
2006-01-06 18:46:30 +00:00