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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * src/YGUI.cc & src/YGDialog.cc: added save_y2logs command on Shift+F8
+ like yast-qt.
+
+2007-11-12 Ricardo Cruz
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * src/ygtkmenubutton.c: simplified menu pos code.
+
+2007-10-26 Ricardo Cruz
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * po/pt.po: remove - causing grief with 'make package'
+
+2007-08-08 Michael Meeks
+
+ * VERSION: 2.15.8, Revision 40088
+
+ * src/YGPackageSelector.cc (acceptLicense):
+ details on how to print the license: FaTE #302018
+
+2007-07-23 Michael Meeks
+
+ * Version 2.15.6, Revison 39606
+
+2007-07-23 Michael Meeks
+
+ * 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
+
+ * 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
+
+ * moved changelog to package subdir, added .spec.in and -yast2-gtk-rpmlint
+ files
+
+2007-07-16 Ricardo Cruz
+
+ * 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
+
+ * 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
+
+ * 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
+
+ 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
+
+ * Version 2.15.4 - Rev 38929
+
+2007-06-20 Michael Meeks
+
+ * 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
+
+ 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * Version 2.15.3, Revision 446+
+
+2007-05-11 Michael Meeks
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * Version 2.15.2, Revision 431
+
+2007-04-17 Michael Meeks
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * ycc/ycc.cpp: use /usr/share/YaST2/theme/current/ for icons,
+ not /usr/share/YaST2/theme/SuSELinux/.
+
+2007-03-26 Ricardo Cruz
+
+ * 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
+
+ * Version 2.15.1 - Rev 412
+
+2007-03-16 Michael Meeks
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * YGTree.cc: stuff was being printed. Got rid of that.
+
+2006-11-24 Ricardo Cruz
+
+ * ygtkratiobox.c: fixed badly given space when homogeneous
+ is set.
+
+2006-11-21 Ricardo Cruz
+
+ 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * src/YGPackageSelector.cc: added support for upgrades (fine grading
+ on right click).
+
+2006-08-23 Ricardo Cruz
+
+ * 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
+
+ * src/ygtkfieldentry.c: remove bogus utils.h include.
+
+ * Makefile.am (EXTRA_DIST): bin yast2.txt
+
+2006-08-23 Michael Meeks
+
+ * src/ygtkrichtext.c (ygtk_richtext_init): move link_color
+ upwards, so the constructor can set it up.
+
+2006-08-22 Ricardo Cruz
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * src/YGLayout.h: don't overload macro operators. This
+ should fix macro playing.
+
+2006-08-01 Ricardo Cruz
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * src/YGUtils.cc: simple fix for a crash on tags that
+ are not closed (ie. on EOF).
+
+2006-07-28 Michael Meeks
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * src/YGRadioButton.cc: regression to Michael's code
+ (with a couple of fixes) due to instability.
+
+2006-07-18 Ricardo Cruz
+
+ * 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
+
+ * src/YGWizard.cc: first try.
+
+2006-07-07 Ricardo Cruz
+
+ * src/YGWidget.cc: getFixed() can now be overloaded
+ and thise
+ * src/YGDumbTab.cc: first try.
+
+2006-07-06 Ricardo Cruz
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * src/YGMenuButton.cc: added support for YMenuButton.
+
+2006-06-19 Michael Meeks
+
+ * 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
+
+ * src/YGIntField.cc: added YSlider support.
+
+ * src/YGLabel.cc: added YColoredLabel support.
+
+2006-06-16 Ricardo Cruz
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ 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
+
+ * src/YGMultiLineEdit.cc (setInputMaxLength): remove
+ bogus pThis usage.
+
+2006-06-07 Michael Meeks
+
+ * src/YGTable.cc (itemAdded): fix crash.
+
+2006-06-06 Ricardo Cruz
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * src/YGLabelWidget.cc is now src/YGLabeledWidget.cc
+
+2006-06-02 Michael Meeks
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * src/YGUI.cc: remove createComboBox
+
+ * src/YGComboBox.cc: move it here, implement a noddy
+ skeleton.
+
+2006-05-29 Michael Meeks
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * src/YGFrame.cc, src/YGImage.cc: add
+ * src/YGRadioButton.cc: add - something badly
+ wrong with destruction logic though.
+
+2006-04-05 Michael Meeks
+
+ * src/YGDialog.cc: fold YGDialog.h in.
+
+ * src/YGUI.cc: impl. get screen dimensions /
+ default size etc.
+
+2006-04-05 Michael Meeks
+
+ * src/YGUI.cc (idleLoop): set NULL encoding.
+
+ * src/YGRichText.cc (YGRichText): impl.
+
+2006-04-04 Michael Meeks
+
+ * src/YGPushButton.cc, src/YGUI.cc: move.
+
+2006-04-01 Michael Meeks
+
+ * src/YGRichText.cc: stubbed.
+
+2006-03-30 Michael Meeks
+
+ * src/YGUI.cc (YGUI): call 'topmostConstructorHasFinished'
+ (idleLoop, ycp_wakeup_fn): deal with fd_ycp properly.
+
+2006-03-30 Michael Meeks
+
+ * 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
+
+ * 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
+
+ * 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
+
+ * 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@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org