Marcus Eggenberger [Tue, 6 Nov 2007 10:47:43 +0000 (10:47 +0000)]
This should take care of it the clean way. Sput please check (I don't have a compiler at hand right now)
Manuel Nickschas [Tue, 6 Nov 2007 00:39:53 +0000 (00:39 +0000)]
Temporarily fixed the bug where the backlog would be displayed multiple times.
EgS, please check in client.cpp when updateCoreConnectionProgress() is called - I think
it's supposed to be called only during syncToCore, not every time a network (dis)connects...
Manuel Nickschas [Mon, 5 Nov 2007 23:38:20 +0000 (23:38 +0000)]
Remove libqxt from our svn. We don't depend on it anymore thanks to
EgS' rewrite of SignalProxy, and we probably won't introduce that dependency
again... anyway, all the infrastructure is still in the build system, so
libqxt could be easily added again if necessary.
Marco Genise [Mon, 5 Nov 2007 20:48:46 +0000 (20:48 +0000)]
Ok, the long awaited config wizard is here (at least in a very basic state). There are some quicky & dirty hacks to be able to test some functionality, which will be removed/replaced later.
Marcus Eggenberger [Mon, 5 Nov 2007 16:32:51 +0000 (16:32 +0000)]
Manuel Nickschas [Mon, 5 Nov 2007 00:40:48 +0000 (00:40 +0000)]
FIRST QuasselTopia version that actually has a chatwidget that _looks_ like
a chatwidget, including colors and stuff...
Marcus Eggenberger [Sun, 4 Nov 2007 16:04:37 +0000 (16:04 +0000)]
This Update is like 90% bugfixes.
- IMPORTANT! - this version uses a new version of the SqlLite Schema (though only slitely different). The change to the schema _canno_ be done via an ALTER statement. Thus it is recommanded that you delete the current
quassel-storage.sqlite DB-File, so it gets created again.
- SignalProxy got a new method which is basically just for debuging/info purposes. use SignalProxy::dumpProxyStat() to see some infos of the current proxy situation on STDERR.
- fixed a bug causing Segfaults
- fixed a minor bug where Quassel treated channelnames not casesensitive and thus created a second buffer for them
Manuel Nickschas [Sun, 4 Nov 2007 02:24:02 +0000 (02:24 +0000)]
Renaming some files, mostly.
Manuel Nickschas [Sun, 4 Nov 2007 02:14:48 +0000 (02:14 +0000)]
Ah well, apparently calling a class "QtopiaStyle" is _not_ a good idea.
Fixed the segfault mentioned earlier. Also, I have converted all colornames
we used to RGB codes, since Qtopia does not (necessarily) support named colors...
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 :)
Manuel Nickschas [Sun, 4 Nov 2007 01:11:28 +0000 (01:11 +0000)]
Prettified SignalProxy some more, updated license headers.
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
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...
Marcus Eggenberger [Mon, 29 Oct 2007 17:29:46 +0000 (17:29 +0000)]
Cleanupination/Prettyfication/Refactorination of the BufferModel
Marcus Eggenberger [Mon, 29 Oct 2007 12:13:44 +0000 (12:13 +0000)]
IRC disconnects are now handled properly
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.
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
serverhandler.
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.
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... :)
Manuel Nickschas [Thu, 25 Oct 2007 00:47:27 +0000 (00:47 +0000)]
Fixing svn:ignore entries.
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.
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.
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.
Manuel Nickschas [Wed, 24 Oct 2007 00:54:08 +0000 (00:54 +0000)]
obsolete_crap--
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)]
I CAN HAZ A STYLE ENGINES!?
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.
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:
Client::bufferModel()->selectionModelSynchronizer()->addSelectionModel(mappedSelectionModel)
(maybe I'll make this a bit easier... ;))
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.
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
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... -.-
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.
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.
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...
Marcus Eggenberger [Sat, 20 Oct 2007 13:37:31 +0000 (13:37 +0000)]
Got rid of those bugging QPainter errors
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
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"
Manuel Nickschas [Sat, 20 Oct 2007 10:30:12 +0000 (10:30 +0000)]
Actually create the ServerListDlg before using it.
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.
Marcus Eggenberger [Sat, 20 Oct 2007 01:37:47 +0000 (01:37 +0000)]
Fixed crash when joining new channels
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.
Marcus Eggenberger [Fri, 19 Oct 2007 23:45:16 +0000 (23:45 +0000)]
Nope, I will not answer any questions...
Marcus Eggenberger [Fri, 19 Oct 2007 19:19:28 +0000 (19:19 +0000)]
some minor cosmetics...
Manuel Nickschas [Fri, 19 Oct 2007 14:29:51 +0000 (14:29 +0000)]
docs++
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.
Benjamin Zeller [Fri, 19 Oct 2007 13:31:01 +0000 (13:31 +0000)]
put back sput's holy . in the buildsystem ;)
Benjamin Zeller [Fri, 19 Oct 2007 13:14:56 +0000 (13:14 +0000)]
make buildsystem work on windows with msvc
Manuel Nickschas [Fri, 19 Oct 2007 13:12:18 +0000 (13:12 +0000)]
cmake--
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.
Manuel Nickschas [Fri, 19 Oct 2007 12:53:16 +0000 (12:53 +0000)]
Stage 3
Manuel Nickschas [Fri, 19 Oct 2007 12:52:02 +0000 (12:52 +0000)]
Stage 2
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!
Benjamin Zeller [Fri, 19 Oct 2007 12:41:46 +0000 (12:41 +0000)]
make quassel compile on msvc
Manuel Nickschas [Thu, 18 Oct 2007 15:15:24 +0000 (15:15 +0000)]
Newest version of QuasselTopia, and some minor random fixes.
Manuel Nickschas [Thu, 18 Oct 2007 14:16:26 +0000 (14:16 +0000)]
Remove superfluous (and warning-producing) semicolons.
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())
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?
Manuel Nickschas [Wed, 10 Oct 2007 15:45:01 +0000 (15:45 +0000)]
Make debug mode default again. Change this in build/buildconf.pri.
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.
Manuel Nickschas [Wed, 10 Oct 2007 14:43:21 +0000 (14:43 +0000)]
Add manual deps to ensure rebuilding of the binary.
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
for CONFIG)
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!
Manuel Nickschas [Tue, 9 Oct 2007 22:31:29 +0000 (22:31 +0000)]
Make QuasselTopia build again. Just run 'qtopiamake && make' in qtopia-build/
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!
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...
Manuel Nickschas [Tue, 9 Oct 2007 20:59:00 +0000 (20:59 +0000)]
Checking in current state of QuasselTopia. Probably doesn't even compile.
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.
Marcus Eggenberger [Tue, 9 Oct 2007 18:18:39 +0000 (18:18 +0000)]
Added uint networkId() to BufferIds.
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...
Manuel Nickschas [Thu, 4 Oct 2007 23:25:22 +0000 (23:25 +0000)]
consistent_naming++
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).
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.
Manuel Nickschas [Thu, 4 Oct 2007 10:34:38 +0000 (10:34 +0000)]
Make SignalProxy accept temporary variables for signal/slot name.
Manuel Nickschas [Wed, 3 Oct 2007 09:46:02 +0000 (09:46 +0000)]
Make selectBuffer() work as expected (by me :-)).
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.
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
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
Manuel Nickschas [Wed, 19 Sep 2007 11:56:51 +0000 (11:56 +0000)]
pirate++
Yarrrrr!
Marcus Eggenberger [Wed, 19 Sep 2007 11:48:54 +0000 (11:48 +0000)]
Undoing my recent bullshit... -.-
Marcus Eggenberger [Wed, 19 Sep 2007 10:46:29 +0000 (10:46 +0000)]
Moved detachObject(QObject *) to public slots
Manuel Nickschas [Tue, 18 Sep 2007 14:35:01 +0000 (14:35 +0000)]
Make SignalProxy detach QObjects automatically upon their destruction.
Manuel Nickschas [Mon, 10 Sep 2007 19:17:26 +0000 (19:17 +0000)]
SignalProxy::detachObject() implemented. Not really tested though.
Manuel Nickschas [Fri, 7 Sep 2007 08:08:39 +0000 (08:08 +0000)]
Fixes.
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--
Manuel Nickschas [Sat, 1 Sep 2007 17:46:40 +0000 (17:46 +0000)]
Renamed project file für Qtopia build to quasseltopia.pro
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 :)
Manuel Nickschas [Wed, 29 Aug 2007 21:04:01 +0000 (21:04 +0000)]
clean++
obsolete--
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.
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.
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.
Marcus Eggenberger [Sun, 19 Aug 2007 12:29:10 +0000 (12:29 +0000)]
some minor code purdifications :)
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.
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.
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.
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.
Manuel Nickschas [Tue, 7 Aug 2007 19:49:27 +0000 (19:49 +0000)]
Progress bar working, get rid of debug code.
Manuel Nickschas [Tue, 7 Aug 2007 19:39:41 +0000 (19:39 +0000)]
Work-in-progress: use progress bar
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.
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
functionality.
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/?)
Manuel Nickschas [Fri, 3 Aug 2007 10:41:28 +0000 (10:41 +0000)]
Trying to fix random segfault upon connect...
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.
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...