Commit Graph

3146 Commits

Author SHA1 Message Date
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
Carsten Haitzler 1a332a7125 no! dont put that in cvs!
SVN revision: 19850
2006-01-16 08:50:49 +00:00
David Walter Seikel 4c531de9db Typo.
SVN revision: 19848
2006-01-16 04:26:43 +00:00
David Walter Seikel 0e3bbc475d Presenting the Indian Rope Trick. Watch in awe as these young files climb
up the rope and disappear into thin air!


SVN revision: 19847
2006-01-16 03:57:33 +00:00
David Walter Seikel 35a90b012e Nothing to see here folks.
SVN revision: 19846
2006-01-16 03:43:30 +00:00
Carsten Haitzler 76f7428de7 fix dfb engine - correctness changes for hash
SVN revision: 19845
2006-01-16 03:37:34 +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
doursse 7252101aa3 remove printfs
SVN revision: 19829
2006-01-15 10:44:48 +00:00
Carsten Haitzler 3a301b885b empty buf first
SVN revision: 19827
2006-01-15 10:37:03 +00:00
doursse 4a56b2ee6e and now the savers...
SVN revision: 19826
2006-01-15 10:35:02 +00:00
Carsten Haitzler 8119a84cca free module paths on shutdown
SVN revision: 19825
2006-01-15 10:24:37 +00:00
Carsten Haitzler d983846eb3 fix buf free and some extras...
SVN revision: 19824
2006-01-15 10:04:39 +00:00
Carsten Haitzler 1ba4131a15 bad buf strlen--
SVN revision: 19816
2006-01-15 07:07:28 +00:00
Carsten Haitzler 87d56a63ad most oops - dont strlen that buf!
SVN revision: 19815
2006-01-15 07:01:15 +00:00
Carsten Haitzler d410036b81 removes some unused struct members (should remove more though) and fixes up
modular loaders


SVN revision: 19814
2006-01-15 06:21:05 +00:00
Carsten Haitzler 155364de9c ok - now support a first try guess based on extension - if that fails, or the
extension is unknown to match a format, try all image loader modules until
one succeeds - if all of these fail, give up.


SVN revision: 19812
2006-01-15 05:04:32 +00:00
Carsten Haitzler d8768ab0ab temporary fix.
SVN revision: 19811
2006-01-15 04:49:46 +00:00
doursse afecb8d7ca don't load the same module several times
SVN revision: 19810
2006-01-14 23:36:52 +00:00
doursse ff8397da6c fix includes
SVN revision: 19807
2006-01-14 20:28:37 +00:00
doursse 0daf7300a6 fix includes
SVN revision: 19806
2006-01-14 20:25:48 +00:00
doursse 6357a06396 loaders are now modules
SVN revision: 19805
2006-01-14 20:03:42 +00:00
Carsten Haitzler f3ff4e9ffe oops - forgot about engine headers. moved headers. fixed. install again
SVN revision: 19804
2006-01-14 18:24:41 +00:00
sebastid debdc91f2c Fix compiler warnings.
SVN revision: 19798
2006-01-14 15:58:01 +00:00
sebastid 67c29e58a3 Move comment
SVN revision: 19791
2006-01-14 15:43:05 +00:00
sebastid 59f9caea69 Formatting.
SVN revision: 19790
2006-01-14 15:39:57 +00:00
sebastid e29d193d3e Unused func.
SVN revision: 19788
2006-01-14 15:30:00 +00:00
Carsten Haitzler fa0f4317f2 oops - a little too much copy & paste :)
SVN revision: 19781
2006-01-14 13:42:35 +00:00
doursse f64f64f08f xcb engine does not depend on cairo
SVN revision: 19779
2006-01-14 12:48:47 +00:00
Carsten Haitzler f466584b96 remove printfs
SVN revision: 19778
2006-01-14 12:41:02 +00:00
Carsten Haitzler 55172140f9 anmd fix dlopen link detection , actually check for dladdr as it's a gnu
extension etc.


SVN revision: 19777
2006-01-14 12:36:25 +00:00
Carsten Haitzler f435375b19 initial import fo loadable engine modules for evas - from jorge zappie :)
SVN revision: 19775
2006-01-14 12:13:38 +00:00
Carsten Haitzler bc59e998b7 patch from al catching nasty oops
SVN revision: 19765
2006-01-14 09:26:22 +00:00
Carsten Haitzler ba5cc5b100 add a check for c99 %a format support - so all those people with mysterious
errors will know why and who to contact for fixes (not us!)


SVN revision: 19763
2006-01-14 08:59:42 +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 744a393f2e correct fmt strings
SVN revision: 19755
2006-01-13 04:18:43 +00:00
Carsten Haitzler 7f2e444103 buffers dude... buffers!
SVN revision: 19754
2006-01-13 04:16:52 +00:00
Carsten Haitzler 4ba10b4e98 buffers man.. buffers!
SVN revision: 19753
2006-01-13 04:10:01 +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
rephorm 702c78bb82 color class blocks in edje.
this allows you to specify the default color for any parts using color_classes in a given file.

this color will be overridden by edje_color_class_set()
which will in turn be overridden by edje_object_color_class_set()

note. if you specify a color (color: ...) in a part description that also has a color_class, the cc will be multiplied against the color -- generally not what you want.

also, as a tip, the gimp's 'multiply' blend mode is almost exactly the same as evas/edje's coloring.


example:

...
part {
  name: "colored";
  type: RECT;
  description {
    state: "default" 0.0;
    color_class: "bg_color";
    /* note: no color: set here */
  }
}
...
color_classes {
  color_class {
    name: "bg_color";
    color: 229 239 255 255;
  }
}


SVN revision: 19708
2006-01-11 03:19:46 +00:00
rephorm 0b56671b3e color class blocks in edje.
this allows you to specify the default color for any parts using color_classes in a given file.

this color will be overridden by edje_color_class_set()
which will in turn be overridden by edje_object_color_class_set()

note. if you specify a color (color: ...) in a part description that also has a color_class, the cc will be multiplied against the color -- generally not what you want.

also, as a tip, the gimp's 'multiply' blend mode is almost exactly the same as evas/edje's coloring.


example:

...
part {
  name: "colored";
  type: RECT;
  description {
    state: "default" 0.0;
    color_class: "bg_color";
    /* note: no color: set here */
  }
}
...
color_classes {
  color_class {
    name: "bg_color";
    color: 229 239 255 255;
  }
}


SVN revision: 19707
2006-01-11 03:19:45 +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