15 years agoMake QuasselTopia compile again. We got rid of the libqxt dependency...
Manuel Nickschas [Sun, 4 Nov 2007 01:17:13 +0000 (01:17 +0000)]
Make QuasselTopia compile again. We got rid of the libqxt dependency...
Note that it compiles now, but also immediately segfaults on exection :)

15 years agoPrettified SignalProxy some more, updated license headers.
Manuel Nickschas [Sun, 4 Nov 2007 01:11:28 +0000 (01:11 +0000)]
Prettified SignalProxy some more, updated license headers.

15 years ago- New SignalProxy which is kinda sorta based on the idea of the QxtRPCPeer, though...
Marcus Eggenberger [Sat, 3 Nov 2007 23:28:12 +0000 (23:28 +0000)]
- New SignalProxy which is kinda sorta based on the idea of the QxtRPCPeer, though suits more our needs and is suited for high
performance as in lots of attached signals.
- Had some weird errors on the sqlitestorage so I added some debugging infos there

15 years agoAdding work-in-progress for the new QGraphicsScene-based chatview.
Manuel Nickschas [Tue, 30 Oct 2007 23:17:59 +0000 (23:17 +0000)]
Adding work-in-progress for the new QGraphicsScene-based chatview.
Disabled for now, because it will require a lot of work and time I don't
have now. So we'll live with the old chatwidget (that does not display selections
anymore) until QuasselTopia is released...

15 years agoCleanupination/Prettyfication/Refactorination of the BufferModel
Marcus Eggenberger [Mon, 29 Oct 2007 17:29:46 +0000 (17:29 +0000)]
Cleanupination/Prettyfication/Refactorination of the BufferModel

15 years agoIRC disconnects are now handled properly
Marcus Eggenberger [Mon, 29 Oct 2007 12:13:44 +0000 (12:13 +0000)]
IRC disconnects are now handled properly

15 years agoFixed a bug, where the customviews were not so customizable on Linux.
Marcus Eggenberger [Sun, 28 Oct 2007 13:00:42 +0000 (13:00 +0000)]
Fixed a bug, where the customviews were not so customizable on Linux.

15 years agoA warning message is now displayed when your nickname is already taken or not valid...
Marcus Eggenberger [Sun, 28 Oct 2007 12:44:53 +0000 (12:44 +0000)]
A warning message is now displayed when your nickname is already taken or not valid. It will be taken care of those
issues automagically again. But for now there is no nice way to access the identity list from within a

15 years agoFixed Bug in ModelPropertyMapper where currentChanges where unnoticed cause the rowIn...
Marcus Eggenberger [Thu, 25 Oct 2007 19:05:09 +0000 (19:05 +0000)]
Fixed Bug in ModelPropertyMapper where currentChanges where unnoticed cause the rowIndex did not change but the indexes parent.

15 years agoRipped the guts out of the BufferWidget (which is basically the StackedWidget contain...
Marcus Eggenberger [Thu, 25 Oct 2007 08:43:31 +0000 (08:43 +0000)]
Ripped the guts out of the BufferWidget (which is basically the StackedWidget containing the ChatWidgets). Jeah I did that at 3am... :)

15 years agoFixing svn:ignore entries.
Manuel Nickschas [Thu, 25 Oct 2007 00:47:27 +0000 (00:47 +0000)]
Fixing svn:ignore entries.

15 years agoAh, well, made the build system actually work. Hopefully. Well, Ballmer Peak
Manuel Nickschas [Wed, 24 Oct 2007 22:38:45 +0000 (22:38 +0000)]
Ah, well, made the build system actually work. Hopefully. Well, Ballmer Peak
is a bit past already.

15 years agoWe now have a current svn snapshot of libqxt in our contrib dir, and
Manuel Nickschas [Wed, 24 Oct 2007 22:26:57 +0000 (22:26 +0000)]
We now have a current svn snapshot of libqxt in our contrib dir, and
a modified build system that uses this version instead of our (rather old)
partial snapshot. Keeping in sync with upstream should now be much easier.

15 years agoAdded ModelPropertyMapper which allows to keep track of /current/ changes in the...
Marcus Eggenberger [Wed, 24 Oct 2007 22:10:25 +0000 (22:10 +0000)]
Added ModelPropertyMapper which allows to keep track of /current/ changes in the model and propagate the changes to connected qobjects.

15 years agoobsolete_crap--
Manuel Nickschas [Wed, 24 Oct 2007 00:54:08 +0000 (00:54 +0000)]

Removed the old style.cpp/h (may that code never see the light of day again), and the
old Client::(dis)connect[To|From]LocalCore() functions from main.cpp - these won't be
needed anymore.

Manuel Nickschas [Wed, 24 Oct 2007 00:39:10 +0000 (00:39 +0000)]

Say hello to the new module "uisupport", which shall contain code that is shared
across UI implementations (and may depend on QtGui). For now, this is our brand-new
shiny style engine that replaces the dirty hack that was style.cpp/h. UI styles now derive
from UiStyle and set the text formats as they wish through an easy API.
ChatLine has been switched to use QtUiStyle, but since ChatLine might be removed soon, I
did not bother to fully implement this, which in particular means that text selections are
no longer displayed.

15 years agoWe finally got a nice solution to synchronize multiple views or whatevers[tm] even...
Marcus Eggenberger [Tue, 23 Oct 2007 19:29:01 +0000 (19:29 +0000)]
We finally got a nice solution to synchronize multiple views or whatevers[tm] even though those views are connected to proxymodels and therefore cannot share SelectionModels. Usage:
(maybe I'll make this a bit easier... ;))

15 years agoActually... I have nearly no clue what the changes in this revision are. Since most...
Marcus Eggenberger [Sun, 21 Oct 2007 18:59:17 +0000 (18:59 +0000)]
Actually... I have nearly no clue what the changes in this revision are. Since most of the stuff I wanted to do were simply fucked up and thus I reverted them. But since there were some changes in the remaining files I thought it might be a good Idea to check those in. For example: I removed the Buffer::bufferDestroyed() signal since it's kinda dual to Buffer::destroyed(). My 2 cents.

15 years agofixed bug in handleNick() where the determination wheter it was your nickchange or...
Marcus Eggenberger [Sun, 21 Oct 2007 13:19:02 +0000 (13:19 +0000)]
fixed bug in handleNick() where the determination wheter it was your nickchange or not was switch

15 years agoI think one of my major talents is commiting files that don't compile... -.-
Marcus Eggenberger [Sun, 21 Oct 2007 13:09:34 +0000 (13:09 +0000)]
I think one of my major talents is commiting files that don't compile... -.-

15 years agoAdded Q_ASSERT when catching destroyed signals. There seems to be a problem in some...
Marcus Eggenberger [Sun, 21 Oct 2007 13:05:46 +0000 (13:05 +0000)]
Added Q_ASSERT when catching destroyed signals. There seems to be a problem in some cases. Simplified the handling too.

15 years agoStarted to reorganize the Buffer{Model|View|Filter}. Mostly cleanup at the moment.
Marcus Eggenberger [Sat, 20 Oct 2007 17:21:34 +0000 (17:21 +0000)]
Started to reorganize the Buffer{Model|View|Filter}. Mostly cleanup at the moment.
Added a static Method Client::fakeInput(BufferId, Message) to help easy automation of stuff like joining channels.

15 years agoSyncing my state before starting to reorganize the UI parts of the source...
Manuel Nickschas [Sat, 20 Oct 2007 15:11:58 +0000 (15:11 +0000)]
Syncing my state before starting to reorganize the UI parts of the source...

15 years agoGot rid of those bugging QPainter errors
Marcus Eggenberger [Sat, 20 Oct 2007 13:37:31 +0000 (13:37 +0000)]
Got rid of those bugging QPainter errors

15 years agoFixed (at least I guess so) where a connect to a network resulst in an immediate...
Marcus Eggenberger [Sat, 20 Oct 2007 11:20:55 +0000 (11:20 +0000)]
Fixed (at least I guess so) where a connect to a network resulst in an immediate crash

15 years agoimplemented a quick workaround for new quassel users so a default user will be genera...
Marcus Eggenberger [Sat, 20 Oct 2007 10:49:22 +0000 (10:49 +0000)]
implemented a quick workaround for new quassel users so a default user will be generated automatically.
Username: "Default"
Password: "password"

15 years agoActually create the ServerListDlg before using it.
Manuel Nickschas [Sat, 20 Oct 2007 10:30:12 +0000 (10:30 +0000)]
Actually create the ServerListDlg before using it.

15 years agoStopped SlaveSynchronizers from requesting a second init after a namechange if they...
Marcus Eggenberger [Sat, 20 Oct 2007 02:03:55 +0000 (02:03 +0000)]
Stopped SlaveSynchronizers from requesting a second init after a namechange if  they are allready initialized.

15 years agoFixed crash when joining new channels
Marcus Eggenberger [Sat, 20 Oct 2007 01:37:47 +0000 (01:37 +0000)]
Fixed crash when joining new channels

15 years agoSanitize handling of mirc color codes in order to ease parsing of the
Manuel Nickschas [Sat, 20 Oct 2007 01:29:10 +0000 (01:29 +0000)]
Sanitize handling of mirc color codes in order to ease parsing of the
internal format.

15 years agoNope, I will not answer any questions...
Marcus Eggenberger [Fri, 19 Oct 2007 23:45:16 +0000 (23:45 +0000)]
Nope, I will not answer any questions...

15 years agosome minor cosmetics...
Marcus Eggenberger [Fri, 19 Oct 2007 19:19:28 +0000 (19:19 +0000)]
some minor cosmetics...

15 years agodocs++
Manuel Nickschas [Fri, 19 Oct 2007 14:29:51 +0000 (14:29 +0000)]

15 years agoRemoving my holy . again. Ah, the wonders of modern build systems...
Manuel Nickschas [Fri, 19 Oct 2007 13:48:42 +0000 (13:48 +0000)]
Removing my holy . again. Ah, the wonders of modern build systems...
Here's hope that NOW it is FINALLY cross-platform compatible.

15 years agoput back sput's holy . in the buildsystem ;)
Benjamin Zeller [Fri, 19 Oct 2007 13:31:01 +0000 (13:31 +0000)]
put back sput's holy . in the buildsystem ;)

15 years agomake buildsystem work on windows with msvc
Benjamin Zeller [Fri, 19 Oct 2007 13:14:56 +0000 (13:14 +0000)]
make buildsystem work on windows with msvc

15 years agocmake--
Manuel Nickschas [Fri, 19 Oct 2007 13:12:18 +0000 (13:12 +0000)]

15 years agoOk, things should be working again. Note to select modules, you now have to
Manuel Nickschas [Fri, 19 Oct 2007 13:03:48 +0000 (13:03 +0000)]
Ok, things should be working again. Note to select modules, you now have to
specify one of 'qtclient', 'core' or 'mono' or 'all' in BUILD.

15 years agoStage 3
Manuel Nickschas [Fri, 19 Oct 2007 12:53:16 +0000 (12:53 +0000)]
Stage 3

15 years agoStage 2
Manuel Nickschas [Fri, 19 Oct 2007 12:52:02 +0000 (12:52 +0000)]
Stage 2

15 years agoRenaming QtGui to QtUi, in order to not confuse build systems on non-case-sensitive
Manuel Nickschas [Fri, 19 Oct 2007 12:51:06 +0000 (12:51 +0000)]
Renaming QtGui to QtUi, in order to not confuse build systems on non-case-sensitive
systems. Also getting rid of CMake...
Stage 1: Not done yet, not working - DO NOT CHECK OUT JUST NOW!

15 years agomake quassel compile on msvc
Benjamin Zeller [Fri, 19 Oct 2007 12:41:46 +0000 (12:41 +0000)]
make quassel compile on msvc

15 years agoNewest version of QuasselTopia, and some minor random fixes.
Manuel Nickschas [Thu, 18 Oct 2007 15:15:24 +0000 (15:15 +0000)]
Newest version of QuasselTopia, and some minor random fixes.

15 years agoRemove superfluous (and warning-producing) semicolons.
Manuel Nickschas [Thu, 18 Oct 2007 14:16:26 +0000 (14:16 +0000)]
Remove superfluous (and warning-producing) semicolons.

15 years agoOk this is the major rework of quassel we've all been waiting for. For the actual...
Marcus Eggenberger [Thu, 18 Oct 2007 13:58:04 +0000 (13:58 +0000)]
Ok this is the major rework of quassel we've all been waiting for. For the actual user it's a step back though (at least for the moment). With this update the topicline, and the nicklist will not be working anymore.
Major changes:
 - core/server.cpp has been disected into seperate handlers which all derive from core/basichandler
 - the switch from networknames to networkids has been done where possible (connection to irc is still missing since this is undergoing a separate redesign)
 - there are now objects providing information about networks, ircusers and channels. they are avaialbe in the core and in the client
 - BufferId has been renamed to BufferInfo since it's no longer an Identifier. (the actual identifier is BufferInfo.uid())

15 years agoMoving quasselui.h from common/ to client/ where it belongs.
Manuel Nickschas [Fri, 12 Oct 2007 09:51:19 +0000 (09:51 +0000)]
Moving quasselui.h from common/ to client/ where it belongs.
Also get rid of the non-virtual destructor warning. Wth do we
need an empty destructor?

15 years agoMake debug mode default again. Change this in build/buildconf.pri.
Manuel Nickschas [Wed, 10 Oct 2007 15:45:01 +0000 (15:45 +0000)]
Make debug mode default again. Change this in build/buildconf.pri.

15 years agoAvoid a strange (maybe gcc-related?) bug where Quassel would crash in
Manuel Nickschas [Wed, 10 Oct 2007 15:26:25 +0000 (15:26 +0000)]
Avoid a strange (maybe gcc-related?) bug where Quassel would crash in
ChatLine::layout(), if it is built with qmake in release mode.
Changing the type of i from int to uint fixes this.
Nope, I don't see a rational explanation for that.

15 years agoAdd manual deps to ensure rebuilding of the binary.
Manuel Nickschas [Wed, 10 Oct 2007 14:43:21 +0000 (14:43 +0000)]
Add manual deps to ensure rebuilding of the binary.

15 years agoWe put the project-wide value of CONFIG in build/buildconf.pri now, in order to quickly
Manuel Nickschas [Wed, 10 Oct 2007 13:02:54 +0000 (13:02 +0000)]
We put the project-wide value of CONFIG in build/buildconf.pri now, in order to quickly
change the build configuration (and no longer rely on platform-dependend default values

15 years agoAdded basic stuff for localization/internationalization (i18n).
Manuel Nickschas [Tue, 9 Oct 2007 23:26:19 +0000 (23:26 +0000)]
Added basic stuff for localization/internationalization (i18n).
This is not yet supported by code (other than the commented test code in
main.cpp), and it probably does not make sense to start translating stuff
right now, but I wanted to test if and how linguist works... and it does!

15 years agoMake QuasselTopia build again. Just run 'qtopiamake && make' in qtopia-build/
Manuel Nickschas [Tue, 9 Oct 2007 22:31:29 +0000 (22:31 +0000)]
Make QuasselTopia build again. Just run 'qtopiamake && make' in qtopia-build/

15 years agoqmake-based build system should work now! Please test. If I don't get complaints,
Manuel Nickschas [Tue, 9 Oct 2007 22:05:34 +0000 (22:05 +0000)]
qmake-based build system should work now! Please test. If I don't get complaints,
the cmake files will be removed soonish.
See build/quassel.pro for short instructions, or just run 'qmake && make' in the build dir.

NOTE: Files must now be declared in the various *.pri files found in the module directories!

15 years agoSome small stuff, like adding semicolons to Qt macro defs in order to not
Manuel Nickschas [Tue, 9 Oct 2007 21:01:13 +0000 (21:01 +0000)]
Some small stuff, like adding semicolons to Qt macro defs in order to not
screw up KDevelop parsing...

15 years agoChecking in current state of QuasselTopia. Probably doesn't even compile.
Manuel Nickschas [Tue, 9 Oct 2007 20:59:00 +0000 (20:59 +0000)]
Checking in current state of QuasselTopia. Probably doesn't even compile.

15 years agoPreliminary check-in of qmake-based build system. This is not finished yet!
Manuel Nickschas [Tue, 9 Oct 2007 20:27:45 +0000 (20:27 +0000)]
Preliminary check-in of qmake-based build system. This is not finished yet!
DO NOT TOUCH - DO NOT USE - DO NOT COMPLAIN - CMake is still enabled.

15 years agoAdded uint networkId() to BufferIds.
Marcus Eggenberger [Tue, 9 Oct 2007 18:18:39 +0000 (18:18 +0000)]
Added uint networkId() to BufferIds.

15 years agoUpdated Doxyfile now generated docs without too many warnings.
Manuel Nickschas [Thu, 4 Oct 2007 23:43:07 +0000 (23:43 +0000)]
Updated Doxyfile now generated docs without too many warnings.
Yeah, we hardly have documented code anyway, so...

15 years agoconsistent_naming++
Manuel Nickschas [Thu, 4 Oct 2007 23:25:22 +0000 (23:25 +0000)]

15 years agoMoving the message format code (i.e. msg -> formatted string) from Style into Message.
Manuel Nickschas [Thu, 4 Oct 2007 23:14:22 +0000 (23:14 +0000)]
Moving the message format code (i.e. msg -> formatted string) from Style into Message.
This avoids code duplication, since that function is needed by all GUIs. Note that
the "formatted string" contains our internal format codes, which are then translated
into real eyecandy elsewhere (e.g. in Style).

15 years agoMake Message a proper class rather than a struct (i.e. use setters/getters and
Manuel Nickschas [Thu, 4 Oct 2007 22:43:41 +0000 (22:43 +0000)]
Make Message a proper class rather than a struct (i.e. use setters/getters and
private members). I am going to add more methods to it, and it's just bad style
to do that to a struct, I think.

15 years agoMake SignalProxy accept temporary variables for signal/slot name.
Manuel Nickschas [Thu, 4 Oct 2007 10:34:38 +0000 (10:34 +0000)]
Make SignalProxy accept temporary variables for signal/slot name.

15 years agoMake selectBuffer() work as expected (by me :-)).
Manuel Nickschas [Wed, 3 Oct 2007 09:46:02 +0000 (09:46 +0000)]
Make selectBuffer() work as expected (by me :-)).

15 years agoCommitting my current state just in case. Mostly work on qtopia, nothing special
Manuel Nickschas [Mon, 1 Oct 2007 23:35:16 +0000 (23:35 +0000)]
Committing my current state just in case. Mostly work on qtopia, nothing special
or usable yet. Some small fixes in the rest of the code, which should not conflict
with anything though.

15 years agoAdded uint editingDistance(const QString &s1, const QString &s2) for string comparision
Marcus Eggenberger [Sun, 30 Sep 2007 17:05:16 +0000 (17:05 +0000)]
Added uint editingDistance(const QString &s1, const QString &s2) for string comparision

15 years agoAdded getNetworkId(UserId user, const QString &network) to make the transition to...
Marcus Eggenberger [Sat, 22 Sep 2007 18:31:26 +0000 (18:31 +0000)]
Added getNetworkId(UserId user, const QString &network) to make the transition to network ids easier

15 years agopirate++
Manuel Nickschas [Wed, 19 Sep 2007 11:56:51 +0000 (11:56 +0000)]


15 years agoUndoing my recent bullshit... -.-
Marcus Eggenberger [Wed, 19 Sep 2007 11:48:54 +0000 (11:48 +0000)]
Undoing my recent bullshit... -.-

15 years agoMoved detachObject(QObject *) to public slots
Marcus Eggenberger [Wed, 19 Sep 2007 10:46:29 +0000 (10:46 +0000)]
Moved detachObject(QObject *) to public slots

15 years agoMake SignalProxy detach QObjects automatically upon their destruction.
Manuel Nickschas [Tue, 18 Sep 2007 14:35:01 +0000 (14:35 +0000)]
Make SignalProxy detach QObjects automatically upon their destruction.

15 years agoSignalProxy::detachObject() implemented. Not really tested though.
Manuel Nickschas [Mon, 10 Sep 2007 19:17:26 +0000 (19:17 +0000)]
SignalProxy::detachObject() implemented. Not really tested though.

15 years agoFixes.
Manuel Nickschas [Fri, 7 Sep 2007 08:08:39 +0000 (08:08 +0000)]

15 years agoYay! QuasselTopia has a working core connection dialog now! Nothing else yet, GUI...
Manuel Nickschas [Thu, 6 Sep 2007 22:29:27 +0000 (22:29 +0000)]
Yay! QuasselTopia has a working core connection dialog now! Nothing else yet, GUI-wise.
But you can connect to the core and the client (which is already fully functional on Qtopia!)
initializes correctly. Now all that's missing is a GUI for actually displaying the
client data... ;-)

Also, obsolete--

15 years agoRenamed project file für Qtopia build to quasseltopia.pro
Manuel Nickschas [Sat, 1 Sep 2007 17:46:40 +0000 (17:46 +0000)]
Renamed project file für Qtopia build to quasseltopia.pro

15 years agoFirst check-in of the Qtopia build system. See qtopia-build/README.
Manuel Nickschas [Fri, 31 Aug 2007 14:02:55 +0000 (14:02 +0000)]
First check-in of the Qtopia build system. See qtopia-build/README.

Yes, this compiles and links an example application (that includes all quassel parts
intended for Qtopia). Nope, it does not display more than a button, since the main() is
still the one from the Qtopia example app.
And yes, this has hardly been tested and will probably be redesigned at some point. But it's still
a proof of concept :)

15 years agoclean++
Manuel Nickschas [Wed, 29 Aug 2007 21:04:01 +0000 (21:04 +0000)]

15 years agoYES! We finally have dynamic signals between Core and Client, meaning that arbitrary
Manuel Nickschas [Wed, 29 Aug 2007 20:44:47 +0000 (20:44 +0000)]
YES! We finally have dynamic signals between Core and Client, meaning that arbitrary
signals and slots can be attached to the SignalProxy, rather than having hard-coded
stuff in the old CoreProxy and ClientProxy classes. This was made possible by integrating
QxtRPCPeer from the guys at <http://www.libqxt.org>.

Everything should work now as before, except connections to an internal core, which are disabled
for the moment. The connection handling had to be completely rewritten, and I still need a QIODevice
that can do loopback connections.

The code is still a big mess, I am deliberately committing this before clean-up, in case I
delete something we still need. Expect a much cleaner version soon.

Oh, and VarMap has been substituted by QVariantMap project-wide. We cannot send VarMap through the
SignalProxy, and I decided to change the naming consistently everywhere.

15 years agoLast Quassel version to use the soon-to-be-obsolete static signal proxy.
Manuel Nickschas [Mon, 27 Aug 2007 17:50:49 +0000 (17:50 +0000)]
Last Quassel version to use the soon-to-be-obsolete static signal proxy.
Most of the new, QxtRPCPeer-based SignalProxy has been implemented, and after
this commit, I'm gonna rip out the guts out of both client and core to make
them use dynamic signals-over-net.

15 years agoChecking in current work on settings dialogs. We will move away from SettingsInterface
Manuel Nickschas [Mon, 20 Aug 2007 13:13:44 +0000 (13:13 +0000)]
Checking in current work on settings dialogs. We will move away from SettingsInterface
and switch to SettingsPage instead, which will offer support for change notification and stuff.
Work is only partly done right now, nothing really works, so the SettingsDlg is disabled for now.

Checking in now primarily because I will tackle QxtRPCPeer now with higher priority.

15 years agosome minor code purdifications :)
Marcus Eggenberger [Sun, 19 Aug 2007 12:29:10 +0000 (12:29 +0000)]
some minor code purdifications :)

15 years agoFixing the Bug where a clear of the BufferTreeModel would not result in cleard hashlists.
Marcus Eggenberger [Wed, 15 Aug 2007 12:13:15 +0000 (12:13 +0000)]
Fixing the Bug where a clear of the BufferTreeModel would not result in cleard hashlists.
The result is a redesign of Lookupsystem for child items in the tree has been redesigned.

15 years agoFixed disconnect from Core. Dis- and reconnecting should now work as expected.
Manuel Nickschas [Fri, 10 Aug 2007 18:06:10 +0000 (18:06 +0000)]
Fixed disconnect from Core. Dis- and reconnecting should now work as expected.
I had to add some dirty hack in BufferTreeModel for this -> EgS, please check :)

Oh, and I removed the reaaally obsolete ircwidget.ui from svn. This has been rotting
there for months.

15 years agoImplemented a signal handler to graceful shutdown Quassel when SIGTERM or
Manuel Nickschas [Wed, 8 Aug 2007 16:58:27 +0000 (16:58 +0000)]
Implemented a signal handler to graceful shutdown Quassel when SIGTERM or
SIGINT (Ctrl+C) are received. Should be portable (it's ISO C at least), but if not,
just comment out the few lines in main.cpp and tell me.

15 years agoRemoved broken autoconnect (for networks) -- how are we gonna do that anyways?
Manuel Nickschas [Tue, 7 Aug 2007 20:15:36 +0000 (20:15 +0000)]
Removed broken autoconnect (for networks) -- how are we gonna do that anyways?
We should not wait for a client to connect...
Also I added Storage::renameUser() and a few signals.

15 years agoProgress bar working, get rid of debug code.
Manuel Nickschas [Tue, 7 Aug 2007 19:49:27 +0000 (19:49 +0000)]
Progress bar working, get rid of debug code.

15 years agoWork-in-progress: use progress bar
Manuel Nickschas [Tue, 7 Aug 2007 19:39:41 +0000 (19:39 +0000)]
Work-in-progress: use progress bar

15 years agoYay! After months, distributed client/core operation is working again!
Manuel Nickschas [Tue, 7 Aug 2007 19:20:00 +0000 (19:20 +0000)]
Yay! After months, distributed client/core operation is working again!
There is still some work left concerning menu states, progress bar, and the dialog,
and also we don't have user management yet (so you have to use user "Default" and
password "password" for both internal and external cores), but basically it's working.
This also (finally!) closes BR #17.

15 years agoTuned the settings dialog a bit, mostly fixing the layout problems we had and adding
Manuel Nickschas [Sun, 5 Aug 2007 21:24:58 +0000 (21:24 +0000)]
Tuned the settings dialog a bit, mostly fixing the layout problems we had and adding
It should now be possible to register settings pages and use them in the settings dialog.
A settings page is a QWidget implementing the SettingsInterface as defined in plugin.h.
Currently, these are defined in settingspages.* (which may change... maybe it'd be a good
idea to put all settings related stuff in an extra dir below qtgui/?)

15 years agoTrying to fix random segfault upon connect...
Manuel Nickschas [Fri, 3 Aug 2007 10:41:28 +0000 (10:41 +0000)]
Trying to fix random segfault upon connect...

15 years agoGot rid of class Global, as promised. For now, the few global variables we still
Manuel Nickschas [Wed, 1 Aug 2007 23:28:06 +0000 (23:28 +0000)]
Got rid of class Global, as promised. For now, the few global variables we still
have are in a new namespace Global. This is bound to change to Quassel:: or sumthing.

Oh yeah, and if you find out why QPainter complains, feel free to tell me or fix it.
Everything seems to work, but we still get spurious debug output.

15 years agoOK Folks, my first commit after quite a while, and while Quassel looks the same as...
Manuel Nickschas [Wed, 1 Aug 2007 22:38:13 +0000 (22:38 +0000)]
OK Folks, my first commit after quite a while, and while Quassel looks the same as before,
a lot of changed under the hood. This includes

* Parts of the new settings system, includin session data which is gonna replace Global
* Multi-user core
* Complete separation of core and client even in th monolithic client

Basically now most of the multi-user core and core connection code is in place, as well as
most of the skeleton for the authentification. Since parts of the UI, disconnecting from a core
and connecting to a remote core don't work yet, I have most of it disabled or hidden. Things
will fall back in place piece by piece, without requiring too many changes to the source in
the future I hope.

Oh yeah, due to the new settings stuff, you will have to enter identity, network and other data anew.
Maybe this is a good opportunity to wipe out your .config...

15 years agoFixed linker error caused by not running MOC on ircuser.h.
Manuel Nickschas [Fri, 27 Jul 2007 19:24:32 +0000 (19:24 +0000)]
Fixed linker error caused by not running MOC on ircuser.h.
/me slaps EgS with a medium-sized imperial Star Destroyer running Vista for this.

15 years agoNo new features here... (adding/testing of new files)
Marcus Eggenberger [Fri, 27 Jul 2007 18:54:46 +0000 (18:54 +0000)]
No new features here... (adding/testing of new files)

15 years agoAller guten Dinge sind drei! (please don't ask any questions...)
Marcus Eggenberger [Fri, 27 Jul 2007 18:24:48 +0000 (18:24 +0000)]
Aller guten Dinge sind drei! (please don't ask any questions...)

15 years agonext try *lol*
Marcus Eggenberger [Fri, 27 Jul 2007 16:57:59 +0000 (16:57 +0000)]
next try *lol*

15 years agotreemodels can now be cleared
Marcus Eggenberger [Wed, 25 Jul 2007 17:55:00 +0000 (17:55 +0000)]
treemodels can now be cleared

15 years agoI am starting to clean up the mess that is Global right now, and to implement a clean...
Manuel Nickschas [Sun, 8 Jul 2007 14:36:08 +0000 (14:36 +0000)]
I am starting to clean up the mess that is Global right now, and to implement a clean infrastructure
for storing settings (session-wide and local). First step: Instead of putting synchronization stuff into
Global and doing special treatment for signals in Core, we have now a clear interface for handling
session-wide data in both Client and CoreSession:

Client::storeSessionData(key, data) [static]
Client::retrieveSessionData(key, defdata) [static]
CoreSession::storeSessionData(key, data)
CoreSession::retrieveSessionData(key, defdata)

CoreSession also cares for persistent storage using QSettings. It should be noted that the client-side store function
just sends a signal to the core, and the client-side data is actually updated upon receipt of the sync signal from core.
IOW, stuff is not stored immediately, and you should thus not rely on it being available right after your call to
storeSessionData(). If this is a bad idea, we might change this behavior at some point.

Note: The code has not yet been tested thoroughly, and it's only the first step anyway.

15 years agoFixed comments.
Manuel Nickschas [Fri, 6 Jul 2007 16:54:59 +0000 (16:54 +0000)]
Fixed comments.

15 years agoAdded a function decodeString() to util.{h|cpp} that takes a QByteArray with raw...
Manuel Nickschas [Fri, 6 Jul 2007 16:48:34 +0000 (16:48 +0000)]
Added a function decodeString() to util.{h|cpp} that takes a QByteArray with raw text data and decodes
it using a specified text codec. Except the input data is utf8, in which case this function detects
utf8 and takes appropriate measures to get a correctly decoded QString regardless of the specified coded.

I'd like to use this function for decoding incoming server messages, but we need to change things quite
a bit in the Server to do this correctly. See my comment in server.cpp.

15 years agoCleaning up the closet... or at least the code. Tried to reduce the number of #includ...
Manuel Nickschas [Thu, 28 Jun 2007 00:57:31 +0000 (00:57 +0000)]
Cleaning up the closet... or at least the code. Tried to reduce the number of #includes, removing
inter-file dependencies as far as possible. There is probably some work left especially in qtgui, though.
Also I removed some obsolete files and split up CoreSession and QtGui in their own files.