>> 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

  * 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 :)

  * 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

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

Reply via email to