Commit Graph

982 Commits

Author SHA1 Message Date
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
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 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
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
Carsten Haitzler 651a356e6a warnings - hush.
SVN revision: 19567
2006-01-06 18:26:37 +00:00
Carsten Haitzler 5ff5b1a64b shhh!
SVN revision: 19566
2006-01-06 18:06:23 +00:00
Carsten Haitzler f85e3b839c no more warnings
SVN revision: 19565
2006-01-06 18:05:08 +00:00
Carsten Haitzler 12aa35dd99 fix up some warnings
SVN revision: 19563
2006-01-06 17:58:12 +00:00
Carsten Haitzler 5ba10bb385 symbol hiding fixes
SVN revision: 19556
2006-01-06 13:56:47 +00:00
Kim Woelders 34cf6187a7 Add some utility functions for get/setting window properties.
Move a number of ecore_x_window_prop_property_get/set calls to the new ones.
Eliminate broken (64bit arch) _ATOM_SET_... macros.
New functions should be solid as they have been in e16 for ages.
Changes in ecore_x_icccm/netwm.c have not been tested thoroughly.


SVN revision: 19543
2006-01-05 21:41:30 +00:00
David Walter Seikel a62dc114c7 Consistancy rules, 'mkay.
SVN revision: 19531
2006-01-04 20:53:07 +00:00
David Walter Seikel e1adc2f81b Bugger, thought I got rid of that a long time ago.
SVN revision: 19530
2006-01-04 20:36:56 +00:00
David Walter Seikel 2369a9c01e Damn typo.
SVN revision: 19529
2006-01-04 20:33:58 +00:00
David Walter Seikel ad6a5a6c70 The beginnings of an effort to make ecore_exe fork'n'pipe more consistant
with ecore_con and ecore_ipc.  Probably best to have all IPC methods work
the same way.


SVN revision: 19527
2006-01-04 20:28:12 +00:00
David Walter Seikel b1925fb4bf Unimportant typo.
SVN revision: 19526
2006-01-04 19:53:34 +00:00
David Walter Seikel e1b7ef2a78 Documentation of issues involved with implementing respawn.
SVN revision: 19524
2006-01-04 16:33:25 +00:00
David Walter Seikel c990136eab * More robust method of checking if the fd's need to be closed.
* Minor preperation for respawn.


SVN revision: 19523
2006-01-04 16:29:36 +00:00
codewarrior 93dd8ce0fc - ++authors
- add ecore_file_symlink


SVN revision: 19506
2006-01-03 00:18:42 +00:00
David Walter Seikel 5a4061bf1b Just another excuse to terminate those pesky exe's.
SVN revision: 19477
2006-01-01 21:20:42 +00:00
David Walter Seikel f26fc9014e Just to be paranoid, and coz devilhorns caught it doing this, check for
various naughty timeout values.


SVN revision: 19476
2006-01-01 20:29:34 +00:00
David Walter Seikel c06b7a851f If you terminate an exe, make sure it really is terminated.
Check it's pulse, hold a mirror to it's mouth, check for brain activity.

Pump another round or two into it, cut off it's head, put a stake through
it's heart.

Sprinkle holy water over it's corpse, hold a black mass to ask Lucifer if
it turned up in hell yet, consult the entrails of rasters three headed
chicken.

If all else fails, complain that the bitch is still alive, and stronger
measures will be needed.


SVN revision: 19475
2006-01-01 20:09:47 +00:00
Christopher Michael ccc3de03a5 Formatting
SVN revision: 19468
2006-01-01 04:18:38 +00:00
Christopher Michael 60cb25623b Don't try to printf e->exe->cmd if e->exe doesn't exist
SVN revision: 19467
2006-01-01 04:02:52 +00:00
doursse 7e670e0c2a oups
SVN revision: 19449
2005-12-31 09:24:27 +00:00
handyande 4e0e175bf8 Cleanup of lib from Morten Nilsen - thanks
SVN revision: 19434
2005-12-30 20:10:01 +00:00
David Walter Seikel b2bb84d0e8 Clean up.
SVN revision: 19432
2005-12-30 19:28:54 +00:00
David Walter Seikel 8bb13800f8 * exe exit event delay method changed.
* Added method to close an exe's stdin in a (probably) vain attempt to convince exe to exit.
* Other debugging shit.


SVN revision: 19430
2005-12-30 19:17:21 +00:00
rbdpngn e37b4166d8 Free the strdup'd string when destroying a theme property.
SVN revision: 19351
2005-12-28 21:42:08 +00:00
doursse ae2bff67cc leak--
SVN revision: 19318
2005-12-27 19:21:58 +00:00
Carsten Haitzler 7554f8ee36 actually make symbol hiding work!
SVN revision: 19314
2005-12-27 17:17:31 +00:00