Changeset 1045

Show
Ignore:
Timestamp:
01/04/08 10:24:36 (1 year ago)
Author:
dcwang
Message:

sync with redflag CVS repository.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • DRIM_GUI/lime-logview/trunk/ChangeLog

    r553 r1045  
     12007-10-11  cvsdcwang  <cvsdcwang@swida> 
     2 
     3        * lime-logview.spec.in: fix a bug wrong tag order 
     4 
     52007-09-28  cvstaohe  <cvstaohe@swida> 
     6 
     7        * configure.in:  upgrade the version number to 1.1.7 
     8 
     9        * binsrc/qattribute.cpp, binsrc/qattribute.h, common/ui/attribute.ui, libsrc/qattribute.cpp, libsrc/qattribute.h: 
     10         set the tab order 
     11 
     122007-09-17  cvsdcwang  <cvsdcwang@swida> 
     13 
     14        * ChangeLog, lime-logview.spec.in: 
     15        update Change for release 1.1.6, the first maintenance release 
     16 
     17        * configure.in: 
     18        up version number for release 1.1.7, the first maintainance release 
     19 
     202007-09-17  cvstaohe  <cvstaohe@swida> 
     21 
     22        * common/corefile/logfile.cpp, common/corefile/openwbem_h.h: 
     23        clear a type of log, there is a need to restart the syslog service 
     24 
    1252007-09-17  cvsdcwang  <cvsdcwang@swida> 
    226 
  • DRIM_GUI/lime-logview/trunk/binsrc/qattribute.cpp

    r553 r1045  
    3838        rotate=NULL; 
    3939        client=NULL; 
     40        dt_now=QDateTime::currentDateTime(); 
    4041        if(p && p->client) 
    4142        { 
     
    188189                Week_SB->setEnabled(false); 
    189190        } 
     191        Attrib_TabW->setFocus(); 
    190192} 
    191193 
     
    511513                                End_DTE->setEnabled(true); 
    512514                                Start_DTE->setEnabled(true); 
    513                                 End_DTE->setDateTime(QDateTime::currentDateTime()); 
     515                                End_DTE->setDateTime(dt_now); 
    514516                                Start_CB->setCurrentItem(1); 
    515517                                End_CB->setCurrentItem(1); 
  • DRIM_GUI/lime-logview/trunk/binsrc/qattribute.h

    r553 r1045  
    1212#include <qvariant.h> 
    1313#include <qwidget.h> 
     14#include <qdatetime.h> 
    1415#include "rflogview.h" 
    1516#include "attribute.h" 
     
    2930        private: 
    3031                QString logType; 
     32                QDateTime dt_now; 
    3133                LogFilter *filter; 
    3234                CIMClient *client; 
  • DRIM_GUI/lime-logview/trunk/common/ui/attribute.ui

    r553 r1045  
    280280                    </property> 
    281281                </widget> 
    282                 <widget class="QComboBox"> 
    283                     <item> 
    284                         <property name="text"> 
    285                             <string>First event</string> 
    286                         </property> 
    287                     </item> 
    288                     <item> 
    289                         <property name="text"> 
    290                             <string>Datetime</string> 
    291                         </property> 
    292                     </item> 
    293                     <property name="name"> 
    294                         <cstring>Start_CB</cstring> 
    295                     </property> 
    296                     <property name="geometry"> 
    297                         <rect> 
    298                             <x>71</x> 
    299                             <y>153</y> 
    300                             <width>100</width> 
    301                             <height>21</height> 
    302                         </rect> 
    303                     </property> 
    304                 </widget> 
    305                 <widget class="QComboBox"> 
    306                     <item> 
    307                         <property name="text"> 
    308                             <string>Last event</string> 
    309                         </property> 
    310                     </item> 
    311                     <item> 
    312                         <property name="text"> 
    313                             <string>Datetime</string> 
    314                         </property> 
    315                     </item> 
    316                     <property name="name"> 
    317                         <cstring>End_CB</cstring> 
    318                     </property> 
    319                     <property name="geometry"> 
    320                         <rect> 
    321                             <x>71</x> 
    322                             <y>180</y> 
    323                             <width>100</width> 
    324                             <height>21</height> 
    325                         </rect> 
    326                     </property> 
    327                 </widget> 
    328282                <widget class="QLineEdit"> 
    329283                    <property name="name"> 
     
    424378                <widget class="QDateTimeEdit"> 
    425379                    <property name="name"> 
     380                        <cstring>Start_DTE</cstring> 
     381                    </property> 
     382                    <property name="enabled"> 
     383                        <bool>true</bool> 
     384                    </property> 
     385                    <property name="geometry"> 
     386                        <rect> 
     387                            <x>175</x> 
     388                            <y>153</y> 
     389                            <width>190</width> 
     390                            <height>21</height> 
     391                        </rect> 
     392                    </property> 
     393                    <property name="focusPolicy"> 
     394                        <enum>TabFocus</enum> 
     395                    </property> 
     396                    <property name="dateTime"> 
     397                        <datetime> 
     398                            <year>2007</year> 
     399                            <month>1</month> 
     400                            <day>1</day> 
     401                            <hour>0</hour> 
     402                            <minute>0</minute> 
     403                            <second>0</second> 
     404                        </datetime> 
     405                    </property> 
     406                </widget> 
     407                <widget class="QDateTimeEdit"> 
     408                    <property name="name"> 
    426409                        <cstring>End_DTE</cstring> 
    427410                    </property> 
    428411                    <property name="enabled"> 
    429                         <bool>false</bool> 
     412                        <bool>true</bool> 
    430413                    </property> 
    431414                    <property name="geometry"> 
     
    436419                            <height>21</height> 
    437420                        </rect> 
     421                    </property> 
     422                    <property name="focusPolicy"> 
     423                        <enum>TabFocus</enum> 
    438424                    </property> 
    439425                    <property name="dateTime"> 
     
    448434                    </property> 
    449435                </widget> 
    450                 <widget class="QDateTimeEdit"> 
    451                     <property name="name"> 
    452                         <cstring>Start_DTE</cstring> 
    453                     </property> 
    454                     <property name="enabled"> 
    455                         <bool>false</bool> 
    456                     </property> 
    457                     <property name="geometry"> 
    458                         <rect> 
    459                             <x>175</x> 
     436                <widget class="QComboBox"> 
     437                    <item> 
     438                        <property name="text"> 
     439                            <string>First event</string> 
     440                        </property> 
     441                    </item> 
     442                    <item> 
     443                        <property name="text"> 
     444                            <string>Datetime</string> 
     445                        </property> 
     446                    </item> 
     447                    <property name="name"> 
     448                        <cstring>Start_CB</cstring> 
     449                    </property> 
     450                    <property name="geometry"> 
     451                        <rect> 
     452                            <x>71</x> 
    460453                            <y>153</y> 
    461                             <width>190</width> 
     454                            <width>100</width> 
     455                            <height>21</height> 
     456                        </rect> 
     457                    </property> 
     458                </widget> 
     459                <widget class="QComboBox"> 
     460                    <item> 
     461                        <property name="text"> 
     462                            <string>Last event</string> 
     463                        </property> 
     464                    </item> 
     465                    <item> 
     466                        <property name="text"> 
     467                            <string>Datetime</string> 
     468                        </property> 
     469                    </item> 
     470                    <property name="name"> 
     471                        <cstring>End_CB</cstring> 
     472                    </property> 
     473                    <property name="geometry"> 
     474                        <rect> 
     475                            <x>71</x> 
     476                            <y>180</y> 
     477                            <width>100</width> 
    462478                            <height>21</height> 
    463479                        </rect> 
     
    553569    </connection> 
    554570    <connection> 
    555         <sender>Start_CB</sender> 
    556         <signal>activated(const QString&amp;)</signal> 
    557         <receiver>End_DTE</receiver> 
    558         <slot>setFocus()</slot> 
    559     </connection> 
    560     <connection> 
    561571        <sender>Cancel_PB</sender> 
    562572        <signal>clicked()</signal> 
     
    566576</connections> 
    567577<tabstops> 
     578    <tabstop>Ok_PB</tabstop> 
     579    <tabstop>Cancel_PB</tabstop> 
    568580    <tabstop>Attrib_TabW</tabstop> 
     581    <tabstop>Size_RB</tabstop> 
     582    <tabstop>Size_SB</tabstop> 
     583    <tabstop>Time_RB</tabstop> 
     584    <tabstop>Week_SB</tabstop> 
    569585    <tabstop>Info_CB</tabstop> 
    570586    <tabstop>Warn_CB</tabstop> 
     
    577593    <tabstop>End_CB</tabstop> 
    578594    <tabstop>End_DTE</tabstop> 
    579     <tabstop>Ok_PB</tabstop> 
    580     <tabstop>Cancel_PB</tabstop> 
    581     <tabstop>Size_RB</tabstop> 
    582     <tabstop>Size_SB</tabstop> 
    583     <tabstop>Time_RB</tabstop> 
    584     <tabstop>Week_SB</tabstop> 
    585595</tabstops> 
    586596<layoutdefaults spacing="6" margin="11"/> 
  • DRIM_GUI/lime-logview/trunk/configure.in

    r553 r1045  
    33 
    44AC_PREREQ(2.59) 
    5 AC_INIT(lime-logview, 1.1.6
    6 AM_INIT_AUTOMAKE(lime-logview , 1.1.6
     5AC_INIT(lime-logview, 1.1.7
     6AM_INIT_AUTOMAKE(lime-logview , 1.1.7
    77AC_CONFIG_HEADER([config.h]) 
    88AM_PROG_LIBTOOL 
     
    7171AC_C_CONST 
    7272AC_C_VOLATILE 
    73 if test "x$datadir" != "x\${prefix}/share"; then 
    74         tempDir=$datadir 
     73 
     74if test x"$docdir" != x""; then 
     75   pkgdocdir=${docdir} 
    7576else 
    76         if test "x$prefix" != "xNONE"; then 
    77                 tempDir=${prefix}/share 
    78         else 
    79                 tempDir=${ac_default_prefix}/share 
    80         fi 
     77   pkgdocdir=${datadir}/doc/${PACKAGE_NAME} 
    8178fi 
    82 pkgdocdir=${tempDir}/doc/lime/${PACKAGE_NAME} 
    83 AC_DEFINE_UNQUOTED(PKGDOCDIR,"${pkgdocdir}",[location where help file will be installed]) 
    84 AC_DEFINE_UNQUOTED(LOCALEDIR,"${tempDir}/locale", [location where locale files will be installed]) 
     79 
     80AC_DEFINE_DIR(PKGDOCDIR,[pkgdocdir],[location where help file will be installed]) 
     81 
     82if test x"$localedir" == x""; then 
     83   localedir=${datadir}/locale 
     84fi 
     85 
     86AC_DEFINE_DIR(LOCALEDIR,[localedir], [location where locale files will be installed]) 
    8587AC_SUBST(pkgdocdir) 
    8688# Checks for library functions. 
  • DRIM_GUI/lime-logview/trunk/libsrc/qattribute.cpp

    r553 r1045  
    5757                Attrib_TabW->setCurrentPage(1); 
    5858        } 
     59        dt_now=QDateTime::currentDateTime(); 
    5960        connect(Ok_PB,SIGNAL(clicked()),this,SLOT(save())); 
    6061        connect(Cancel_PB,SIGNAL(clicked()),this,SLOT(cancel())); 
     
    198199                Week_SB->setEnabled(false); 
    199200        } 
     201        Attrib_TabW->setFocus(); 
    200202} 
    201203 
     
    522524                                End_DTE->setEnabled(true); 
    523525                                Start_DTE->setEnabled(true); 
    524                                 End_DTE->setDateTime(QDateTime::currentDateTime()); 
     526                                End_DTE->setDateTime(dt_now); 
    525527                                Start_CB->setCurrentItem(1); 
    526528                                End_CB->setCurrentItem(1); 
  • DRIM_GUI/lime-logview/trunk/libsrc/qattribute.h

    r553 r1045  
    1212#include <qvariant.h> 
    1313#include <qwidget.h> 
     14#include <qdatetime.h> 
    1415#include "rflogview.h" 
    1516#include "attribute.h" 
     
    3031                RFMConsole *console; 
    3132                QString logType; 
     33                QDateTime dt_now; 
    3234                LogFilter *filter; 
    3335                CIMClient *client; 
  • DRIM_GUI/lime-logview/trunk/lime-logview.spec.in

    r553 r1045  
    5454 
    5555%changelog 
     56* Thu Oct 11 2007 Diancheng Wang <dcwang@redflag-linux.com> 
     57- fix a bug: wrong tab order in "attribute" dialog. 
     58 
    5659* Mon Sep 17 2007 Diancheng Wang <dcwang@redflag-linux.com> 
    5760- update to new version 1.1.6, see also package ChangeLog file for details. 
  • DRIM_GUI/lime-logview/trunk/po/zh_CN.po

    r553 r1045  
    33"Project-Id-Version: lime-logview 1.0\n" 
    44"Report-Msgid-Bugs-To: taohe@redflag-linux.com\n" 
    5 "POT-Creation-Date: 2007-07-17 18:43+0800\n" 
     5"POT-Creation-Date: 2007-07-17 19:39+0800\n" 
    66"PO-Revision-Date: 2007-06-14 13:31+0800\n" 
    77"Last-Translator: Tao He <taohe@redflag-linux.com>\n"