Commit Graph

1232 Commits

Author SHA1 Message Date
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 6959704eff Updated to reflect API change.
SVN revision: 19528
2006-01-04 20:29:28 +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 07a7a2b05c Forgot to commit this yesterday, but it's just trivial formatting.
SVN revision: 19489
2006-01-02 07:44:51 +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
David Walter Seikel 56a0bc26d9 Doh! Should double the reported throughput, since it measures the bytes in
both directions.  The reported speed in the last commit message I doubled
manually, so it is correct.

NOTE - write speed is hard to time, as it happens asynchronously.


SVN revision: 19473
2006-01-01 17:25:17 +00:00
David Walter Seikel 28923a44ba * More accurate throughput tests by removing most of the overhead.
* Don't fill the timing tests with stdio shit, gives much better results.

Now the only overhead is a tiny fraction of the tested time.
140MB/s in both directions in line buffered mode on my lightly loaded Athlon 3000.


SVN revision: 19472
2006-01-01 17:20:33 +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 6138286a77 * Should now shut down properly when all exe's finish.
* All exe's should now finish.  B-)
* If called with a file as an argument, it will use the contents of that file as a R/W performance test.


SVN revision: 19431
2005-12-30 19:19:59 +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
David Walter Seikel cdebf436cf Fixup the FIXME's.
SVN revision: 19283
2005-12-24 12:22:47 +00:00
David Walter Seikel f302260188 Generic errno checking.
SVN revision: 19282
2005-12-24 12:13:12 +00:00
David Walter Seikel 826b9c196b Clone another e.h macro. Maybe these should be combined to a common place?
SVN revision: 19281
2005-12-24 12:11:39 +00:00
doursse 3931df64c9 leak--
SVN revision: 19280
2005-12-24 10:28:08 +00:00
David Walter Seikel f1ecb69e85 Make sure that the Last Words of a dead exe are preserved for future generations.
SVN revision: 19140
2005-12-19 05:07:58 +00:00
David Walter Seikel a119e26657 More documentation for fd_handler return values as per the mailing list discussion.
SVN revision: 19129
2005-12-19 01:36:55 +00:00
lordchaos d6f417c8d1 * Apparantly, strings returned by setlocale() are not supposed to be freed/modified.
See: http://www.mkssoftware.com/docs/man3/setlocale.3.asp


SVN revision: 19124
2005-12-18 23:08:57 +00:00
handyande 414d3e5352 latest patch from Morten Nilsen:
- fix indent in various places
- check flag rather than walking list in util
- eliminate multiple key searches while saving
- optimizations


SVN revision: 19115
2005-12-18 19:07:52 +00:00
lordchaos ab419159e9 * Clear _source->dest after drag, so if the next drag has the same source window, we still get dnd_position events if we stay inside the same window.
SVN revision: 19078
2005-12-16 23:04:49 +00:00
David Walter Seikel 0a4a3d8cfc The line dancing craze spreads it's evil tenticles.
SVN revision: 19064
2005-12-16 04:03:04 +00:00
David Walter Seikel 6194429534 The fork'n'pipe knows line dancing!
Er, I mean line buffering.

It's slightly different from what raster wanted.  I'll update the example next.


SVN revision: 19063
2005-12-16 03:36:16 +00:00
David Walter Seikel 5ed307efed Document that the lines array is NULL terminated.
SVN revision: 19062
2005-12-16 03:33:52 +00:00
David Walter Seikel a4f340d074 Preperation for line buffering, coming soon. Just gotta spend the rest of the day testing it.
SVN revision: 19056
2005-12-16 01:11:24 +00:00
David Walter Seikel 9b4adfbd25 The FIXME's have been.
SVN revision: 19055
2005-12-16 01:09:52 +00:00
David Walter Seikel 79e003fe0b I'm on a .cvsignore cleanup spree. Guess I can take care of this one myself.
SVN revision: 18971
2005-12-12 16:49:43 +00:00
Carsten Haitzler e430a7e6fc delete timer on 0 return AND if manually deleted prefer the delete over the
continue return of 1


SVN revision: 18954
2005-12-11 14:33:21 +00:00
Carsten Haitzler 7475ec3508 exe pipe example and other exe (no pipe) example. :)
SVN revision: 18951
2005-12-11 06:52:07 +00:00
handyande e270ac86eb getopt long patch from Morten Nilsen - thanks
SVN revision: 18946
2005-12-11 03:32:18 +00:00
David Walter Seikel ba872e4bf9 Turn off the write handler when not needed.
SVN revision: 18943
2005-12-11 00:11:12 +00:00
David Walter Seikel 82021edf95 Time I added myself.
SVN revision: 18940
2005-12-10 22:40:34 +00:00
David Walter Seikel 7df068b625 Fork'n'pipe now actually pipes.
SVN revision: 18939
2005-12-10 22:39:51 +00:00
codewarrior 48e0355efe - ecore_file_size
SVN revision: 18916
2005-12-09 00:02:21 +00:00
handyande 0e7786ecc4 woops on the last patch
SVN revision: 18913
2005-12-08 12:35:11 +00:00
handyande a8752bb121 Thanks Morten Nilsen for your ecore_config patches - applied here and working nicely
SVN revision: 18903
2005-12-07 23:30:29 +00:00
Carsten Haitzler 068266c8a2 another util function - list all executables in your $PATH - in full.
SVN revision: 18890
2005-12-07 07:18:52 +00:00
Carsten Haitzler b1073dd01c 2nd einfo screws things. fix.
SVN revision: 18886
2005-12-06 23:43:32 +00:00
rbdpngn 9b2d5dc9e6 Use const for ecore_strings.
SVN revision: 18863
2005-12-06 03:44:47 +00:00
rbdpngn f20a699a57 Use const for ecore_string.
SVN revision: 18862
2005-12-06 03:44:26 +00:00
Carsten Haitzler 0d2c10811e LATIN1->ISO888....
SVN revision: 18843
2005-12-05 03:58:22 +00:00
rbdpngn 172b0612aa Catch a potential segfault if a hash is created and never used.
SVN revision: 18785
2005-12-02 15:35:50 +00:00
rbdpngn 777373c046 Consistent return values on errors.
SVN revision: 18773
2005-12-01 23:08:43 +00:00
rbdpngn ebdd5d371a Check the return value correctly.
SVN revision: 18772
2005-12-01 23:02:58 +00:00
Carsten Haitzler 2489a46975 Jorge's dfb patches are finally in! :)
SVN revision: 18751
2005-12-01 06:39:35 +00:00
Carsten Haitzler e475d8844f illogict patch
SVN revision: 18749
2005-12-01 06:23:58 +00:00
handyande fdda70e1b3 After the comments (back in april, sorry) I think this is the optimal fix that Dylan Shell was trying to get to, thanks Bryan Kadzban for the idea
Please correct me if this is not right


SVN revision: 18718
2005-11-29 23:06:59 +00:00
David Walter Seikel 3e30a7b8e5 Remove the kill_maybe that slipped in a while ago.
SVN revision: 18716
2005-11-29 22:22:21 +00:00
andyetitmoves 5af3e611c4 Attempt to speed up ecore_exe_run by seeing if there are any shell
metacharacters present in the command line passed. If there aren't any, parse
command line to arguments and pass to execvp instead of calling `sh -c' with the
entire command line. Hope we have covered all cases in which sh -c should be
necessarily invoked :) The current approach is pretty conservative though -
anything suspicious, and over to sh.


SVN revision: 18705
2005-11-29 12:39:09 +00:00
Carsten Haitzler 011983d4bf asparagus. there were issues. thsi syncs versions now too.
SVN revision: 18699
2005-11-29 09:13:26 +00:00
Carsten Haitzler 7cf6b74ee7 causes mroe problems than it fixes
SVN revision: 18686
2005-11-29 03:09:11 +00:00
Carsten Haitzler 52e61b0ca8 asparagus!
SVN revision: 18672
2005-11-28 06:01:45 +00:00
rbdpngn 46518fa24f Setup an init/shutdown system for shared strings.
SVN revision: 18658
2005-11-27 08:00:39 +00:00
rbdpngn ec44ab043d Delay allocation of SSL library memory until necessary.
SVN revision: 18657
2005-11-27 07:18:36 +00:00
rbdpngn d7aa8d7dc9 Fix rehashing the nodes to a hash of a new size.
SVN revision: 18518
2005-11-17 15:15:37 +00:00
rbdpngn db983db6ff Avoid potential recursion on the destruction of a collision chain.
SVN revision: 18508
2005-11-17 06:39:14 +00:00
rbdpngn c28f6b8d68 Ecore hash was originally written to teach the concept of a hash, so it used
high level lists. Since it's getting more extensive use, I've switched it to
use it's own list structure for collision chaining. This is more memory
efficient and overall faster.


SVN revision: 18503
2005-11-16 22:17:11 +00:00
lordchaos a458660298 * Remove the 255 character string limit on ecore_config strings
SVN revision: 18479
2005-11-15 10:04:41 +00:00
Carsten Haitzler e3c1dd99e2 only damage new regions :)
SVN revision: 18468
2005-11-14 03:25:23 +00:00
Carsten Haitzler fd280ca81c only damage the new regions
SVN revision: 18467
2005-11-14 03:25:09 +00:00
Carsten Haitzler 5f7e955689 asparagus time! :)
SVN revision: 18427
2005-11-11 08:03:49 +00:00
rbdpngn 8a632ab09c Free the heap when we're done, thanks chaos.
SVN revision: 18418
2005-11-10 14:29:33 +00:00
rbdpngn a90d675613 Move ecore_file_ls from an O(n^2) insertion sort to an O(n log n) heap sort,
since we already have it available. Worked fine on OS X and had dj2 check on
Linux to ensure filesystem ordering wasn't skewing the results. He ran a
couple quick benchmarks on a 10k file directory.

Insertion sort results
23:38 <@dj2> real    0m2.134s
23:38 <@dj2> user    0m1.880s
23:38 <@dj2> sys     0m0.120s

Heap sort results
23:35 <@dj2> real    0m0.223s
23:35 <@dj2> user    0m0.072s
23:35 <@dj2> sys     0m0.052s

23:38 <@dj2> and thats on a 3ghz box, heh


SVN revision: 18410
2005-11-10 05:44:41 +00:00
David Walter Seikel ea18787d33 Brain dead, quick'n'dirty pipe writer, Strictly for testing purposes.
SVN revision: 18402
2005-11-09 20:01:32 +00:00
David Walter Seikel 0bb989f1f6 Beginnings of fork'n'pipe.
Don't use ecore_exe_pipe_run() yet, it is not finished.  You can use
ecore_exe_pipe_write(), but it will do nothing.  I committed this
because someone wanted to play with it in it's current state.

ecore_exe_pipe_run() will startup your exe, and open the pipes that you
request, and everything should get cleaned up when the exe closes.  The
pipes are in the Ecore_Exe struct, you can use them.  The next thing I
will add will be proper use of the pipes.


SVN revision: 18400
2005-11-09 14:09:28 +00:00
David Walter Seikel a2bc838d20 Getting ready for fork'n'pipe.
SVN revision: 18399
2005-11-09 13:59:03 +00:00
Carsten Haitzler d1861a8d4c add a call
SVN revision: 18336
2005-11-06 09:47:28 +00:00
sebastid 6d4a9a2337 Define exported functions
SVN revision: 18304
2005-11-04 23:47:53 +00:00
sebastid 4bb7c433de Don't use strlen to check if a string is empty
SVN revision: 18268
2005-11-04 07:54:26 +00:00
Carsten Haitzler f9a5f37623 allow managed co-ords to be set directly - for internal wm use :)
SVN revision: 18242
2005-11-03 11:32:59 +00:00
Carsten Haitzler 1e890273c9 if direct resize is set - call callbacks... directly :)
SVN revision: 18239
2005-11-03 06:16:40 +00:00
Carsten Haitzler 84e7518983 ignore grab in/out
SVN revision: 18210
2005-11-02 08:56:30 +00:00
Carsten Haitzler b69569d937 support REDRAW_DEBUg env var
SVN revision: 18188
2005-11-01 09:49:12 +00:00
codewarrior 727de7d0fc - char * to const char *
SVN revision: 18163
2005-10-31 09:14:41 +00:00
Carsten Haitzler c198ded7af on a NULl data - delete the old key and dont add any new one
SVN revision: 18161
2005-10-31 06:21:40 +00:00
Carsten Haitzler adf8c014ba always have the function calls - just optionally have useful internals
SVN revision: 18137
2005-10-30 08:01:47 +00:00
technikolor 66f580a1b4 Last commit forgot to ifdef xcursor breaking Solaris builds
SVN revision: 18127
2005-10-30 07:21:19 +00:00
Mike Frysinger d8ffa3edef cleanup ecore-txt and ecore-evas-dfb stuff
SVN revision: 18079
2005-10-29 03:30:23 +00:00
Mike Frysinger 8bc0fcf48b we need to have $DIRECTFB_CFLAGS when checking the evas directfb header
SVN revision: 18078
2005-10-29 03:00:29 +00:00
Mike Frysinger 7c8b0cb44c touchup help output
SVN revision: 18077
2005-10-29 02:43:40 +00:00
Mike Frysinger af3f43a3e3 touchup configure --help output
SVN revision: 18076
2005-10-29 02:30:36 +00:00
sebastid c2a325ba4c Silence.
SVN revision: 17988
2005-10-26 20:13:01 +00:00
sebastid b806a35ca5 keys is an internal header.
SVN revision: 17987
2005-10-26 20:12:02 +00:00
David Walter Seikel 358badd6bf The pipes, the pipes are calling.
SVN revision: 17954
2005-10-25 07:30:29 +00:00
David Walter Seikel 8fc7865bc0 Need to store the flags for later.
SVN revision: 17953
2005-10-25 07:21:52 +00:00
David Walter Seikel 2da426d72c Fleshed out the fork'n'pipe IPC a little more.
SVN revision: 17890
2005-10-24 14:47:25 +00:00
sebastid c55ae5fdd0 Add directfb prototype.
SVN revision: 17883
2005-10-24 10:42:20 +00:00
sebastid 853b70b966 Remove unused variable.
SVN revision: 17882
2005-10-24 10:06:11 +00:00
sebastid 32732357cb Style.
Assume the operations will succeed, and set ret to 0 on fail.


SVN revision: 17881
2005-10-24 10:05:35 +00:00
codewarrior 7f10622a24 - if its a file, dont bother with it, just unlink it
SVN revision: 17880
2005-10-24 09:37:13 +00:00
Carsten Haitzler b21a42f0f7 add more members and notes
SVN revision: 17878
2005-10-24 09:02:46 +00:00
Carsten Haitzler cc1ce6c25d add mroe members
SVN revision: 17877
2005-10-24 09:02:21 +00:00
Carsten Haitzler 909a56813f stubs and comments for implementing pipes to child wrappers
SVN revision: 17876
2005-10-24 08:53:50 +00:00
codewarrior 0be8326d89 - add method to delete dirs recursively
SVN revision: 17848
2005-10-23 23:21:29 +00:00
Michael Jennings 1d3bec0505 Sun Oct 23 12:17:18 2005 Michael Jennings (mej)
Fixed --disable-ecore-con
----------------------------------------------------------------------


SVN revision: 17826
2005-10-23 16:09:22 +00:00
sebastid b307dd253e Silence.
SVN revision: 17797
2005-10-23 08:35:24 +00:00
lordchaos 7de1083877 Prevent a SEGV if returned config string is NULL
SVN revision: 17735
2005-10-21 12:11:37 +00:00
sebastid 4667f645da space
SVN revision: 17726
2005-10-21 07:10:07 +00:00
sebastid 05bc00a030 <> round external header.
SVN revision: 17725
2005-10-21 07:09:34 +00:00
Carsten Haitzler 0f23149e5f hmm dfb header - NOT buffer
SVN revision: 17714
2005-10-21 00:57:37 +00:00
Mike Frysinger 42a950023e remove spurious message
SVN revision: 17699
2005-10-20 05:37:38 +00:00
Mike Frysinger 30dbd4e7ba remove pointless [] around if tests
SVN revision: 17692
2005-10-20 00:16:16 +00:00
Carsten Haitzler aafe5bb24e ok damn bsd users - u get to have no alloca - damn lowest common denominator.
SVN revision: 17626
2005-10-17 09:59:23 +00:00
quan74 859ffb05fc ecore_directfb cleanups
SVN revision: 17586
2005-10-16 01:51:20 +00:00
Carsten Haitzler 347c26ce53 turran's dfb stuff! whee! :)
SVN revision: 17573
2005-10-15 10:37:37 +00:00
Carsten Haitzler d559cdd4f5 more patrick mautirz patches
SVN revision: 17567
2005-10-15 08:51:52 +00:00
Carsten Haitzler e83ac6a83c fix extra events to do just what they originally did
SVN revision: 17510
2005-10-13 14:06:20 +00:00
shadoi 74c0986fa1 Provides libecore
SVN revision: 17502
2005-10-13 05:46:42 +00:00
Mike Frysinger 388caefdcf remove pointless [] around if tests
SVN revision: 17471
2005-10-12 23:15:17 +00:00
sebastid fc3eccf033 realpath returns null if the file doesn't exist.
SVN revision: 17444
2005-10-11 20:11:36 +00:00
sebastid 0357fa2fe3 reset will_accept status when entering new window.
SVN revision: 17440
2005-10-11 16:43:53 +00:00
Carsten Haitzler e5fe3c4400 fix build issue
SVN revision: 17439
2005-10-11 16:34:41 +00:00
sebastid da7d6dbe30 dst, not src in second realpath
SVN revision: 17409
2005-10-10 21:10:04 +00:00
sebastid 4545433592 Cleanup
SVN revision: 17396
2005-10-10 18:35:13 +00:00
codewarrior 2fc139fd86 Dont overrite ourselves and zero the file out during copy operations if src and dst are the same
SVN revision: 17393
2005-10-10 16:25:17 +00:00
sebastid f0e54c13f7 get/set x cursor size.
SVN revision: 17378
2005-10-10 07:50:10 +00:00
tsauerbeck 315c2a045b fix ecore_x_netwm_icons_get()
SVN revision: 17346
2005-10-09 09:56:47 +00:00
Carsten Haitzler bfaabe266e asparagus - again. lots fo leak fixes and other fixes have been happening, so
i think an asparagus is a good idea - sorry package config people. :)


SVN revision: 17340
2005-10-09 04:22:19 +00:00
sebastid b351ead33a Move dnd stuff to ecore_x_dnd.c, and set default action to copy.
It works!!!


SVN revision: 17323
2005-10-08 14:38:15 +00:00
sebastid 1f2de469f1 Cleanup.
SVN revision: 17320
2005-10-08 13:51:58 +00:00
sebastid c025996fac Export new funcs.
SVN revision: 17318
2005-10-08 12:43:17 +00:00
sebastid ae491b7811 ignore events.
Should we add extra windows to the ignore list (ecore_x_window_ignore_set)?


SVN revision: 17317
2005-10-08 12:41:59 +00:00
sebastid a4c3c2868f Dnd updates
Add skip function for window get
Add ignore window list.


SVN revision: 17316
2005-10-08 12:40:14 +00:00
sebastid aa0bd546dd Suppress warnings.
SVN revision: 17315
2005-10-08 12:39:07 +00:00
sebastid aea2f11d2e Remove const.
SVN revision: 17279
2005-10-07 19:32:36 +00:00
sebastid 24c1ced35f And the prototype.
SVN revision: 17278
2005-10-07 19:04:59 +00:00
sebastid f06e1cd8c8 Func to set all dnd types in one call.
SVN revision: 17277
2005-10-07 18:49:39 +00:00
sebastid 2eca3bd0d2 Don't print bogus error messages.
SVN revision: 17275
2005-10-07 18:18:17 +00:00
sebastid e13146588e Skip env variables.
SVN revision: 17274
2005-10-07 17:48:09 +00:00
sebastid fb2ab4ef6c Only allocate the necessary amount of memory
SVN revision: 17273
2005-10-07 17:32:31 +00:00
sebastid 619fc03aed Query Xinerama first.
SVN revision: 17264
2005-10-07 08:33:10 +00:00
Carsten Haitzler 8d2fe31aef fix ecore to NOT segv like a madman now.
SVN revision: 17257
2005-10-07 02:44:20 +00:00
tsauerbeck 7ba3d1df86 more leak fixes
SVN revision: 17244
2005-10-06 18:48:03 +00:00
Carsten Haitzler 7fce978d6a asparagus. and make distcheck passes again.
SVN revision: 17234
2005-10-06 08:47:12 +00:00
Dan Sinclair d5d6ed4e5d - this stops a whole lot of recursion and eventual segv with ecore_config.
not sure if it is the right fix or not


SVN revision: 17227
2005-10-06 03:03:34 +00:00
shadoi 2656262714 Include the right file EXTRA_DIST.
SVN revision: 17226
2005-10-06 03:03:20 +00:00
shadoi 58443f1f4a Buh-bye.
SVN revision: 17220
2005-10-05 23:42:20 +00:00