You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(7) |
Jul
(11) |
Aug
(45) |
Sep
(12) |
Oct
(8) |
Nov
(4) |
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(1) |
Feb
(12) |
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
(25) |
Aug
(9) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2007 |
Jan
(11) |
Feb
|
Mar
|
Apr
|
May
(19) |
Jun
(3) |
Jul
(3) |
Aug
(16) |
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
(54) |
Feb
(5) |
Mar
(34) |
Apr
|
May
(33) |
Jun
(7) |
Jul
(2) |
Aug
|
Sep
|
Oct
(1) |
Nov
(54) |
Dec
(32) |
2009 |
Jan
(5) |
Feb
(54) |
Mar
(29) |
Apr
(30) |
May
(86) |
Jun
(159) |
Jul
(16) |
Aug
|
Sep
(1) |
Oct
(9) |
Nov
|
Dec
(91) |
2010 |
Jan
(82) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
(31) |
Jul
(19) |
Aug
(33) |
Sep
(3) |
Oct
(1) |
Nov
(4) |
Dec
(3) |
2011 |
Jan
|
Feb
(1) |
Mar
(27) |
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(11) |
Nov
(5) |
Dec
(4) |
2012 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(4) |
Oct
(1) |
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(11) |
Jul
(2) |
Aug
|
Sep
|
Oct
(4) |
Nov
|
Dec
(6) |
2014 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(5) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(10) |
Dec
|
From: <si...@us...> - 2011-11-22 23:52:28
|
Revision: 1308 http://qterm.svn.sourceforge.net/qterm/?rev=1308&view=rev Author: sidos Date: 2011-11-22 23:52:22 +0000 (Tue, 22 Nov 2011) Log Message: ----------- qt.conf format corrected Modified Paths: -------------- trunk/qterm-qt4/src/CMakeLists.txt Modified: trunk/qterm-qt4/src/CMakeLists.txt =================================================================== --- trunk/qterm-qt4/src/CMakeLists.txt 2011-11-18 15:29:53 UTC (rev 1307) +++ trunk/qterm-qt4/src/CMakeLists.txt 2011-11-22 23:52:22 UTC (rev 1308) @@ -278,7 +278,7 @@ install(DIRECTORY ${QT_PLUGINS_DIR}/imageformats DESTINATION ${CMAKE_INSTALL_PREFIX}/bin/${PROGRAME}.app/Contents/PlugIns) install(DIRECTORY ${QT_PLUGINS_DIR}/codecs DESTINATION ${CMAKE_INSTALL_PREFIX}/bin/${PROGRAME}.app/Contents/PlugIns) install(CODE " - file(WRITE \"${CMAKE_INSTALL_PREFIX}/bin/${PROGRAME}.app/Contents/Resources/qt.conf\" \"plugins=PlugIns\") + file(WRITE \"${CMAKE_INSTALL_PREFIX}/bin/${PROGRAME}.app/Contents/Resources/qt.conf\" \"[Paths]\nPlugIns=PlugIns\") " COMPONENT Runtime) install(CODE " file(GLOB_RECURSE PLUGINS ${CMAKE_INSTALL_PREFIX}/bin/${PROGRAME}.app/Contents/PlugIns/*${CMAKE_SHARED_LIBRARY_SUFFIX}) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <si...@us...> - 2011-11-18 15:29:59
|
Revision: 1307 http://qterm.svn.sourceforge.net/qterm/?rev=1307&view=rev Author: sidos Date: 2011-11-18 15:29:53 +0000 (Fri, 18 Nov 2011) Log Message: ----------- qt.conf needs contents Modified Paths: -------------- trunk/qterm-qt4/src/CMakeLists.txt Modified: trunk/qterm-qt4/src/CMakeLists.txt =================================================================== --- trunk/qterm-qt4/src/CMakeLists.txt 2011-11-18 13:27:24 UTC (rev 1306) +++ trunk/qterm-qt4/src/CMakeLists.txt 2011-11-18 15:29:53 UTC (rev 1307) @@ -278,7 +278,7 @@ install(DIRECTORY ${QT_PLUGINS_DIR}/imageformats DESTINATION ${CMAKE_INSTALL_PREFIX}/bin/${PROGRAME}.app/Contents/PlugIns) install(DIRECTORY ${QT_PLUGINS_DIR}/codecs DESTINATION ${CMAKE_INSTALL_PREFIX}/bin/${PROGRAME}.app/Contents/PlugIns) install(CODE " - file(WRITE \"\${CMAKE_INSTALL_PREFIX}/bin/\${PROGRAME}.app/Contents/Resources/qt.conf\" \"\") + file(WRITE \"${CMAKE_INSTALL_PREFIX}/bin/${PROGRAME}.app/Contents/Resources/qt.conf\" \"plugins=PlugIns\") " COMPONENT Runtime) install(CODE " file(GLOB_RECURSE PLUGINS ${CMAKE_INSTALL_PREFIX}/bin/${PROGRAME}.app/Contents/PlugIns/*${CMAKE_SHARED_LIBRARY_SUFFIX}) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <si...@us...> - 2011-11-18 13:27:30
|
Revision: 1306 http://qterm.svn.sourceforge.net/qterm/?rev=1306&view=rev Author: sidos Date: 2011-11-18 13:27:24 +0000 (Fri, 18 Nov 2011) Log Message: ----------- add qt plugins into bundle and fixup Modified Paths: -------------- trunk/qterm-qt4/src/CMakeLists.txt Modified: trunk/qterm-qt4/src/CMakeLists.txt =================================================================== --- trunk/qterm-qt4/src/CMakeLists.txt 2011-11-14 11:37:19 UTC (rev 1305) +++ trunk/qterm-qt4/src/CMakeLists.txt 2011-11-18 13:27:24 UTC (rev 1306) @@ -275,9 +275,17 @@ endif(WIN32 AND MINGW) if (APPLE) install(TARGETS ${PROGRAME} DESTINATION bin) + install(DIRECTORY ${QT_PLUGINS_DIR}/imageformats DESTINATION ${CMAKE_INSTALL_PREFIX}/bin/${PROGRAME}.app/Contents/PlugIns) + install(DIRECTORY ${QT_PLUGINS_DIR}/codecs DESTINATION ${CMAKE_INSTALL_PREFIX}/bin/${PROGRAME}.app/Contents/PlugIns) install(CODE " + file(WRITE \"\${CMAKE_INSTALL_PREFIX}/bin/\${PROGRAME}.app/Contents/Resources/qt.conf\" \"\") + " COMPONENT Runtime) + install(CODE " + file(GLOB_RECURSE PLUGINS ${CMAKE_INSTALL_PREFIX}/bin/${PROGRAME}.app/Contents/PlugIns/*${CMAKE_SHARED_LIBRARY_SUFFIX}) include(BundleUtilities) - fixup_bundle(\"${CMAKE_INSTALL_PREFIX}/bin/${PROGRAME}.app/Contents/MacOS/QTerm\" \"\" \"\") + fixup_bundle(\"${CMAKE_INSTALL_PREFIX}/bin/${PROGRAME}.app/Contents/MacOS/QTerm\" + \"\${PLUGINS}\" + \"\") " COMPONENT Runtime) else (APPLE) install(TARGETS ${PROGRAME} DESTINATION bin) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <si...@us...> - 2011-11-14 11:37:25
|
Revision: 1305 http://qterm.svn.sourceforge.net/qterm/?rev=1305&view=rev Author: sidos Date: 2011-11-14 11:37:19 +0000 (Mon, 14 Nov 2011) Log Message: ----------- ending "/" IS important Modified Paths: -------------- trunk/qterm-qt4/src/qtermglobal.cpp Modified: trunk/qterm-qt4/src/qtermglobal.cpp =================================================================== --- trunk/qterm-qt4/src/qtermglobal.cpp 2011-11-14 10:44:15 UTC (rev 1304) +++ trunk/qterm-qt4/src/qtermglobal.cpp 2011-11-14 11:37:19 UTC (rev 1305) @@ -442,7 +442,7 @@ return false; // get executive file path - m_pathLib = prefix + "/../Resources"; + m_pathLib = prefix + "/../Resources/"; #else QFileInfo conf(prefix+"/qterm.cfg"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <si...@us...> - 2011-11-14 10:44:21
|
Revision: 1304 http://qterm.svn.sourceforge.net/qterm/?rev=1304&view=rev Author: sidos Date: 2011-11-14 10:44:15 +0000 (Mon, 14 Nov 2011) Log Message: ----------- exclude APPLE from X11 detection Modified Paths: -------------- trunk/qterm-qt4/src/CMakeLists.txt Modified: trunk/qterm-qt4/src/CMakeLists.txt =================================================================== --- trunk/qterm-qt4/src/CMakeLists.txt 2011-10-27 14:31:13 UTC (rev 1303) +++ trunk/qterm-qt4/src/CMakeLists.txt 2011-11-14 10:44:15 UTC (rev 1304) @@ -232,11 +232,11 @@ ${QT_QTCORE_INCLUDE_DIR} ${QT_QTGUI_INCLUDE_DIR} ${QT_QTNETWORK_INCLUDE_DIR} ) -if(UNIX) +if(UNIX AND NOT APPLE) find_package(X11) include_directories(${X11_INCLUDE_DIR}) set(optionalLibs ${optionalLibs} ${X11_X11_LIB}) -endif(UNIX) +endif(UNIX AND NOT APPLE) include_directories( ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <si...@us...> - 2011-10-27 14:31:24
|
Revision: 1303 http://qterm.svn.sourceforge.net/qterm/?rev=1303&view=rev Author: sidos Date: 2011-10-27 14:31:13 +0000 (Thu, 27 Oct 2011) Log Message: ----------- branch of ansi edtior Added Paths: ----------- branches/editor/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <si...@us...> - 2011-10-27 13:04:12
|
Revision: 1302 http://qterm.svn.sourceforge.net/qterm/?rev=1302&view=rev Author: sidos Date: 2011-10-27 13:04:01 +0000 (Thu, 27 Oct 2011) Log Message: ----------- borderless Modified Paths: -------------- trunk/qterm-qt4/src/charpane.cpp Modified: trunk/qterm-qt4/src/charpane.cpp =================================================================== --- trunk/qterm-qt4/src/charpane.cpp 2011-10-17 14:08:11 UTC (rev 1301) +++ trunk/qterm-qt4/src/charpane.cpp 2011-10-27 13:04:01 UTC (rev 1302) @@ -43,6 +43,7 @@ : QWidget(parent) { m_layoutVBox = new QVBoxLayout(); + m_layoutVBox->setContentsMargins(0,0,0,0); m_layoutVBox->addStretch(); setLayout(m_layoutVBox); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <si...@us...> - 2011-10-17 14:08:21
|
Revision: 1301 http://qterm.svn.sourceforge.net/qterm/?rev=1301&view=rev Author: sidos Date: 2011-10-17 14:08:11 +0000 (Mon, 17 Oct 2011) Log Message: ----------- remove symbols not in CJK page Modified Paths: -------------- trunk/qterm-qt4/src/charpane.cpp Modified: trunk/qterm-qt4/src/charpane.cpp =================================================================== --- trunk/qterm-qt4/src/charpane.cpp 2011-10-17 13:33:41 UTC (rev 1300) +++ trunk/qterm-qt4/src/charpane.cpp 2011-10-17 14:08:11 UTC (rev 1301) @@ -58,24 +58,6 @@ "ⅰⅱⅲⅳⅴⅵⅶⅷⅸⅹ" "ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩ"); - mapSymbol["Dingbat"] = QString::fromUtf8( - "✁✂✃✄✆✇✈✉✌✍✎✏✐✑✒" - "✓✔✕✖✗✘✙✚✛✜✝✞✟" - "✠✡✢✣✤✥✦✧✩✪✫✬✭✮✯" - "✰✱✲✳✴✵✶✷✸✹✺✻✼✽✾✿" - "❀❁❂❃❄❅❆❇❈❉❊❋❍" - "❏❐❑❒❖❘❙❚❛❜❝❞" - "❡❢❣❤❥❦❧");//U+2700-U+27FF - - mapSymbol["Miscellaneous"] = QString::fromUtf8( - "☀☁☂☃☄★☆☇☈☉☊☋☌☍☎☏" - "☐☑☒☓☔☕☖☗☘☙☚☛☜☝☞☟" - "☠☡☢☣☤☥☦☧☨☩☪☫☬☭☮☯" - "☰☱☲☳☴☵☶☷☸☹☺☻☼☽☾☿" - "♀♁♂♃♄♅♆♇♈♉♊♋♌♍♎♏" - "♐♑♒♓♔♕♖♗♘♙♚♛♜♝♞♟" - "♠♡♢♣♤♥♦♧♨♩♪♫♬♭♮♯");//U+2600-U+26FF - mapSymbol["Arrow"] = QString::fromUtf8( "➔➘➙➚➛➜➝➞➟" "➠➡➢➣➤➥➦➧➨➩➪➫➬➭➮➯" @@ -113,7 +95,7 @@ "ρστυφχψω"); listSymbolName << "Table" << "Number" << "CJK" << "Letter" - << "Arrow" << "Mathematic" << "Dingbat" << "Miscellaneous"; + << "Arrow" << "Mathematic"; foreach(QString symbolName, listSymbolName) { addSubPane(new CharTable(mapSymbol[symbolName]), symbolName); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <si...@us...> - 2011-10-17 13:33:51
|
Revision: 1300 http://qterm.svn.sourceforge.net/qterm/?rev=1300&view=rev Author: sidos Date: 2011-10-17 13:33:41 +0000 (Mon, 17 Oct 2011) Log Message: ----------- new char pane to group char tables Modified Paths: -------------- trunk/qterm-qt4/src/CMakeLists.txt trunk/qterm-qt4/src/chartable.cpp trunk/qterm-qt4/src/chartable.h trunk/qterm-qt4/src/qtermframe.cpp trunk/qterm-qt4/src/ui/mainframe.ui Added Paths: ----------- trunk/qterm-qt4/src/charpane.cpp trunk/qterm-qt4/src/charpane.h Modified: trunk/qterm-qt4/src/CMakeLists.txt =================================================================== --- trunk/qterm-qt4/src/CMakeLists.txt 2011-10-17 13:31:37 UTC (rev 1299) +++ trunk/qterm-qt4/src/CMakeLists.txt 2011-10-17 13:33:41 UTC (rev 1300) @@ -168,6 +168,7 @@ dommodel.cpp pallete.cpp chartable.cpp + charpane.cpp blur.cpp ${optionalSources}) set(qterm_UIS Added: trunk/qterm-qt4/src/charpane.cpp =================================================================== --- trunk/qterm-qt4/src/charpane.cpp (rev 0) +++ trunk/qterm-qt4/src/charpane.cpp 2011-10-17 13:33:41 UTC (rev 1300) @@ -0,0 +1,143 @@ +#include "charpane.h" +#include "chartable.h" + +#include <QLabel> +#include <QToolButton> +#include <QBoxLayout> +#include <QMapIterator> + +namespace QTerm { +Header::Header(const QString &title, QWidget *parent) + : QFrame(parent), m_bOpen(true) +{ + setFrameShape(QFrame::StyledPanel); + setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed); + + QHBoxLayout *layout = new QHBoxLayout(); + layout->setContentsMargins(0,0,0,0); + + QLabel *label = new QLabel(title); + layout->addWidget(label); + layout->addSpacing(1); + + m_buttonOpen = new QToolButton(); + m_buttonOpen->setArrowType(Qt::UpArrow); + layout->addWidget(m_buttonOpen); + + setLayout(layout); + + connect(m_buttonOpen, SIGNAL(clicked()), SLOT(toggleOpen())); +} + +void Header::toggleOpen() +{ + m_bOpen = !m_bOpen; + if (m_bOpen) + m_buttonOpen->setArrowType(Qt::UpArrow); + else + m_buttonOpen->setArrowType(Qt::DownArrow); + emit toggled(m_bOpen); +} + +CharPane::CharPane(QWidget *parent) + : QWidget(parent) +{ + m_layoutVBox = new QVBoxLayout(); + m_layoutVBox->addStretch(); + setLayout(m_layoutVBox); + + mapSymbol["Number"] = QString::fromUtf8( + "⒈⒉⒊⒋⒌⒍⒎⒏⒐⒑" + "⒒⒓⒔⒕⒖⒗⒘⒙⒚⒛" + "①②③④⑤⑥⑦⑧⑨⑩" + "➀➁➂➃➄➅➆➇➈➉" + "❶❷❸❹❺❻❼❽❾❿" + "➊➋➌➍➎➏➐➑➒➓" + "⑴⑵⑶⑷⑸⑹⑺⑻⑼⑽" + "㈠㈡㈢㈣㈤㈥㈦㈧㈨㈩" + "ⅰⅱⅲⅳⅴⅵⅶⅷⅸⅹ" + "ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩ"); + + mapSymbol["Dingbat"] = QString::fromUtf8( + "✁✂✃✄✆✇✈✉✌✍✎✏✐✑✒" + "✓✔✕✖✗✘✙✚✛✜✝✞✟" + "✠✡✢✣✤✥✦✧✩✪✫✬✭✮✯" + "✰✱✲✳✴✵✶✷✸✹✺✻✼✽✾✿" + "❀❁❂❃❄❅❆❇❈❉❊❋❍" + "❏❐❑❒❖❘❙❚❛❜❝❞" + "❡❢❣❤❥❦❧");//U+2700-U+27FF + + mapSymbol["Miscellaneous"] = QString::fromUtf8( + "☀☁☂☃☄★☆☇☈☉☊☋☌☍☎☏" + "☐☑☒☓☔☕☖☗☘☙☚☛☜☝☞☟" + "☠☡☢☣☤☥☦☧☨☩☪☫☬☭☮☯" + "☰☱☲☳☴☵☶☷☸☹☺☻☼☽☾☿" + "♀♁♂♃♄♅♆♇♈♉♊♋♌♍♎♏" + "♐♑♒♓♔♕♖♗♘♙♚♛♜♝♞♟" + "♠♡♢♣♤♥♦♧♨♩♪♫♬♭♮♯");//U+2600-U+26FF + + mapSymbol["Arrow"] = QString::fromUtf8( + "➔➘➙➚➛➜➝➞➟" + "➠➡➢➣➤➥➦➧➨➩➪➫➬➭➮➯" + "➱➲➳➴➵➶➷➸➹➺➻➼➽➾" + "↖↗↘↙→←↑↓" + "⇄⇅↲↳↴↵↶↷↺↻"); + + mapSymbol["Mathematic"] = QString::fromUtf8( + "+-×÷±∵∴∈≡∝" + "∑∏∪∩∫∮∶∧∨∷" + "≌≈∽≠≮≯≤≥∞∠"); + mapSymbol["Table"] = QString::fromUtf8( + "─━│┃┄┅┆┇┈┉┊┋" + "┗┛┏┓└┘┌┐┕┙┍┑┖┚┎┒" + "┣┫┠┨┝┥├┤┡┩┢┪┟┧┞┦┴┬┶┭┹┮┷┯┳┻" + "┵┲┸┰┺┱┾┽┿┼" + "╀╁╂╃╄╅╆╇╈╉╊╋╌╍╎╏" + "═║╚╝╙╜╘╛╔╗╓╖╒╕╠╣╟╢╞╡" + "╩╦╧╤╨╥╬╪╫" + "╭╮╰╯╱╲╳╴╵╶╷╸╹╻╺╼╽╾╿" + "▁▂▃▄▅▆▇█▉▊▋▌▍▎▏" + "▐░▒▓▔▕"); // U+2500-U+257F + + mapSymbol["CJK"] = QString::fromUtf8( + "〔〕()〈〉《》「」" + "『』〖〗【】[]{}" + "︵︶︹︺︿﹀︽︾﹁﹂" + "﹃﹄︻︼︷︸‘’“”"); + + mapSymbol["Letter"] = QString::fromUtf8( + "ΑΒΓΔΕΖΗΘΙΚ" + "ΛΜΝΞΟΠΡΣΤΥ" + "ΦΧΨΩαβγδεζ" + "ηθικλμνξοπ" + "ρστυφχψω"); + + listSymbolName << "Table" << "Number" << "CJK" << "Letter" + << "Arrow" << "Mathematic" << "Dingbat" << "Miscellaneous"; + foreach(QString symbolName, listSymbolName) { + addSubPane(new CharTable(mapSymbol[symbolName]), symbolName); + } +} + +CharPane::~CharPane() +{ + +} + +void CharPane::addSubPane(QWidget *child, const QString &title) +{ + Header *header = new Header(title,this); + m_layoutVBox->addWidget(header); + m_layoutVBox->addWidget(child); + connect(header, SIGNAL(toggled(bool)), child, SLOT(setVisible(bool))); + connect(child, SIGNAL(characterSelected(QString)), SLOT(characterSelected(QString))); +} + +void CharPane::characterSelected(QString ch) +{ + emit characterSelectedSignal(ch); +} + +} + +#include "charpane.moc" Added: trunk/qterm-qt4/src/charpane.h =================================================================== --- trunk/qterm-qt4/src/charpane.h (rev 0) +++ trunk/qterm-qt4/src/charpane.h 2011-10-17 13:33:41 UTC (rev 1300) @@ -0,0 +1,54 @@ +#ifndef CHARPANE_H +#define CHARPANE_H + +#include <QtGui/QWidget> +#include <QtGui/QFrame> +#include <QtCore/QMap> +#include <QtCore/QString> + +class QToolButton; +class QVBoxLayout; + +namespace QTerm { + +class Header : public QFrame { + Q_OBJECT +public: + Header(const QString &title, QWidget *parent = 0); + +signals: + void toggled(bool open); + +public slots: + void toggleOpen(); + +private: + QToolButton *m_buttonOpen; + bool m_bOpen; + +}; + +class CharPane : public QWidget +{ + Q_OBJECT + +public: + CharPane(QWidget *parent = 0); + ~CharPane(); + + void addSubPane(QWidget *child, const QString &title); + +protected slots: + void characterSelected(QString ch); + +signals: + void characterSelectedSignal(QString ch); + +private: + QVBoxLayout *m_layoutVBox; + QMap<QString,QString> mapSymbol; + QList<QString> listSymbolName; +}; + +} +#endif // CHARPANE_H Modified: trunk/qterm-qt4/src/chartable.cpp =================================================================== --- trunk/qterm-qt4/src/chartable.cpp 2011-10-17 13:31:37 UTC (rev 1299) +++ trunk/qterm-qt4/src/chartable.cpp 2011-10-17 13:33:41 UTC (rev 1300) @@ -10,45 +10,14 @@ namespace QTerm { -CharTable :: CharTable(QWidget *parent) +CharTable :: CharTable(QString symbolStr, QWidget *parent) : QWidget(parent) { setMouseTracking(true); maxColumn = 10; square = 25; - symbols = QString::fromUtf8("+-×÷±∵∴∈≡∝" - "∑∏∪∩∫∮∶∧∨∷" - "≌≈∽≠≮≯≤≥∞∠" - "〔〕()〈〉《》「」" - "『』〖〗【】[]{}" - "︵︶︹︺︿﹀︽︾﹁﹂" - "﹃﹄︻︼︷︸‘’“”" - "ΑΒΓΔΕΖΗΘΙΚ" - "ΛΜΝΞΟΠΡΣΤΥ" - "ΦΧΨΩαβγδεζ" - "ηθικλμνξοπ" - "ρστυφχψω㎎" - "℡㎏㎜㎝㎞㎡㏄〾⿰⿱" - "⿲⿳⿴⿵⿶⿷⿸⿹⿺⿻" - "▁▂▃▄▅▆▇█▉▊" - "▋▌▍▎▏▓╱╲╳※" - "─│┌┐└┘├┤┬┴" - "═║╣╔╗╚╝╠╣╦╩" - "┼↖↗↘↙→←↑↓√" - "▼▽◢◣◥◤╭╮╯╰" - "♂♀☉⊕〇◎〓℉℃㊣" - "☆★◇◆□■△▲○●" - "☜☞♨☼☎☏◐◑↔↕" - "♫♬♩♭♪☀☁☂◕✟" - "☺☻۩۞✲❈✿✪✣✤✥✦❉❥❦❧❃❂❁❀✄☪☣☢☠☭卐" - "﹌﹏►◄▧▨№♠❤♣◊♦" - "⒈⒉⒊⒋⒌⒍⒎⒏⒐⒑" - "⒒⒓⒔⒕⒖⒗⒘⒙⒚⒛" - "⑴⑵⑶⑷⑸⑹⑺⑻⑼⑽" - "①②③④⑤⑥⑦⑧⑨⑩" - "㈠㈡㈢㈣㈤㈥㈦㈧㈨㈩" - "ⅰⅱⅲⅳⅴⅵⅶⅷⅸⅹ" - "ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩ"); + + symbols = symbolStr; } void CharTable ::resizeEvent(QResizeEvent *re) @@ -59,9 +28,9 @@ QSize CharTable :: sizeHint() const { - int x = maxColumn*square; - int y = (symbols.length()/maxColumn + 1)*square; - return QSize(x, y); + int x = maxColumn*square; + int y = (symbols.length()/maxColumn + 1)*square; + return QSize(x, y); } void CharTable :: mouseMoveEvent(QMouseEvent *me) Modified: trunk/qterm-qt4/src/chartable.h =================================================================== --- trunk/qterm-qt4/src/chartable.h 2011-10-17 13:31:37 UTC (rev 1299) +++ trunk/qterm-qt4/src/chartable.h 2011-10-17 13:33:41 UTC (rev 1300) @@ -2,6 +2,7 @@ #define CHARTABLE_H #include <QWidget> +#include <QMap> namespace QTerm { @@ -10,7 +11,7 @@ { Q_OBJECT public: - CharTable (QWidget *parent = 0); + CharTable (QString symbolStr, QWidget *parent = 0); QSize sizeHint() const; signals: Modified: trunk/qterm-qt4/src/qtermframe.cpp =================================================================== --- trunk/qterm-qt4/src/qtermframe.cpp 2011-10-17 13:31:37 UTC (rev 1299) +++ trunk/qterm-qt4/src/qtermframe.cpp 2011-10-17 13:33:41 UTC (rev 1300) @@ -119,7 +119,7 @@ // symbols table input actionSymbols = new QAction(this); actionSymbols->setObjectName(QString::fromUtf8("actionSymbols")); - connect(scrollArea->widget(), SIGNAL(characterSelected(QString)), SLOT(characterSelected(QString))); + connect(scrollArea->widget(), SIGNAL(characterSelectedSignal(QString)), SLOT(characterSelected(QString))); //create a progress bar to notify the download process m_pStatusBar = new QTerm::StatusBar(statusBar(), "mainStatusBar"); Modified: trunk/qterm-qt4/src/ui/mainframe.ui =================================================================== --- trunk/qterm-qt4/src/ui/mainframe.ui 2011-10-17 13:31:37 UTC (rev 1299) +++ trunk/qterm-qt4/src/ui/mainframe.ui 2011-10-17 13:33:41 UTC (rev 1300) @@ -260,7 +260,7 @@ <property name="widgetResizable"> <bool>true</bool> </property> - <widget class="QTerm::CharTable" name="scrollAreaWidgetContents"> + <widget class="QTerm::CharPane" name="scrollAreaWidgetContents"> <property name="geometry"> <rect> <x>0</x> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <si...@us...> - 2011-10-17 13:31:48
|
Revision: 1299 http://qterm.svn.sourceforge.net/qterm/?rev=1299&view=rev Author: sidos Date: 2011-10-17 13:31:37 +0000 (Mon, 17 Oct 2011) Log Message: ----------- or is not prefered Modified Paths: -------------- trunk/qterm-qt4/src/termstring.cpp Modified: trunk/qterm-qt4/src/termstring.cpp =================================================================== --- trunk/qterm-qt4/src/termstring.cpp 2011-10-16 18:58:15 UTC (rev 1298) +++ trunk/qterm-qt4/src/termstring.cpp 2011-10-17 13:31:37 UTC (rev 1299) @@ -178,7 +178,7 @@ bool TermString::isPartial(int index) { - if (index < 0 or index >= m_index.size()) { + if (index < 0 || index >= m_index.size()) { qDebug() << "length " << m_index.size() << ", index: " << index; return false; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <si...@us...> - 2011-10-16 18:58:21
|
Revision: 1298 http://qterm.svn.sourceforge.net/qterm/?rev=1298&view=rev Author: sidos Date: 2011-10-16 18:58:15 +0000 (Sun, 16 Oct 2011) Log Message: ----------- apple dargndrop package Modified Paths: -------------- trunk/qterm-qt4/package.cmake Modified: trunk/qterm-qt4/package.cmake =================================================================== --- trunk/qterm-qt4/package.cmake 2011-10-16 18:48:11 UTC (rev 1297) +++ trunk/qterm-qt4/package.cmake 2011-10-16 18:58:15 UTC (rev 1298) @@ -8,17 +8,19 @@ SET(CPACK_PACKAGE_VERSION_MAJOR ${QTERM_VERSION_MAJOR}) SET(CPACK_PACKAGE_VERSION_MINOR ${QTERM_VERSION_MINOR}) SET(CPACK_PACKAGE_VERSION_PATCH ${QTERM_VERSION_RELEASE}) -IF(WIN32 AND NOT UNIX) +IF(WIN32) # There is a bug in NSI that does not handle full unix paths properly. Make # sure there is at least one set of four (4) backlasshes. SET(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\\\qterm.exe") SET(CPACK_NSIS_HELP_LINK "http:\\\\\\\\www.qterm.org") SET(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\\\\\www.qterm.org") SET(CPACK_NSIS_MODIFY_PATH ON) -ELSE(WIN32 AND NOT UNIX) +ELSEIF(APPLE) + SET(CPACK_GENERATOR "DragNDrop") +ELSE() SET(CPACK_STRIP_FILES "bin/qterm") SET(CPACK_SOURCE_STRIP_FILES "") -ENDIF(WIN32 AND NOT UNIX) +ENDIF() # Functions to install qt, ssl libraries #FUNCTION(install_libs, lib This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <si...@us...> - 2011-10-16 18:48:17
|
Revision: 1297 http://qterm.svn.sourceforge.net/qterm/?rev=1297&view=rev Author: sidos Date: 2011-10-16 18:48:11 +0000 (Sun, 16 Oct 2011) Log Message: ----------- reformat Modified Paths: -------------- trunk/qterm-qt4/src/CMakeLists.txt Modified: trunk/qterm-qt4/src/CMakeLists.txt =================================================================== --- trunk/qterm-qt4/src/CMakeLists.txt 2011-10-15 22:27:50 UTC (rev 1296) +++ trunk/qterm-qt4/src/CMakeLists.txt 2011-10-16 18:48:11 UTC (rev 1297) @@ -272,15 +272,17 @@ if(WIN32 AND MINGW) target_link_libraries(${PROGRAME} ${win32Libs}) endif(WIN32 AND MINGW) -install(TARGETS ${PROGRAME} DESTINATION bin) -if (NOT APPLE) +if (APPLE) + install(TARGETS ${PROGRAME} DESTINATION bin) + install(CODE " + include(BundleUtilities) + fixup_bundle(\"${CMAKE_INSTALL_PREFIX}/bin/${PROGRAME}.app/Contents/MacOS/QTerm\" \"\" \"\") + " COMPONENT Runtime) +else (APPLE) + install(TARGETS ${PROGRAME} DESTINATION bin) install(FILES ${qterm_MISC} DESTINATION share/qterm) install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/qterm.desktop DESTINATION share/applications) -endif() -install(CODE " - include(BundleUtilities) - fixup_bundle(\"${CMAKE_INSTALL_PREFIX}/bin/${PROGRAME}.app/Contents/MacOS/QTerm\" \"\" \"\") - " COMPONENT Runtime) +endif(APPLE) add_subdirectory(scheme) add_subdirectory(scripts) add_subdirectory(po) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <si...@us...> - 2011-10-15 22:27:56
|
Revision: 1296 http://qterm.svn.sourceforge.net/qterm/?rev=1296&view=rev Author: sidos Date: 2011-10-15 22:27:50 +0000 (Sat, 15 Oct 2011) Log Message: ----------- files are not installed on MacOSX but included in app bundle Modified Paths: -------------- trunk/qterm-qt4/icons/CMakeLists.txt trunk/qterm-qt4/src/CMakeLists.txt trunk/qterm-qt4/src/doc/CMakeLists.txt trunk/qterm-qt4/src/keyboard_profiles/CMakeLists.txt trunk/qterm-qt4/src/po/CMakeLists.txt trunk/qterm-qt4/src/scheme/CMakeLists.txt trunk/qterm-qt4/src/scripts/CMakeLists.txt Modified: trunk/qterm-qt4/icons/CMakeLists.txt =================================================================== --- trunk/qterm-qt4/icons/CMakeLists.txt 2011-10-15 21:11:02 UTC (rev 1295) +++ trunk/qterm-qt4/icons/CMakeLists.txt 2011-10-15 22:27:50 UTC (rev 1296) @@ -48,5 +48,6 @@ endforeach (_current_ICON) endmacro(qterm_install_icons) -qterm_install_icons(hicolor) - +if (NOT APPLE) + qterm_install_icons(hicolor) +endif () Modified: trunk/qterm-qt4/src/CMakeLists.txt =================================================================== --- trunk/qterm-qt4/src/CMakeLists.txt 2011-10-15 21:11:02 UTC (rev 1295) +++ trunk/qterm-qt4/src/CMakeLists.txt 2011-10-15 22:27:50 UTC (rev 1296) @@ -273,8 +273,14 @@ target_link_libraries(${PROGRAME} ${win32Libs}) endif(WIN32 AND MINGW) install(TARGETS ${PROGRAME} DESTINATION bin) -install(FILES ${qterm_MISC} DESTINATION share/qterm) -install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/qterm.desktop DESTINATION share/applications) +if (NOT APPLE) + install(FILES ${qterm_MISC} DESTINATION share/qterm) + install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/qterm.desktop DESTINATION share/applications) +endif() +install(CODE " + include(BundleUtilities) + fixup_bundle(\"${CMAKE_INSTALL_PREFIX}/bin/${PROGRAME}.app/Contents/MacOS/QTerm\" \"\" \"\") + " COMPONENT Runtime) add_subdirectory(scheme) add_subdirectory(scripts) add_subdirectory(po) Modified: trunk/qterm-qt4/src/doc/CMakeLists.txt =================================================================== --- trunk/qterm-qt4/src/doc/CMakeLists.txt 2011-10-15 21:11:02 UTC (rev 1295) +++ trunk/qterm-qt4/src/doc/CMakeLists.txt 2011-10-15 22:27:50 UTC (rev 1296) @@ -24,8 +24,10 @@ ADD_CUSTOM_TARGET(help_target DEPENDS qterm.qhc) -INSTALL( +if (NOT APPLE) + INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/qterm.qhc DESTINATION share/qterm/doc -) + ) +endif () Modified: trunk/qterm-qt4/src/keyboard_profiles/CMakeLists.txt =================================================================== --- trunk/qterm-qt4/src/keyboard_profiles/CMakeLists.txt 2011-10-15 21:11:02 UTC (rev 1295) +++ trunk/qterm-qt4/src/keyboard_profiles/CMakeLists.txt 2011-10-15 22:27:50 UTC (rev 1296) @@ -1,3 +1,5 @@ file(GLOB keyboardFiles "${CMAKE_CURRENT_SOURCE_DIR}/*.keytab") file(COPY ${keyboardFiles} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) -install(FILES ${keyboardFiles} DESTINATION share/qterm/keyboard_profiles) +if (NOT APPLE) + install(FILES ${keyboardFiles} DESTINATION share/qterm/keyboard_profiles) +endif () Modified: trunk/qterm-qt4/src/po/CMakeLists.txt =================================================================== --- trunk/qterm-qt4/src/po/CMakeLists.txt 2011-10-15 21:11:02 UTC (rev 1295) +++ trunk/qterm-qt4/src/po/CMakeLists.txt 2011-10-15 22:27:50 UTC (rev 1296) @@ -1,4 +1,6 @@ file(GLOB TRANSLATIONS_FILES *.ts) qt4_add_translation(QM_FILES ${TRANSLATIONS_FILES}) add_custom_target(translations_target DEPENDS ${QM_FILES}) -install(FILES ${QM_FILES} DESTINATION share/qterm/po) +if (NOT APPLE) + install(FILES ${QM_FILES} DESTINATION share/qterm/po) +endif() Modified: trunk/qterm-qt4/src/scheme/CMakeLists.txt =================================================================== --- trunk/qterm-qt4/src/scheme/CMakeLists.txt 2011-10-15 21:11:02 UTC (rev 1295) +++ trunk/qterm-qt4/src/scheme/CMakeLists.txt 2011-10-15 22:27:50 UTC (rev 1296) @@ -1,3 +1,5 @@ file(GLOB schemeFiles "${CMAKE_CURRENT_SOURCE_DIR}/*.scheme") file(COPY ${schemeFiles} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) -install(FILES ${schemeFiles} DESTINATION share/qterm/scheme) +if (NOT APPLE) + install(FILES ${schemeFiles} DESTINATION share/qterm/scheme) +endif() Modified: trunk/qterm-qt4/src/scripts/CMakeLists.txt =================================================================== --- trunk/qterm-qt4/src/scripts/CMakeLists.txt 2011-10-15 21:11:02 UTC (rev 1295) +++ trunk/qterm-qt4/src/scripts/CMakeLists.txt 2011-10-15 22:27:50 UTC (rev 1296) @@ -1,4 +1,6 @@ file(GLOB scriptFiles "${CMAKE_CURRENT_SOURCE_DIR}/*.js") file(COPY ${scriptFiles} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) -install(FILES ${scriptFiles} DESTINATION share/qterm/scripts) -add_subdirectory(ui) +if (NOT APPLE) + install(FILES ${scriptFiles} DESTINATION share/qterm/scripts) + add_subdirectory(ui) +endif() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <si...@us...> - 2011-10-15 21:11:08
|
Revision: 1295 http://qterm.svn.sourceforge.net/qterm/?rev=1295&view=rev Author: sidos Date: 2011-10-15 21:11:02 +0000 (Sat, 15 Oct 2011) Log Message: ----------- build app bundle on mac os x Modified Paths: -------------- trunk/qterm-qt4/CMakeLists.txt trunk/qterm-qt4/src/CMakeLists.txt trunk/qterm-qt4/src/qterm.cfg Modified: trunk/qterm-qt4/CMakeLists.txt =================================================================== --- trunk/qterm-qt4/CMakeLists.txt 2011-10-15 21:08:45 UTC (rev 1294) +++ trunk/qterm-qt4/CMakeLists.txt 2011-10-15 21:11:02 UTC (rev 1295) @@ -14,6 +14,14 @@ ADD_DEFINITIONS (/D _CRT_SECURE_NO_WARNINGS) ENDIF(WIN32 AND MSVC) +IF(APPLE) + SET (PROGRAME QTerm) + SET (MACOSX_BUNDLE_VERSION $QTERM_VERSION) + SET (MACOSX_BUNDLE_ICON_FILE QTerm.icns) +ELSE(APPLE) + SET (PROGRAME qterm) +ENDIF(APPLE) + add_subdirectory(src) add_subdirectory(icons) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h) Modified: trunk/qterm-qt4/src/CMakeLists.txt =================================================================== --- trunk/qterm-qt4/src/CMakeLists.txt 2011-10-15 21:08:45 UTC (rev 1294) +++ trunk/qterm-qt4/src/CMakeLists.txt 2011-10-15 21:11:02 UTC (rev 1295) @@ -197,6 +197,15 @@ file(COPY ${qterm_MISC} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) +find_program(XDGOPEN NAME xdg-open DOC "Looking for xdg-open") +if (XDGOPEN_FOUND) + set (HTTP xdg-open) +else (XDGOPEN_FOUND) + set (HTTP) +endif (XDGOPEN_FOUND) + +configure_file(${CMAKE_CURRENT_BINARY_DIR}/qterm.cfg ${CMAKE_CURRENT_BINARY_DIR}/qterm.cfg) + if(WIN32) if(MINGW) # resource compilation for mingw @@ -233,11 +242,27 @@ ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}) if(WIN32) - add_executable(qterm WIN32 ${qterm_SRCS} ${qterm_RCCS_SRCS}) -else(WIN32) - add_executable(qterm ${qterm_SRCS} ${qterm_RCCS_SRCS}) -endif(WIN32) -target_link_libraries(qterm + add_executable(${PROGRAME} WIN32 ${qterm_SRCS} ${qterm_RCCS_SRCS}) +elseif(APPLE) + set(qterm_MISC ${qterm_MISC} ${CMAKE_CURRENT_SOURCE_DIR}/../icons/QTerm.icns) + set_source_files_properties(${qterm_MISC} PROPERTIES MACOSX_PACKAGE_LOCATION Resources) + add_executable(${PROGRAME} MACOSX_BUNDLE ${qterm_SRCS} ${qterm_RCCS_SRCS} ${qterm_MISC} ) + add_custom_command( TARGET ${PROGRAME} PRE_BUILD + COMMAND mkdir ARGS -p ${PROGRAME}.app/Contents/MacOS + COMMAND mkdir ARGS -p ${PROGRAME}.app/Contents/Resources + COMMAND mkdir ARGS -p ${PROGRAME}.app/Contents/Resources/po + COMMAND mkdir ARGS -p ${PROGRAME}.app/Contents/Resources/doc + COMMAND mkdir ARGS -p ${PROGRAME}.app/Contents/Resources/keyboard_profiles + ) + add_custom_command( TARGET ${PROGRAME} POST_BUILD + COMMAND cp ARGS ${CMAKE_CURRENT_BINARY_DIR}/po/*.qm ${PROGRAME}.app/Contents/Resources/po + COMMAND cp ARGS ${CMAKE_CURRENT_BINARY_DIR}/doc/*.{qhc,qch} ${PROGRAME}.app/Contents/Resources/doc + COMMAND cp ARGS ${CMAKE_CURRENT_BINARY_DIR}/keyboard_profiles/*.keytab ${PROGRAME}.app/Contents/Resources/keyboard_profiles + ) +else() + add_executable(${PROGRAME} ${qterm_SRCS} ${qterm_RCCS_SRCS}) +endif() +target_link_libraries(${PROGRAME} ${QT_LIBRARIES} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} @@ -245,9 +270,9 @@ ${QT_QTXML_LIBRARY} ${optionalLibs}) if(WIN32 AND MINGW) - target_link_libraries(qterm ${win32Libs}) + target_link_libraries(${PROGRAME} ${win32Libs}) endif(WIN32 AND MINGW) -install(TARGETS qterm DESTINATION bin) +install(TARGETS ${PROGRAME} DESTINATION bin) install(FILES ${qterm_MISC} DESTINATION share/qterm) install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/qterm.desktop DESTINATION share/applications) add_subdirectory(scheme) @@ -255,7 +280,7 @@ add_subdirectory(po) add_subdirectory(keyboard_profiles) add_subdirectory(doc) -add_dependencies(qterm translations_target help_target) +add_dependencies(${PROGRAME} translations_target help_target) if(QTERM_ENABLE_TEST) add_subdirectory(test) endif(QTERM_ENABLE_TEST) Modified: trunk/qterm-qt4/src/qterm.cfg =================================================================== --- trunk/qterm-qt4/src/qterm.cfg 2011-10-15 21:08:45 UTC (rev 1294) +++ trunk/qterm-qt4/src/qterm.cfg 2011-10-15 21:11:02 UTC (rev 1295) @@ -34,7 +34,7 @@ blinktab=1 warn=1 beep=1 -http=xdg-open +http=${HTTP} antialias=1 tray=0 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <si...@us...> - 2011-10-15 21:08:51
|
Revision: 1294 http://qterm.svn.sourceforge.net/qterm/?rev=1294&view=rev Author: sidos Date: 2011-10-15 21:08:45 +0000 (Sat, 15 Oct 2011) Log Message: ----------- pathLib is relative to mac app bundle Modified Paths: -------------- trunk/qterm-qt4/src/qtermglobal.cpp Modified: trunk/qterm-qt4/src/qtermglobal.cpp =================================================================== --- trunk/qterm-qt4/src/qtermglobal.cpp 2011-10-11 03:49:43 UTC (rev 1293) +++ trunk/qterm-qt4/src/qtermglobal.cpp 2011-10-15 21:08:45 UTC (rev 1294) @@ -433,6 +433,7 @@ { QDir dir; QFileInfo fi; + QString prefix = QCoreApplication::applicationDirPath(); #ifdef Q_OS_MACX // $HOME/Library/QTerm/ QString pathHome = QDir::homePath(); @@ -441,10 +442,8 @@ return false; // get executive file path - fi.setFile(param); - m_pathLib = fi.path() + '/'; + m_pathLib = prefix + "/../Resources"; #else - QString prefix = QCoreApplication::applicationDirPath(); QFileInfo conf(prefix+"/qterm.cfg"); if (conf.exists()) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <si...@us...> - 2011-10-11 03:49:49
|
Revision: 1293 http://qterm.svn.sourceforge.net/qterm/?rev=1293&view=rev Author: sidos Date: 2011-10-11 03:49:43 +0000 (Tue, 11 Oct 2011) Log Message: ----------- Mac OS X icns Added Paths: ----------- trunk/qterm-qt4/icons/QTerm.icns Added: trunk/qterm-qt4/icons/QTerm.icns =================================================================== (Binary files differ) Property changes on: trunk/qterm-qt4/icons/QTerm.icns ___________________________________________________________________ Added: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hep...@us...> - 2011-05-11 19:36:45
|
Revision: 1292 http://qterm.svn.sourceforge.net/qterm/?rev=1292&view=rev Author: hephooey Date: 2011-05-11 19:36:38 +0000 (Wed, 11 May 2011) Log Message: ----------- Fix the compilation in FreeBSD, patch from adaptee at gmail.com Modified Paths: -------------- trunk/qterm-qt4/src/CMakeLists.txt Modified: trunk/qterm-qt4/src/CMakeLists.txt =================================================================== --- trunk/qterm-qt4/src/CMakeLists.txt 2011-04-04 00:37:09 UTC (rev 1291) +++ trunk/qterm-qt4/src/CMakeLists.txt 2011-05-11 19:36:38 UTC (rev 1292) @@ -11,10 +11,6 @@ include(CheckFunctionExists) include(CheckLibraryExists) -if(UNIX) - find_package(X11) - set(optionalLibs ${optionalLibs} ${X11_X11_LIB}) -endif(UNIX) check_function_exists("gethostbyname" CMAKE_HAVE_GETHOSTBYNAME) @@ -225,7 +221,13 @@ ${QT_INCLUDE_DIR} ${QT_QTCORE_INCLUDE_DIR} ${QT_QTGUI_INCLUDE_DIR} - ${QT_QTNETWORK_INCLUDE_DIR} + ${QT_QTNETWORK_INCLUDE_DIR} ) +if(UNIX) + find_package(X11) + include_directories(${X11_INCLUDE_DIR}) + set(optionalLibs ${optionalLibs} ${X11_X11_LIB}) +endif(UNIX) +include_directories( ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hep...@us...> - 2011-04-04 00:37:15
|
Revision: 1291 http://qterm.svn.sourceforge.net/qterm/?rev=1291&view=rev Author: hephooey Date: 2011-04-04 00:37:09 +0000 (Mon, 04 Apr 2011) Log Message: ----------- idle -> Idle, Fix Bug #3266659 Modified Paths: -------------- trunk/qterm-qt4/src/po/qterm_chs.ts trunk/qterm-qt4/src/qtermwindow.cpp trunk/qterm-qt4/src/ui/mainframe.ui Modified: trunk/qterm-qt4/src/po/qterm_chs.ts =================================================================== --- trunk/qterm-qt4/src/po/qterm_chs.ts 2011-03-10 17:43:37 UTC (rev 1290) +++ trunk/qterm-qt4/src/po/qterm_chs.ts 2011-04-04 00:37:09 UTC (rev 1291) @@ -270,7 +270,7 @@ </message> <message> <source>Anti-&idle</source> - <translation>防发呆(&I)</translation> + <translation type="obsolete">防发呆(&I)</translation> </message> <message> <source>Debug Console</source> @@ -412,6 +412,10 @@ <source>Manage Favorites ...</source> <translation>管理 Favorites...</translation> </message> + <message> + <source>Anti-&Idle</source> + <translation>防发呆(&I)</translation> + </message> </context> <context> <name>QTerm::Canvas</name> Modified: trunk/qterm-qt4/src/qtermwindow.cpp =================================================================== --- trunk/qterm-qt4/src/qtermwindow.cpp 2011-03-10 17:43:37 UTC (rev 1290) +++ trunk/qterm-qt4/src/qtermwindow.cpp 2011-04-04 00:37:09 UTC (rev 1291) @@ -1885,7 +1885,7 @@ << "actionCopy" << "actionPaste" << "actionAuto_Copy" << "actionCopy_w_Color" << "actionRectangle_Selection" << "actionPaste_w_Wordwrap" - << "actionAnti_idle" << "actionAuto_Reply" + << "actionAnti_Idle" << "actionAuto_Reply" << "actionCopy_Article" << "actionView_Message" << "actionBoss_Color" << "actionDebug_Console" << "actionRun" << "actionStop" << "actionReload_Script" Modified: trunk/qterm-qt4/src/ui/mainframe.ui =================================================================== --- trunk/qterm-qt4/src/ui/mainframe.ui 2011-03-10 17:43:37 UTC (rev 1290) +++ trunk/qterm-qt4/src/ui/mainframe.ui 2011-04-04 00:37:09 UTC (rev 1291) @@ -139,7 +139,7 @@ </property> <addaction name="actionCopy_Article"/> <addaction name="actionAuto_Reply"/> - <addaction name="actionAnti_idle"/> + <addaction name="actionAnti_Idle"/> <addaction name="actionSupport_Mouse"/> <addaction name="actionBeep_on_message"/> <addaction name="actionView_Message"/> @@ -529,7 +529,7 @@ <string>Close</string> </property> </action> - <action name="actionAnti_idle"> + <action name="actionAnti_Idle"> <property name="checkable"> <bool>true</bool> </property> @@ -538,7 +538,7 @@ <normaloff>:/pic/anti-idle.png</normaloff>:/pic/anti-idle.png</iconset> </property> <property name="text"> - <string>Anti-&idle</string> + <string>Anti-&Idle</string> </property> </action> <action name="actionDebug_Console"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hep...@us...> - 2011-03-10 17:43:43
|
Revision: 1290 http://qterm.svn.sourceforge.net/qterm/?rev=1290&view=rev Author: hephooey Date: 2011-03-10 17:43:37 +0000 (Thu, 10 Mar 2011) Log Message: ----------- Dirty hack to hide tabbar in fullscreen mode I do not know if there is an easy way to handle this, the tabbar cannot be hided in the tabbed view mode, so in the fullscreen mode, switch to the subwindow mode to hide the tabbar. During the switch, I need to remaximize the subwindow. This somehow triggered an infinite event loop in the code when there are more than one subwindow. I also need to set the frameless flag of the subwindows. In the long future we probably should subclass the QMdiArea class to hide the tabbar, this will also open the possibility to put the download progress bar to the right corner of the tabbar. Modified Paths: -------------- trunk/qterm-qt4/src/qtermframe.cpp trunk/qterm-qt4/src/qtermscreen.cpp Modified: trunk/qterm-qt4/src/qtermframe.cpp =================================================================== --- trunk/qterm-qt4/src/qtermframe.cpp 2011-03-10 17:43:33 UTC (rev 1289) +++ trunk/qterm-qt4/src/qtermframe.cpp 2011-03-10 17:43:37 UTC (rev 1290) @@ -661,12 +661,27 @@ mainToolBar->hide(); terminalToolBar->hide(); keyToolBar->hide(); + ansiToolBar->hide(); + //mdiArea->findChild<QTabBar*>()->hide(); + QList<QMdiSubWindow *> windows = mdiArea->subWindowList(); + foreach (QMdiSubWindow * window, windows) { + window->setWindowFlags(Qt::FramelessWindowHint); + } showFullScreen(); + mdiArea->setViewMode(QMdiArea::SubWindowView); + mdiArea->activeSubWindow()->showMaximized(); } else { restoreGeometry(Global::instance()->loadGeometry()); restoreState(Global::instance()->loadState()); emit scrollChanged(); + QList<QMdiSubWindow *> windows = mdiArea->subWindowList(); + foreach (QMdiSubWindow * window, windows) { + window->setWindowFlags(Qt::SubWindow); + } showNormal(); + mdiArea->setViewMode(QMdiArea::TabbedView); + mdiArea->activeSubWindow()->showMaximized(); + updateTabBar(); } actionFullscreen->setChecked(isFullScreen); Modified: trunk/qterm-qt4/src/qtermscreen.cpp =================================================================== --- trunk/qterm-qt4/src/qtermscreen.cpp 2011-03-10 17:43:33 UTC (rev 1289) +++ trunk/qterm-qt4/src/qtermscreen.cpp 2011-03-10 17:43:37 UTC (rev 1290) @@ -132,6 +132,10 @@ // focus event received void Screen::focusInEvent(QFocusEvent *) { + // FIXME: Somehow there is an inf loop without this. + if (Global::instance()->isFullScreen()) { + return; + } if (m_pWindow->isMaximized()) { m_pWindow->showNormal(); m_pWindow->showMaximized(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hep...@us...> - 2011-03-10 17:43:39
|
Revision: 1289 http://qterm.svn.sourceforge.net/qterm/?rev=1289&view=rev Author: hephooey Date: 2011-03-10 17:43:33 +0000 (Thu, 10 Mar 2011) Log Message: ----------- Factor out the tab setup part Modified Paths: -------------- trunk/qterm-qt4/src/qtermframe.cpp trunk/qterm-qt4/src/qtermframe.h Modified: trunk/qterm-qt4/src/qtermframe.cpp =================================================================== --- trunk/qterm-qt4/src/qtermframe.cpp 2011-03-05 22:11:16 UTC (rev 1288) +++ trunk/qterm-qt4/src/qtermframe.cpp 2011-03-10 17:43:33 UTC (rev 1289) @@ -93,13 +93,7 @@ setupUi(this); - foreach(QTabBar* tabBar, findChildren<QTabBar*>()) { - tabBar->setTabsClosable(true); - tabBar->setMovable(true); - tabBar->setExpanding(false); - connect(tabBar, SIGNAL(tabCloseRequested(int)), - this, SLOT(closeWindowByIndex(int))); - } + updateTabBar(); connect(mdiArea, SIGNAL(subWindowActivated(QMdiSubWindow*)), this, SLOT(windowActivated(QMdiSubWindow*)) ); @@ -1220,6 +1214,16 @@ actionsExtra->addAction(action); } } +void Frame::updateTabBar() +{ + foreach(QTabBar* tabBar, findChildren<QTabBar*>()) { + tabBar->setTabsClosable(true); + tabBar->setMovable(true); + tabBar->setExpanding(false); + connect(tabBar, SIGNAL(tabCloseRequested(int)), + this, SLOT(closeWindowByIndex(int))); + } +} } Modified: trunk/qterm-qt4/src/qtermframe.h =================================================================== --- trunk/qterm-qt4/src/qtermframe.h 2011-03-05 22:11:16 UTC (rev 1288) +++ trunk/qterm-qt4/src/qtermframe.h 2011-03-10 17:43:33 UTC (rev 1289) @@ -147,6 +147,7 @@ QAction * insertThemeItem(const QString &); void setUseTray(bool); + void updateTabBar(); private: static Frame * s_instance; AssistantClient m_assistant; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hep...@us...> - 2011-03-05 22:11:22
|
Revision: 1288 http://qterm.svn.sourceforge.net/qterm/?rev=1288&view=rev Author: hephooey Date: 2011-03-05 22:11:16 +0000 (Sat, 05 Mar 2011) Log Message: ----------- Retag 0.5.12 Added Paths: ----------- tags/0.5.12/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hep...@us...> - 2011-03-05 22:10:50
|
Revision: 1287 http://qterm.svn.sourceforge.net/qterm/?rev=1287&view=rev Author: hephooey Date: 2011-03-05 22:10:44 +0000 (Sat, 05 Mar 2011) Log Message: ----------- Remove the bad version Removed Paths: ------------- tags/0.5.12/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hep...@us...> - 2011-03-05 22:08:02
|
Revision: 1286 http://qterm.svn.sourceforge.net/qterm/?rev=1286&view=rev Author: hephooey Date: 2011-03-05 22:07:56 +0000 (Sat, 05 Mar 2011) Log Message: ----------- Fix translucent in compiz Modified Paths: -------------- trunk/qterm-qt4/src/qtermframe.cpp Modified: trunk/qterm-qt4/src/qtermframe.cpp =================================================================== --- trunk/qterm-qt4/src/qtermframe.cpp 2011-03-05 20:15:42 UTC (rev 1285) +++ trunk/qterm-qt4/src/qtermframe.cpp 2011-03-05 22:07:56 UTC (rev 1286) @@ -87,6 +87,8 @@ : QMainWindow(0) { s_instance = this; + setAttribute(Qt::WA_TranslucentBackground); + setAttribute(Qt::WA_NoSystemBackground, false); setAttribute(Qt::WA_DeleteOnClose); setupUi(this); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hep...@us...> - 2011-03-05 20:15:48
|
Revision: 1285 http://qterm.svn.sourceforge.net/qterm/?rev=1285&view=rev Author: hephooey Date: 2011-03-05 20:15:42 +0000 (Sat, 05 Mar 2011) Log Message: ----------- Tag 0.5.12 Added Paths: ----------- tags/0.5.12/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hep...@us...> - 2011-03-05 19:44:41
|
Revision: 1284 http://qterm.svn.sourceforge.net/qterm/?rev=1284&view=rev Author: hephooey Date: 2011-03-05 19:44:34 +0000 (Sat, 05 Mar 2011) Log Message: ----------- Correct translation Modified Paths: -------------- trunk/qterm-qt4/src/po/qterm_chs.ts Modified: trunk/qterm-qt4/src/po/qterm_chs.ts =================================================================== --- trunk/qterm-qt4/src/po/qterm_chs.ts 2011-03-05 19:41:22 UTC (rev 1283) +++ trunk/qterm-qt4/src/po/qterm_chs.ts 2011-03-05 19:44:34 UTC (rev 1284) @@ -126,7 +126,7 @@ </message> <message> <source>ANSI Edit</source> - <translation>ANSI 颜色</translation> + <translation>ANSI 编辑</translation> </message> <message> <source>Quick Login</source> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |