On Sat, 17 Jan 2009 13:45:30 +0100 (CET) Vincent Torri <vto...@univ-evry.fr> said:
> > >> as i was on Windows today, i tried to port elementary on windows XP. The > >> patch is attached. > >> > >> Some remarks: > >> > >> 1) i had to remove EAPI from elm_main in test.c. I don't understand why it > >> should be visible... > > > > ok. this needs to be visible. the reason is that it (will be/is) used for > > fast launch. another process will dlopen() the actual executable - it will > > find this symbol and jump right there. this fast-launch process will have > > done all the init prior to elm_main() (elm_init and a bunch of stuff to > > make sure stuff is set up). this basically moves a chunk of init to be > > speculatively done prior to execution. actual execution in "fast launch > > mode" simply passes the exe + arguments to the fast-launch app - which just > > does the dlopen() and calls elm_main() with the app args. this should make > > executing a new process lightning fast. so i designed for it now, but it's > > not currently implemented. > > > >> 2) I use the directdraw engine. > >> > >> 3) there is a problem with shapes, as the shapes are not yet supported > >> with that engine. > > > > that's ok. then you just get a square window. :) > > > >> I don't apply it because of point 1). I'm waiting for raster's answer, now > > > > need it! now.. for wince... maybe we can't ever do this - so fast-launch > > can't ever happen. but on unix it's perfectly possible :) > > Let's see when you implement it. > > I have some remark: > > * you didn't use the _elm_data_dir value for the theme in elm_theme.c. So > i can't get the theme path on win ce fixed already :) > * for the win ce port, with a small modification (the previous remark), i > can load the theme, the window is resized, but then the program exits. I > don't know why yet (that behavior is usually a seg fault) and it's not > easy to debug on thaat platform :) hmm - resize callbacks ad an ecore_job to deal with it later... something there maybe? > * i have written a small test that i use for win ce, and it does not > behave correctly with X. If I resize the main window to size w x h, i > obtain other values for h. Are you aware of such behavior ? I can provide > the small test example, if you want hmm. odd. got the test? > Finally, one question: may I commit the patch for win xp, without the > modification in test.c ? > > Vincent > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel