[maemo-commits] [maemo-commits] r13350 - in projects/haf/trunk/sapwood: . src
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Wed Aug 22 17:59:40 EEST 2007
- Previous message: [maemo-commits] r13349 - in projects/haf/trunk/sapwood: . src
- Next message: [maemo-commits] r13351 - in projects/haf/trunk/sapwood: . src
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: tko Date: 2007-08-22 17:59:37 +0300 (Wed, 22 Aug 2007) New Revision: 13350 Modified: projects/haf/trunk/sapwood/ChangeLog projects/haf/trunk/sapwood/HACKING projects/haf/trunk/sapwood/NEWS projects/haf/trunk/sapwood/src/sapwood-proto.h projects/haf/trunk/sapwood/src/theme-pixbuf.h Log: increase the size of the border variables from 8 to 16 bits 2007-08-22 Tommi Komulainen <tommi.komulainen at nokia.com> * HACKING * src/sapwood-proto.h (PixbufOpenRequest) * src/theme-pixbuf.h (ThemePixbuf): increase the size of the border variables from 8 to 16 bits to allow larger borders. (NB#63819) NOTE: this breaks the binary protocol between client and the server Modified: projects/haf/trunk/sapwood/ChangeLog =================================================================== --- projects/haf/trunk/sapwood/ChangeLog 2007-08-22 14:59:35 UTC (rev 13349) +++ projects/haf/trunk/sapwood/ChangeLog 2007-08-22 14:59:37 UTC (rev 13350) @@ -1,5 +1,13 @@ 2007-08-22 Tommi Komulainen <tommi.komulainen at nokia.com> + * HACKING + * src/sapwood-proto.h (PixbufOpenRequest) + * src/theme-pixbuf.h (ThemePixbuf): increase the size of the border + variables from 8 to 16 bits to allow larger borders. (NB#63819) + NOTE: this breaks the binary protocol between client and the server + +2007-08-22 Tommi Komulainen <tommi.komulainen at nokia.com> + * src/sapwood-pixmap.c (SapwoodPixmap, sapwood_pixmap_get_for_file): remove redundant border_left and border_top members. Modified: projects/haf/trunk/sapwood/HACKING =================================================================== --- projects/haf/trunk/sapwood/HACKING 2007-08-22 14:59:35 UTC (rev 13349) +++ projects/haf/trunk/sapwood/HACKING 2007-08-22 14:59:37 UTC (rev 13350) @@ -138,7 +138,7 @@ background : ThemePixbuf { file = "image.png" dirname, basename : char* - border = { 2, 2, 0, 0 } border_{left,right,top,bottom} : guint8 + border = { 2, 2, 0, 0 } border_{left,right,top,bottom} : guint116 stretch = TRUE stretch : boolean /* pointer to 3x3 image grid */ @@ -259,10 +259,10 @@ guint8 _pad1; guint16 length; /* == sizeof(PixbufOpenRequest) + strlen(filename) + 1 */ - guint8 border_left; /* border values from gtkrc */ - guint8 border_right; - guint8 border_top; - guint8 border_bottom; + guint16 border_left; /* border values from gtkrc */ + guint16 border_right; + guint16 border_top; + guint16 border_bottom; guchar filename[0]; /* null terminated, absolute filename */ S -> C: Modified: projects/haf/trunk/sapwood/NEWS =================================================================== --- projects/haf/trunk/sapwood/NEWS 2007-08-22 14:59:35 UTC (rev 13349) +++ projects/haf/trunk/sapwood/NEWS 2007-08-22 14:59:37 UTC (rev 13350) @@ -1,3 +1,19 @@ +sapwood 2.91.7 - work in progress +================================= + +NOTE: This version breaks the binary protocol between applications and the +sapwood-server. Restarting the sapwood-server is required. + +Changes +------- +Increase the maximum border size to 65535 pixels (was 255) + + +Bugs fixed +---------- +NB#63819 - RSS feed reader applet appears distorted on re-sizing + + sapwood 2.91.6 - 2007-07-04 =========================== Modified: projects/haf/trunk/sapwood/src/sapwood-proto.h =================================================================== --- projects/haf/trunk/sapwood/src/sapwood-proto.h 2007-08-22 14:59:35 UTC (rev 13349) +++ projects/haf/trunk/sapwood/src/sapwood-proto.h 2007-08-22 14:59:37 UTC (rev 13350) @@ -39,10 +39,10 @@ typedef struct { PixbufBaseRequest base; - guint8 border_left; - guint8 border_right; - guint8 border_top; - guint8 border_bottom; + guint16 border_left; + guint16 border_right; + guint16 border_top; + guint16 border_bottom; guchar filename[0]; /* null terminated, absolute filename */ } PixbufOpenRequest; Modified: projects/haf/trunk/sapwood/src/theme-pixbuf.h =================================================================== --- projects/haf/trunk/sapwood/src/theme-pixbuf.h 2007-08-22 14:59:35 UTC (rev 13349) +++ projects/haf/trunk/sapwood/src/theme-pixbuf.h 2007-08-22 14:59:37 UTC (rev 13350) @@ -139,12 +139,12 @@ SapwoodPixmap *pixmap; + guint16 border_left; + guint16 border_right; + guint16 border_bottom; + guint16 border_top; guint refcnt : 7; guint stretch : 1; - guint8 border_left; - guint8 border_right; - guint8 border_bottom; - guint8 border_top; }; struct _ThemeMatchData
- Previous message: [maemo-commits] r13349 - in projects/haf/trunk/sapwood: . src
- Next message: [maemo-commits] r13351 - in projects/haf/trunk/sapwood: . src
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]