Ai, we gonna be chugging down elementary with a smile! And like it!

On Thu, 2008-12-18 at 03:39 -0500, Christopher Michael wrote:
> This Gonna Be an "Off"icial Kit ?? Something everyone likes?....
> 
> (Just askin...)
> 
> dh
> 
> Enlightenment SVN wrote:
> > Log:
> >   set up new init structure that will enable fast-start, when the code is 
> > done.
> >   
> >   
> > Author:       raster
> > Date:         2008-12-18 00:12:27 -0800 (Thu, 18 Dec 2008)
> > New Revision: 38206
> > 
> > Modified:
> >   trunk/TMP/st/elementary-alarm/src/bin/main.c 
> > trunk/TMP/st/elementary-sms/src/bin/main.c 
> > trunk/TMP/st/elementary/src/bin/test.c 
> > trunk/TMP/st/elementary/src/lib/Elementary.h 
> > 
> > Modified: trunk/TMP/st/elementary/src/bin/test.c
> > ===================================================================
> > --- trunk/TMP/st/elementary/src/bin/test.c  2008-12-18 03:04:15 UTC (rev 
> > 38205)
> > +++ trunk/TMP/st/elementary/src/bin/test.c  2008-12-18 08:12:27 UTC (rev 
> > 38206)
> > @@ -1465,17 +1465,30 @@
> >    evas_object_show(win);
> >  }
> >  
> > +/* this is your elementary main function - it MUSt be called IMMEDIATELY
> > + * after elm_init() and MUSt be passed argc and argv, and MUST be called
> > + * elm_main and not be static - must be a visible symbol with EAPI infront 
> > */
> > +EAPI int
> > +elm_main(int argc, char **argv)
> > +{
> > +   /* put ere any init specific to this app like parsing args etc. */
> > +   my_win_main(); /* create main window */
> > +   elm_run(); /* and run the program now  and handle all events etc. */
> > +   /* if the mainloop that elm_run() runs exist - we exit the app */
> > +   elm_shutdown(); /* clean up and shut down */
> > +   /* exit code */
> > +   return 0;
> > +}
> > +
> >  int
> >  main(int argc, char **argv)
> >  {
> >     /* init Elementary (all Elementary calls begin with elm_ and all data
> >      * types, enums and macros will be Elm_ and ELM_ etc.) */
> >     elm_init(argc, argv);
> > -
> > -   my_win_main();
> > -   
> > -   elm_run(); /* and run the program now  and handle all events etc. */
> > -   
> > -   elm_shutdown(); /* clean up and shut down */
> > -   return 0; 
> > +   /* this must be called right after elm_init(). this function is used for
> > +    * fast-starting elementary apps by caching a pre-init and x connect 
> > etc.
> > +    * in elm_init(). the ONLY call allowed to be done before elm_main() is
> > +    * elm_init() and nothing else. */
> > +   return elm_main(argc, argv);
> >  }
> > 
> > Modified: trunk/TMP/st/elementary/src/lib/Elementary.h
> > ===================================================================
> > --- trunk/TMP/st/elementary/src/lib/Elementary.h    2008-12-18 03:04:15 UTC 
> > (rev 38205)
> > +++ trunk/TMP/st/elementary/src/lib/Elementary.h    2008-12-18 08:12:27 UTC 
> > (rev 38206)
> > @@ -339,6 +339,7 @@
> >  // 
> >  //// (incomplete - medium priority)
> >  // * entry selection conflicts with finger scroll (make selection 
> > start/stop work on signals?)
> > +// 
> >  // * add test for photo widget
> >  // * add test for hoversel
> >  // * disabled not supported
> > @@ -346,6 +347,7 @@
> >  // * on the fly theme changes - test (should work)
> >  // * need a hold-scroll counter in elm_widget
> >  // * add fullscreen mode on/off for windows
> > +// * hoversel only vertical right now - make horizontal
> >  // 
> >  //// (more widgets/features - medium priority)
> >  // * biglist widget (restricted format label + icon intended for massive 
> > lists)
> > @@ -370,6 +372,7 @@
> >  // * dialpad widget - need one with a phone dialpad
> >  // 
> >  //// (improvements - low priority)
> > +// * need url and path entry modes for vkbd
> >  // * return list of toplevel window objects
> >  // * widgets should show who is focused (not useful for touchscreen)
> >  // * scroller could do with page up/down/left/right buttons and and idea 
> > of a page size
> > 
> > Modified: trunk/TMP/st/elementary-alarm/src/bin/main.c
> > ===================================================================
> > --- trunk/TMP/st/elementary-alarm/src/bin/main.c    2008-12-18 03:04:15 UTC 
> > (rev 38205)
> > +++ trunk/TMP/st/elementary-alarm/src/bin/main.c    2008-12-18 08:12:27 UTC 
> > (rev 38206)
> > @@ -335,14 +335,13 @@
> >     evas_object_show(win);
> >  }
> >  
> > -int
> > -main(int argc, char **argv)
> > +EAPI int
> > +elm_main(int argc, char **argv)
> >  {
> >     int i;
> >     int activate = 0;
> >     int repeat = 0;
> >     
> > -   elm_init(argc, argv);
> >     for (i = 1; i < argc; i++)
> >       {
> >     if (!strcmp(argv[i], "-activate")) activate = 1;
> > @@ -367,3 +366,10 @@
> >     elm_shutdown();
> >     return 0; 
> >  }
> > +
> > +int
> > +main(int argc, char **argv)
> > +{
> > +   elm_init(argc, argv);
> > +   return elm_main(argc, argv);
> > +}
> > 
> > Modified: trunk/TMP/st/elementary-sms/src/bin/main.c
> > ===================================================================
> > --- trunk/TMP/st/elementary-sms/src/bin/main.c      2008-12-18 03:04:15 UTC 
> > (rev 38205)
> > +++ trunk/TMP/st/elementary-sms/src/bin/main.c      2008-12-18 08:12:27 UTC 
> > (rev 38206)
> > @@ -1,25 +1,26 @@
> >  #include "common.h"
> >  
> > -int
> > -main(int argc, char **argv)
> > +EAPI int
> > +elm_main(int argc, char **argv)
> >  {
> >     int i;
> >     
> > -   elm_init(argc, argv);
> > -   
> >     for (i = 1; i < argc; i++)
> >       {
> >     // parse args
> >       }
> >     
> >     data_init();
> > -   
> >     create_main_win();
> > -   
> >     elm_run();
> > -   
> >     data_shutdown();
> >     elm_shutdown();
> > -   
> > -   return 0; 
> > +   return 0;
> >  }
> > +
> > +int
> > +main(int argc, char **argv)
> > +{
> > +   elm_init(argc, argv);
> > +   return elm_main(argc, argv);
> > +}
> > 
> > 
> > ------------------------------------------------------------------------------
> > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> > The future of the web can't happen without you.  Join us at MIX09 to help
> > pave the way to the Next Web now. Learn more and register at
> > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> > _______________________________________________
> > enlightenment-svn mailing list
> > enlightenment-...@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
> > 
> 
> 
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to