On Thu, 23 Feb 2012 16:31:10 +0100 Leif Middelschulte <leif.middelschu...@gmail.com> said:
actually i'm worried about deprecating functions there in 1.0 or added after. leif - dont deprecate the old function. we have to keep supporting it - add new ones, but dont start deprecating functions that are now stable supported api's of efl. > 2012/2/23 Vincent Torri <vincent.to...@gmail.com>: > > @since > > NEWS > > ChangeLog > > > > how is it possible that people still forget about that ????? > First I thought: "Functionality was already there, only renamed.". But > you're right. Is there a set phrase to put? > > > > Vincent > > > > > > On Thu, Feb 23, 2012 at 4:10 PM, Enlightenment SVN > > <no-re...@enlightenment.org> wrote: > >> Log: > >> Deprecate ecore_x_randr_current_crtc_get, > >> > >> implement and use ecore_x_randr_window_crtcs_get instead > >> > >> Author: leif > >> Date: 2012-02-23 07:10:43 -0800 (Thu, 23 Feb 2012) > >> New Revision: 68344 > >> Trac: http://trac.enlightenment.org/e/changeset/68344 > >> > >> Modified: > >> trunk/ecore/src/lib/ecore_x/Ecore_X.h > >> trunk/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c > >> > >> Modified: trunk/ecore/src/lib/ecore_x/Ecore_X.h > >> =================================================================== > >> --- trunk/ecore/src/lib/ecore_x/Ecore_X.h 2012-02-23 15:10:38 UTC > >> (rev 68343) +++ trunk/ecore/src/lib/ecore_x/Ecore_X.h 2012-02-23 > >> 15:10:43 UTC (rev 68344) @@ -2771,6 +2771,9 @@ > >> ecore_x_randr_current_output_get(Ecore_X_Window window, > >> int *num); > >> EAPI Ecore_X_Randr_Crtc * > >> +ecore_x_randr_window_crtcs_get(Ecore_X_Window window, > >> + int *num); > >> +EINA_DEPRECATED EAPI Ecore_X_Randr_Crtc * > >> ecore_x_randr_current_crtc_get(Ecore_X_Window window, > >> int *num); > >> EAPI Ecore_X_Randr_Output * > >> > >> Modified: trunk/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c > >> =================================================================== > >> --- trunk/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c 2012-02-23 > >> 15:10:38 UTC (rev 68343) +++ > >> trunk/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c 2012-02-23 15:10:43 > >> UTC (rev 68344) @@ -534,16 +534,31 @@ } > >> > >> /* > >> + * @depricated bad naming. Use ecore_x_randr_window_outputs_get instead. > >> * @brief get the CRTCs, which display a certain window > >> * @param window window the displaying crtcs shall be found for > >> * @param num the number of crtcs displaying the window > >> * @return array of crtcs that display a certain window. NULL if no crtcs > >> * was found that displays the specified window. > >> */ > >> -EAPI Ecore_X_Randr_Crtc * > >> +EINA_DEPRECATED EAPI Ecore_X_Randr_Crtc * > >> ecore_x_randr_current_crtc_get(Ecore_X_Window window, > >> int *num) > >> { > >> + return ecore_x_randr_window_crtcs_get(window, num); > >> +} > >> + > >> +/* > >> + * @brief get the CRTCs, which display a certain window > >> + * @param window window the displaying crtcs shall be found for > >> + * @param num the number of crtcs displaying the window > >> + * @return array of crtcs that display a certain window. NULL if no crtcs > >> + * was found that displays the specified window. > >> + */ > >> +EAPI Ecore_X_Randr_Crtc * > >> +ecore_x_randr_window_crtcs_get(Ecore_X_Window window, > >> + int *num) > >> +{ > >> #ifdef ECORE_XRANDR > >> Ecore_X_Window root; > >> Eina_Rectangle w_geo, c_geo; > >> @@ -553,7 +568,7 @@ > >> Window tw; > >> int ncrtcs, i, nret = 0, rx = 0, ry = 0; > >> > >> - if (_randr_version < RANDR_1_2) goto > >> _ecore_x_randr_current_crtc_get_fail; > >> + if (_randr_version < RANDR_1_2) goto > >> _ecore_x_randr_window_crtcs_get_fail; > >> > >> ecore_x_window_geometry_get(window, > >> &w_geo.x, &w_geo.y, > >> @@ -561,7 +576,7 @@ > >> > >> root = ecore_x_window_root_get(window); > >> crtcs = ecore_x_randr_crtcs_get(root, &ncrtcs); > >> - if (!crtcs) goto _ecore_x_randr_current_crtc_get_fail; > >> + if (!crtcs) goto _ecore_x_randr_window_crtcs_get_fail; > >> > >> /* now get window RELATIVE to root window - thats what matters. */ > >> XTranslateCoordinates(_ecore_x_disp, window, root, 0, 0, &rx, &ry, &tw); > >> @@ -588,7 +603,7 @@ > >> if (num) *num = nret; > >> return ret; > >> > >> -_ecore_x_randr_current_crtc_get_fail: > >> +_ecore_x_randr_window_crtcs_get_fail: > >> #endif > >> if (num) *num = 0; > >> return NULL; > >> > >> > >> ------------------------------------------------------------------------------ > >> Virtualization & Cloud Management Using Capacity Planning > >> Cloud computing makes use of virtualization - but cloud computing > >> also focuses on allowing computing to be delivered as a service. > >> http://www.accelacomm.com/jaw/sfnl/114/51521223/ > >> _______________________________________________ > >> enlightenment-svn mailing list > >> enlightenment-...@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > > > ------------------------------------------------------------------------------ > > Virtualization & Cloud Management Using Capacity Planning > > Cloud computing makes use of virtualization - but cloud computing > > also focuses on allowing computing to be delivered as a service. > > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > > _______________________________________________ > > enlightenment-devel mailing list > > enlightenment-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > -- > Leif > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > 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 ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel