Commit Graph

50 Commits

Author SHA1 Message Date
Mike Blumenkrantz cc887a265c formatting
DEAR CEDRIC: PLEASE LEARN HOW TO FORMAT YOUR CODE CORRECTLY. THANKS.


SVN revision: 79276
2012-11-14 09:57:11 +00:00
Mike Blumenkrantz 6f633693a7 fix e_start on BSDs, patch from Maxime Villard
SVN revision: 79218
2012-11-13 10:54:35 +00:00
Mike Blumenkrantz e97ccf53cd by popular (overwhelming) demand, -i-really-know-what-i-am-doing-and-accept-full-responsibility-for-it now prevents enlightenment_start from ptracing, which allows gdb attaching once more
SVN revision: 79202
2012-11-13 07:46:02 +00:00
Carsten Haitzler 80858ec4fc 1. move crashdump to its own file - not in xsession-errors (gets
overitten by whatever is already writing to it)
2. set restart env var so crashes dont bring up init splash.



SVN revision: 79198
2012-11-13 05:47:36 +00:00
Mike Blumenkrantz 4ae43fb422 check for sys/ptrace.h and only use ptrace() in e_start_main.c if it's present
ticket #1757 (3/3)


SVN revision: 79139
2012-11-12 09:23:39 +00:00
Carsten Haitzler 7c7b388014 send enlightenment_start a sigusr1 and it will give up its ptracing
efforts on e17. :) u can then gdb attach as u like.



SVN revision: 79029
2012-11-09 15:42:57 +00:00
Carsten Haitzler f534e30089 put lucas's makefiles back.. but what do you do to make it not break
between builds from older vs newer makefile setup?



SVN revision: 79024
2012-11-09 14:49:05 +00:00
Cedric BAIL 3fe9bed80e E: should now compile on Mac OS X.
SVN revision: 78977
2012-11-07 21:21:04 +00:00
Cedric BAIL 03d50e9546 E: little hack to handle valid SIGILL.
SVN revision: 78976
2012-11-07 20:56:57 +00:00
Mike Blumenkrantz 943d9d7423 fix shadow warning
SVN revision: 78849
2012-11-02 09:50:49 +00:00
Mike Blumenkrantz dc6f35c7f1 unbork e_start; 500 bonus b0rker points to cedric for b0rking the unb0rkable
SVN revision: 78848
2012-11-02 09:50:03 +00:00
Cedric BAIL 380386817b e: full rewrite of our WBOD.
NOTE: the new behaviour require a parent process,
here enlightenment_start, to watch over enlightenment.
It does use ptrace to monitor his child and track
what is going on. When a crash happen it ask gdb to
add the backtrace directly into .xsession-errors.

If you use systemd user session, you may want to offload
that work to systemd. You can do so, but don't forget to
pass -nopause to enlightenment when you start it.

WARNING: For all user, you will need to exit your
current session and start a fresh one for this new WBOD
to work at all. Just restarting Enlightenment will not
help you.


SVN revision: 78742
2012-11-01 06:23:49 +00:00
Mike Blumenkrantz b8677593fc remove all LD_LIBRARY_PATH shenanigans from e17
ticket #1542


SVN revision: 77735
2012-10-10 09:27:24 +00:00
Mike Blumenkrantz 5923846e24 remove e17 preload/precache hacks
SVN revision: 77705
2012-10-10 07:39:08 +00:00
Mike Blumenkrantz 1cdf725b70 formatting
SVN revision: 77704
2012-10-10 07:31:26 +00:00
Sebastian Dransfeld 5969b88a6a e: cleanup env var setting
Return early if there is nothing to append/prepend.
Only add ':' if there are two elements to join.

SVN revision: 77295
2012-10-02 09:26:30 +00:00
Mike Blumenkrantz f8e5e23135 fix hilarious crash startups when using enlightenment_start
SVN revision: 76415
2012-09-10 15:30:48 +00:00
Carsten Haitzler 05ed922ca5 move env var (PATH, LD_LIBRARY_PATH) fiddling to enlightenment_start
and append if u know what u are doing.



SVN revision: 76385
2012-09-10 09:34:01 +00:00
Cedric BAIL 1a728fafd9 e: add an option to automatically attach gdb when using valgrind.
SVN revision: 73904
2012-07-16 03:19:37 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Carsten Haitzler 56c31ab510 add missing )
SVN revision: 69704
2012-03-28 12:55:08 +00:00
Carsten Haitzler 6233bd09f0 put env bug so waiting to happen - env vars wont be set. no crash
though.



SVN revision: 69696
2012-03-28 07:26:22 +00:00
Carsten Haitzler cef3afa355 support mtrack... my new little memory tracker so i can finally live
track down leaks and other badnesses.



SVN revision: 65335
2011-11-17 10:19:50 +00:00
Carsten Haitzler d781ff368c fix up enlightenment_start to use eina_prefix properly.
SVN revision: 62890
2011-08-27 16:25:51 +00:00
Christopher Michael 1a13f8c26f E: Make E work with the new XCB stuffs. This breaks out e_alert into
it's own utility (as per raster's request/idea). Remove explicit
x_clags in Makefile.am(s) as they are no longer needed.

NB: I added some additional libs to the precache stuffs (even tho it's
not used right now). Also a newer e_main (more optimized).

NB: IF you are brave and want to test this, build evas w/ xcb, build
ecore w/ xcb, then rebuild E. Also, disable building opengl in both
evas & ecore (it's not ready for public consumption when paired w/ xcb).



SVN revision: 61680
2011-07-25 09:40:18 +00:00
Cedric BAIL 9dc05e298b * e: handle more valgrind tool to monitore e17.
SVN revision: 47600
2010-03-30 15:13:45 +00:00
Carsten Haitzler 40cb95e25f and on osx - they use some other env var apparently.
SVN revision: 47281
2010-03-16 08:11:23 +00:00
Gustavo Sverzut Barbieri 7255cc7b32 quaker said valgrind 3.5 just accept a byte value (0-255)
SVN revision: 46537
2010-02-26 23:55:12 +00:00
Sebastian Dransfeld 68f785d92f Fix compiler warnings
SVN revision: 45181
2010-01-15 12:01:17 +00:00
Christopher Michael 41cbc02380 Fix compiler warnings & adjust some formatting.
SVN revision: 43315
2009-10-27 17:51:19 +00:00
Christopher Michael 230b89e8da Formatting & Whitespace Removal
SVN revision: 41443
2009-07-19 20:30:33 +00:00
Gustavo Sverzut Barbieri f3c1679442 make it easy to run e under valgrind and debug crashes.
this should help us in near future:

  * -valgrind[=MODE], to run under valgrind and toggle interesting
     options as we often request users to give us valgrind logs but
     they're often running valgrind on wrong binaries and with wrong
     parameters. See enlightenment_start -help for more, but in sort:
     -valgrind=all should give us enough information.

  * -valgrind-log-file=path, so the log will not mix with lots of
     output we do.

  * debug: on crashes, always list traceback (execinfo/glibc
    functions) and check if gdb exists, if so ask it to print out
    traceback of all threads to stdout. gdb will be detached as soon
    as messages were printed and everything should work without gdb as
    well.



SVN revision: 41309
2009-07-11 16:27:37 +00:00
Carsten Haitzler 7c13349808 make e_start run dbus-launch - if that fails, fall back.
SVN revision: 37433
2008-11-03 07:34:44 +00:00
Sebastian Dransfeld 0c0c24fa7e Don't use ecore_strlcpy in start as we don't link to ecore here.
SVN revision: 37242
2008-10-27 13:32:30 +00:00
Sebastian Dransfeld ac039a476e ecore_strlcpy
SVN revision: 37238
2008-10-27 12:56:23 +00:00
Sebastian Dransfeld 10396e6085 Use strlcpy
SVN revision: 37237
2008-10-27 12:34:35 +00:00
Carsten Haitzler a6825b262b move init splash to its own process to make it smoother and able to be up
before the main loop.


SVN revision: 31795
2007-09-24 01:16:47 +00:00
Carsten Haitzler 38d5caf598 flush stdou before forking - removes multiple printfs in buffer still being
flushed


SVN revision: 29746
2007-04-28 05:03:04 +00:00
Sebastian Dransfeld 4571aa7c51 Add missing header.
SVN revision: 27447
2006-12-14 19:27:46 +00:00
Carsten Haitzler 10768bb537 better -h for e_start
SVN revision: 26956
2006-11-05 05:57:47 +00:00
Carsten Haitzler 019c7424b3 start again
SVN revision: 26922
2006-11-03 13:35:39 +00:00
Carsten Haitzler c51f55184c fix bad looping condition in e_start
SVN revision: 26918
2006-11-03 11:52:27 +00:00
Carsten Haitzler e1b0cc9b0d provide -h for e_start
SVN revision: 26752
2006-10-23 13:57:47 +00:00
Carsten Haitzler 2cf51fe66d paranoid checks and disabling of precache if it might not be able to be done.
SVN revision: 26751
2006-10-23 13:49:06 +00:00
Carsten Haitzler a0d07f5c79 speed up e17's login - reduce disk IO wait.
on my p4 3.4ghz + reiser3fs IO Wait time went from 2.6 to 1.9 seconds
(total login time went from 3.01511 to 2.29971, with 100% cached login time
 being 0.41809)

on my core 2 duo laptop + ext3fs IO Wait time went from 2.05 to 1.15 seconds
(total login time went from 2.50988 to 1.60785, with 100% cached login time
 being 0.45850)

this should speed up e's login a bit... i hope.

note - it is adaptive. it needs you to log in at least once using the current
code as it traps and logs certain file accesses and needs that log to replay
next login.


SVN revision: 26742
2006-10-22 10:03:59 +00:00
Carsten Haitzler f6ab7d952e oops - back that out
SVN revision: 26740
2006-10-22 06:07:12 +00:00
Carsten Haitzler 7f6fdd1cb1 print out failed exec path if failed
SVN revision: 26739
2006-10-22 05:53:50 +00:00
Carsten Haitzler 3367599150 force people to do things right and use enlightenment_start
SVN revision: 26726
2006-10-21 05:57:27 +00:00
sebastid 8d2e09c7d7 Remove unused
SVN revision: 24271
2006-07-28 11:36:10 +00:00
Carsten Haitzler bbf2e22822 add a launcher. this is OPTIONAL - it is only needed if e is installed
somewhere where its bin dir is not in $PATH and lib dir is not in ld.so.conf
OR in $LD_LIBRARY_PATH. this will quickly determine prefix set up 2 env vars
and launch e itself.


SVN revision: 21028
2006-03-05 06:23:14 +00:00