Author: sh-sh-sh Date: Mon Apr 7 18:44:07 2008 New Revision: 46199 URL: http://svn.opensuse.org/viewcvs/yast?rev=46199&view=rev Log: more cruft Modified: trunk/ncurses/src/NCDialog.cc trunk/ncurses/src/NCPadWidget.cc trunk/ncurses/src/NCRichText.cc trunk/ncurses/src/NCStyleDef.cc trunk/ncurses/src/NCTableItem.cc trunk/ncurses/src/NCTablePad.cc trunk/ncurses/src/NCTextPad.cc trunk/ncurses/src/NCTreePad.cc trunk/ncurses/src/NCWidget.cc trunk/ncurses/src/NCattribute.cc trunk/ncurses/src/NCtext.cc trunk/ncurses/src/NCtypes.cc trunk/ncurses/src/NCurses.cc trunk/ncurses/src/ncursesp.cc trunk/ncurses/src/ncursesw.cc trunk/ncurses/src/position.cc trunk/ncurses/src/stringutil.cc Modified: trunk/ncurses/src/NCDialog.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCDialog.cc?rev=46199&r1=46198&r2=46199&view=diff ============================================================================== --- trunk/ncurses/src/NCDialog.cc (original) +++ trunk/ncurses/src/NCDialog.cc Mon Apr 7 18:44:07 2008 @@ -39,14 +39,6 @@ */ -/****************************************************************** -** -** -** FUNCTION NAME : hiddenMenu -** FUNCTION TYPE : static bool -** -** DESCRIPTION : -*/ static bool hiddenMenu() { return getenv( "Y2yuiDebug()" ) != NULL; @@ -1177,14 +1169,7 @@ return NCursesEvent::none; } -/****************************************************************** -** -** -** FUNCTION NAME : operator<< -** FUNCTION TYPE : ostream & -** -** DESCRIPTION : -*/ + ostream & operator<<( ostream & STREAM, const NCDialog * OBJ ) { if ( OBJ ) @@ -1218,14 +1203,7 @@ return fkeys; } -/****************************************************************** -** -** -** FUNCTION NAME : operator<< -** FUNCTION TYPE : ostream & -** -** DESCRIPTION : -*/ + ostream & operator<<( ostream & STREAM, const NCDialog & OBJ ) { STREAM << (const NCWidget &)OBJ << ' ' << OBJ.pan Modified: trunk/ncurses/src/NCPadWidget.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCPadWidget.cc?rev=46199&r1=46198&r2=46199&view=diff ============================================================================== --- trunk/ncurses/src/NCPadWidget.cc (original) +++ trunk/ncurses/src/NCPadWidget.cc Mon Apr 7 18:44:07 2008 @@ -392,7 +392,6 @@ - // DESCRIPTION : void NCPadWidget::ScrollHead( NCursesWindow & w, unsigned ccol ) { if ( hasHeadline && win ) { Modified: trunk/ncurses/src/NCRichText.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCRichText.cc?rev=46199&r1=46198&r2=46199&view=diff ============================================================================== --- trunk/ncurses/src/NCRichText.cc (original) +++ trunk/ncurses/src/NCRichText.cc Mon Apr 7 18:44:07 2008 @@ -333,14 +333,7 @@ } -/****************************************************************** -** -** -** FUNCTION NAME : Skip... -** FUNCTION TYPE : void -** -** DESCRIPTION : DrawHTMLPad tools -*/ +// DrawHTMLPad tools inline void SkipToken( const wchar_t *& wch ) { do { Modified: trunk/ncurses/src/NCStyleDef.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCStyleDef.cc?rev=46199&r1=46198&r2=46199&view=diff ============================================================================== --- trunk/ncurses/src/NCStyleDef.cc (original) +++ trunk/ncurses/src/NCStyleDef.cc Mon Apr 7 18:44:07 2008 @@ -1018,21 +1018,13 @@ return ret; } -// NCStyleDef::showex #define BGSET(a) W.bkgdset( st.a ) static int hi = 4; static int wi = 15; -/****************************************************************** -** -** -** FUNCTION NAME : Syledraw -** FUNCTION TYPE : static void -** -** DESCRIPTION : -*/ + inline void frame( NCursesWindow & w, int l, int c, int H = 0, int W = 0 ) { if ( !H ) H = hi; @@ -1518,14 +1510,6 @@ } -/****************************************************************** -** -** -** FUNCTION NAME : NCDefineStyle -** FUNCTION TYPE : void -** -** DESCRIPTION : -*/ void NCDefineStyle( NCstyle & style ) { static NCStyleDef cstyle( style ); Modified: trunk/ncurses/src/NCTableItem.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCTableItem.cc?rev=46199&r1=46198&r2=46199&view=diff ============================================================================== --- trunk/ncurses/src/NCTableItem.cc (original) +++ trunk/ncurses/src/NCTableItem.cc Mon Apr 7 18:44:07 2008 @@ -72,14 +72,7 @@ label.drawAt( w, bg, hbg, at, tableStyle.ColAdjust( colidx ) ); } -/****************************************************************** -** -** -** FUNCTION NAME : operator<< -** FUNCTION TYPE : ostream & -** -** DESCRIPTION : -*/ + ostream & operator<<( ostream & STREAM, const NCTableCol & OBJ ) { return STREAM << OBJ.label; @@ -267,14 +260,7 @@ } } -/****************************************************************** -** -** -** FUNCTION NAME : operator<< -** FUNCTION TYPE : ostream & -** -** DESCRIPTION : - */ + ostream & operator<<( ostream & STREAM, const NCTableLine & OBJ ) { STREAM << "Line: cols " << OBJ.Cols() << endl; @@ -439,14 +425,7 @@ return currentBG; } -/****************************************************************** -** -** -** FUNCTION NAME : operator<< -** FUNCTION TYPE : ostream & -** -** DESCRIPTION : -*/ + ostream & operator<<( ostream & STREAM, const NCTableStyle & OBJ ) { STREAM << form( "cols %d, sep %d (%lx)\n", Modified: trunk/ncurses/src/NCTablePad.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCTablePad.cc?rev=46199&r1=46198&r2=46199&view=diff ============================================================================== --- trunk/ncurses/src/NCTablePad.cc (original) +++ trunk/ncurses/src/NCTablePad.cc Mon Apr 7 18:44:07 2008 @@ -318,14 +318,7 @@ } } -/****************************************************************** -** -** -** FUNCTION NAME : operator<< -** FUNCTION TYPE : ostream & -** -** DESCRIPTION : -*/ + ostream & operator<<( ostream & STREAM, const NCTablePad & OBJ ) { STREAM << "TablePad: lines " << OBJ.Lines() << endl; Modified: trunk/ncurses/src/NCTextPad.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCTextPad.cc?rev=46199&r1=46198&r2=46199&view=diff ============================================================================== --- trunk/ncurses/src/NCTextPad.cc (original) +++ trunk/ncurses/src/NCTextPad.cc Mon Apr 7 18:44:07 2008 @@ -442,14 +442,7 @@ return ret; } -/****************************************************************** -** -** -** FUNCTION NAME : operator<< -** FUNCTION TYPE : ostream & -** -** DESCRIPTION : -*/ + ostream & operator<<( ostream & STREAM, const NCTextPad & OBJ ) { STREAM << "at " << OBJ.CurPos() << " on " << wsze( OBJ.height(), OBJ.width() ) Modified: trunk/ncurses/src/NCTreePad.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCTreePad.cc?rev=46199&r1=46198&r2=46199&view=diff ============================================================================== --- trunk/ncurses/src/NCTreePad.cc (original) +++ trunk/ncurses/src/NCTreePad.cc Mon Apr 7 18:44:07 2008 @@ -346,14 +346,7 @@ return handled; } -/****************************************************************** -** -** -** FUNCTION NAME : operator<< -** FUNCTION TYPE : ostream & -** -** DESCRIPTION : -*/ + ostream & operator<<( ostream & STREAM, const NCTreePad & OBJ ) { STREAM << "TreePad: lines " << OBJ.Lines() << endl; Modified: trunk/ncurses/src/NCWidget.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCWidget.cc?rev=46199&r1=46198&r2=46199&view=diff ============================================================================== --- trunk/ncurses/src/NCWidget.cc (original) +++ trunk/ncurses/src/NCWidget.cc Mon Apr 7 18:44:07 2008 @@ -475,14 +475,7 @@ return NCursesEvent::none; } -/****************************************************************** -** -** -** FUNCTION NAME : operator<< -** FUNCTION TYPE : ostream & -** -** DESCRIPTION : -*/ + ostream & operator<<( ostream & STREAM, const NCWidget * OBJ ) { if ( OBJ && OBJ->isValid() ) @@ -491,14 +484,7 @@ return STREAM << "(NoNCWidget)"; } -/****************************************************************** -** -** -** FUNCTION NAME : operator<< -** FUNCTION TYPE : ostream & -** -** DESCRIPTION : -*/ + ostream & operator<<( ostream & STREAM, const NCWidget & OBJ ) { if ( OBJ.isValid() ) Modified: trunk/ncurses/src/NCattribute.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCattribute.cc?rev=46199&r1=46198&r2=46199&view=diff ============================================================================== --- trunk/ncurses/src/NCattribute.cc (original) +++ trunk/ncurses/src/NCattribute.cc Mon Apr 7 18:44:07 2008 @@ -74,14 +74,7 @@ static short dfg = -1; static short dbg = -1; -/****************************************************************** -** -** -** FUNCTION NAME : scanColor -** FUNCTION TYPE : inline short -** -** DESCRIPTION : -*/ + inline short scanColor( const string & str, const short def ) { short ret = def; if ( str.length() == 3 ) { @@ -105,14 +98,6 @@ return ret; } -/****************************************************************** -** -** -** FUNCTION NAME : scanAttrib -** FUNCTION TYPE : inline chtype -** -** DESCRIPTION : -*/ inline chtype scanAttrib( const string & str ) { chtype ret = 0; #define IF(a) if ( str == #a ) ret = a Modified: trunk/ncurses/src/NCtext.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCtext.cc?rev=46199&r1=46198&r2=46199&view=diff ============================================================================== --- trunk/ncurses/src/NCtext.cc (original) +++ trunk/ncurses/src/NCtext.cc Mon Apr 7 18:44:07 2008 @@ -179,14 +179,7 @@ return *line; } -/****************************************************************** -** -** -** FUNCTION NAME : operator<< -** FUNCTION TYPE : ostream & -** -** DESCRIPTION : -*/ + ostream & operator<<( ostream & STREAM, const NCtext & OBJ ) { return STREAM << "[Text:" << OBJ.Lines() << ',' << OBJ.Columns() << ']'; @@ -295,14 +288,7 @@ } } -/****************************************************************** -** -** -** FUNCTION NAME : operator<< -** FUNCTION TYPE : ostream & -** -** DESCRIPTION : -*/ + ostream & operator<<( ostream & STREAM, const NClabel & OBJ ) { STREAM << "[label" << OBJ.size() << ':' << OBJ[0].str(); Modified: trunk/ncurses/src/NCtypes.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCtypes.cc?rev=46199&r1=46198&r2=46199&view=diff ============================================================================== --- trunk/ncurses/src/NCtypes.cc (original) +++ trunk/ncurses/src/NCtypes.cc Mon Apr 7 18:44:07 2008 @@ -27,14 +27,6 @@ using std::ostream; -/****************************************************************** -** -** -** FUNCTION NAME : operator<< -** FUNCTION TYPE : ostream & -** -** DESCRIPTION : -*/ ostream & operator<<( ostream & str, NC::ADJUST obj ) { #define PRT(a) case NC::a: return str << #a @@ -53,14 +45,7 @@ #undef PRT } -/****************************************************************** -** -** -** FUNCTION NAME : operator<< -** FUNCTION TYPE : ostream & -** -** DESCRIPTION : -*/ + ostream & operator<<( ostream & str, NC::WState obj ) { #define PRT(a) case NC::a: return str << #a Modified: trunk/ncurses/src/NCurses.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCurses.cc?rev=46199&r1=46198&r2=46199&view=diff ============================================================================== --- trunk/ncurses/src/NCurses.cc (original) +++ trunk/ncurses/src/NCurses.cc Mon Apr 7 18:44:07 2008 @@ -93,14 +93,7 @@ #undef CONVERR -/****************************************************************** -** -** -** FUNCTION NAME : operator<< -** FUNCTION TYPE : ostream & -** -** DESCRIPTION : -*/ + ostream & operator<<( ostream & STREAM, const NCursesError & OBJ ) { STREAM << form( "%s: (%d) %s" @@ -110,14 +103,7 @@ return STREAM; } -/****************************************************************** -** -** -** FUNCTION NAME : operator<< -** FUNCTION TYPE : ostream & -** -** DESCRIPTION : -*/ + ostream & operator<<( ostream & STREAM, const NCursesEvent & OBJ ) { #define ENUM_OUT(v) case NCursesEvent::v: return STREAM << "Ev::" << #v @@ -655,14 +641,7 @@ } } -/****************************************************************** -** -** -** FUNCTION NAME : operator<< -** FUNCTION TYPE : ostream & -** -** DESCRIPTION : -*/ + ostream & operator<<( ostream & STREAM, const NCurses & OBJ ) { STREAM << form( "NC - %d x %d - colors %d - pairs %d\n" Modified: trunk/ncurses/src/ncursesp.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/ncursesp.cc?rev=46199&r1=46198&r2=46199&view=diff ============================================================================== --- trunk/ncurses/src/ncursesp.cc (original) +++ trunk/ncurses/src/ncursesp.cc Mon Apr 7 18:44:07 2008 @@ -175,14 +175,7 @@ return ERR; } -/****************************************************************** -** -** -** FUNCTION NAME : operator<< -** FUNCTION TYPE : ostream & -** -** DESCRIPTION : -*/ + ostream & operator<<( ostream & Stream, const NCursesPanel * Obj_Cv ) { if ( Obj_Cv ) @@ -190,14 +183,7 @@ return Stream << "(NoNCPan)"; } -/****************************************************************** -** -** -** FUNCTION NAME : operator<< -** FUNCTION TYPE : ostream & -** -** DESCRIPTION : -*/ + ostream & operator<<( ostream & Stream, const NCursesPanel & Obj_Cv ) { return Stream << "NCPan(" << Obj_Cv.p << ')'; Modified: trunk/ncurses/src/ncursesw.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/ncursesw.cc?rev=46199&r1=46198&r2=46199&view=diff ============================================================================== --- trunk/ncurses/src/ncursesw.cc (original) +++ trunk/ncurses/src/ncursesw.cc Mon Apr 7 18:44:07 2008 @@ -610,14 +610,7 @@ return ::wresize( w, lines, columns ); } -/****************************************************************** -** -** -** FUNCTION NAME : operator<< -** FUNCTION TYPE : ostream & -** -** DESCRIPTION : -*/ + ostream & operator<<( ostream & Stream, const NCursesWindow * Obj_Cv ) { if ( Obj_Cv ) @@ -625,14 +618,7 @@ return Stream << "(NoNCWin)"; } -/****************************************************************** -** -** -** FUNCTION NAME : operator<< -** FUNCTION TYPE : ostream & -** -** DESCRIPTION : -*/ + ostream & operator<<( ostream & Stream, const NCursesWindow & Obj_Cv ) { return Stream << "NCWin(" << Obj_Cv.w Modified: trunk/ncurses/src/position.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/position.cc?rev=46199&r1=46198&r2=46199&view=diff ============================================================================== --- trunk/ncurses/src/position.cc (original) +++ trunk/ncurses/src/position.cc Mon Apr 7 18:44:07 2008 @@ -21,53 +21,24 @@ #include "position.h" -/****************************************************************** -** -** -** FUNCTION NAME : operator<< -** FUNCTION TYPE : ostream & -** -** DESCRIPTION : -*/ + ostream & operator<<( ostream & STREAM, const wpos & OBJ ) { return STREAM << '(' << OBJ.L << ',' << OBJ.C << ')'; } -/****************************************************************** -** -** -** FUNCTION NAME : operator<< -** FUNCTION TYPE : ostream & -** -** DESCRIPTION : -*/ + ostream & operator<<( ostream & STREAM, const wpair & OBJ ) { return STREAM << '(' << OBJ.A << ',' << OBJ.B << ')'; } -/****************************************************************** -** -** -** FUNCTION NAME : operator<< -** FUNCTION TYPE : ostream & -** -** DESCRIPTION : -*/ + ostream & operator<<( ostream & STREAM, const wsze & OBJ ) { return STREAM << '[' << OBJ.H << 'x' << OBJ.W << ']'; } -/****************************************************************** -** -** -** FUNCTION NAME : operator<< -** FUNCTION TYPE : ostream & -** -** DESCRIPTION : -*/ ostream & operator<<( ostream & STREAM, const wrect & OBJ ) { return STREAM << '{' << OBJ.Pos << OBJ.Sze << '}'; Modified: trunk/ncurses/src/stringutil.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/stringutil.cc?rev=46199&r1=46198&r2=46199&view=diff ============================================================================== --- trunk/ncurses/src/stringutil.cc (original) +++ trunk/ncurses/src/stringutil.cc Mon Apr 7 18:44:07 2008 @@ -21,14 +21,7 @@ #include "NCstring.h" using namespace std; -/****************************************************************** -** -** -** FUNCTION NAME : strutil::split -** FUNCTION TYPE : unsigned -** -** DESCRIPTION : -*/ + unsigned strutil::split( const string line_tv, vector<string> & words_Vtr, const string sep_tv, -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org