Hello community, here is the log from the commit of package libyui-ncurses for openSUSE:Factory checked in at 2014-02-03 11:40:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libyui-ncurses (Old) and /work/SRC/openSUSE:Factory/.libyui-ncurses.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libyui-ncurses" Changes: -------- --- /work/SRC/openSUSE:Factory/libyui-ncurses/libyui-ncurses.changes 2014-01-09 17:25:09.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libyui-ncurses.new/libyui-ncurses.changes 2014-02-03 11:40:40.000000000 +0100 @@ -1,0 +2,15 @@ +Wed Jan 29 15:08:55 CET 2014 - [email protected] + +- code cleanup concerning text domain +- 2.46.2 + +------------------------------------------------------------------- +Sun Jan 19 11:41:07 CET 2014 - [email protected] + +- NCInputField did not manage ctrl-h (08) and del (0x7f) to delete + input +- Fixed YTree item selection during items population, + old implementation ignored selected items. +- 2.46.1 + +------------------------------------------------------------------- Old: ---- libyui-ncurses-2.46.0.tar.bz2 New: ---- libyui-ncurses-2.46.2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libyui-ncurses-doc.spec ++++++ --- /var/tmp/diff_new_pack.Ou9se9/_old 2014-02-03 11:40:40.000000000 +0100 +++ /var/tmp/diff_new_pack.Ou9se9/_new 2014-02-03 11:40:40.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package libyui-ncurses-doc # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: libyui-ncurses-doc -Version: 2.46.0 +Version: 2.46.2 Release: 0 Source: libyui-ncurses-%{version}.tar.bz2 ++++++ libyui-ncurses.spec ++++++ --- /var/tmp/diff_new_pack.Ou9se9/_old 2014-02-03 11:40:40.000000000 +0100 +++ /var/tmp/diff_new_pack.Ou9se9/_new 2014-02-03 11:40:40.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package libyui-ncurses # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: libyui-ncurses -Version: 2.46.0 +Version: 2.46.2 Release: 0 Source: libyui-ncurses-%{version}.tar.bz2 ++++++ libyui-ncurses-2.46.0.tar.bz2 -> libyui-ncurses-2.46.2.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.46.0/ChangeLog new/libyui-ncurses-2.46.2/ChangeLog --- old/libyui-ncurses-2.46.0/ChangeLog 2013-12-05 18:46:37.000000000 +0100 +++ new/libyui-ncurses-2.46.2/ChangeLog 2014-01-29 16:06:30.000000000 +0100 @@ -1,4 +1,19 @@ ------------------------------------------------------------------- +Wed Jan 29 15:08:55 CET 2014 - [email protected] + +- code cleanup concerning text domain +- 2.46.2 + +------------------------------------------------------------------- +Sun Jan 19 11:41:07 CET 2014 - [email protected] + +- NCInputField did not manage ctrl-h (08) and del (0x7f) to delete + input +- Fixed YTree item selection during items population, + old implementation ignored selected items. +- 2.46.1 + +------------------------------------------------------------------- Thu Dec 5 16:36:33 UTC 2013 - [email protected] - adjusted to libyui so version 6 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.46.0/VERSION.cmake new/libyui-ncurses-2.46.2/VERSION.cmake --- old/libyui-ncurses-2.46.0/VERSION.cmake 2013-12-05 18:46:37.000000000 +0100 +++ new/libyui-ncurses-2.46.2/VERSION.cmake 2014-01-29 16:06:30.000000000 +0100 @@ -1,6 +1,6 @@ SET( VERSION_MAJOR "2" ) SET( VERSION_MINOR "46" ) -SET( VERSION_PATCH "0" ) +SET( VERSION_PATCH "2" ) SET( VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${GIT_SHA1_VERSION}" ) ##### This is need for the libyui core, ONLY. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.46.0/src/NCDialog.cc new/libyui-ncurses-2.46.2/src/NCDialog.cc --- old/libyui-ncurses-2.46.0/src/NCDialog.cc 2013-12-05 18:46:37.000000000 +0100 +++ new/libyui-ncurses-2.46.2/src/NCDialog.cc 2014-01-29 16:06:30.000000000 +0100 @@ -29,18 +29,12 @@ #include "NCPopupInfo.h" #include "NCMenuButton.h" #include <yui/YShortcut.h> -#include "NCi18n.h" #include "NCtoY2Event.h" #include <yui/YDialogSpy.h> #include "ncursesw.h" -/* - Textdomain "ncurses" - */ - - static bool hiddenMenu() { return getenv( "Y2NCDBG" ) != NULL; @@ -82,7 +76,7 @@ { NCurses::RememberDlg( this ); // don't set text domain to ncurses - other text domains won't work (bnc #476245) - // setTextdomain( "ncurses" ); + _init_size(); wstate = NC::WSdumb; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.46.0/src/NCFileSelection.cc new/libyui-ncurses-2.46.2/src/NCFileSelection.cc --- old/libyui-ncurses-2.46.0/src/NCFileSelection.cc 2013-12-05 18:46:37.000000000 +0100 +++ new/libyui-ncurses-2.46.2/src/NCFileSelection.cc 2014-01-29 16:06:30.000000000 +0100 @@ -171,7 +171,6 @@ , tableType( type ) { SetSepChar( ' ' ); - //setTextdomain( "ncurses" ); struct stat64 statInfo; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.46.0/src/NCInputField.cc new/libyui-ncurses-2.46.2/src/NCInputField.cc --- old/libyui-ncurses-2.46.0/src/NCInputField.cc 2013-12-05 18:46:37.000000000 +0100 +++ new/libyui-ncurses-2.46.2/src/NCInputField.cc 2014-01-29 15:51:31.000000000 +0100 @@ -372,6 +372,8 @@ switch ( key ) { + case '\b': //ctrl-h + case 0x7f: //del case KEY_BACKSPACE: if ( bufferFull() && curpos == maxCursor() ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.46.0/src/NCPopupInfo.cc new/libyui-ncurses-2.46.2/src/NCPopupInfo.cc --- old/libyui-ncurses-2.46.0/src/NCPopupInfo.cc 2013-12-05 18:46:37.000000000 +0100 +++ new/libyui-ncurses-2.46.2/src/NCPopupInfo.cc 2014-01-29 16:06:30.000000000 +0100 @@ -67,6 +67,9 @@ std::string okButtonLabel, std::string cancelButtonLabel ) { + std::string old_textdomain = textdomain( NULL ); + setTextdomain( "ncurses" ); + // the vertical split is the (only) child of the dialog NCLayoutBox * split = new NCLayoutBox( this, YD_VERT ); @@ -109,6 +112,9 @@ //the same with missing ok button and single cancel button if ( okButtonLabel == "" && cancelButton ) focusCancelButton(); + + // restore former text domain + setTextdomain( old_textdomain.c_str() ); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.46.0/src/NCTree.cc new/libyui-ncurses-2.46.2/src/NCTree.cc --- old/libyui-ncurses-2.46.0/src/NCTree.cc 2013-12-05 18:46:37.000000000 +0100 +++ new/libyui-ncurses-2.46.2/src/NCTree.cc 2014-01-29 15:51:31.000000000 +0100 @@ -489,6 +489,9 @@ NCTreeLine * line = new NCTreeLine( parentLine, treeItem, multiSel ); pad->Append( line ); + if (item->selected()) + selectItem( item, true ); + // iterate over children for ( YItemIterator it = item->childrenBegin(); it < item->childrenEnd(); ++it ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.46.0/src/NCi18n.h new/libyui-ncurses-2.46.2/src/NCi18n.h --- old/libyui-ncurses-2.46.0/src/NCi18n.h 2013-12-05 18:46:37.000000000 +0100 +++ new/libyui-ncurses-2.46.2/src/NCi18n.h 2014-01-29 16:06:30.000000000 +0100 @@ -57,7 +57,7 @@ inline void setTextdomain( const char * domain ) { bindtextdomain( domain, YSettings::localeDir().c_str() ); - bind_textdomain_codeset( domain, "utf8" ); + bind_textdomain_codeset( domain, "UTF-8" ); textdomain( domain ); // Make change known diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-ncurses-2.46.0/src/NCurses.cc new/libyui-ncurses-2.46.2/src/NCurses.cc --- old/libyui-ncurses-2.46.0/src/NCurses.cc 2013-12-05 18:46:37.000000000 +0100 +++ new/libyui-ncurses-2.46.2/src/NCurses.cc 2014-01-29 16:06:30.000000000 +0100 @@ -36,7 +36,6 @@ #include <yui/YUILog.h> #include "NCurses.h" #include "NCDialog.h" -#include "NCi18n.h" #include "stdutil.h" #include <signal.h> @@ -49,10 +48,6 @@ using stdutil::vform; using stdutil::form; -/* - Textdomain "ncurses" - */ - NCurses * NCurses::myself = 0; std::set<NCDialog*> NCurses::_knownDlgs; const NCursesEvent NCursesEvent::Activated( NCursesEvent::button, YEvent::Activated ); @@ -480,27 +475,6 @@ yuiMilestone() << "Draw title called" << std::endl; -#if 0 - setTextdomain( "ncurses" ); - // part of title (headline) of the textmode yast - NCstring helpF1( _( "Press F1 for Help" ) ); - NCtext textF1( helpF1 ); - - int s = myself->title_w->_maxx - textF1.Columns(); - - if ( NCstring::terminalEncoding() != "UTF-8" ) - { - std::string out; - NCstring::RecodeFromWchar( helpF1.str(), NCstring::terminalEncoding(), &out ); - ::mvwaddstr( myself->title_w, 0, s, out.c_str() ); - } - else - { - ::mvwaddwstr( myself->title_w, 0, s, ( wchar_t * )helpF1.str().c_str() ); - } - -#endif - ::mvwaddstr( myself->title_w, 0, 1, myself->title_t.c_str() ); ::wnoutrefresh( myself->title_w ); } -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
