diff --git a/retroshare-gui/src/RetroShare.pro b/retroshare-gui/src/RetroShare.pro index adce6fde2..11afa29ba 100644 --- a/retroshare-gui/src/RetroShare.pro +++ b/retroshare-gui/src/RetroShare.pro @@ -1,16 +1,17 @@ ###################################################################### # Automatically generated by qmake (2.00a) Fr 18. Aug 22:48:56 2006 ####################################################################### -#OBJECTS_DIR = temp/obj -#RCC_DIR = temp/qrc -#UI_DIR = temp/ui -#MOC_DIR = temp/moc +OBJECTS_DIR = temp/obj +RCC_DIR = temp/qrc +UI_DIR = temp/ui +MOC_DIR = temp/moc -CONFIG += qt release +CONFIG += qt debug QT += network xml TEMPLATE = app TARGET += +QMAKE_CXXFLAGS *= -g DEPENDPATH += . \ rsiface \ @@ -428,6 +429,20 @@ macx { LIBS += -Wl,-search_paths_first } +win32-x-g++ { + OBJECTS_DIR = win32-x-g++/obj + RCC_DIR = win32-x-g++/qrc + UI_DIR = win32-x-g++/ui + MOC_DIR = win32-x-g++/moc + + RC_FILE = gui/images/retroshare_win.rc + + LIBS += -L"../../../../lib" -lretroshare -lssl -lcrypto -lpthreadGC2d -lminiupnpc -lz + LIBS += -lqcheckers -lsmplayer + LIBS += -lws2_32 -luuid -lole32 -liphlpapi -lcrypt32-cygwin -gdi32 + LIBS += -lole32 -lwinmm + } + win32 { OBJECTS_DIR = temp/obj diff --git a/retroshare-gui/src/emoticons/emotes.acs b/retroshare-gui/src/emoticons/emotes.acs deleted file mode 100755 index f9058af3d..000000000 --- a/retroshare-gui/src/emoticons/emotes.acs +++ /dev/null @@ -1,38 +0,0 @@ -{ -":-)|:)":"emoticons/smile.png"; -":-D|:D":"emoticons/lol.png"; -";-)|;)":"emoticons/wink.png"; -":')":"emoticons/crying.png"; -":-O|:O":"emoticons/surprised.png"; -":-S|:S":"emoticons/wondering.png"; -":-(|:(":"emoticons/sad.png"; -":-*|:-{}":"emoticons/kissing.png"; -":-P|:P":"emoticons/tongue.png"; -"$-)|$)":"emoticons/moneyeyes.png"; -":-@":"emoticons/angry.png"; -"8-)":"emoticons/cool.png"; -"=))|:-j|:-J":"emoticons/rotfl.png"; -"(B)|(b)":"emoticons/beer.png"; -"(@)":"emoticons/cat.png"; -"(P)|(p)":"emoticons/camera.png"; -"(C)|(c)":"emoticons/coffee.png"; -"*JOKINGLY*|:))|:-))":"emoticons/laugh.png"; -"/|/bj|/baijiu":"emoticons/liquor.png"; -"(L)|(l)":"emoticons/love.png"; -"(U)|(u)":"emoticons/love-over.png"; -"(S)":"emoticons/moon.png"; -"(mp)":"emoticons/mobile.png"; -"(pi)":"emoticons/pizza.png"; -":)>-":"emoticons/peace.png"; -"(T)|(t)":"emoticons/phone.png"; -"P)":"emoticons/pirate.png"; -"(~~)":"emoticons/pumpkin.png"; -":X":"emoticons/in-love.png"; -"(ip)":"emoticons/island.png"; -"(^)":"emoticons/cake.png"; -"<:-P|<:-p":"emoticons/party.png"; -"(O)|(o)":"emoticons/clock.png"; -"(um)":"emoticons/umbrella.png"; -"(6)":"emoticons/face-devil-grin48.png"; - -} diff --git a/retroshare-gui/src/gui/NetworkDialog.cpp b/retroshare-gui/src/gui/NetworkDialog.cpp index 2404a3110..512ea9c1c 100644 --- a/retroshare-gui/src/gui/NetworkDialog.cpp +++ b/retroshare-gui/src/gui/NetworkDialog.cpp @@ -373,7 +373,7 @@ void NetworkDialog::insertConnect() { backgrndcolor=Qt::magenta; item -> setIcon(0,(QIcon(IMAGE_TRUSTED))); - item -> setText(2,QString("Trusts me")); + item -> setText(2,QString("Is trusting you")); for(int k=0;k<8;++k) item -> setToolTip(k,QString::fromStdString(detail.name) + QString(tr(" is trusting you. \nRight-click and select 'make friend' to be able to connect."))) ; } diff --git a/retroshare-gui/src/gui/PeersDialog.cpp b/retroshare-gui/src/gui/PeersDialog.cpp index ccd3bee00..dc344b976 100644 --- a/retroshare-gui/src/gui/PeersDialog.cpp +++ b/retroshare-gui/src/gui/PeersDialog.cpp @@ -996,10 +996,10 @@ void PeersDialog::displayInfoChatMenu(const QPoint& pos) void PeersDialog::loadEmoticonsgroupchat() { QString sm_codes; - #if defined(Q_OS_WIN32) - QFile sm_file(QApplication::applicationDirPath() + "/emoticons/emotes.acs"); - #else - QFile sm_file(QString(":/emoticons/emotes.acs")); + #if defined(Q_OS_WIN32) + QFile sm_file(QApplication::applicationDirPath() + "/emoticons/emotes.acs"); + #else + QFile sm_file(QString(":/smileys/emotes.acs")); #endif if(!sm_file.open(QIODevice::ReadOnly)) { diff --git a/retroshare-gui/src/gui/SharedFilesDialog.cpp b/retroshare-gui/src/gui/SharedFilesDialog.cpp index 29ed331f1..3cc8078ee 100644 --- a/retroshare-gui/src/gui/SharedFilesDialog.cpp +++ b/retroshare-gui/src/gui/SharedFilesDialog.cpp @@ -161,10 +161,13 @@ void SharedFilesDialog::checkUpdate() /*QMovie *movie = new QMovie(IMAGE_PROGRESS); ui.hashLabel->setMovie(movie); movie->start();*/ + +// ui.hashLabel->setToolTip(QString::fromStdString(rsFiles->currentJobInfo())) ; } else { ui.hashLabel->setPixmap(QPixmap(IMAGE_HASH_DONE)); + ui.hashLabel->setToolTip("") ; } return; diff --git a/retroshare-gui/src/gui/chat/PopupChatDialog.cpp b/retroshare-gui/src/gui/chat/PopupChatDialog.cpp index 7eb68b2b5..3f2ab2ab5 100644 --- a/retroshare-gui/src/gui/chat/PopupChatDialog.cpp +++ b/retroshare-gui/src/gui/chat/PopupChatDialog.cpp @@ -392,7 +392,7 @@ void PopupChatDialog::loadEmoticons() #if defined(Q_OS_WIN32) QFile sm_file(QApplication::applicationDirPath() + "/emoticons/emotes.acs"); #else - QFile sm_file(QString(":/emoticons/emotes.acs")); + QFile sm_file(QString(":/smileys/emotes.acs")); #endif if(!sm_file.open(QIODevice::ReadOnly)) { diff --git a/retroshare-gui/src/gui/forums/CreateForumMsg.ui b/retroshare-gui/src/gui/forums/CreateForumMsg.ui index b2f301ee0..991cc752c 100644 --- a/retroshare-gui/src/gui/forums/CreateForumMsg.ui +++ b/retroshare-gui/src/gui/forums/CreateForumMsg.ui @@ -13,7 +13,8 @@ Post Forum Message - :/images/rstray3.png + + :/images/rstray3.png:/images/rstray3.png Qt::ToolButtonTextUnderIcon @@ -68,7 +69,7 @@ Qt::Horizontal - + 40 20 @@ -81,6 +82,9 @@ Sign Message + + true + @@ -107,7 +111,8 @@ - :/images/mail_send24.png + + :/images/mail_send24.png:/images/mail_send24.png Post Forum Msg @@ -115,7 +120,8 @@ - :/images/button_cancel.png + + :/images/button_cancel.png:/images/button_cancel.png Close diff --git a/retroshare-gui/src/gui/images.qrc b/retroshare-gui/src/gui/images.qrc index 4d1432dfc..d7b09d9d0 100644 --- a/retroshare-gui/src/gui/images.qrc +++ b/retroshare-gui/src/gui/images.qrc @@ -318,7 +318,47 @@ qss/over/greentop.png qss/silver.qss qss/silver/silver.png - qss/skin2.qss - qss/skin2/background.png - + qss/skin2.qss + qss/skin2/background.png + smileys/angry.png + smileys/beer.png + smileys/cake.png + smileys/camera.png + smileys/cat.png + smileys/clock.png + smileys/cloudy.png + smileys/coffee.png + smileys/cool.png + smileys/crying.png + smileys/face-devil-grin48.png + smileys/in-love.png + smileys/island.png + smileys/kissing.png + smileys/laugh.png + smileys/liquor.png + smileys/lol.png + smileys/love-over.png + smileys/love.png + smileys/mobile.png + smileys/moneyeyes.png + smileys/moon.png + smileys/party.png + smileys/peace.png + smileys/phone.png + smileys/pirate.png + smileys/pizza.png + smileys/pouty.png + smileys/pumpkin.png + smileys/rain.png + smileys/rotfl.png + smileys/sad.png + smileys/smile.png + smileys/surprised.png + smileys/thunder.png + smileys/tongue.png + smileys/umbrella.png + smileys/wink.png + smileys/wondering.png + smileys/emotes.acs + diff --git a/retroshare-gui/src/emoticons/angry.png b/retroshare-gui/src/gui/smileys/angry.png similarity index 100% rename from retroshare-gui/src/emoticons/angry.png rename to retroshare-gui/src/gui/smileys/angry.png diff --git a/retroshare-gui/src/emoticons/beer.png b/retroshare-gui/src/gui/smileys/beer.png similarity index 100% rename from retroshare-gui/src/emoticons/beer.png rename to retroshare-gui/src/gui/smileys/beer.png diff --git a/retroshare-gui/src/emoticons/cake.png b/retroshare-gui/src/gui/smileys/cake.png similarity index 100% rename from retroshare-gui/src/emoticons/cake.png rename to retroshare-gui/src/gui/smileys/cake.png diff --git a/retroshare-gui/src/emoticons/camera.png b/retroshare-gui/src/gui/smileys/camera.png similarity index 100% rename from retroshare-gui/src/emoticons/camera.png rename to retroshare-gui/src/gui/smileys/camera.png diff --git a/retroshare-gui/src/emoticons/cat.png b/retroshare-gui/src/gui/smileys/cat.png similarity index 100% rename from retroshare-gui/src/emoticons/cat.png rename to retroshare-gui/src/gui/smileys/cat.png diff --git a/retroshare-gui/src/emoticons/clock.png b/retroshare-gui/src/gui/smileys/clock.png similarity index 100% rename from retroshare-gui/src/emoticons/clock.png rename to retroshare-gui/src/gui/smileys/clock.png diff --git a/retroshare-gui/src/emoticons/cloudy.png b/retroshare-gui/src/gui/smileys/cloudy.png similarity index 100% rename from retroshare-gui/src/emoticons/cloudy.png rename to retroshare-gui/src/gui/smileys/cloudy.png diff --git a/retroshare-gui/src/emoticons/coffee.png b/retroshare-gui/src/gui/smileys/coffee.png similarity index 100% rename from retroshare-gui/src/emoticons/coffee.png rename to retroshare-gui/src/gui/smileys/coffee.png diff --git a/retroshare-gui/src/emoticons/cool.png b/retroshare-gui/src/gui/smileys/cool.png similarity index 100% rename from retroshare-gui/src/emoticons/cool.png rename to retroshare-gui/src/gui/smileys/cool.png diff --git a/retroshare-gui/src/emoticons/crying.png b/retroshare-gui/src/gui/smileys/crying.png similarity index 100% rename from retroshare-gui/src/emoticons/crying.png rename to retroshare-gui/src/gui/smileys/crying.png diff --git a/retroshare-gui/src/gui/smileys/emotes.acs b/retroshare-gui/src/gui/smileys/emotes.acs new file mode 100644 index 000000000..d491a3c63 --- /dev/null +++ b/retroshare-gui/src/gui/smileys/emotes.acs @@ -0,0 +1,38 @@ +{ +":-)|:)":"smileys/smile.png"; +":-D|:D":"smileys/lol.png"; +";-)|;)":"smileys/wink.png"; +":')":"smileys/crying.png"; +":-O|:O":"smileys/surprised.png"; +":-S|:S":"smileys/wondering.png"; +":-(|:(":"smileys/sad.png"; +":-*|:-{}":"smileys/kissing.png"; +":-P|:P":"smileys/tongue.png"; +"$-)|$)":"smileys/moneyeyes.png"; +":-@":"smileys/angry.png"; +"8-)":"smileys/cool.png"; +"=))|:-j|:-J":"smileys/rotfl.png"; +"(B)|(b)":"smileys/beer.png"; +"(@)":"smileys/cat.png"; +"(P)|(p)":"smileys/camera.png"; +"(C)|(c)":"smileys/coffee.png"; +"*JOKINGLY*|:))|:-))":"smileys/laugh.png"; +"/|/bj|/baijiu":"smileys/liquor.png"; +"(L)|(l)":"smileys/love.png"; +"(U)|(u)":"smileys/love-over.png"; +"(S)":"smileys/moon.png"; +"(mp)":"smileys/mobile.png"; +"(pi)":"smileys/pizza.png"; +":)>-":"smileys/peace.png"; +"(T)|(t)":"smileys/phone.png"; +"P)":"smileys/pirate.png"; +"(~~)":"smileys/pumpkin.png"; +":X":"smileys/in-love.png"; +"(ip)":"smileys/island.png"; +"(^)":"smileys/cake.png"; +"<:-P|<:-p":"smileys/party.png"; +"(O)|(o)":"smileys/clock.png"; +"(um)":"smileys/umbrella.png"; +"(6)":"smileys/face-devil-grin48.png"; + +} diff --git a/retroshare-gui/src/emoticons/face-devil-grin48.png b/retroshare-gui/src/gui/smileys/face-devil-grin48.png similarity index 100% rename from retroshare-gui/src/emoticons/face-devil-grin48.png rename to retroshare-gui/src/gui/smileys/face-devil-grin48.png diff --git a/retroshare-gui/src/emoticons/in-love.png b/retroshare-gui/src/gui/smileys/in-love.png similarity index 100% rename from retroshare-gui/src/emoticons/in-love.png rename to retroshare-gui/src/gui/smileys/in-love.png diff --git a/retroshare-gui/src/emoticons/island.png b/retroshare-gui/src/gui/smileys/island.png similarity index 100% rename from retroshare-gui/src/emoticons/island.png rename to retroshare-gui/src/gui/smileys/island.png diff --git a/retroshare-gui/src/emoticons/kissing.png b/retroshare-gui/src/gui/smileys/kissing.png similarity index 100% rename from retroshare-gui/src/emoticons/kissing.png rename to retroshare-gui/src/gui/smileys/kissing.png diff --git a/retroshare-gui/src/emoticons/laugh.png b/retroshare-gui/src/gui/smileys/laugh.png similarity index 100% rename from retroshare-gui/src/emoticons/laugh.png rename to retroshare-gui/src/gui/smileys/laugh.png diff --git a/retroshare-gui/src/emoticons/liquor.png b/retroshare-gui/src/gui/smileys/liquor.png similarity index 100% rename from retroshare-gui/src/emoticons/liquor.png rename to retroshare-gui/src/gui/smileys/liquor.png diff --git a/retroshare-gui/src/emoticons/lol.png b/retroshare-gui/src/gui/smileys/lol.png similarity index 100% rename from retroshare-gui/src/emoticons/lol.png rename to retroshare-gui/src/gui/smileys/lol.png diff --git a/retroshare-gui/src/emoticons/love-over.png b/retroshare-gui/src/gui/smileys/love-over.png similarity index 100% rename from retroshare-gui/src/emoticons/love-over.png rename to retroshare-gui/src/gui/smileys/love-over.png diff --git a/retroshare-gui/src/emoticons/love.png b/retroshare-gui/src/gui/smileys/love.png similarity index 100% rename from retroshare-gui/src/emoticons/love.png rename to retroshare-gui/src/gui/smileys/love.png diff --git a/retroshare-gui/src/emoticons/mobile.png b/retroshare-gui/src/gui/smileys/mobile.png similarity index 100% rename from retroshare-gui/src/emoticons/mobile.png rename to retroshare-gui/src/gui/smileys/mobile.png diff --git a/retroshare-gui/src/emoticons/moneyeyes.png b/retroshare-gui/src/gui/smileys/moneyeyes.png similarity index 100% rename from retroshare-gui/src/emoticons/moneyeyes.png rename to retroshare-gui/src/gui/smileys/moneyeyes.png diff --git a/retroshare-gui/src/emoticons/moon.png b/retroshare-gui/src/gui/smileys/moon.png similarity index 100% rename from retroshare-gui/src/emoticons/moon.png rename to retroshare-gui/src/gui/smileys/moon.png diff --git a/retroshare-gui/src/emoticons/party.png b/retroshare-gui/src/gui/smileys/party.png similarity index 100% rename from retroshare-gui/src/emoticons/party.png rename to retroshare-gui/src/gui/smileys/party.png diff --git a/retroshare-gui/src/emoticons/peace.png b/retroshare-gui/src/gui/smileys/peace.png similarity index 100% rename from retroshare-gui/src/emoticons/peace.png rename to retroshare-gui/src/gui/smileys/peace.png diff --git a/retroshare-gui/src/emoticons/phone.png b/retroshare-gui/src/gui/smileys/phone.png similarity index 100% rename from retroshare-gui/src/emoticons/phone.png rename to retroshare-gui/src/gui/smileys/phone.png diff --git a/retroshare-gui/src/emoticons/pirate.png b/retroshare-gui/src/gui/smileys/pirate.png similarity index 100% rename from retroshare-gui/src/emoticons/pirate.png rename to retroshare-gui/src/gui/smileys/pirate.png diff --git a/retroshare-gui/src/emoticons/pizza.png b/retroshare-gui/src/gui/smileys/pizza.png similarity index 100% rename from retroshare-gui/src/emoticons/pizza.png rename to retroshare-gui/src/gui/smileys/pizza.png diff --git a/retroshare-gui/src/emoticons/pouty.png b/retroshare-gui/src/gui/smileys/pouty.png similarity index 100% rename from retroshare-gui/src/emoticons/pouty.png rename to retroshare-gui/src/gui/smileys/pouty.png diff --git a/retroshare-gui/src/emoticons/pumpkin.png b/retroshare-gui/src/gui/smileys/pumpkin.png similarity index 100% rename from retroshare-gui/src/emoticons/pumpkin.png rename to retroshare-gui/src/gui/smileys/pumpkin.png diff --git a/retroshare-gui/src/emoticons/rain.png b/retroshare-gui/src/gui/smileys/rain.png similarity index 100% rename from retroshare-gui/src/emoticons/rain.png rename to retroshare-gui/src/gui/smileys/rain.png diff --git a/retroshare-gui/src/emoticons/rotfl.png b/retroshare-gui/src/gui/smileys/rotfl.png similarity index 100% rename from retroshare-gui/src/emoticons/rotfl.png rename to retroshare-gui/src/gui/smileys/rotfl.png diff --git a/retroshare-gui/src/emoticons/sad.png b/retroshare-gui/src/gui/smileys/sad.png similarity index 100% rename from retroshare-gui/src/emoticons/sad.png rename to retroshare-gui/src/gui/smileys/sad.png diff --git a/retroshare-gui/src/emoticons/smile.png b/retroshare-gui/src/gui/smileys/smile.png similarity index 100% rename from retroshare-gui/src/emoticons/smile.png rename to retroshare-gui/src/gui/smileys/smile.png diff --git a/retroshare-gui/src/emoticons/surprised.png b/retroshare-gui/src/gui/smileys/surprised.png similarity index 100% rename from retroshare-gui/src/emoticons/surprised.png rename to retroshare-gui/src/gui/smileys/surprised.png diff --git a/retroshare-gui/src/emoticons/thunder.png b/retroshare-gui/src/gui/smileys/thunder.png similarity index 100% rename from retroshare-gui/src/emoticons/thunder.png rename to retroshare-gui/src/gui/smileys/thunder.png diff --git a/retroshare-gui/src/emoticons/tongue.png b/retroshare-gui/src/gui/smileys/tongue.png similarity index 100% rename from retroshare-gui/src/emoticons/tongue.png rename to retroshare-gui/src/gui/smileys/tongue.png diff --git a/retroshare-gui/src/emoticons/umbrella.png b/retroshare-gui/src/gui/smileys/umbrella.png similarity index 100% rename from retroshare-gui/src/emoticons/umbrella.png rename to retroshare-gui/src/gui/smileys/umbrella.png diff --git a/retroshare-gui/src/emoticons/wink.png b/retroshare-gui/src/gui/smileys/wink.png similarity index 100% rename from retroshare-gui/src/emoticons/wink.png rename to retroshare-gui/src/gui/smileys/wink.png diff --git a/retroshare-gui/src/emoticons/wondering.png b/retroshare-gui/src/gui/smileys/wondering.png similarity index 100% rename from retroshare-gui/src/emoticons/wondering.png rename to retroshare-gui/src/gui/smileys/wondering.png diff --git a/retroshare-gui/src/lang/retroshare_fr.ts b/retroshare-gui/src/lang/retroshare_fr.ts index 9e4a7088c..e4a7dac27 100644 --- a/retroshare-gui/src/lang/retroshare_fr.ts +++ b/retroshare-gui/src/lang/retroshare_fr.ts @@ -1,5 +1,6 @@ + @@ -1498,17 +1499,17 @@ Do you want to save message ? Exit RetroShare - + Quitter RetroShare You are about to exit the RetroShare application and therefore stop all transfers. <br><br>Are you sure you want to stop and exit RetroShare? - + Vous êtes sur le point de quitter RetroShare. Cela stoppe tous les transfers en cours.<br><br>Etes vous sûrs de vouloir quitter ? Do not show this message again. - + Ne plus afficher ce message. @@ -4100,12 +4101,12 @@ p, li { white-space: pre-wrap; } Send Message - + Envoyer Remove Friend - Enlever un ami + Supprimer diff --git a/retroshare-gui/src/rsiface/rsfiles.h b/retroshare-gui/src/rsiface/rsfiles.h index 5ea3e6851..3f8575035 100644 --- a/retroshare-gui/src/rsiface/rsfiles.h +++ b/retroshare-gui/src/rsiface/rsfiles.h @@ -139,9 +139,6 @@ virtual int SearchBoolExp(Expression * exp, std::list &results) = 0; virtual bool ConvertSharedFilePath(std::string path, std::string &fullpath) = 0; virtual void ForceDirectoryCheck() = 0; virtual bool InDirectoryCheck() = 0; -virtual void setFileHashingCallback( void(*cb)(const std::string&)) = 0; - - /*** * Directory Control