YaST Commits
Threads by month
- ----- 2024 -----
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
December 2007
- 21 participants
- 683 discussions
[yast-commit] r43229 - in /trunk/qt: VERSION.cmake package/yast2-qt.changes
by coolo@svn.opensuse.org 21 Dec '07
by coolo@svn.opensuse.org 21 Dec '07
21 Dec '07
Author: coolo
Date: Fri Dec 21 18:40:08 2007
New Revision: 43229
URL: http://svn.opensuse.org/viewcvs/yast?rev=43229&view=rev
Log:
preparing autobuild
Modified:
trunk/qt/VERSION.cmake
trunk/qt/package/yast2-qt.changes
Modified: trunk/qt/VERSION.cmake
URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/VERSION.cmake?rev=43229&r1=43…
==============================================================================
--- trunk/qt/VERSION.cmake (original)
+++ trunk/qt/VERSION.cmake Fri Dec 21 18:40:08 2007
@@ -1,3 +1,3 @@
SET(VERSION_MAJOR "2")
SET(VERSION_MINOR "16")
-SET(VERSION_PATCH "11")
+SET(VERSION_PATCH "12")
Modified: trunk/qt/package/yast2-qt.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/package/yast2-qt.changes?rev=…
==============================================================================
--- trunk/qt/package/yast2-qt.changes (original)
+++ trunk/qt/package/yast2-qt.changes Fri Dec 21 18:40:08 2007
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Fri Dec 21 18:38:53 CET 2007 - coolo(a)suse.de
+
+- support `CurrentItem in timezone widget
+- fix combobox semantic
+- V 2.16.12
+
+-------------------------------------------------------------------
Wed Dec 19 19:21:42 CET 2007 - coolo(a)suse.de
- give the help popup a search function
--
To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0
Author: coolo
Date: Fri Dec 21 18:30:59 2007
New Revision: 43228
URL: http://svn.opensuse.org/viewcvs/yast?rev=43228&view=rev
Log:
Created tag stable-2_16_17 for core
Added:
tags/stable-2_16_17/core/ (props changed)
- copied from r43227, trunk/core/
--
To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0
[yast-commit] r43227 - in /trunk/core: VERSION package/yast2-core.changes
by coolo@svn.opensuse.org 21 Dec '07
by coolo@svn.opensuse.org 21 Dec '07
21 Dec '07
Author: coolo
Date: Fri Dec 21 18:30:15 2007
New Revision: 43227
URL: http://svn.opensuse.org/viewcvs/yast?rev=43227&view=rev
Log:
preparing autobuild
Modified:
trunk/core/VERSION
trunk/core/package/yast2-core.changes
Modified: trunk/core/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/trunk/core/VERSION?rev=43227&r1=43226&…
==============================================================================
--- trunk/core/VERSION (original)
+++ trunk/core/VERSION Fri Dec 21 18:30:15 2007
@@ -1 +1 @@
-2.16.16
+2.16.17
Modified: trunk/core/package/yast2-core.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/core/package/yast2-core.changes?…
==============================================================================
--- trunk/core/package/yast2-core.changes (original)
+++ trunk/core/package/yast2-core.changes Fri Dec 21 18:30:15 2007
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Fri Dec 21 18:29:30 CET 2007 - coolo(a)suse.de
+
+- support `CurrentItem to the timezone selector
+- V 2.16.17
+
+-------------------------------------------------------------------
Tue Dec 18 17:14:00 CET 2007 - coolo(a)suse.de
- adding another optional widget: timezone selector
--
To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0
[yast-commit] r43226 - in /trunk/network/src: lan/help.ycp services/routing.ycp
by kmachalkova@svn.opensuse.org 21 Dec '07
by kmachalkova@svn.opensuse.org 21 Dec '07
21 Dec '07
Author: kmachalkova
Date: Fri Dec 21 17:27:32 2007
New Revision: 43226
URL: http://svn.opensuse.org/viewcvs/yast?rev=43226&view=rev
Log:
Allow setting a route without interface (use '-'
which stands for 'any') (#93996)
Happy X-mas and merry New Year, do not even try to
code during these vacation! :-)
Modified:
trunk/network/src/lan/help.ycp
trunk/network/src/services/routing.ycp
Modified: trunk/network/src/lan/help.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/network/src/lan/help.ycp?rev=432…
==============================================================================
--- trunk/network/src/lan/help.ycp (original)
+++ trunk/network/src/lan/help.ycp Fri Dec 21 17:27:32 2007
@@ -71,6 +71,11 @@
used instead of the default route. The idea of the default route is simply
to enable you to say \"and everything else should go here.\"</p>
") +
+
+_("For each route, enter destination network IP address, gateway address,
+and netmask. To omit any of these values, use dash sign \"-\". Select also
+the device through which the traffic to defined network will be routed (
+\"-\" stands for any interface).") +
/* Routing dialog help 2/2 */
_("<p>Enable <b>IP Forwarding</b> if the system is a router.</p>"),
Modified: trunk/network/src/services/routing.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/network/src/services/routing.ycp…
==============================================================================
--- trunk/network/src/services/routing.ycp (original)
+++ trunk/network/src/services/routing.ycp Fri Dec 21 17:27:32 2007
@@ -48,7 +48,7 @@
/* TextEntry label */
`TextEntry(`id(`netmask), _("&Netmask"), entry[3]:""),
/* ComboBox label */
- `ComboBox(`id(`device), `opt(`editable, `hstretch), _("De&vice (optional)"), devs),
+ `ComboBox(`id(`device), `opt(`editable, `hstretch), _("De&vice"), devs),
`TextEntry (`id(`options), Label::Options (), entry[5]:"")
),
`HSpacing(1),
@@ -58,8 +58,14 @@
)
));
+ //Allow declaring route without iface (for gateway) #93996
+ //if empty, use '-' which stands for any
if(entry[4]:"" != "")
- UI::ChangeWidget(`id(`device), `Value, entry[4]:"");
+ UI::ChangeWidget(`id(`device), `Value, entry[4]:"");
+ else {
+ devs= add(devs,"-");
+ UI::ChangeWidget(`id(`device), `Items, devs);
+ }
UI::ChangeWidget(`id(`destination), `ValidChars, IP::ValidChars + "default" + "/-");
UI::ChangeWidget(`id(`gateway), `ValidChars, IP::ValidChars + "-");
UI::ChangeWidget(`id(`netmask), `ValidChars, Netmask::ValidChars + "-");
--
To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0
21 Dec '07
Author: jsuchome
Date: Fri Dec 21 16:04:31 2007
New Revision: 43225
URL: http://svn.opensuse.org/viewcvs/yast?rev=43225&view=rev
Log:
Created tag stable-2_16_5 for country
Added:
tags/stable-2_16_5/country/
- copied from r43224, trunk/country/
--
To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0
[yast-commit] r43224 - in /trunk/country: VERSION package/yast2-country.changes timezone/data/timezone_raw.ycp timezone/src/Timezone.ycp timezone/src/dialogs.ycp timezone/testsuite/tests/UpdateTimezone.out
by jsuchome@svn.opensuse.org 21 Dec '07
by jsuchome@svn.opensuse.org 21 Dec '07
21 Dec '07
Author: jsuchome
Date: Fri Dec 21 16:04:24 2007
New Revision: 43224
URL: http://svn.opensuse.org/viewcvs/yast?rev=43224&view=rev
Log:
- added support for TimezoneSelector widget
- updated list of timezones (added new ones, many old ones converted
to the format used by zone.tab)
- 2.16.5
Modified:
trunk/country/VERSION
trunk/country/package/yast2-country.changes
trunk/country/timezone/data/timezone_raw.ycp
trunk/country/timezone/src/Timezone.ycp
trunk/country/timezone/src/dialogs.ycp
trunk/country/timezone/testsuite/tests/UpdateTimezone.out
Modified: trunk/country/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/VERSION?rev=43224&r1=432…
==============================================================================
--- trunk/country/VERSION (original)
+++ trunk/country/VERSION Fri Dec 21 16:04:24 2007
@@ -1 +1 @@
-2.16.4
+2.16.5
Modified: trunk/country/package/yast2-country.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/package/yast2-country.ch…
==============================================================================
--- trunk/country/package/yast2-country.changes (original)
+++ trunk/country/package/yast2-country.changes Fri Dec 21 16:04:24 2007
@@ -1,4 +1,12 @@
-------------------------------------------------------------------
+Fri Dec 21 15:51:25 CET 2007 - jsuchome(a)suse.cz
+
+- added support for TimezoneSelector widget
+- updated list of timezones (added new ones, many old ones converted
+ to the format used by zone.tab)
+- 2.16.5
+
+-------------------------------------------------------------------
Fri Dec 7 15:53:26 CET 2007 - jsuchome(a)suse.cz
- Storage is required only during installation -> usage moved to
Modified: trunk/country/timezone/data/timezone_raw.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/timezone/data/timezone_r…
==============================================================================
--- trunk/country/timezone/data/timezone_raw.ycp (original)
+++ trunk/country/timezone/data/timezone_raw.ycp Fri Dec 21 16:04:24 2007
@@ -12,7 +12,6 @@
* *****************************************************************
*
*/
-
{
textdomain "timezone_db";
@@ -22,9 +21,11 @@
$[ "name" : _("Europe"),
"entries" : $[
"Europe/Amsterdam" : _("Netherlands"),
+ // time zone
+ "Europe/Andorra" : _("Andorra"),
"Europe/Athens" : _("Greece"),
- "Europe/Belfast" : _("Northern Ireland"),
- "Europe/Belgrade" : _("Yugoslavia"),
+ // time zone
+ "Europe/Belgrade" : _("Serbia"),
"Europe/Berlin" : _("Germany"),
"Europe/Bratislava" : _("Slovakia"),
"Europe/Brussels" : _("Belgium"),
@@ -52,6 +53,8 @@
"Europe/Moscow" : _("Russia (Moscow)"),
"Europe/Oslo" : _("Norway"),
"Europe/Paris" : _("France"),
+ // time zone
+ "Europe/Podgorica" : _("Montenegro"),
"Europe/Prague" : _("Czech Republic"),
"Europe/Riga" : _("Latvia"),
"Europe/Rome" : _("Italy"),
@@ -71,75 +74,150 @@
"Europe/Vilnius" : _("Lithuania"),
"Europe/Warsaw" : _("Poland"),
"Europe/Zagreb" : _("Croatia"),
- "Iceland" : _("Iceland"),
+ // time zone
+ "Atlantic/Reykjavik" : _("Iceland"),
"Atlantic/Azores" : _("Azores"),
// time zone
"Atlantic/Canary" : _("Canary Islands"),
- "Europe/Zurich" : _("Switzerland") ] ],
+ "Europe/Zurich" : _("Switzerland"),
+ // time zone
+ "America/Godthab" : _("Greenland--Nuuk"),
+ ]
+],
$[ "name" : _("USA"),
"entries" : $[
- "US/Alaska" : _("Alaska"),
- "US/Aleutian" : _("Aleutian"),
- "US/Arizona" : _("Arizona"),
- "US/Central" : _("Central"),
- "US/East-Indiana" : _("East Indiana"),
- "US/Hawaii" : _("Hawaii"),
- "US/Indiana-Starke" : _("Indiana Starke"),
- "US/Michigan" : _("Michigan"),
- "US/Mountain" : _("Mountain"),
- "US/Pacific" : _("Pacific"),
- "US/Samoa" : _("Samoa"),
- "US/Eastern" : _("Eastern") ] ],
+ // time zone
+ "America/Anchorage" : _("Alaska"),
+ // time zone
+ "America/Adak" : _("Aleutian"),
+ // time zone
+ "America/Phoenix" : _("Arizona"),
+ // time zone
+ "America/Chicago" : _("Central"),
+ // time zone
+ "America/Indiana/Indianapolis" : _("East Indiana"),
+ // time zone
+ "Pacific/Honolulu" : _("Hawaii"),
+ // time zone
+ "America/Indiana/Knox" : _("Indiana Starke"),
+ // time zone
+ "America/Detroit" : _("Michigan"),
+ // time zone
+ "America/Denver" : _("Mountain"),
+ // time zone
+ "America/Los_Angeles" : _("Pacific"),
+ // time zone
+ "Pacific/Pago_Pago" : _("Samoa"),
+ // time zone
+ "America/New_York" : _("Eastern"),
+ // time zone
+ "America/St_Thomas" : _("Virgin Islands"),
+ // time zone
+ "America/Puerto_Rico" : _("Puerto Rico"),
+ ]
+],
-$[ "name" : _("Canada"),
- "entries" : $[
- "Canada/Atlantic" : _("Atlantic"),
- "Canada/Central" : _("Central"),
- "Canada/Eastern" : _("Eastern"),
- "Canada/Mountain" : _("Mountain"),
- "Canada/Newfoundland" : _("Newfoundland"),
- "Canada/Pacific" : _("Pacific"),
- "Canada/Saskatchewan" : _("Saskatchewan"),
- "Canada/East-Saskatchewan" : _("East Saskatchewan"),
- "Canada/Yukon" : _("Yukon") ] ],
+$[
+ // time zone region
+ "name" : _("Canada"),
+ "entries" : $[
+ // time zone
+ "America/Halifax" : _("Atlantic"),
+ // time zone
+ "America/Winnipeg" : _("Central"),
+ // time zone
+ "America/Toronto" : _("Eastern"),
+ // time zone
+ "America/Edmonton" : _("Mountain"),
+ // time zone
+ "America/St_Johns" : _("Newfoundland"),
+ // time zone
+ "America/Vancouver" : _("Pacific"),
+ // time zone
+ "America/Regina" : _("Saskatchewan"),
+ // time zone
+ "America/Whitehorse" : _("Yukon")
+ ]
+],
-$[ "name" : _("Central and South America"),
- "entries" : $[
+
+$[
+ // time zone region
+ "name" : _("Central and South America"),
+ "entries" : $[
+ // time zone
+ "America/Havana" : _("Havana"),
+ // time zone
+ "Pacific/Galapagos" : _("Galapagos"),
+ // time zone
+ "America/Guayaquil" : _("Guayaquil"),
+ // time zone
+ "America/Rio_Branco" : _("Brazil Acre"),
+ // time zone
+ "America/Sao_Paulo" : _("Brazil East"),
+ // time zone
+ "America/Manaus" : _("Brazil West"),
+ // time zone
+ "America/Noronha" : _("Brazil de Noronha"),
+ // time zone
+ "America/Santiago" : _("Chile Continental"),
+ // time zone
+ "Pacific/Easter" : _("Chile Easter Island"),
+ // time zone
+ "America/Jamaica" : _("Jamaica"),
+ // time zone
+ "Atlantic/Bermuda" : _("Bermuda"),
+ // time zone
+ "America/Tijuana" : _("Mexico Baja Norte"),
+ // time zone
+ "America/Mazatlan" : _("Mexico Baja Sur"),
+ // time zone
+ "America/Mexico_City" : _("Mexico General--Mexico City"),
// time zone
- "Brazil/Acre" : _("Brazil Acre"),
- "Brazil/East" : _("Brazil East"),
- "Brazil/West" : _("Brazil West"),
- "Chile/Continental" : _("Chile Continental"),
- "Chile/EasterIsland" : _("Chile EasterIsland"),
- "Jamaica" : _("Jamaica"),
- "Atlantic/Bermuda" : _("Bermuda"),
- "Mexico/BajaNorte" : _("Mexico BajaNorte"),
- "Mexico/BajaSur" : _("Mexico BajaSur"),
"America/Asuncion" : _("Asuncion"),
+ // time zone
"America/Barbados" : _("Barbados"),
+ // time zone
"America/Bogota" : _("Bogota"),
- "America/Buenos_Aires" : _("Buenos Aires"),
+ // time zone
+ "America/Argentina/Buenos_Aires" : _("Buenos Aires"),
// time zone
"America/Cayenne" : _("Cayenne"),
+ // time zone
"America/Caracas" : _("Caracas"),
+ // time zone
"America/Costa_Rica" : _("Costa Rica"),
+ // time zone
"America/Dominica" : _("Dominica"),
+ // time zone
"America/El_Salvador" : _("El Salvador"),
+ // time zone
"America/Grenada" : _("Grenada"),
+ // time zone
"America/Guadeloupe" : _("Guadeloupe"),
+ // time zone
"America/Guatemala" : _("Guatemala"),
// time zone
"America/Guyana" : _("Guyana"),
+ // time zone
"America/Lima" : _("Lima"),
+ // time zone
"America/Managua" : _("Managua"),
+ // time zone
"America/Martinique" : _("Martinique"),
+ // time zone
"America/Panama" : _("Panama"),
+ // time zone
"America/Puerto_Rico" : _("Puerto Rico"),
+ // time zone
"America/Montevideo" : _("Uruguay"),
// time zone
- "America/Virgin" : _("Virgin Islands"),
- "Mexico/General" : _("Mexico General") ] ],
+ "America/St_Thomas" : _("Virgin Islands"),
+ // time zone
+ "Atlantic/Stanley" : _("Stanley"),
+ ]
+],
$[
// name of region
@@ -176,18 +254,14 @@
]
],
-$[ "name" : _("Asia"),
- "entries" : $[
- // time zone
- "Japan" : _("Japan"),
- // time zone
- "PRC" : _("China"),
+$[
+ // name of region
+ "name" : _("Asia"),
+ "entries" : $[
// time zone
- "ROK" : _("Korea"),
+ "Asia/Almaty" : _("Almaty"),
// time zone
- "Hongkong" : _("Hongkong"),
- // time zone
- "Asia/Kabul" : _("Afghanistan"),
+ "Asia/Ashgabat" : _("Ashgabat"),
// time zone
"Asia/Anadyr" : _("Anadyr"),
// time zone
@@ -195,6 +269,8 @@
// time zone
"Asia/Bahrain" : _("Bahrain"),
// time zone
+ "Asia/Baku" : _("Baku"),
+ // time zone
"Asia/Bangkok" : _("Bangkok"),
// time zone
"Asia/Beirut" : _("Beirut"),
@@ -215,10 +291,18 @@
// time zone
"Asia/Gaza" : _("Gaza"),
// time zone
+ "Asia/Hong_Kong" : _("Hongkong"),
+ // time zone
"Asia/Irkutsk" : _("Irkutsk"),
// time zone
"Asia/Jakarta" : _("Jakarta"),
// time zone
+ "Asia/Jerusalem" : _("Israel"),
+ // time zone
+ "Asia/Kabul" : _("Afghanistan"),
+ // time zone
+ "Asia/Karachi" : _("Karachi"),
+ // time zone
"Asia/Kamchatka" : _("Kamchatka"),
// time zone
"Asia/Katmandu" : _("Katmandu"),
@@ -229,18 +313,22 @@
// time zone
"Asia/Kuwait" : _("Kuwait"),
// time zone
- "Asia/Macao" : _("Macao"),
+ "Asia/Macau" : _("Macao"),
// time zone
"Asia/Magadan" : _("Magadan"),
// time zone
"Asia/Manila" : _("Manila"),
// time zone
+ "Asia/Nicosia" : _("Nicosia"),
+ // time zone
"Asia/Novosibirsk" : _("Novosibirsk"),
// time zone
"Asia/Omsk" : _("Omsk"),
// time zone
"Asia/Phnom_Penh" : _("Phnom Penh"),
// time zone
+ "Asia/Pyongyang" : _("Pyongyang"),
+ // time zone
"Asia/Qatar" : _("Qatar"),
// time zone
"Asia/Rangoon" : _("Myanmar"),
@@ -255,8 +343,6 @@
// time zone
"Asia/Tehran" : _("Tehran"),
// time zone
- "Asia/Tel_Aviv" : _("Tel Aviv"),
- // time zone
"Asia/Thimphu" : _("Thimphu"),
// time zone
"Asia/Vladivostok" : _("Vladivostok"),
@@ -267,11 +353,13 @@
// time zone
"Asia/Shanghai" : _("Shanghai"),
// time zone
+ "Asia/Beijing" : _("Beijing"),
+ // time zone
"Asia/Taipei" : _("Taipei"),
// time zone
"Asia/Seoul" : _("Seoul"),
// time zone
- "Israel" : _("Israel"),
+ "Asia/Riyadh" : _("Riyadh"),
// time zone
"Mideast/Riyadh87" : _("Mideast Riyadh87"),
// time zone
@@ -281,25 +369,53 @@
// time zone
"Asia/Singapore" : _("Singapore"),
// time zone
+ "Asia/Tbilisi" : _("Tbilisi"),
+ // time zone
+ "Asia/Tokyo" : _("Japan"),
+ // time zone
+ "Asia/Ulaanbaatar" : _("Ulan Bator"),
+ // time zone
+ "Asia/Vientiane" : _("Vientiane"),
+ // time zone
"Asia/Yakutsk" : _("Yakutsk"),
+ // time zone
+ "Asia/Yerevan" : _("Yerevan"),
]
],
$[ "name" : _("Australia"),
"entries" : $[
- "Australia/North" : _("Northern Territory--Darwin"),
- "Australia/Queensland" : _("Queensland--Brisbane"),
- "Australia/South" : _("South Australia--Adelaide"),
- "Australia/NSW" : _("New South Wales--Sydney"),
- "Australia/ACT" : _("Australian Capital Territory--Canberra"),
- "Australia/Tasmania" : _("Tasmania--Hobart"),
- "Australia/Victoria" : _("Victoria--Melbourne"),
- "Australia/West" : _("Western Australia--Perth"),
+ // time zone
+ "Australia/Lord_Howe" : _("Lord Howe Island"),
+ // time zone
+ "Australia/Darwin" : _("Northern Territory--Darwin"),
+ // time zone
+ "Australia/Brisbane" : _("Queensland--Brisbane"),
+ // time zone
+ "Australia/Adelaide" : _("South Australia--Adelaide"),
+ // time zone
+ "Australia/Sydney" : _("New South Wales--Sydney"),
+ // time zone
+ "Australia/Broken_Hill" : _("New South Wales--Broken Hill"),
+ // time zone
+// "Australia/Canberra" : _("Australian Capital Territory--Canberra"),
+ // time zone
+ "Australia/Hobart" : _("Tasmania--Hobart"),
+ // time zone
+ "Australia/Currie" : _("Tasmania--Currie"),
+ // time zone
+ "Australia/Melbourne" : _("Victoria--Melbourne"),
+ // time zone
+ "Australia/Perth" : _("Western Australia--Perth"),
]
],
$[ "name" : _("Africa"),
"entries" : $[
+ // time zone
+ "Indian/Antananarivo" : _("Antananarivo"),
+ // time zone
+ "Africa/Addis_Ababa" : _("Addis Ababa"),
"Africa/Algiers" : _("Algiers"),
"Africa/Brazzaville" : _("Brazzaville"),
"Africa/Casablanca" : _("Casablanca"),
@@ -309,21 +425,35 @@
"Africa/Djibouti" : _("Djibouti"),
"Africa/Freetown" : _("Freetown"),
"Africa/Johannesburg" : _("Johannesburg"),
+ // time zone
+ "Africa/Kampala" : _("Kampala"),
+ // time zone
+ "Africa/Khartoum" : _("Khartoum"),
+ // time zone
+ "Africa/Kinshasa" : _("Kinshasa"),
+ // time zone
+ "Africa/Kigali" : _("Kigali"),
+ // time zone
+ "Africa/Lusaka" : _("Lusaka"),
"Africa/Libreville" : _("Libreville"),
+ // time zone
+ "Africa/Maputo" : _("Maputo"),
+ // time zone
+ "Africa/Mogadishu" : _("Mogadishu"),
"Africa/Monrovia" : _("Monrovia"),
"Africa/Nairobi" : _("Nairobi"),
- "Africa/Timbuktu" : _("Timbuktu"),
+ // time zone
+ "Africa/Bamako" : _("Bamako"),
"Africa/Tunis" : _("Tunis"),
"Africa/Windhoek" : _("Windhoek"),
"Africa/Cairo" : _("Cairo"),
- "Egypt" : _("Egypt"),
- "Africa/Tripoli" : _("Tripoli") ] ],
+ "Africa/Tripoli" : _("Tripoli") ]
+],
$[ "name" : _("Pacific"),
"entries" : $[
"Pacific/Auckland" : _("New Zealand"),
"Pacific/Fiji" : _("Fiji"),
- "Pacific/Galapagos" : _("Galapagos"),
"Pacific/Guadalcanal" : _("Guadalcanal"),
"Pacific/Guam" : _("Guam"),
"Pacific/Midway" : _("Midway"),
@@ -331,12 +461,22 @@
"Pacific/Palau" : _("Palau"),
"Pacific/Pitcairn" : _("Pitcairn"),
"Pacific/Tahiti" : _("Tahiti"),
- "Pacific/Samoa" : _("Samoa") ] ],
+ "Pacific/Pago_Pago" : _("Samoa"),
+ // time zone
+ "Pacific/Port_Moresby" : _("Port_Moresby"),
+ // time zone
+ "Pacific/Dili" : _("Dili"),
+ ]
+],
$[ "name" : _("Global"),
"entries" : $[
+ // time zone
"Antarctica/South_Pole" : _("South Pole"),
- "Arctic/Longyearbyen" : _("Arctic Longyearbyen"),
+ // time zone
+ "Arctic/Longyearbyen" : _("Arctic Longyearbyen"),
+ // time zone
+ "America/Godthab" : _("Greenland--Nuuk"),
"CET" : _("CET"),
"CST6CDT" : _("CST6CDT"),
"EET" : _("EET"),
Modified: trunk/country/timezone/src/Timezone.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/timezone/src/Timezone.yc…
==============================================================================
--- trunk/country/timezone/src/Timezone.ycp (original)
+++ trunk/country/timezone/src/Timezone.ycp Fri Dec 21 16:04:24 2007
@@ -56,9 +56,73 @@
*/
global boolean windows_partition = false;
-// internal map used to store initial data
-map push = $[];
+// translation of correct timezone to the one that could be shown in map widget
+global map <string,string> yast2zonetab = $[
+ "Mideast/Riyadh87" : "Asia/Riyadh",
+ "Mideast/Riyadh88" : "Asia/Riyadh",
+ "Mideast/Riyadh89" : "Asia/Riyadh",
+];
+
+// on init, translate these to correct ones
+global map<string,string> obsoleted_zones = $[
+ "Iceland" : "Atlantic/Reykjavik",
+ "Europe/Belfast" : "Europe/London",
+
+ "Australia/South" : "Australia/Adelaide",
+ "Australia/North" : "Australia/Darwin",
+ "Australia/NSW" : "Australia/Sydney",
+ "Australia/ACT" : "Australia/Canberra",
+ "Australia/Queensland" : "Australia/Brisbane",
+ "Australia/Tasmania" : "Australia/Hobart",
+ "Australia/Victoria" : "Australia/Melbourne",
+ "Australia/West" : "Australia/Perth",
+
+ "US/Alaska" : "America/Anchorage",
+ "US/Aleutian" : "America/Adak",
+ "US/Arizona" : "America/Phoenix",
+ "US/Central" : "America/Chicago",
+ "US/East-Indiana" : "America/Indiana/Indianapolis",
+ "US/Hawaii" : "Pacific/Honolulu",
+ "US/Indiana-Starke" : "America/Indiana/Knox",
+ "US/Michigan" : "America/Detroit",
+ "US/Mountain" : "America/Denver",
+ "US/Pacific" : "America/Los_Angeles",
+ "US/Samoa" : "Pacific/Pago_Pago",
+ "US/Eastern" : "America/New_York",
+
+ "Canada/Atlantic" : "America/Halifax",
+ "Canada/Central" : "America/Winnipeg",
+ "Canada/Eastern" : "America/Toronto",
+ "Canada/Saskatchewan" : "America/Regina",
+ "Canada/East-Saskatchewan" : "America/Regina",
+ "Canada/Mountain" : "America/Edmonton",
+ "Canada/Newfoundland" : "America/St_Johns",
+ "Canada/Pacific" : "America/Vancouver",
+ "Canada/Yukon" : "America/Whitehorse",
+
+ "America/Buenos_Aires" : "America/Argentina/Buenos_Aires",
+ "America/Virgin" : "America/St_Thomas",
+ "Brazil/Acre" : "America/Rio_Branco",
+ "Brazil/East" : "America/Sao_Paulo",
+ "Brazil/West" : "America/Manaus",
+ "Chile/Continental" : "America/Santiago",
+ "Chile/EasterIsland" : "Pacific/Easter",
+ "Mexico/BajaNorte" : "America/Tijuana",
+ "Mexico/BajaSur" : "America/Mazatlan",
+ "Mexico/General" : "America/Mexico_City",
+ "Jamaica" : "America/Jamaica",
+
+ "Asia/Macao" : "Asia/Macau",
+ "Israel" : "Asia/Jerusalem",
+ "Asia/Tel_Aviv" : "Asia/Jerusalem",
+ "Hongkong" : "Asia/Hong_Kong",
+ "Japan" : "Asia/Tokyo",
+ "ROK" : "Asia/Seoul",
+
+ "Africa/Timbuktu" : "Africa/Bamako",
+ "Egypt" : "Africa/Cairo",
+];
// ------------------------------------------------------------------
// END: Globally defined data to be accessed via Timezone::<variable>
// ------------------------------------------------------------------
@@ -69,6 +133,10 @@
// START: Locally defined data
// ------------------------------------------------------------------
+// internal map used to store initial data
+map push = $[];
+
+
string name = "";
list < map < string, any> > zonemap = [];
@@ -163,8 +231,9 @@
//
if (!Mode::config () && really )
{
+ boolean inst = Stage::initial () || Stage::cont() || Stage::firstboot();
boolean textmode = Language::GetTextMode ();
- if ((Stage::initial () || Stage::cont ()) && !textmode)
+ if (inst && !textmode)
SCR::Execute ( .target.bash, "/usr/bin/xset -dpms");
string cmd = "/usr/sbin/zic -l " + timezone;
y2milestone( "Set cmd %1", cmd );
@@ -175,7 +244,7 @@
y2milestone( "Set cmd %1", cmd );
y2milestone( "Set ret %1", SCR::Execute(.target.bash_output, cmd ));
}
- if ((Stage::initial () || Stage::cont ()) && !textmode)
+ if (inst && !textmode)
SCR::Execute ( .target.bash, "/usr/bin/xset +dpms");
}
@@ -200,21 +269,9 @@
string updated_tmz = tmz;
- map tmz_duplicates = $[
- "Australia/Adelaide" : "Australia/South",
- "Australia/Darwin" : "Australia/North",
- "Australia/Sydney" : "Australia/NSW",
- "Australia/Canberra" : "Australia/ACT",
- "Australia/Brisbane" : "Australia/Queensland",
- "Australia/Hobart" : "Australia/Tasmania",
- "Australia/Perth" : "Australia/West",
- // etc.
- "America/Los_Angeles" : "US/Pacific",
- ];
-
- if (haskey (tmz_duplicates, tmz))
+ if (haskey (obsoleted_zones, tmz))
{
- updated_tmz = tmz_duplicates[tmz]:tmz;
+ updated_tmz = obsoleted_zones[tmz]:tmz;
y2milestone ("updating timezone from %1 to %2", tmz, updated_tmz);
// TODO if still not present, search file in /usr/share/zoneinfo
}
Modified: trunk/country/timezone/src/dialogs.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/timezone/src/dialogs.ycp…
==============================================================================
--- trunk/country/timezone/src/dialogs.ycp (original)
+++ trunk/country/timezone/src/dialogs.ycp Fri Dec 21 16:04:24 2007
@@ -9,7 +9,7 @@
* Jiri Suchomel <jsuchome(a)suse.cz>
*
* Summary:
- * Dialogs for timezone and time configuration.
+ * Dialogs for timeone and time configuration.
*
* $Id$
*/
@@ -17,6 +17,7 @@
textdomain "country";
import "Arch";
+ import "Directory";
import "Label";
import "Language";
import "Mode";
@@ -391,40 +392,80 @@
boolean textmode = Language::GetTextMode ();
- boolean ntp = false;
- term ntp_term = `Frame (_("NTP Synchronization"), `VBox (`HBox (
- `HSpacing (0.5),
- `Label (`id(`ntp), _("NTP is not configured")),
- // button label
- `Right (`PushButton (`id (`ntp_configure), _("Change..."))),
- `HSpacing (1)
- ), `VSpacing (0.2)));
- term contents = `MarginBox (
- `leftMargin (2), `rightMargin (2), `topMargin (0), `bottomMargin (0.2),
- `VBox (
+ term timezoneterm = `HBox (
+ region,
+ `HSpacing (),
+ timezonesel
+ );
+ boolean timezone_selector = false;
+
+ list<map> zonemap = Timezone::get_zonemap ();
+
+ // map of zones conversions
+ map<string,string> yast2zonetab = Timezone::yast2zonetab;
+
+ // map of timezone -> translated label to be passed to TimezoneSelector
+ map zones = $[];
+
+ // cache the zonemap with the order sorted according to current locale
+ list sorted_zonemap = maplist (map region, zonemap, {
+ list trl = maplist (
+ string key, string name, (map<string,string>)region["entries"]:$[],
+ {
+ zones[yast2zonetab[key]:key] = name;
+ return [ name, key ];
+ });
+ trl = sort (list a, list b, (list<list>) trl, {
+ list lsorted = lsort ([a[0]:"", b[0]:""]);
+ return (lsorted[0]:"" == a[0]:"" && a[0]:"" != b[0]:"");
+ });
+ return $[
+ "name" : region["name"]:"",
+ "entries" : trl,
+ ];
+ });
+
+ if (UI::HasSpecialWidget(`TimezoneSelector))
+ {
+ timezone_selector = true;
+ string worldmap = Directory::themedir + "/current/worldmap/GLOBALeb10colshade.jpg";
+ timezoneterm = `VBox (
+ `TimezoneSelector (`id(`timezonemap), `opt(`notify), worldmap,
+ zones),
`HBox (
- region,
+ `HWeight (1,
+ `ComboBox (`id(`region), `opt(`notify),
+ // label text
+ _("&Region"),Timezone::Region())
+ ),
`HSpacing (),
- timezonesel
- ),
+ `HWeight (1, `ReplacePoint (`id(`tzsel),
+ // title for combo box 'timezone'
+ `ComboBox (`id (`timezone), `opt(`notify), _("Time &Zone"))
+ ))
+ )
+ );
+ }
+ term hwclock_term = `VBox (
+ `ComboBox (`id (`hwclock), `opt(`hstretch, `notify),
+ // combo box label
+ _("&Hardware Clock Set To"), [
+ // ComboBox entry: clock set to local time
+ `item (`id (`hwclock_localtime), _("Local Time"),
+ (hwclock == "--localtime")),
+ // ComboBox entry: clock set UTC
+ `item (`id(`hwclock_utc ), _("UTC"), (hwclock == "-u")),
+ ]),
+ textmode ? `Label ("") : `Empty ()
+ );
+ term contents = `MarginBox (
+ `leftMargin (2), `rightMargin (2), `topMargin (0), `bottomMargin (0.2),
+ `VBox (
+ timezoneterm,
`VSpacing (0.2),
`VSquash (`HBox (
`HWeight (1,
- utc_only ? `Empty () : `VBox (
- `ComboBox (
- `id (`hwclock), `opt(`hstretch, `notify),
- // combo box label
- _("&Hardware Clock Set To"),
- [
- // ComboBox entry: clock set to local time
- `item (`id (`hwclock_localtime), _("Local Time"),
- (hwclock == "--localtime")),
-
- // ComboBox entry: clock set UTC
- `item (`id(`hwclock_utc ), _("UTC"),
- (hwclock == "-u"))
- ]
- ), textmode ? `Label ("") : `Empty ())
+ utc_only ? `Empty () : hwclock_term
),
`HSpacing (1),
// frame label
@@ -445,6 +486,59 @@
))
)
);
+ // cache for lists with timezone items
+ map timezones_for_region = $[];
+ list get_timezones_for_region (integer region, string zone) {
+
+ return maplist (list entry, sorted_zonemap[region,"entries"]:[],
+ {
+ return `item (`id(entry[1]:""), entry[0]:"", entry[1]:"" == zone);
+ });
+ }
+ // region was seleced: show the correct list of timezones
+ void show_selected_region (integer sel, string zone) {
+
+ if (timezone_selector)
+ UI::ChangeWidget (`id(`region), `Value, sel);
+ else
+ UI::ChangeWidget (`id(`region), `CurrentItem, sel);
+
+ UI::ReplaceWidget (`id(`tzsel), timezone_selector ?
+ `ComboBox (`id(`timezone), `opt(`notify),
+ // label text
+ _("Time &Zone"), get_timezones_for_region (sel, zone)
+ ) :
+ `SelectionBox ( `id(`timezone), `opt(`notify),
+ // label text
+ _("Time &Zone"), get_timezones_for_region (sel, zone)
+ )
+ );
+ }
+ // which region is selected?
+ integer selected_region () {
+ return timezone_selector ?
+ (integer)UI::QueryWidget (`id(`region), `Value) :
+ (integer)UI::QueryWidget (`id(`region), `CurrentItem);
+ }
+ // which timezone is selected?
+ string selected_timezone () {
+ return timezone_selector ?
+ (string) UI::QueryWidget(`id(`timezone), `Value) :
+ (string) UI::QueryWidget(`id(`timezone), `CurrentItem);
+ }
+
+ // for given timezone (selected in map), find out to which region it belongs
+ integer get_region_for_timezone (string zone) {
+ integer reg = 0;
+ foreach (map region, zonemap, {
+ if (haskey (region["entries"]:$[], zone))
+ {
+ break;
+ }
+ reg = reg + 1;
+ });
+ return reg;
+ }
// help for timezone screen
string help_text = _("
@@ -494,13 +588,12 @@
symbol hwclock_s_old = hwclock_s;
hwclock_s_initial = hwclock_s;
- UI::ChangeWidget (`id(`region), `CurrentItem, sel);
- UI::ReplaceWidget (`id(`tzsel),
- `SelectionBox ( `id(`timezone), `opt(`notify),
- // label text
- _("Time &Zone"), Timezone::Selection (sel))
- );
- UI::ChangeWidget (`id(`timezone), `CurrentItem, Timezone::timezone);
+ show_selected_region (sel, timezone);
+ if (timezone_selector)
+ {
+ UI::ChangeWidget (`id(`timezonemap), `CurrentItem,
+ yast2zonetab[timezone]:timezone);
+ }
UI::SetFocus (`id(`region));
@@ -518,17 +611,9 @@
}
if (ret == `region)
{
- integer num = (integer)UI::QueryWidget( `id(`region), `CurrentItem);
- y2milestone ("selected region %1", num);
- UI::ReplaceWidget (`id(`tzsel),
- `SelectionBox ( `id(`timezone), `opt(`notify),
- // label text
- _("Time &Zone"), Timezone::Selection (num))
- );
- if (num == sel)
- {
- UI::ChangeWidget (`id(`timezone), `CurrentItem, timezone);
- }
+ integer num = selected_region ();
+ show_selected_region (num, timezone);
+// FIXME zoom the map (select something in the center of region)
}
else if (ret == `settime)
{
@@ -540,7 +625,8 @@
changed_time = true;
}
}
- else if (ret == `next || ret == `timezone || ret == `hwclock)
+ else if (ret == `next || ret == `timezone || ret == `timezonemap ||
+ ret == `hwclock)
{
// Get current settings.
// UTC vs. localtime, only if needed
@@ -550,13 +636,29 @@
{
hwclock_s = (symbol)UI::QueryWidget( `id(`hwclock), `Value );
}
+ if (ret == `timezonemap)
+ {
+ timezone = (string) UI::QueryWidget(`id(`timezonemap),`Value);
+
+ integer reg = get_region_for_timezone (timezone);
+ if (reg == sel)
+ UI::ChangeWidget (`id(`timezone), `Value, timezone);
+ else
+ {
+ sel = reg;
+ show_selected_region (sel, timezone);
+ }
+ }
+ else
+ timezone = selected_timezone ();
if (ret == `timezone)
{
- sel = (integer)UI::QueryWidget( `id(`region), `CurrentItem );
+ sel = selected_region ();
+ if (timezone_selector)
+ UI::ChangeWidget (`id(`timezonemap), `Value,
+ yast2zonetab[timezone]:timezone);
}
- timezone = (string)UI::QueryWidget( `id(`timezone ), `CurrentItem );
-
if (timezone == nil || size(timezone) == 0)
{
// popup text
Modified: trunk/country/timezone/testsuite/tests/UpdateTimezone.out
URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/timezone/testsuite/tests…
==============================================================================
--- trunk/country/timezone/testsuite/tests/UpdateTimezone.out (original)
+++ trunk/country/timezone/testsuite/tests/UpdateTimezone.out Fri Dec 21 16:04:24 2007
@@ -1,3 +1,3 @@
-Return US/Pacific
-Return Australia/South
-Return Australia/South
+Return America/Los_Angeles
+Return Australia/Adelaide
+Return Australia/Adelaide
--
To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0
[yast-commit] r43223 - in /trunk/network: src/modules/Provider.ycp yast2-network.spec.in
by kmachalkova@svn.opensuse.org 21 Dec '07
by kmachalkova@svn.opensuse.org 21 Dec '07
21 Dec '07
Author: kmachalkova
Date: Fri Dec 21 14:26:52 2007
New Revision: 43223
URL: http://svn.opensuse.org/viewcvs/yast?rev=43223&view=rev
Log:
Dependency on yast2-country replaced with yast2-country-data
Modified:
trunk/network/src/modules/Provider.ycp
trunk/network/yast2-network.spec.in
Modified: trunk/network/src/modules/Provider.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/network/src/modules/Provider.ycp…
==============================================================================
--- trunk/network/src/modules/Provider.ycp (original)
+++ trunk/network/src/modules/Provider.ycp Fri Dec 21 14:26:52 2007
@@ -197,7 +197,7 @@
}
/**
- * This is a single point of dependence on the Language module of yast2-country
+ * This is a single point of dependence on the Language module of yast2-country-data
*/
global string GetCountry () {
import "Language";
Modified: trunk/network/yast2-network.spec.in
URL: http://svn.opensuse.org/viewcvs/yast/trunk/network/yast2-network.spec.in?re…
==============================================================================
--- trunk/network/yast2-network.spec.in (original)
+++ trunk/network/yast2-network.spec.in Fri Dec 21 14:26:52 2007
@@ -12,10 +12,14 @@
# String::Random
# Linuxrc::display_ip
# SuSEFirewall::IsInstalled
-# YCP module Internet
-Requires: yast2 >= 2.16.8
+# NetworkDevices::GetDevTypeDescription
+Requires: yast2 >= 2.16.18
+
+Requires: sysconfig yast2-packager
+#GetLanguageCountry
+#(in newly created yast2-country-data)
+Requires: yast2-country-data >=2.16.3
-Requires: sysconfig yast2-country yast2-packager
PreReq: /bin/rm
Provides: y2c_lan y2c_dial yast2-config-adsl y2c_adsl
--
To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0
Author: coolo
Date: Fri Dec 21 13:35:17 2007
New Revision: 43222
URL: http://svn.opensuse.org/viewcvs/yast?rev=43222&view=rev
Log:
fixing qcombobox semantic
Modified:
trunk/qt/src/YQComboBox.cc
Modified: trunk/qt/src/YQComboBox.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQComboBox.cc?rev=43222&r…
==============================================================================
--- trunk/qt/src/YQComboBox.cc (original)
+++ trunk/qt/src/YQComboBox.cc Fri Dec 21 13:35:17 2007
@@ -35,7 +35,7 @@
#include "YQSignalBlocker.h"
#include "YQWidgetCaption.h"
#include <QVBoxLayout>
-
+#include <QDebug>
YQComboBox::YQComboBox( YWidget * parent,
const string & label,
@@ -94,7 +94,14 @@
if ( isValidText( text ) )
{
YQSignalBlocker sigBlocker( _qt_comboBox );
- _qt_comboBox->setItemText(_qt_comboBox->currentIndex(), text );
+ int index = _qt_comboBox->findText( text );
+ YItem *item = findItem( newValue );
+ if ( index < 0 )
+ _qt_comboBox->setItemText(_qt_comboBox->currentIndex(), text );
+ else {
+ _qt_comboBox->setCurrentIndex( index );
+ _qt_comboBox->setItemText(index, text );
+ }
}
else
{
@@ -119,9 +126,9 @@
}
if ( icon.isNull() )
- _qt_comboBox->insertItem( -1, fromUTF8( item->label() ) );
+ _qt_comboBox->addItem( fromUTF8( item->label() ) );
else
- _qt_comboBox->insertItem( -1, icon, fromUTF8( item->label() ) );
+ _qt_comboBox->addItem( icon, fromUTF8( item->label() ) );
if ( item->selected() )
{
--
To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0
Author: rpmcruz
Date: Fri Dec 21 12:47:00 2007
New Revision: 43221
URL: http://svn.opensuse.org/viewcvs/yast?rev=43221&view=rev
Log:
Moving unstable-libyui to main.
Added:
trunk/gtk/ChangeLog
Added: trunk/gtk/ChangeLog
URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/ChangeLog?rev=43221&view=auto
==============================================================================
--- trunk/gtk/ChangeLog (added)
+++ trunk/gtk/ChangeLog Fri Dec 21 12:47:00 2007
@@ -0,0 +1,2153 @@
+2007-12-21 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/yzyppwrapper.cc (Pool): build pool even for unintialized types.
+
+ * src/YGPackageSelector.cc (ChangesPane): reflect pool at start. A bit hacky,
+ besides we may want to do this only for Patches...
+
+2007-12-20 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/YGProgressBar.cc (YGMultiProgressMeter): bug fix: bad testing,
+ was causing bar vertical to be created horizontal.
+
+ * src/yzyppwrapper.cc: set bold those attributes on description.
+
+2007-12-18 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/YGPackageSelector.cc (Filters): added tooltip to repositories combo.
+ Changed example of seach entry.
+
+ * src/yzyppwrapper.cc: bug fix: filter pathes that don't apply. Don't show
+ broken patches as installed.
+
+ * src/yzyppwrapper.cc: bug fix: fixed crash on empty pool primitives.
+
+2007-12-17 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/YGPackageSelector.cc (Filters): adjust the interface first before
+ processing the query. bug fix: query was being built against old categories
+ value.
+
+ * src/yzyppwrapper.cc: ensure the packages primitive pool is built when we
+ ask for its category.
+
+ * src/YGPackageSelector.cc (ChangesPane): "Undo" as tooltip text for undo icon
+ button.
+
+2007-12-16 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/YGPackageSelector.cc: added tooltip to search entry.
+
+ * src/YGPushButton.cc: fixed default button focus.
+
+ * src/yzyppwrapper.cc: don't show size for patches (zypp always reports
+ zero).
+
+2007-12-14 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/YGPackageSelector.cc: re-worked the package selector with input
+ from some people. Special thanks to Christian Jäger and Martin Szulecki.
+ I am confident people will like it; some code is pretty hacked through,
+ this baby certainely deserved more time, but its beatiful how everything
+ works together and the interface presents itself gracefully.
+ Also fixed a few issues and added support for patches.
+
+ * configure.in.in: error when using on older versions of libyui than of
+ the recent API change. Also, got rid of old test code for zypp2 and
+ libyui plugin.
+
+ * src/YGPackageSelector.cc: tweaked expanders on categories tree: put them
+ next to text for packages, hide them for patches.
+
+ * configure.in.in: changed the libyui test to a file test, since I'm not
+ sure the yast2-core version has changed as a result of the new libyui.
+
+ * src/yzyppwrapper.cc: got rid of package ids. Pointers serve as ids fine.
+
+ * src/YGPackageSelector.cc: small touch up on the Changes pane.
+
+2007-12-09 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/YGUI.h.cc: fixed package selector issue. We weren't implementing
+ UI::RunPkgSelector() (removed it on cleanup...).
+
+ * src/ygtkwizard.c: fix part widgets destroying; possible mem-leak.
+
+2007-12-08 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/ygtkcellrenderertextpixbuf.c: fix: honor align for icons too.
+
+ * src/YGTable.cc: simplified table sorting code; GTK+ has convinience
+ functions for these, I was doing all the work myself, connecting header
+ clicks, providing a sort callback, changing sort icons, .. :P Honored
+ YTable::setKeepSorting().
+
+2007-12-07 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * Some fixes overall. YGTree and YGMultiSelectionBox were not working.
+ Polished YGSelectionModel. Fixed support for icons.
+
+ * ygtkcellrenderertextpixbuf.h/c: a cell renderer that combines both
+ GtkCellRendererText and GtkCellRendererPixbuf. We need this as yast can
+ set either an icon or text on a cell, or both.
+
+ * src/YGUtils.h/cc: cleanup of methods.
+ * src/YGTable.cc (YGTable): fixed sorting. new libyui has this KeepSorted
+ function, but GTK doesn't let us revert back to unsorted once we sort them...
+
+2007-12-06 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * Fixed previous crash, some other problems and some improvements.
+ * Weird problems left:
+ + crashes on sw_single (says we are calling a pure virtual func)
+ sometimes, it just exists normally right after the selector widget
+ appears
+ + there could be layout probs... test that
+ + radio buttons are not working
+
+2007-12-05 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * First version: ported the all thing; getting a crash due to child
+ being added to container at the YWidget() constructor, before we get to
+ setup the reference to then use on the layout widget.
+
+2007-12-04 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/ygtkimage.h/c: moved YGImage stuff to an actual widget impl. Added
+ dim/gray when disabled as asked by bug #345506. Used the same code as gtk
+ -- done at expose-time, using style engine.
+ * src/YGImage.cc: according changes. Much smaller, of course.
+
+ * tests/ImageMng.ycp: added Enable option, to test this. Very cool.
+
+ * src/ygdkmngloader.c: bug fix: when fopen() fails, it returns null, so don't
+ call fclose() on null, on error case.
+
+2007-12-03 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/ygtkwizard.c: set label title centered (visible on our Package Selector
+ as the icon is bigger than the text).
+
+ * src/YGProgressBar.cc (YGMultiProgressBar): made it flow from left to right
+ on horizontal multi progress bars.
+ * tests/MultiProgressBar.ycp: replaced MultiProgressBarVer.ycp by this with
+ both orientations.
+
+2007-11-30 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/YGUI.cc: added Refresh button for the YWidget tree dialog.
+ Also added an optional (at compile time) column for the valid test. Not
+ much use for it though...
+
+ * src/YGWizard.cc: bug fix (found during bug #342348). We were freeing
+ YWizard button wrapper widgets which we weren't supposed to. It was just
+ printing errors, instead of crashing, as libyui does a corruption testing
+ before freeing a widget to avoid double freeing.
+
+ * src/yzyppwrapper.cc: fixed search name query. Was not being inclusive.
+
+ * src/yzyppwrapper.cc: fixed pools notifications on package modifications.
+ The resolver only tell us of *modified* packages, not *touched*. So, if
+ I set a package to install, then reverse the operation, the package is
+ not considered modified. Now, this direct user modifications are no problem;
+ we know about them. The problem are dependencies. Did a work around for that;
+ kept the old status and do a comparasion on all packages.
+
+2007-11-29 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/ygtkwizard.c: de-coupled navigation widgets: tree and steps. Tree
+ will be placed in a GtkPaned next to the content.
+
+ * src/yzyppwrapper.h/cc: Zypp bridge (aka Ypp).
+ * src/ygtkzyppwrapper.h/cc: hooks a Ypp pool as a GtkTreeModel.
+ * src/YGPackageSelector.cc: initial frontend that used the new bridge.
+ Will ask for the opinion of some nice people over its design.
+
+2007-11-27 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/YGTable.cc: GTK+ doesn't fire a selected signal as a result of
+ the current row being unselected because it was removed. But to play safe,
+ blocked them then.
+
+2007-11-22 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/ygtkratiobox.c: reversed my last changes (except warning fix).
+ It needs to be reviewed more careful. size_request shouldn't probably
+ take weights in consideration like yast-ui. Only on allocation, when there
+ is surplus of allocated area, we should use them...
+
+ * src/ygtkrichtext.c: made use of "pixels-below-lines" for padding. Fixed
+ block tags comparison (was not ignoring cases). Fixed logic to check if
+ character is new line '\n' or '\r' (some code typo).
+ * src/YGUtils.cc: fixed comparison for leaf nodes "br" and "hr" (was not
+ ignoring cases).
+
+ * src/YGUI.cc: added DumpHtml debug dialog that goes through all RichTexts
+ printing their source contents to a dialog.
+ * src/YGDialog.cc: DumpHtml gets run on Ctrl+Alt+Shift+H
+
+ * src/YGWidget.cc (YGLabeledWidget): bug fix (see hwinfo tool): was hiding
+ label on empty string, but forgetting to show it, on a new string that isn't
+ empty.
+
+2007-11-21 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/YGComboBox.cc: shouldn't signal an event when an item is selected
+ by code. (not the actual problem, but related to #343183).
+
+ * src/ygtkratiobox.c: fixed code typo.
+
+2007-11-20 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/ygtkratiobox.c: be more modest when requesting for size --
+ ie. don't try to request enough size for all the children weight,
+ just so they fit. Unless asked otherwise. Updated YGtkBarGraph
+ and YGMultiProgressBar for this...
+ TODO: we should allocate weights from the point where every
+ children has been served.
+
+ * src/ygtkratiobox.c: fixed warning.
+
+2007-11-12 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/YGUI.cc & src/YGDialog.cc: added save_y2logs command on Shift+F8
+ like yast-qt.
+
+2007-11-12 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/YGUI.cc: on PollInput, run g_main_iteration() while there are
+ events to process.
+
+ * src/YGDialog.cc & YGUI.cc: improved busy cursor activation.
+ * src/YGUI.cc: return NULL on events wait when there is no dialog,
+ like yast-qt (some weirdo YCP prog could do it...)
+
+ * src/YGUI.cc: uncommented YGUI::beep() implementation. Looks like
+ my patch was accepted on yast-core (I wish I was notified for those
+ API changes though).
+ * tests/Beep.ycp: removed, now shipped as a yast-ui example.
+
+ * src/YGUtils.cc: added stock icon mapping for English locale.
+ Soon yast-qt will get bug reports to implement the same thing, and
+ they will push for the yast-ui guy a more universal way to allow for
+ that.
+
+2007-11-11 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/YGDialog.h/cc & YGPackageSelector.cc: bug fix #340555: package
+ manager post-selection process hangs when trying to exit (by the window
+ manager: e.g. Alt+F4). You need to unset the callback thing that was
+ installed on YGDialog for the "Abandon Changes" dialog.
+
+ * src/YGUI.cc: bug fix: cannot abort package manager post-selection
+ process (related to previous). We were not implementing UI::PollInput(),
+ which is a non-blocker UI::UserInput() used by this kind of processes.
+ * example/PollInput.ycp: a test case for User & PollInput().
+
+2007-11-07 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/ygtkratiobox.c: bug fix, dialog on disk.ycp tool was gutted.
+ Unsigned types involved on arithmetic operation resulting in some overflows.
+ As an extra issue size_request is not returning the exact size needed
+ (maybe a round problem?)
+
+ You should sent this upstream ASAP since it renders the disk tool useless
+ (in case you have sent a package upstream after Oct 11, which I guess was
+ when the bug was introduced: r41393.)
+
+2007-10-31 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/ygtkmenubutton.c: simplified menu pos code.
+
+2007-10-26 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/YGProgressBar.cc: improved look of the multi-progress-bar. Made
+ it growing completely from bottom to top.
+
+ * tests/MultiProgressMeterVer.ycp: test case.
+
+2007-10-25 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/ygtkratiobox.h/c, YGProgressBar.cc, YGWidget.cc: bug
+ fix 309049. A ratio box can request for a very big size when using weights
+ so that its children are all visible. Added a max_width/height property
+ to YGtkMinSize and renamed it to YGtkAdjSize. Set it for MultiProgressMeter.
+
+ * tests/MultiProgressMeterHuge.ycp: test case.
+
+2007-10-23 JP Rosevear <jpr(a)novell.com>
+
+ * src/YGPackageSelector.cc (class YGPatchSelector): Use the more
+ sophisticated logic taken from YQPkgPatchList::fillList to
+ determine what patches are available (#336124)
+
+2007-10-22 Boyd Timothy <btimothy(a)novell.com>
+
+ * src/YGPackageSelector.cc: Removed the space before the question mark
+ in the "Abandon all changes?" dialog. Also changed from Ok/Cancel to
+ Yes/No buttons to follow HIG more closely.
+
+2007-10-17 Boyd Timothy <btimothy(a)novell.com>
+
+ * src/YGPackageSelector.cc: Fixed the code so it only shows
+ packages that are not installed or have an update. Fixes
+ bug #300737. Also added an enum for the GtkTreeStore
+ columns so the code is easier to read.
+
+2007-10-16 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/ygtkhtmlwrapper.h/c (added): to be used instead of YGtkRichText directly.
+ At the moment, it wraps YGtkRichText and GtkHTML, YGtkRichText being the
+ one used (for now, at least).
+
+ * src/YGUtils.cc: fixed a small memory leak when a html comment, and
+ disabled the removal of whitespaces (as needed by <pre>).
+ * src/ygtkrichtext.c: moved block and block&ident tags to common code.
+ For block tags, I am simply using two break lines, instead of spacing.
+ This could still use more polishing...
+
+ * src/YGRichText.cc: removed, moved to YGMultiLineEdit.cc, made the factory
+ constructing another object for plainText.
+
+ * configure.in.in: added GtkHtml check (uncommented as I dunno how to
+ make it optional; and either way, needs to be discussed what we want here).
+
+2007-10-12 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/ygdkmngloader.h/c / src/YGImage.cc: added support for inline MNG
+ images. Fixed ticks per second.
+ * tests/YGImage.ycp: added a bunch of MNGs I found...
+
+ * src/ygtkhtmltext.h/c: added wrapper around our YGtkRichText and GtkHtml.
+ -> Automake stuff needs works (it will just error if GtkHtml is not found...)
+ * src/YGRichText.cc & src/YGPackageSelector.cc: bug fix #326207: use
+ ygtkhtmltext code.
+
+ Doing our own renderer was fun, but it won't ever support tables, and still
+ has some corner cases where GMarkup complains, and inline/blocks tags are
+ problematic at times. And I already saw comments of people doing tables and
+ using HTML extensively on yast (like for a startup screen).
+ With a wrapper we can easily port the code to another HTML widget out there,
+ until gtk+ adopts one into the API. GtkHTML API is a bit sucky, but its
+ used by Evolution (including on the composer), so its robust, and it seems
+ fairly slim (certainely when compared to mozdev :P).
+
+2007-10-11 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/YGPackageSelector.cc: speed up Patterns view.
+
+ * src/ygtkratioboxh.h/c: bug fix #326144: the layout algorithm
+ should be the same as yast-core. It was ignoring the insane yast
+ some policies, including the layout-stretch (also called rubber-band)
+ variable.
+
+ * src/YGTable.cc: bug fix: Comunity Repos tool was showing descriptions
+ on single click. Moved the event hooks to the different Table-like
+ implementations, as they differ in subtlety.
+
+ * src/YGWidget.h: added getDebugLabel() which is our replacement for
+ YWidget::debugLabel() which is of little use for most widgets.
+ * src/YGLayout.cc (YGAlignment): added align info to YGAlignment's
+ getDebugLabel().
+ * src/YGUI.cc: improved YWidget Tree dialog (ctrl+alt+shift+T).
+
+ * src/YGWidget.cc: added delay flag to emitEvent() (waits 250 ms
+ then tries to send it if nothing is pending).
+
+ * testcases:
+ * tests/Layout-AlignStretch.ycp: the #326144 bug.
+ * tests/MultiSelectionBox.ycp: the other bug mentioned.
+
+ * src/YGTable.cc: forgot to block new hook: select_delayed_cb when
+ changing selection.
+
+ * src/ygtkratiobox.c: seems like we aren't being completely faithful to
+ yast-core. Made widget base-size with the boss algo from yast-core.
+
+ * src/YGTable.cc: bug fix #327492: always make one row selected. This isn't
+ documented behavior, and the YCP code is at fault here, but we probably
+ should emulate the other interfaces.
+
+ * src/ygtksteps.c: bug fix #328500: steps may be truncated when they get
+ highlighted. Calculate size_request as if they are all highlighted.
+ TODO: we may want to get rid of PangoLayout in favor of the simpler Cairo.
+
+ * src/ygdkmngloader.h/c: bug fix #328500: added loader for MNG image.
+ (just a very small subset of it). There is a bug on movies limited to
+ a fixed iteration number -- it seems that ticks per second is calculated
+ different for them; have to see...
+ * tests/YGImage.ycp: added a MNG image and updated test.
+
+2007-10-10 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/YGPackageSelector.cc: fixed bug #330467. Do a full match to
+ map patterns wanted packages for the packages in the pool.
+
+ * fixed a couple of warnings.
+
+ * src/YGDialog.cc: fixed bug #330777. The value we need to return from the
+ delete-event callback (close window) is always True, because we don't want
+ GTK destroying the window for us. We just want to let YCP know about it,
+ and then YCP does it explicitely if and when it wants to.
+ For the record, the abandon dialog from the package selector is working. Neat
+ dialog btw.
+
+2007-10-03 Boyd Timothy <btimothy(a)novell.com>
+
+ * src/YGPackageSelector.cc: Use the "available" name to sort
+ the tree views. This makes the Available Software list be
+ sorted properly.
+
+2007-10-03 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGPackageSelector.cc: don't re-render the progress bar
+ so much when building the package tree: ~20% speedup.
+
+ * src/YGPackageSelector.cc (PackageSelector): turn off searching
+ description, too slow.
+ (fastGetSummary): implement cache for summaries - hugely
+ accelerates searching etc. at cost of some memory.
+
+2007-08-26 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGPackageSelector.cc (does_package_match_one):
+ don't fetch the obj unless we need to - hugely accelerates
+ search.
+
+ * src/YGPackageSelector.cc (PackageSelector): use
+ search_activate_cb for 'activate' on the entry, so we
+ don't wait 1 second when the user hits 'enter' ;-)
+
+2007-08-25 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGPackageSelector.cc: merge two gtk_tree_model_gets.
+ (checkDelete): use this to get user confirmation on exit if
+ there are unsaved changes etc. n#300390
+
+ * src/YGDialog.cc (close_window_cb, setDeleteCallback): add
+ ability to set a custom dlete callback.
+ (currentYGDialog): expose as YGDialog.
+
+ * src/YGDialog.h: add: needed in YGPackageSelector.
+
+2007-08-22 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGProgressBar.cc (YGProgressBar): implement pulse
+ mode when maxprogress == 0
+
+ * tests/ProgressPulse.ycp: add test.
+
+ * configure.in.in, src/Makefile: create and use PYUI_LIBS,
+ to adapt likewise.
+
+ * src/Y2CCGtk.cc (class Y2CCGtk): conditionalize new
+ YUI pieces so we build with older yast2's.
+
+2007-08-10 Michael Meeks <michael.meeks(a)novell.com>
+
+ * po/pt.po: remove - causing grief with 'make package'
+
+2007-08-08 Michael Meeks <michael.meeks(a)novell.com>
+
+ * VERSION: 2.15.8, Revision 40088
+
+ * src/YGPackageSelector.cc (acceptLicense):
+ details on how to print the license: FaTE #302018
+
+2007-07-23 Michael Meeks <michael.meeks(a)novell.com>
+
+ * Version 2.15.6, Revison 39606
+
+2007-07-23 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGPackageSelector.cc (sync_tree_views_scroll): this
+ needs re-writing to be more efficient in corner cases: eg.
+ no zypp sources. For now use an iteration timeout of 10
+ loops before bailing out for a big speed win.
+
+ * src/YGPackageSelector.cc (compat_gtk_tree_model_filter_convert_child_iter_to_iter):
+ back-compat method for older gtk+s (SLED10).
+
+ * configure.in: autodetect pre ZYPP 3 version, and adapt
+ accordingly.
+
+ * src/YGPackageSelector.cc (induceObjects): fix tribool related
+ crasher n#293065.
+ (PackageSelector): remove m_searching, in favour of the more robust
+ !m_search_queries.empty()
+
+ * src/YGImage.cc (YGImage::initOptions): set m_isScaled, m_isTiled
+ before we use them; kill valgrind uninitialized value error churn.
+
+ * src/YGPackageSelector.cc: handle 0 size partitions,
+ also don't warn for "out of space" errors on < 1Mb partitions:
+ discarding the annoying warning dialog.
+ (PROGRESS): guard against divide-by-zero too.
+
+2007-07-19 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/YGPackageSelector.cc: Jiri has added gettext support (not sure
+ if it is completed as I don't see the place for PO files and the rules
+ to compile them), so set package selector strings as translatable _( ... ).
+
+ * po/pt.po: created this translation; dunno how to make the thing
+ being used now...
+
+ * src/YGPackageSelector.cc: added pre-3 zypp version compatibility; just
+ uncomment #define PRE_ZYPP_3
+
+2007-71-16 Jiri Srain <jsrain(a)suse.cz>
+
+ * moved changelog to package subdir, added .spec.in and -yast2-gtk-rpmlint
+ files
+
+2007-07-16 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/YGPackageSelector.cc: ported to zypp3 from alpha6:
+ + the SourceManager/Source API has been renamed to RepoManager/Repository
+ /RepoInfo and suffered some changes.
+ + missing include: zypp/Package.h
+
+2007-06-29 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/ygtkwizard.c: bug fix: rolled out «let the selection event be
+ fired, when yast programatically selects a tree view item» (was
+ breaking sudo and firewall tools).
+
+2007-06-21 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/YGWidget.h/cc (YGScrolledWidget): Because SelectionBox and others don't
+ request for a size, they allocate their size by using weights. It will
+ look good on yast-qt default window size (at least with default fonts...),
+ but will suck for us since we use a window size that we adjust as necessary.
+ Made it so that child enforces its size up to 120 pixels.
+ This doesn't fix the fact that there should be a maximum size on auxiliary
+ widgets, like a list, for aesthetics.
+
+ * src/ygtkratiobox.h/c (YGtkScrolledWindow): extended GtkScrolledWindow
+ so that automatic policy is more grained; you can set scroll bars to only
+ be used above a certain size of the child.
+
+2007-06-20 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ Banshee's labels and table text is truncated with the "..." string
+ added when they don't have enough space. Checked their source code
+ to see the text cell renderer they have done for the purpose. No
+ custom text cell renderer... Then, I noticed that git-view also does
+ it. Checking GTK+ docs, Pango offers that wrapping mode (ellipsize,
+ they call it). Really nice, so made use of it:
+
+ * src/YGPackageSelector.cc: wrap using ellipsize. This doesn't
+ force us to set a wrapping width, so setted the column expandable.
+ Makes the selector looking better when expanded.
+
+ * src/YGTable.cc: used ellipsize for the last column, generally used
+ for descriptions (see runlevel, printer, etc).
+
+ * src/ygtkwizard.cc: sometimes the header text is so big, that the
+ window must be enlarged. Made it using ellipsize, and set a minimum
+ width of 40 pixels.
+
+2007-06-20 Michael Meeks <michael.meeks(a)novell.com>
+
+ * Version 2.15.4 - Rev 38929
+
+2007-06-20 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGFrame.cc (YGCheckBoxFrame::setEnabling): fix up.
+ (YGCheckBoxFrame::setLabel): handle mnemonic properly.
+
+ * src/ygtkratiobox.c (ygtk_ratio_box_forall): make static.
+
+ * src/test.cc, src/YGWidget.cc, *.c: add missing config.h includes.
+
+ * src/YGFrame.cc: include config.h so we get YAST2_VERSION,
+ so we get the CheckBoxFrame conditional right.
+
+ * src/ygtkfindentry.c (ygtk_ext_entry_new): fix prototype.
+ (ygtk_find_entry_new): correct prototype / impl. mismatch.
+ (ygtk_find_entry_actual_popup_menu): correct prototype.
+ * src/ygtkmenubutton.c (ygtk_menu_button_new),
+ * src/ygtkfieldentry.c (ygtk_filter_entry_new),
+ (ygtk_field_entry_new): fix prototype.
+
+ * src/YGUI.cc (errorMsg): use a '%s' format for msg.
+
+2007-06-19 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ Banshee's labels and table text is truncated with the "..." string
+ added when they don't have enough space. Checked their source code
+ to see the text cell renderer they have done for the purpose. No
+ custom text cell renderer... Then, I noticed that git-view also does
+ it. Checking GTK+ docs, Pango offers that wrapping mode (ellipsize,
+ they call it). Really nice, so made use of it:
+
+ * src/YGPackageSelector.cc: wrap using ellipsize. This doesn't
+ force us to set a wrapping width, so setted the column expandable.
+ Makes the selector looking better when expanded.
+
+ * src/YGTable.cc: used ellipsize for the last column, generally used
+ for descriptions (see runlevel, printer, etc).
+
+ * src/ygtkwizard.cc: sometimes the header text is so big, that the
+ window must be enlarged. Made it using ellipsize, and set a minimum
+ width of 40 pixels.
+
+2007-06-19 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/ygtkwizard.c: fix: let the selection event be fired, when yast
+ programatically selects a tree view item. Also center it, disallow
+ unselection and fixed memory leak.
+
+ * src/YGPackageSelector.cc:
+ + fix bad behavior when undoing a package set to update.
+ + fixed libzypp hang when queried for sources that were disabled.
+ + use libzypp Unit utility to convert partition disk size integer
+ to a nice size string (for the disk usage graph).
+ + set font package description italic when user modifies its
+ + putted sources and disk usage table into notebook pages.
+ + fixed code for multi-selections.
+ + fixed pattern / language management.
+ + don't allow selections on groups.
+
+ * src/YGTable.cc: fixed last work; when a table is sorted the rows
+ paths change... This has broken our yast row to gtk row id proxy...
+ Re-worked using another approach.
+
+ * src/YGWidget.cc: fixed: labels that were putted in top of some
+ widgets (like the progress bar) were being wrapped for no reason.
+
+2007-06-16 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/YGFrame.cc: re-factored some code into a common YGBaseFrame and
+ created GtkAlignment once while getting rid of the custom addChild.
+
+ Michael: sorry if YGCheckBoxFrame doesn't compile, and give it a try. :/
+ Btw, YGCheckBoxFrame::setEnabling() looks weird. Shouldn't the argument
+ have a purpose?
+
+ * src/YGTable.cc: sorting was broken. Made it sorting by the first
+ column by default, as yast-qt.
+
+ * src/YGTable.cc: for the MultiSelectionBox, where the user pressed the
+ toggle button, allow also him to press enter/space or double-click the row.
+
+ * src/YGTable.cc: because of yast-ncurses/qt, Yast tools expect it to
+ be impossible for the user to un-select a row (which GTK+ allows by pressing
+ Control while clicking on the row). Disabled that.
+
+ * src/ygtkwizard.c: F1 opens help dialog.
+
+ * src/ygtkratiobox.h/c: got rid of the packing property. Not used and is
+ broken anyway. Touched a few more files.
+
+ * src/YGUtils.h/cc: some cleanup.
+
+ * src/YGDialog.cc: some initial easter egg. :) Press Ctrl+Alt+Shit+E, wait
+ 10 secs. :)
+
+2007-06-12 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/YGTable.cc: oops, looks like GtkTreeView built-in search wasn't
+ working for our YMultiSelection, since the first column are booleans.
+
+2007-06-11 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGPackageSelector.cc (does_package_match): use some
+ more google-like 'AND' vs. 'OR' syntax, default to AND.
+
+ * src/YGPackageSelector.cc (acceptLicense): pack the
+ license_view into the right widget, and set expand/fill.
+ (does_package_match_one): split from
+ (does_package_match): allow "and"ing our keywords
+ together to narrow search, rather than or'ing, and default
+ to 'and'.
+ (acceptLicense): make the license_view a rich text view.
+
+ * src/YGProgressBar.cc: use BOTTOM_TO_TOP instead of top_to_bottom,
+ makes the package install bar look more 'normal' (?) usual for
+ thermometers, equalizers, volume controls etc.
+
+2007-06-10 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/YGPackageSelector.cc:
+ + some improvements for package description text.
+ + added sources widgets which not only lists package sources, but
+ lets you enable/disable them (might be cool to actually allow it to
+ manage them; add and remove them, but that should be quite some work
+ -- can of course be considered -- we can't unfortunately just use
+ the sources yast module, at least as it is, since zypp is locked by
+ us...
+ + added disk widget, which lists partitions and their usage. Also fires
+ up a warning dialog when disk left space gets below 80Mb (only once...).
+ + start of multi-selections support (BROKEN though).
+
+ NOT to be sent upper stream.
+
+2007-06-02 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/YGTable.cc: don't blindly accept the row passed by a YCP app, might
+ be out of range. It didn't crash or anything, since the map find should
+ return the last one, but handle it sensibly now.
+
+ * src/YGPackageSelector.cc: added patterns and languages view. (Installing
+ or removing a pattern/language doesn't yet work, only packages under them.)
+ Removed the PatternSelector class. All bundled now.
+
+ * src/YGPackageSelector.cc: show a progress window when changing views.
+ Was gonna use threads at first, but decided to just flush gtk events at
+ some points. No disadvantages, I would call this userspace threading :P,
+ and its much simpler.
+
+ * src/YGPackageSelector.cc: Done a lot of string treatment for the Package
+ Details expander tabs. In particular, if nautilus is present, the file list
+ dirs will be clicked and nautilus fired on them. (gnome_view_url() would
+ been better, especially since it seems gnome stuff will be moved to /usr;
+ but it's a too small feature to justify linkage).
+
+ * src/ygtkrichtext.c: function API changed. Also touched files
+ that use this widget.
+
+ * src/YGUtils.cc: when handling xml, cut comments (<!-- -->). Added
+ function to replace by \n for <br>, or <p>. If text has <!-- DT:Rich -->
+ don't escape it.
+ * src/test.cc: updated.
+
+2007-05-23 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/ygtkwizard.c: changed title alignment.
+
+ * src/ygtkfindentry.c: overload entry's context menu key binding
+ by our own, if set (see package selector).
+
+ * src/YGUI.cc: ignore widgets without YGWidget representation
+ (ie. YWizard buttons wrappers).
+
+2007-05-22 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/YGPackageSelector.cc: expand all nodes on the conflicts
+ dialog tree.
+
+ * src/ygtkfindentry.c: when it has a context menu, draw a arrow
+ on the icon to indicate it (see the package selector).
+
+ * src/ygtkwizard.c: when help dialog's search text is not found,
+ use the same red of Firefox on the search. Also set text white.
+
+2007-05-12 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/YGPackageSelector.cc: when clicking in a package, even if
+ it isn't on the other view, scroll view to the closest package.
+ (to fix: when moving packages, it scrolls badly.)
+ Remove version handlers from groups, and bold package names.
+
+2007-05-11 Michael Meeks <michael.meeks(a)novell.com>
+
+ * Version 2.15.3, Revision 446+
+
+2007-05-11 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/ygtkrichtext.c (rt_end_element): harden vs. missing close htags.
+ (rt_start_element): fix crasher n#271716 - the first element has no
+ front element.
+
+ * src/ygtkfindentry.c (ygtk_ext_entry_get_border_window_size),
+ (ygtk_ext_entry_set_border_window_size),
+ * src/ygtkwizard.c (ygtk_wizard_add_step_header): convert g_asserts
+ to g_return_if_fails - so we don't abort when the .ycp does something
+ unexpected.
+
+2007-05-10 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/ygtkfindentry.c: don't allocate space for invisble windows.
+ Found out why SphereCrystal (and likely other styles that make use
+ of the background drawing) was getting cutted. GtkEntry re-calculates
+ the text area for drawing the background, instead of just getting its
+ geometry (reported bug+patch).
+ Centered find/clear icon vertically. Some styles have higher entries
+ and this was noticeable.
+
+ (Aaron Bockover has re-written Banshee's search entry using its old
+ approach. Dunno what he thought of our code. Ours may be considered
+ a bit more complex -- 454 vs 472 lines btw --, but I'd say its more elegant.
+ Its also more flexible, and a bit more efficient (his approach requires
+ GTK layouting to kick in at times, since it works by compounding widgets;
+ eg. when hovering a icon, it replaces the icon with a container_add() and
+ a _remove().
+ His aproach may also break more easily. For instance, it treats xthickness
+ and ythickness as having the same value (avoiding that would mean cluttering
+ the code with layout handling).
+ So, I think ours is a keeper.
+ Sent him a patch for honoring non-interior_focus styles -- eg. Glider
+ (not completely exact, but its not really noticeable).)
+
+2007-05-07 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/ygtkfieldentry.c: bug fix: due to cleanup entry was not accepting
+ text when valid chars were not set.
+
+ * src/YGWizard.cc: we need to export wizard three buttons as YPushButtons,
+ so that YUI::ChangeWidget() can be used on them. This seems to overlap with
+ Wizard API and I dunno why they didn't just adopt one approach. My guess
+ is that some dude just start using this (ncurses supports this as it's done
+ using yui), and -qt just adopted it.
+ sysconfig tool needs fixing.
+
+ * src/YGWizard.cc: sysconfig tool fixed; we weren't implementing
+ YGWizard::currentTreeSelection(); simple function; not so simple
+ to found it missing. :)
+ * tests/WizardList.ycp: respective test case.
+
+ * src/YGUtils.cc: replace " " by " ".
+
+2007-05-03 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/ygtk*: unified the code style of our widgets. Most standing,
+ declarations are avoided, and overloading is done at the end. This
+ reduces the points you need to change when adding/removing a function.
+
+2007-05-02 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/ygtkfindentry.c: re-written it to my initial vision. Before,
+ it was based on the music player's Banshee one, though it did some more
+ work to look closer to a GtkEntry. When I sent a patch to the guys,
+ they reported a couple of visual issues. They were minor and I even
+ fixed one of them; the other, having it integrated into external
+ focus style entries, seemed to require a different approach. Few
+ styles use this, and it looked okay anyway. But was getting unhappy
+ with the code, so did this re-write, which I'm really happy with. :)
+
+ * src/ygtkfindentry.h: from the description:
+ YGtkExtEntry extends GtkEntry adding two optional GdkWindows, at each
+ horizontal corner, which are created at demand. Very useful to create
+ a panel, an icon or something inside of it.
+ GtkTextView provides something similar and would be nice to have this
+ right on GtkEntry; in fact, GtkSpinButton could be simplified if it
+ were for this.
+ Right-to-left is supported at this level (borders are mirrored, if it
+ is set). If you don't want that, use gtk_widget_set_direction().
+
+ YGtkFindEntry is a convinience widget that has a find icon, with an
+ optional menu, at the left, and an erase icon at the right.
+
+ (Will ask Aaron Bockover to look at the code; won't be porting it
+ to C# anytime soon though.)
+
+ * src/YGPackageSelector.cc / src/ygtkwizard.c: modified to cope with
+ new API.
+
+ * src/YGTable.cc: when selecting a row, also center it in the view.
+
+ * src/ygtkfindentry.c: got rid of the need for the
+ ygtk_find_entry_modify_base() method as opposite to gtk_widget_modify_base().
+ Made sure size_request was enough for the icon.
+
+ * src/ygtkfindentry.c: added Banshee-based nice hover effect.
+
+2007-04-19 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/YGPackageSelector.cc: re-allowed user to press Enter on search
+ entry to re-do search. TODO: probably we want when a search option
+ is changed for the search to be re-done.
+
+2007-04-17 Michael Meeks <michael.meeks(a)novell.com>
+
+ * Version 2.15.2, Revision 431
+
+2007-04-17 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/ygtksteps.c (ygtk_steps_new): explicit void prototype.
+ (ygtk_steps_append, ygtk_steps_append_heading): add pre-conditions,
+ works around crash on start in update.ycp
+
+ * src/ygtkcellrendererarrow.c (point_under_arrow): don't use
+ GTK_ARROW_NONE for signalling - not present in gtk 2.8
+
+ * src/YGUI.h: create new YAST2_YGUI_CHECKBOX_FRAME define, that
+ (hopefully) captures the correct semantics of when the checkboxframe
+ is available.
+
+2007-04-16 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/ygtkfindentry.c/h: new widget; a GtkEntry with a clear icon on
+ the right, and a find icon on the left. My first idea was to implement
+ this by adding a couple of GdkWindows to a GtkEntry, and limitate the
+ text area with the "inner-border". But checked Banshee code and opted
+ for their approach; using a GtkHBox inside a GtkFrame. Only I have
+ not used a GtkFrame and done the frame drawing myself, so it really
+ looks like a GtkEntry; also made the height to be like one of a GtkEntry.
+
+ * src/ygtkwizard.c: use YGtkFindEntry on the help dialog. Nicely dicrete.
+
+ * src/YGPackageSelector.cc: instead of the Customize button, then dialog;
+ used a YGtkFindEntry, with a popup menu on the find icon where you can
+ check the fields you wanna search for (like Banshee does).
+ TODO: support google syntax on search: "python -gtk", etc. Just some of
+ them...
+
+2007-04-14 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/ygtkcellrendererarrow.c: arrows now drawn with cairo, instead of
+ the pixmaps. I'm surprised they fit pretty well.
+ * src/ygtkcellrendererarrow.c: trying to have pressed/normal state, but
+ the events of a cell renderer are limitated to pressing. Cleanup anyway.
+
+ * src/YGUtils.cc: correction to strcmp for different length strings
+ (for him, "aa" == "aaa").
+ * src/test.cc: added strcmp case.
+
+2007-04-09 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/YGUtils.cc: added alternative to gtk_tree_view_scroll_to_point()
+ that does smooth scroll.
+
+ * src/ygtkarrowcellrenererarrow.c: a cell renderer that
+ displays two arrow buttons (up and down) which can be used
+ as another representation of a combo or spin box.
+
+ * src/YGPackageSelector.cc: when a package is selected, scroll the
+ other view to the same point. TODO: as the user scrolls one view, also
+ make the other view scroll with respect to the sorting.
+
+ * src/YGPackageSelector.cc: added a another column to the available
+ packages view with arrow renderers. If more than one version is
+ available the user can choose it using it. Most users just want to choose
+ the latest version (and only tune it, less often), so this renderers
+ let the user see there is no newer version, as opposite to a combo box.
+ It is also much lighter than the combo box renderer. Showing all
+ the different versions packages in the view would be clutter and not
+ as straight forward to implement. We could put them in the same node, but
+ now we have the same problem of the combo box, added with quite some
+ complexity.
+
+ * src/YGPackageSelector.cc: Not exactly what else I did; some cleanups
+ I guess. Still some rather important work to do.
+
+ * src/YGLayout.cc / src/YGUtils*: got back necessary use of GValue.
+ It seems g_object_set() != g_object_set_property().
+
+2007-03-29 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * ycc/ycc.cpp: use /usr/share/YaST2/theme/current/ for icons,
+ not /usr/share/YaST2/theme/SuSELinux/.
+
+2007-03-26 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/YGFrame.cc / src/YGUI.h: the pre-processor yast version
+ check was set as "#if YAST2_VERSION > 2014004 || YAST2_VERSION > 2013032",
+ which is obviously the same as "#if YAST2_VERSION > 2013032". And
+ this is not implemented for "YAST2_VERSION == 2014004" (the one
+ from opensuse 10.2.
+
+ * src/YGLayout.cc / src/YGUtils*: got rid of unnecessary use of GValue.
+
+2007-03-16 Michael Meeks <michael.meeks(a)novell.com>
+
+ * Version 2.15.1 - Rev 412
+
+2007-03-16 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGFrame.cc (YGCheckBoxFrame::setLabel),
+ (YGFrame::setLabel): fix daft accelerator translation
+ bug & refactor to:
+ * src/YGUtils.cc (setLabel): impl. helper
+
+ * src/YGIntField.cc (class YGSpinBox): only connect to
+ slider signal if we have a slider.
+
+2007-03-15 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * src/ygtkrichtext.c: fix bug 247682: convert the key to unicode.
+ And some cleaning.
+
+ * src/ygtkratiobox.h/c (YGtkMinSize): added set_only_expand() property
+ which makes the child greed :), always asking for more space.
+ * YGDumbTab.cc: make use of it.
+
+ * src/YGWidget.cc (safe_stretchability): made it an exception to consider
+ safe to ask for the stretchability of a ysplit without children (bug fix:
+ notebook from edit in network.ycp goes stretchable in one page and not
+ stretchable in the other).
+ This work around for the fact that stretchable() crashes when it has no
+ children should really be fixed upstream.
+
+2007-03-15 Michael Meeks <michael.meeks(a)novell.com>
+
+ * Makefile.am: remove generated file.
+
+ * src/YGUI.h, src/YGFrame.cc: createCheckBoxFrame crept
+ into the stable release post 2.13.32, adapt to that too.
+
+2007-03-14 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * configure.in.in: use the version numbering from
+ "pkg-config --modversion yast2-core" as suggested by
+ Martin Vidner. Removed my has_checkboxframe check.
+
+ * YGLayout.cc (YGAlignment): honor child stretchable when set
+ stretchable (special case that YAlignment does).
+ * YGWizard.cc: make use of previous; things like loading messages
+ on some modules were not centered -- this fixes that.
+
+ * YGLabel.cc: instead of using a GtkEntry for isOutputField, use
+ a regular label. This supports multiple lines and from the places
+ it is used it looks just as good (just made it selectable).
+
+ * YGUtils.cc: added replace() that replaces a character in a
+ string (which mapKBAccel() now uses). Fixed bug on setWidgetFont()
+ (arguments were not being honored).
+
+ * src/YGUI.cc: cleaned up the file selection code wrt path fed.
+ * tests/FileDialog.ycp: easy app to test the file/folder selectors.
+
+ * src/ygtkwizard.c: seems like I had forgotten to double some
+ padding value for size request... This tiny little thing was
+ reponsible for a weird warning and wasting my time. :/
+
+ * src/ygtkrichtext.c: fix bug 247682: convert the key to unicode.
+ And some cleaning.
+
+2007-03-13 Ricardo Cruz <rpmcruz(a)alunos.dcc.fc.up.pt>
+
+ * YGPackageSelector.cc: made the package information to
+ use tabs.
+
+ * YGUI.cc: couldn't reproduce bug #247802, but cleaned
+ up file chooser code as it is not good. Done a few tests;
+ all fine.
+
+ * configure.in.in & config.h.in: added HAS_CHECKBOXFRAME
+ define according to if YCheckBoxFrame.h is available or
+ not. YAST2_VERSION would work nice, if yast guys would
+ have changed the version number since the opensuse 10.2
+ release. :/
+
+ * src/YGIntField.cc: set scale to not jump much for small
+ values.
+
+ * src/YGLayout.cc: fixes bug #247683 (crash on language.ycp).
+ This also happen in programs like network.ycp, wrt a
+ childless container.
+
+2007-02-07 Michael Meeks <michael.meeks(a)novell.com>
+
+ * Version 2.15.0 - Rev 388
+
+ * src/Makefile.am (EXTRA_DIST): computer.xpm
+
+ * src/YGFrame.cc (YGCheckBoxFrame::setEnabling):
+ call handleChildrenEnablement.
+
+ * Makefile.cvs: use PREFIX ?= /usr for non-pfx builds
+
+2007-02-06 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGFrame.cc (toggled_cb): impl.
+
+ * src/YGFrame.cc (YGFrame::setLabel): use mapKBAccel.
+ (class YGCheckBoxFrame): partial impl. of YGCheckBoxFrame
+
+ * src/Makefile.am: get $(prefix) into lib path.
+
+ * configure.in.in: add YAST2_VERSION conditional, so we can
+ build both old & new yasts from the same source base.
+
+ * configure.in.in, Makefile.cvs, VERSION, SUBDIRS, POTFILES,
+ MAINTAINER, RPMNAME: move to a more yast-like build system.
+
+ * configure.in: remove
+ * autogen.sh: update - make -f Makefile.cvs first.
+
+2006-02-03 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * autogen.sh: use yast2-core to get libdir (the other doesn't
+ seem set on 10.2)
+
+ * computer.xpm: added. This is the Tango "computer" stock icon. Doesn't
+ seem to get set on some other desktop enviornments than Gnome.
+
+ * ygtkwizard.c: commented wrong style code.
+
+ * integrate/yast2: use the slab thing on gnome (todo: make configurable).
+
+ * there seems to be some unstability that may be linked with the drawing
+ errors on gtk 2.10; check where this is.
+
+2006-12-08 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * Started reviewing the package selector. Some features will be
+ removed temporarly or not work. Check the TODO for planed changes.
+
+ * YGPackageSelector.cc: no more sync between view modes. They are
+ just reloaded when changed. This reduces the code size and complexity,
+ and makes adding other view modes easier (we will probably want
+ to change the patterns dialog by making it a view mode). But there
+ is a drawback: performance. It can take some seconds to change
+ views. This should be acceptable as the user rarely needs to change
+ view modes. Users with slower machines suffer more... But then,
+ they also have less memory and this reduces memory usage.
+
+ * YGPackageSelector.cc: added computer icon to code as it is not
+ available in some cases. Added a search options dialog. Added more
+ information into the packages list (not fully working).
+
+2006-12-06 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * YGLayout.cc: re-designed layout stuff; it got simplified
+ and reduced. And should be more reliable as the layout notifies
+ better modifications (this forced to create bigger "crash safe"
+ measures; some YContainerWidget crash when asked for stretchable()
+ and they don't have children).
+ The responsability for a widget to fill a hole is now of YGSplit, not
+ of the YGWidgets. The alignment is now the responsability of YGAlignment,
+ not of the YGWidgets. GtkAlignment container is now longer installed on
+ YGWidgets (only YGtkMinSize now -- so we may specify a min size and a
+ border).
+
+ * ygtkratiobox.c: fill argument splitted into two for horizontal and
+ vertical directions.
+
+ * YGUI.cc: turned dumpYastTree into a graphical window.
+ (press ctrl+atl+shift+T)
+
+ * integrate/yast2: fixed syntax error:
+ if [ $WINDOWMANAGER | grep -qi "gnome" ]
+ -> if echo $WINDOWMANAGER | grep -qi "gnome"
+
+2006-12-04 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * YGLayout.cc: a fix to a better behavior on YSplits
+ inside YSplits. Labeled widgets should now get aligned
+ for all pratical cases.
+
+ * ygtkwizard.c: YGtkHelpDialog use GtkBinding to catch
+ keys rather than the key_pressed GtkWidget signal.
+ (using this last would mean, for instance, Ctrl+Alt+F3
+ would be caught, where we just want to catch single F3
+ key instances.)
+
+ * ygtkwizard.c: removed the non-functional search icon code.
+ Better to see how someone else does this.
+
+ * ygtkwizard.c: fixed gtk warnings on destroy.
+ * ygtkwizard.c: fixed visual glitches on autoyast at start.
+
+2006-11-28 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * YGTree.cc: stuff was being printed. Got rid of that.
+
+2006-11-24 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * ygtkratiobox.c: fixed badly given space when homogeneous
+ is set.
+
+2006-11-21 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ Layout still has a couple of bugs (as can be seen in
+ test/Layout-Split-Split.ycp and test/Layout-Wizard3.ycp),
+ but better commit this or spiders may start creating webs
+ here. :P
+
+ * ygtkratiobox.c: added fully extandable flag which is the
+ equivalent to set the maximum weight (that we need in YSplit
+ because we don't know the max weights while adding children).
+ size_request and size_allocate was re-written. Support for
+ right-to-left languages and hidden widgets.
+
+ * ygtkwizard.c: re-written size_request and size_allocate to
+ comply with recent changes and simplify them.
+
+ * YGWidget.cc / YGLayout.cc: work on having a proper layout.
+
+ * YGLayout.cc and some YGLabeledWidget.cc-based widgets: a first
+ try at having the labels horizontally aligned. Currently, it just
+ checks if a YSplit child is a labeled widget, so if it is inside
+ a container, it doesn't apply the same-width code to it. So,
+ we must iterate through those.
+
+2006-11-08 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * YGTextEntry.cc: use YGtkFilterEntry, from YGtkFieldEntry,
+ rather than doing that work itself.
+
+ * ygtkwizard.c: first try at a11y-it based on GtkAssitance.
+ GOK doesn't seem to work here though (but then it doesn't
+ work on many other guis, including GnomeDruid).
+
+2006-11-07 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * YGLayout.cc & YGWidget.cc: changed layout code to use
+ our own GTK based solution for the layout rather than
+ the YWidget provided one. Still some minor problems, but
+ it is working pretty well. The code actually was reduced
+ in size because we no longer need the setSize and nicesize,
+ which were also easily broken code.
+
+ The layout uses YGtkRatioBox for the YSplit to support
+ weights. Each widget is contained in a YGtkMinSize, that
+ allows us to set a minimum size, which is itself contained
+ in a GtkAlignment, so we may specific the widget has
+ stretchable or not, among others. We could cut YGtkMinSize
+ on most widgets by having that value passed by the YGWidget
+ constructor, but too many arguments there would obviously
+ not be very nice...
+
+ So, this layout code has the advantages of: being simpler,
+ faster and not suffering from the labels getting truncated
+ problem. It also gives us let us do some hacks like, for
+ instance, having labels and entries aligned horizontally...
+
+ * YGLayout.h: removed.
+
+ * ygtkratiobox.c: honor right-to-left languages. The API
+ needs to be modified a bit in order to let it be possible
+ to set a widget to be fully stretchable, independent from
+ the weight. We need to fix this limitation for Layout-mixed.ycp
+ test.
+
+ * ygtkfilterentry.c: written a smaller (1110 to 230 lines), and
+ what I think is more intuitve, replacement.
+
+2006-11-04 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * src/YGLabel.cc: attempt at making YGColoredLabel
+ working properly on KDE (for gtk-qt theme), by
+ using expose, rather than putting the GtkLabel in
+ a GtkEventBox. Unfortunately, it doesn't like
+ filling rectangles with a frame (but I really liked
+ the frame look, so I will just hope gtk-qt has fixed
+ this). Either way, the code is nicer this way.
+
+ * ygtkmenubutton.c: use, either explicitely or
+ implicitely, an aid widget to popup regular widgets.
+
+2006-10-30 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGWizard.cc: don't return failure if
+ SetDialogIcon command fails - it breaks the installer.
+
+ * HACKING: update to use gtkize-iso, removing 8 steps.
+
+ * integrate/YaST2.call: do minimal hacks instead to
+ get gtk bits running, set LD_LIBRARY_PATH too, appears
+ to actually work [!]
+
+ * gtkize-iso: s/cromfs/cramfs/ & include critical
+ pango modules.
+
+2006-10-26 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/ygtkwizard.c (hash_table_clear_cb, hash_table_clear)
+ (ygtk_wizard_clear_tree, ygtk_wizard_clear_steps): use
+ g_hash_table_remove_all instead.
+ (enable_widget): rename macros to upper-case, add _str
+ variant that can handle NULL too (defensively)
+ (ygtk_wizard_set_help_text): set m_help instead of
+ the widget itself. (help_button_clicked_cb): set the
+ help here if we show it.
+ (ygtk_help_dialog_init): hide help widget on delete
+ rather than destroying it & causing problems later.
+
+ * src/YGPushButton.cc (YGPushButton): set can-default
+ on all push-buttons, makes ok/cancel type dialogs
+ prettier.
+
+ * src/ygtkwizard.c (ygtk_wizard_destroy, destroy_hash):
+ cope with double destroys.
+ (ygtk_help_dialog_init): use pack_end, scope var decls,
+ set CAN_DEFAULT on close button to get spacing right.
+ (ygtk_wizard_realize): use gtk_wiget_get_ancestor instead
+ of custom code, make static.
+ (button_new): split out - and set CAN_DEFAULT.
+ (destroy_string): use g_free instead.
+
+2006-10-26 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * ygtkwizard.c: re-write of it and made it based on GtkBin
+ rather than GtkEventBox. We now do all the container work
+ in a similar way to GtkAssistant, so the two style changeable
+ settings (content-padding and header-padding) should reflect
+ in this "clone" of ours as well.
+ Help information is displayed in a dialog, rather than on the
+ usual box.
+
+ * ygtksteps.c: re-write and made it based on GtkWidget rather
+ than GtkVBox, steps being "hand" drawn by ourselves now, rather
+ than being GtkLabels. This allows for a better integration with
+ YGtkWizard.
+
+ * made a couple of improvements to the other native GTK widgets
+ of ours.
+
+ NOTE: This is all unstable work and there are known crashes and
+ bugs. But I would prefer to have this on svn because it is get-
+ -ting to be a pretty big change... Should we open an unstable branch?
+ Or just advice the packager to stick with some svn version?
+ Either way, shouldn't be too hard to squish the bugs.
+
+2006-10-09 Michael Meeks <michael.meeks(a)novell.com>
+
+ * integrate/*: add Ricardo's touched files
+
+ * gtkize-iso: 1st pass at a tool to 'gtk'ize an
+ existing install ISO.
+
+ * src/ygtkrichtext.c (ygtk_richtext_init): add 'tt' -> monospace.
+
+2006-10-09 Thomas Meeks <thomas(a)imaginator.com>
+
+ * src/YGWidget.cc (doSetSize): don't set request < -1 ever,
+ prunes warning.
+
+ * src/ygtkwizard.c (ygtk_wizard_init): add spacer & re-arrange
+ padding to improve bottom button box spacing.
+
+2006-09-27 Ricardo Cruz <rpcmruz(a)clix.pt>
+
+ * src/YGDialog.cc: cleanups; decided not to make use of signals for
+ YGWindow.
+ * src/YGDialog.cc & YGUI.cc: added support for --geometry, --fullscreen,
+ --noborder and --nowm.
+
+2006-09-23 Ricardo Cruz <rpcmruz(a)clix.pt>
+
+ * src/YGUI.h and others: disabled the debugging printing by default.
+ Uncomment #define IMPL_DEBUG on YGUI.h to enable it.
+
+ * src/YGDialog.cc: handle more than one main window properly. The bug
+ that was avoiding this commit was that a label with our own pango font
+ description set wasn't returning a proper size request (and this may
+ happen in other cases). Setting the father container in a GtkWindow,
+ rather than doing that only on showWindow() seemed to solve the issue.
+ I wonder if there is a more elegant way to fix this and why it needs a
+ GtkWindow as the base of the hierarchy to work...
+
+ TO do: abstract YGWindow further. We will have to make it a GObject to
+ use its signal system. And support --geometry & friends.
+
+ TO fix: I would like to catch the escape key to send a Cancel event to
+ YWidgets for popup dialogs. Somehow that doesn't seem to work -- check
+ key_pressed_cb().
+
+2006-09-19 Ricardo Cruz <rpcmruz(a)clix.pt>
+
+ * src/YGDumbTab.cc: bug fix: show default tab at start, and got rid of
+ warnings.
+
+ * src/YGPackageSelector.cc: show disk usage warning when it starts getting
+ full.
+
+2006-09-15 Ricardo Cruz <rpcmruz(a)clix.pt>
+
+ * src/ygtkrichtext.c: some love to it: only set paragraph spacing for p, h1 and
+ alike, fixed html not rendering on tools like the printer, added center and
+ img tag.
+
+2006-09-12 Ricardo Cruz <rpcmruz(a)clix.pt>
+
+ * src/YGComboBox.cc, YGTable.cc: it seems that YSelectionWidget.h supports
+ icons... Qt only honors them for SelectionBox, but I added support for the
+ rest of the YSelectionWidget children classes as well (that is, ComboBox and
+ MultiSelectionBox). Checkout the tests.
+
+ * src/YGTable.cc: bug fix: mismatch of YCP row numbering and GtkListStore that
+ was causing some glitches. Now, we use a double hash to translate between them.
+
+ * src/YGUI.cc: busy cursor should now be set properly when a YCP program is
+ doing work for some time, like Qt. UI::BusyCursor() and UI::NormalCursor()
+ seem to be now obsolet methods with this approach.
+ Added YGUI::beep(), currently disabled, to go with the core patch.
+
+ * ycc.sh: re-worked a bit: pass z for examples and x for our tests. qt to also
+ run the Qt frontend.
+
+2006-09-11 Ricardo Cruz <rpcmruz(a)clix.pt>
+
+ * src/YGPackageSelector.cc: patterns chosen should now get reflected
+ on the packages list. Some minor upgrades to the interface as well.
+
+ * src/YGPackageSelector.cc: added installation/removal of languages
+ to the patterns dialog.
+
+ * src/YGPackageSelector.cc: improved accuracy of the dependencies list
+ on confirmation dialog a lot.
+
+2006-09-10 Ricardo Cruz <rpcmruz(a)clix.pt>
+
+ * src/YGPackageSelector.cc: added support for upgrades (fine grading
+ on right click).
+
+2006-08-23 Ricardo Cruz <rpcmruz(a)clix.pt>
+
+ * src/YGPackageSelector.cc: don't show available packages that are
+ already installed, unless the version is different where it should
+ display its version. Updating a package with a newer version is not
+ yet supported which is kinda of nasty.
+ (not really hard to add, but will have to wait.)
+
+ * YGPackageSelector.cc: patch selector: don't show installed packages
+ and do the job properly.
+
+2006-08-23 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/ygtkfieldentry.c: remove bogus utils.h include.
+
+ * Makefile.am (EXTRA_DIST): bin yast2.txt
+
+2006-08-23 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/ygtkrichtext.c (ygtk_richtext_init): move link_color
+ upwards, so the constructor can set it up.
+
+2006-08-22 Ricardo Cruz <rpcmruz(a)clix.pt>
+
+ * src/YGDialog.cc: quick fix for the unsupported "one main dialog
+ to rule them all" functionality that yast requires.
+
+ * src/YGPackageSelector.cc , src/YGTable.cc & src/YGTree.cc: added
+ g_object_unref() for all models. I thought GtkTreeView would assume
+ ownership, but it just refs them. So, even if after
+ gtk_tree_view_set_model() we need to unref them.
+
+ * src/YGPackageSelector.cc: show software dependencies and requirments
+ on summary window.
+ * src/YGPackageSelector.cc: search implemented.
+
+ * src/YGImage.cc: bugfix: image was getting cut due to not
+ honoring borders on drawing.
+
+ * src/YGPackageSelector.cc: fixed problem solver.
+
+ * src/YGTable.cc, src/YGPackageSelector.cc and YGUtils.cc: set columns
+ sortable on the patch selector, and set it sorted on severity by default.
+ (GTK is nothing trivial on this respect, but it gives us a lot of power,
+ so we can sort by severity not by string. I mean, the severity string
+ doesn't necessarly mean the least severe to the most severe...)
+
+2006-08-21 Ricardo Cruz <rpcmruz(a)clix.pt>
+
+ * src/YWidget.cc: fixed menomnic on scrolled widget and hide label
+ when passing empty string, as agreed with Stefan.
+
+ * src/ygtkwidget.c & src/YGTree.cc: fixed that oldie bug of autoyast
+ flickering. It turns out my sucpitions about overlapping widgets
+ were (hopefully!) wrong. It was easier to debug now that we have a
+ YGWizard. The reason of the bug was that we were sending an event when
+ the user selected a tree branch and when the YCP asked a branch to
+ be selected. The last cause shouldn't happen and causes a cycle (in
+ certain YCP applications), which hogs up the CPU at full usage, thus
+ the flicker. Amusing enough I repeated the bug on the YGWidget's tree
+ implementation. :P I noticed that YGTable also had the same issue :/ (fixed).
+ Lesson learned. :)
+ * src/YGTable.cc: fixed mentioned bug and a crash on the sorting mechanism
+ when clearing rows (like in Table3.ycp example).
+
+ * src/YGPackageSelector.cc: functional version (just misses
+ search and some other glitches yet to fix for basic functionality
+ be done -- I have also not tested it much, so...).It features a patch,
+ pattern and package selectors. These last both are somewhat integrated.
+ It shows a summary dialog (it doesn't yet list dependencies --
+ actually, I am don't think those are dealt with, maybe with conflicts
+ dialog) and a conflicts dialog. License signing dialog (that some
+ packages force) should be working except that there is some mismatch
+ between the headers and libraries Zypp versions here on that point
+ (the function is there and it compiles fine without warnings, but the
+ linker complains), so it is disabled.
+
+ * src/ygtkwizard.c/h: added this base widget for YGWizard and
+ YGPackageSelector.
+
+ * HACKING: some Zypp info.
+
+2006-08-08 Ricardo Cruz <rpcmruz(a)clix.pt>
+
+ * src/YGWidget.cc: some border fixings.
+
+ * src/ygtkrichtext.c: tag sizes in proportion to normal font.
+ * src/YGWizard.cc: set icon.
+ * src/YGDialog.cc: and use it on children dialogs.
+
+ * src/YGPackageSelector.cc: initial code (I am just trying to
+ see if I can even print a list of packages with Zypp! :/)
+
+2006-08-03 Ricardo Cruz <rpcmruz(a)clix.pt>
+
+ * src/YGLayout.h: don't overload macro operators. This
+ should fix macro playing.
+
+2006-08-01 Ricardo Cruz <rpcmruz(a)clix.pt>
+
+ * src/YGUI.cc: implemented:
+ + screenshot - Ctrl+Alt+Shift+S
+
+ + macros - use Ctrl+Alt+Shift+M (to start & stop)
+ then Ctrl+Alt+Shift+P (play)
+ (not yet working -- looks like we have to do some trick with
+ the events handling to let them pass? Michael, maybe you could
+ check playMacro() on YGUI.cc and respective Qt.)
+
+ + busy/normal cursor.
+ + some fixes on the file dialogs.
+
+ * src/ygtkrichtext.c: added <big>, <small>, <br> and
+ set used cursor_new_for_display().
+
+2006-07-31 Ricardo Cruz <rpcmruz(a)clix.pt>
+
+ * src/YGWidget.cc: improved layout spacing a bit.
+ (to be worked out: some small wizard layout issues.)
+
+ * src/YGLabel.cc: work out output label field to look
+ non-editable.
+
+ * src/YGPushButton.cc: use stock icons.
+
+2006-07-30 Ricardo Cruz <rpcmruz(a)clix.pt>
+
+ * src/YGTable.cc: added sortable table support.
+
+ * src/ygtkratiobox.c: fixed container border.
+
+ * src/YGWidget.h/cc: added support for borders
+ and min sizes.
+
+2006-07-29 Ricardo Cruz <rpcmruz(a)clix.pt>
+
+ * src/YGUtils.cc: simple fix for a crash on tags that
+ are not closed (ie. on EOF).
+
+2006-07-28 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGUI.cc (idleLoop, YGUI, checkInit): do gtk_init
+ idly, inside the thread in which we run the gtk+
+ mainloop to avoid CORBA confusion with a11y.
+
+2006-07-28 Ricardo Cruz <rpcmruz(a)clix.pt>
+
+ * src/YGDumbTab.cc: setSize() and niceSize() should give
+ good values (though things are not yet shining)
+
+ * src/YGDialog.cc: warn/info-dialog option now shows an icon
+ at the left rather than a background color.
+
+ * src/YGWidget.cc: set-ed a frameborder on GtkScrolledWindow,
+ which I just noticed that is supported. I was actually putting the
+ GtkScrolledWindow inside a GtkFrame on YGWizard... :P (fixed)
+
+2006-07-28 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGUI.cc (defaultSize): fix default sizing logic.
+
+ * src/YGWizard.cc (YGWizard): use gtk_box_pack_start
+ and fix a number of layout issues.
+
+ * src/*.c: remove all g_list_first macros: implicit.
+
+ * src/ygtkratiobox.c (ygtk_ratio_box_init): clean.
+
+ * src/Makefile.am (AM_CXXFLAGS): set THEMEDIR.
+ * src/YGWizard.cc (class YGWizard): use THEMEDIR
+
+ * src/ygtkbargraph.c (ygtk_bar_graph_setup_entry): add
+ Tango palette from Jimmac for graphs, order it to get a
+ pleasant set of colors first.
+ (ygtk_bar_graph_new): use a void prototype
+
+ * src/YGDialog.cc ::YGDialog: remove bogus
+ g_object_set causing warning.
+ (configure_event_cb): don't setSize if we just moved.
+
+ * TODO: prune tons of cruft.
+
+ * src/YGUtils.cc (ygutils_convert_to_xhmlt_and_subst):
+ fix br handling to to clobber 'b' tags.
+
+ * src/YGUtils.cc (emit_unclosed_tags_for, tag_entry_new)
+ (tag_entry_free, check_early_close)
+ (ygutils_convert_to_xhmlt_and_subst): complicate royally,
+ now handles all the new tests in
+
+ * src/test.cc (testXHtmlConvert): here: cope with unclosed
+ <p> and <li>, and generic, un-closed tags.
+
+2006-07-28 Ricardo Cruz <rpcmruz(a)clix.pt>
+
+ * src/YGFrame.cc: follow Gnome HIG (no border, bold label
+ and some children identation).
+
+ * src/YGWizard.cc: check for pane movements correctly.
+
+2006-07-27 Ricardo Cruz <rpcmruz(a)clix.pt>
+
+ * src/ygtkmenubutton.c/h: added this button widget that
+ displays a popup when pressed. The popup doesn't have to
+ be necessarly of type GtkMenu that it does the work to
+ make the thing pop-able.
+ * src/YGMenuButton.cc / YGDate: use above.
+ * src/ygtkfieldentry.c/h: added this entry that supports
+ more than one field (from Baruch Even).
+ * src/ygtkspinbox.c/h: replaced by above.
+
+ * src/YGWizard.cc: added pane (there doesn't seem to be a
+ way other than connecting its children to size-allocate to
+ get pane movements... So this currently does unnecessary work
+ on window resizing which is undesirable cause its slow).
+ * src/YGWizard.cc: set help box by number of chars in a line,
+ not pixels, as suggested by Michael.
+
+2006-07-27 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGUtils.cc (ygutils_convert_to_xhmlt_and_subst):
+ re-work to cope with hr & br tags, add <body> tag if
+ no outer tag.
+
+ * src/test.cc (testXHtmlConvert): add torture
+ tests.
+
+ * src/YGUtils.cc (mapKBAccel): add _ escaping.
+ (ygutils_convert_to_xhmlt_and_subst): split to here.
+
+ * src/ygtkrichtext.c (ygtk_richtext_set_text): upd.
+
+ * src/YGUtils.h (YGUtils): add missing dependant
+ headers & guards.
+
+ * src/test.cc: simple automated test set for
+ 'make check', (testMapKBAccel): impl.
+
+ * AUTHORS: set the record straight.
+
+2006-07-26 Ricardo Cruz <rpcmruz(a)clix.pt>
+
+ * src/ygtkspinbox.h/c: An extension over GtkSpinButton that
+ adds support for more than one field.
+ * src/YGTime.cc: implemented YGTime and YGDate.
+
+2006-07-23 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * src/YGRadioButton.cc: regression to Michael's code
+ (with a couple of fixes) due to instability.
+
+2006-07-18 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * src/YGWizard.cc: changed look and added sanity checks
+ to commands.
+ * src/YGAlignment.cc: background image supported.
+ * src/YGImage.cc: done.
+ * src/ygtksteps.c: added alias steps support and made it
+ non-expansible.
+ * src/ygtkbargraph.cc: changed mask to fixed colors and chosen
+ some.
+ * src/YGPartitionSplitter.cc: should be fully operational.
+ * src/YGComboBox.cc: implemented maxchars and validchars.
+ * src/YGMenuButton.cc: bug fix: popup menu right on button press.
+ * src/ygtk_ratio_box.h/c: YGtkRatioBox is now abstract, being instanced
+ by *HBox and *VBox. (still using a common size_request/allocate.)
+ * src/YGMultiProgressMeter.cc: bug fix: vertical orientation fixed.
+ * src/YGRadioButton.cc: bug fix: radio buttons behaving too much like
+ a toggle button.
+
+2006-07-09 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * src/YGWizard.cc: first try.
+
+2006-07-07 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * src/YGWidget.cc: getFixed() can now be overloaded
+ and thise
+ * src/YGDumbTab.cc: first try.
+
+2006-07-06 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * src/ygtkbargraph.c: moved BarGraph to a Gtk class.
+ * src/ygtkslider.c: a more complex gtkscale.
+ * src/YGBarGraph.cc: added YGPartitionSplitter.
+
+2006-07-05 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * src/ratiobox.cc renamed to src/ygtkratiobox.cc
+ * src/YGMultiProgressMeter.cc: new widget.
+ * src/YGProgressBar.cc: added YGDownloadProgress.
+ * src/YGBarGraph.cc: first try at writting a Gtk
+ class out of it for usage in PartitionSplitter.
+ It's broken though. Maybe Michael has a clue on
+ the error...
+
+2006-07-04 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * src/ratiobox.cc: changed size request so that the
+ container always has space for the smallest widget.
+ Fixed some left space caused by precision losses.
+ * YGBarGraph.cc: fixed label text.
+
+2006-07-03 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * src/YGBarGraph.cc src/ratiobox.cc: added ratio
+ container and made bar graph making use of it.
+ Still some issues to care.
+
+2006-06-29 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGLabel.cc (class YGGenericLabel): use
+ m_inner_widget not m_widget to avoid confusion.
+
+ * src/YGDialog.cc (YGDialog): if opt.hasDefaultSize
+ set modal & type hint to dialog; set 'allow_shrink'
+ to allow windows to be shrunk.
+ (configure_event_cb): listen for configure event,
+ use it instead of (size_allocate) nastiness.
+ (setSize): get/set defaultSize not size request.
+
+ * src/YGUI.cc (defaultSize): 1st cut.
+ (YGUI): parse arguments etc.
+
+ * src/Y2CCGtk.cc: re-indent.
+
+ * src/YGFrame.cc (setSize, nicesize, childAdded):
+ bin bogus size calculation for children.
+
+2006-06-24 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * BUGS: added this file that could be used as a notebook
+ for issues, so we don't loose track of them. Nothing
+ comprehensive or anything...
+
+2006-06-21 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * src/YGMenuButton.cc: added support for YMenuButton.
+
+2006-06-19 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGWidget.cc (construct): ref/sink the widget
+ (~YGWidget): destroy / unref widget when freed.
+
+ * src/YGUI.cc/.h: move boolean flag impls to here
+ from the header, beautify header, move cursor
+ bits to .cc.
+
+2006-06-17 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * src/YGIntField.cc: added YSlider support.
+
+ * src/YGLabel.cc: added YColoredLabel support.
+
+2006-06-16 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * src/YGDialog.h: added info/warn color.
+
+ * src/YGRichText.cc: cleanups as asked by Michael.
+
+ * src/YGMultiLineEdit.cc: added YLogView support.
+
+2006-06-16 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * src/YGDialog.h: don't close the window when the user
+ presses the window manager close button. Instead report
+ it to Yast.
+
+ * src/YGRichText.cc: sub-bullets and numbering should
+ be working, as well as sub-"blockquotes".
+ And added the link color code suggested by Michael.
+
+2006-06-16 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGRichText.cc (rt_end_element): remove debug.
+ (setText): fix auto scroll down - we need to use
+ gtk_text_view_scroll_to_mark - which queues the scroll
+ until mapped/sized etc.
+
+2006-06-15 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * src/YGWidget.h: added the emitEvent() method.
+ Also did some others of Michael's suggestions.
+
+ * src/YGRichText.cc: added basic bullets.
+
+2006-06-14 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * src/YGRichText.cc: added support for hyperlinks.
+ I have changed some code ordering (can put it back
+ if you don't like...), but the rendering should be
+ unchaged. Hyperlink code was adapted from the gtk-demos.
+
+ * src/YGMultiLineEdit.cc: changed a couple of things
+ that could have been done easier.
+
+ * src/YGImage: initial image support (misses
+ tiled and scale-to-fit)
+
+2006-06-13 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * src/YGTree.cc: changed the attribution of an
+ absolute path of GtkTreePath to each YTreeItem,
+ that would have to be freed, by the attribute of
+ just an index. The path can easily be calculated.
+ This should also make it easier if we want that
+ setCurrentItem() searches and builds the path
+ itself.
+
+ * src/YGTable.cc: fixed a memory leak.
+
+2006-06-09 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * src/YGTableView.cc (YGMultiSelectionBox):
+ should now be working properly.
+ The allignment from the YGTable should be fixed
+ as well.
+
+ + addRow() returns the position of the added row
+ because sometimes it might not be possible
+ to insert it at the intended position.
+ This makes MultiSelectionBox example from the
+ Yast manual working.
+
+ + added a getYWidget() to YGWidget so that we
+ can make some magic on toggled_cb to avoid
+ the previous approach of having a structure
+ of pointers (we need to pass YGTableView and
+ YMultiSelectionBox...).
+
+2006-06-08 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * src/YGUtils: function that converts integers
+ to strings gets to see the light at the end of
+ the tunnel as it is not used.
+
+2006-06-08 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ Made some changes suggested by Michael, mainly the
+ move of YGLabeledWidget and YGScrolledWidget to the
+ same file of YGWidget.
+
+ * src/YGTree: added set/getCurrentItem() using
+ Michael's suggestions. It saves the YTree items
+ on a non-visible column for getCurrentItem().
+ And it uses data()/setData() from YTreeItems to
+ save the GtkTreePath there and retrive it on
+ getCurrentItem(). Pretty elegant -- and all examples
+ run nicely.
+
+2006-06-08 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGMultiLineEdit.cc (setInputMaxLength): remove
+ bogus pThis usage.
+
+2006-06-07 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGTable.cc (itemAdded): fix crash.
+
+2006-06-06 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * src/YGMultiLineEdit.cc: implemented the YMultiLineEdit.
+ * src/YGScrolledWidget.h/cc: added this new convinience parent
+ widget. It is being used by YGMultiLineEdit, YGRichText,
+ YGTree and YGTableView derivates.
+
+2006-06-06 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * src/YGTable.cc: worked over the YGTableView API and
+ made YGSelectBox and YGMultiSelectBox using it.
+ (Note: YGTable is segfaulting and toggle buttons on
+ Multi* don't seem to like "activatable" attribute.)
+
+ * src/YGTree.cc: tree now goes inside a GtkScrolledWindow
+ which gives it the needed scroll bars.
+
+ * src/YGUI.h: added dialogs to open directories and files.
+
+2006-06-06 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGTable.cc (class YGTable): inherit 1st from
+ YTable, and 2nd from YGTableView, so constructors
+ get invoked in the right order, and so the
+ setWidgetRep works as expected.
+
+2006-06-05 Michael Meeks <michael.meeks(a)novell.com>
+
+ * README: simplify list of what works with
+ wildcards: helps highlight slightly incomplete bits.
+
+ * src/YGRadioButton.cc: Improve signal connection /
+ blockage, fix whitespace.
+ (class YGCheckBox): impl.
+
+2006-06-04 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * src/YGLabel.cc: worked out; all examples now work.
+ * src/YGLabeledWidget.cc: added support for buddies.
+ (Notes: YGUtils::setLabel() was removed as it is
+ not needed.)
+
+ * src/YGTree.cc: First implementation
+ (misses get/setCurrentItem())
+
+2006-06-03 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * src/YGTable.cc: added table support; all
+ examples work. But two things still need attention:
+ + I'm not sure what the first letter on the headers
+ is supposed to do.
+ + Signal for when the user selects an item isn't
+ being sent.
+ (unfortunately, inetd or users yast modules aren't
+ working near well. But it seems like layout issues.)
+
+2006-06-02 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGReplacePoint.cc, src/YGAlignment.cc,
+ * src/YGLayout.cc: merge into YGLayout. Implement
+ YSquash as well.
+
+ * src/YGSplit.cc, src/YGEmpty.cc, src/YGSpacing.cc,
+ * src/YGLayout.cc: merge into YGLayout.
+
+ * src/Makefile.am: update.
+
+2006-06-01 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * src/YGLabelWidget.cc is now src/YGLabeledWidget.cc
+
+2006-06-02 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGLabel.cc (setLabel): add missing chain to parent,
+ clean some cruft.
+
+ * ycc.sh: re-work to use the gtk+ option: zenity :-)
+
+2006-06-01 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * src/YGComboBox.cc: constructor now is an independent
+ woman. This was possible because of gtk_combo_box_set_model().
+ setValue() should work, but it's a hack.
+
+2006-06-01 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGTextEntry.cc (YGTextEntry): use SET_LABEL_CHAIN
+
+ * src/YGComboBox.cc (getComboBox): impl. & use, fix
+ whitespace issues, use SET_LABEL_CHAIN
+
+ * src/YGLabelWidget.cc (YGLabelWidget): inline (construct),
+ set use_underline on the label, fix some whitespace bits.
+ Add YGLABEL_WIDGET_IMPL_SET_LABEL_CHAIN.
+ (doSetLabel): rename from setLabel.
+
+2006-06-01 Ricardo Cruz <rpmcruz(a)clix.pt>
+
+ * src/YGLabelWidget.cc/hh: added this convinience
+ class that displays a label next to the intended
+ widget.
+
+ * src/YGComboBox.cc: workable combo box.
+ To do: implement setValue() -- seems far from trivial.
+ And add validChars filter -- easy after setValue() done.
+ * src/YGTextEntry.cc: fully implemented text entry.
+ (Note: I haven't implemented *MultipleChanges() as
+ I think the overhead of it on a single entry text
+ widget should not worth it. Qt does the same.)
+
+ * src/YGUtils.cc/hh: added these couple files
+ that should have functions shared between classes
+ or that just make sense to be in such a file.
+ Currently has setLabel() and is_str_valid().
+ (Note: setLabel() doesn't yet support buddies.)
+
+ * src/YGWidget.h: added keyboard focus macro.
+
+2006-05-30 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGUI.cc: remove createComboBox
+
+ * src/YGComboBox.cc: move it here, implement a noddy
+ skeleton.
+
+2006-05-29 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGRadioButton.cc (setValue): block signals to
+ avoid supurious events: fixes RadioButton1
+
+ * src/YGRadioButton.cc (getCheckRadioButtonType):
+ remove bus-load of debug, angst & crud. Kill elusive
+ crasher (gdb was lying), sub-class GtkRadioButton to
+ make behavior more Qt-like.
+
+2006-05-27 Michael Meeks <michael@>
+
+ * src/YGSelectionBox.cc: add - stub for timezone
+ selector. YGSquash.cc needed next: should be simple -
+ go Ricardo go ! ;-)
+
+ * src/Makefile.am (libpy2gtk_la_SOURCES): add
+ YGSelectionBox.cc
+
+ * src/YGWidget.cc: tag YGWIDGET_DUFF_LAYOUT & remove
+ the crufty guff trying to fixup some issues.
+ (clobbered_size_allocate, dynamic_subtype, moveWidget):
+ remove.
+
+ * test.sh: helpful script for testing.
+
+ * src/YGDialog.cc (YGDialog): remove set_default_size
+ causing grief.
+
+ * src/YGSplit.cc (class YGSplit): use new
+ SET_SIZE_CHAIN - all 'Fixed' containers should do
+ this.
+
+ * src/YGDialog.cc (setSize): remove horrible hack
+ to trap set_size_request -> size_allocate -> ~ loop,
+ much cleaner now.
+
+2006-05-27 Michael Meeks <michael.meeks(a)novell.com>
+
+ * configure.in: use PKG_CHECK_MODULES, fixes odd
+ 64bit problem.
+
+ * autogen.sh: pass --libdir inferred from
+ yast2-devtools libdir: fixes 64bit foo; don't set
+ the wrong PKG_CONFIG_PATH unless we have nothing to
+ go on.
+
+2006-05-25 Michael Meeks <michael.meeks(a)novell.com>
+
+ * README, yast2.txt: update & clarify.
+
+ * src/YGWidget.cc (getNiceSize): remove ugly
+ hack, and emit 'size_request' signal ourselves
+ to avoid need for hack.
+
+2006-05-25 Michael Meeks <michael.meeks(a)novell.com>
+
+ * commit to Novell forge CVS: thanks kobliha
+
+ * src/YGWidget.cc (getNiceSize): remove ugly
+ hack, and emit 'size_request' signal ourselves
+ to avoid need for hack.
+
+2006-05-17 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGFrame.cc: fix setSize
+
+ * src/YGWidget.cc: revert to old-style layout
+ again, forgotten the (good?) reasons for the pain.
+
+ * src/YGWidget.cc (YGWidget): if (!show) - toplevel
+ window: don't much about with 'size_allocate'
+ sub-classing: fixes window sizing issues.
+
+2006-05-06 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGWidget.cc (doMoveChild): impl. as a method.
+ (do_size_allocate): factor out of (doSetSize).
+ (doMoveChild): act on the child's allocation not ours.
+ Works rather nicely (now).
+
+2006-05-06 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGWidget.cc (clobbered_size_allocate): impl.
+ (doSetSize): impl. add CLOBBER_SIZE_ALLOCATE control,
+ default to off. Just need some more work on custom
+ GtkAllocation manipulation by containers.
+
+2006-05-06 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGWidget.cc (YGWidget): add 'hack here'
+ goodness.
+ (dynamic_subtype): create dynamic sub-type & clobber
+ size_allocate.
+ (clobbered_size_allocate): this needs to be able
+ to filter out individual widgets [ via g_object_data ? ]
+ to allow individual size allocations to be performed
+ without the rest of the children getting them too.
+
+ * src/YGWidget.[ch]: re-factor constructor to take
+ 'type' & construction time args; this will allow a
+ dynamic sub-classing to happen there to allow
+ clobbering of size_request/allocate [etc.]
+ * src/*: update to fit.
+ * src/YGImage.c: clobber for now.
+
+2006-04-13 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGFrame.cc, src/YGImage.cc: add
+ * src/YGRadioButton.cc: add - something badly
+ wrong with destruction logic though.
+
+2006-04-05 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGDialog.cc: fold YGDialog.h in.
+
+ * src/YGUI.cc: impl. get screen dimensions /
+ default size etc.
+
+2006-04-05 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGUI.cc (idleLoop): set NULL encoding.
+
+ * src/YGRichText.cc (YGRichText): impl.
+
+2006-04-04 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGPushButton.cc, src/YGUI.cc: move.
+
+2006-04-01 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGRichText.cc: stubbed.
+
+2006-03-30 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGUI.cc (YGUI): call 'topmostConstructorHasFinished'
+ (idleLoop, ycp_wakeup_fn): deal with fd_ycp properly.
+
+2006-03-30 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGLabel.h, src/YGSplit.h: remove.
+
+ * src/YGTextEntry.cc: partial impl.
+
+ * src/YGSpacing.cc, src/YGReplacePoint.cc,
+ * src/YGProgressBar.cc, src/YGEmpty.cc: impl.
+
+ * src/YGWidget.cc (show): impl.
+
+2006-03-29 Michael Meeks <michael.meeks(a)novell.com>
+
+ * configure.in: catch non /usr prefixes.
+
+ * src/YGWidget.cc (getFixed): walk up widget hierarchy
+ first looking for 'Fixed's.
+
+ * src/YGSplit.cc (YGSplit): also a GtkFixed - we need
+ a nested hierarchy of Fixed it seems.
+
+2006-03-28 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGUI.h (ui): fix silly infinite recursion,
+ click the button to exit now works.
+
+ * src/YGDialog.cc (nicesize): fix sizing.
+
+2006-03-27 Michael Meeks <michael.meeks(a)novell.com>
+
+ * src/YGSplit.h: remove bogus niceSize impl causing
+ difficulties.
+
+ * src/YGUI.cc (dumpWidgetTree, dumpYastTree): expose.
+
+ * src/YGDialog.cc (nicesize): remove hack /crop to
+ max 50 pixels large.
+
+ * src/YGWidget.h (getWidgetName): return better names.
+
+ * src/YGDialog.cc (setSize, ygdialog_size_allocate):
+ make dynamic sizing work better (can grow at least)
+
+ * yast2.txt: helpful devel. pointers.
+
+ * configure.in, src/*: add some code.
+
+ * Import personal play-ground of no real value.
+
+ * Please feal extremely free to commit
+ tasteful bug fixes
+
--
To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0
[yast-commit] r43220 - in /trunk/gtk/src: YGPackageSelector.cc yzyppwrapper.cc yzyppwrapper.h
by rpmcruz@svn.opensuse.org 21 Dec '07
by rpmcruz@svn.opensuse.org 21 Dec '07
21 Dec '07
Author: rpmcruz
Date: Fri Dec 21 11:53:29 2007
New Revision: 43220
URL: http://svn.opensuse.org/viewcvs/yast?rev=43220&view=rev
Log:
* src/yzyppwrapper.cc (Pool): build pool even for unintialized types.
* src/YGPackageSelector.cc (ChangesPane): reflect pool at start. A bit hacky,
besides we may want to do this only for Patches...
Modified:
trunk/gtk/src/YGPackageSelector.cc
trunk/gtk/src/yzyppwrapper.cc
trunk/gtk/src/yzyppwrapper.h
Modified: trunk/gtk/src/YGPackageSelector.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/YGPackageSelector.cc?rev…
==============================================================================
--- trunk/gtk/src/YGPackageSelector.cc (original)
+++ trunk/gtk/src/YGPackageSelector.cc Fri Dec 21 11:53:29 2007
@@ -344,7 +344,7 @@
{ return m_box; }
ChangesPane()
- : m_entries (NULL)
+ : m_container (NULL), m_entries (NULL)
{
GtkWidget *heading = gtk_label_new (_("Changes:"));
YGUtils::setWidgetFont (heading, PANGO_WEIGHT_ULTRABOLD, PANGO_SCALE_LARGE);
@@ -379,6 +379,10 @@
Ypp::Query *query = new Ypp::Query();
query->setIsModified (true);
m_pool = new Ypp::Pool (query);
+ // initialize list -- there could already be packages modified
+ for (Ypp::Pool::Iter it = m_pool->getFirst(); it; it = m_pool->getNext (it)) {
+ ChangesPane::entryInserted (it, m_pool->get (it));
+ }
m_pool->setListener (this);
}
@@ -393,7 +397,14 @@
void setContainer (GtkWidget *container)
{
m_container = container;
- gtk_widget_hide (m_container);
+ if (!m_entries)
+ gtk_widget_hide (m_container);
+ // ugly: signal modified for all entries to allow them to hide undo buttons
+ GList *i;
+ Ypp::Pool::Iter it;
+ for (it = m_pool->getFirst(), i = m_entries; it && i;
+ it = m_pool->getNext (it), i = i->next)
+ ((Entry *) i->data)->modified (m_pool->get (it));
}
virtual void entryInserted (Ypp::Pool::Iter iter, Ypp::Package *package)
@@ -402,7 +413,8 @@
gtk_box_pack_start (GTK_BOX (m_entries_box), entry->getWidget(), FALSE, TRUE, 0);
int index = m_pool->getIndex (iter);
m_entries = g_list_insert (m_entries, entry, index);
- gtk_widget_show (m_container);
+ if (m_container)
+ gtk_widget_show (m_container);
}
virtual void entryDeleted (Ypp::Pool::Iter iter, Ypp::Package *package)
@@ -413,7 +425,7 @@
gtk_container_remove (GTK_CONTAINER (m_entries_box), entry->getWidget());
delete entry;
m_entries = g_list_delete_link (m_entries, i);
- if (m_entries == NULL)
+ if (!m_entries)
gtk_widget_hide (m_container);
}
Modified: trunk/gtk/src/yzyppwrapper.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/yzyppwrapper.cc?rev=4322…
==============================================================================
--- trunk/gtk/src/yzyppwrapper.cc (original)
+++ trunk/gtk/src/yzyppwrapper.cc Fri Dec 21 11:53:29 2007
@@ -732,7 +732,7 @@
}
bool is (const T &v) const
{
-// if (!defined) return true;
+ if (!defined) return true;
return value == v;
}
bool defined;
Modified: trunk/gtk/src/yzyppwrapper.h
URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/yzyppwrapper.h?rev=43220…
==============================================================================
--- trunk/gtk/src/yzyppwrapper.h (original)
+++ trunk/gtk/src/yzyppwrapper.h Fri Dec 21 11:53:29 2007
@@ -110,6 +110,8 @@
// Pool
struct Pool {
+ // TODO: add a flag to check if the pool should be constructed at initilization
+ // e.g. it may make no sense to try to build for the ChangesPane.
Pool (Query *query);
typedef void * Iter;
--
To unsubscribe, e-mail: yast-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: yast-commit+help(a)opensuse.org
1
0