Manuel Nickschas [Wed, 28 Nov 2007 17:24:51 +0000 (17:24 +0000)]
IrcChannel::ircUserDestroyed() now sends appropriate signals. Plus some other small stuff
that I can't remember right now, but I should sync before starting to move files around
again...
Marcus Eggenberger [Wed, 28 Nov 2007 17:06:04 +0000 (17:06 +0000)]
This should fix the bug, that buffer switches are propagated multiple times
Manuel Nickschas [Tue, 27 Nov 2007 23:39:48 +0000 (23:39 +0000)]
Make Quassel less crashy (yeah, case sensitivity in channel names is baaaad)... make
autoconnect-to-core work correctly... fiddle around with our Settings implementation
to try to make it work with SXE-enabled Qtopia (nope, still doesn't work).. And stop
Quassel from crashing at disconnect-from-core due to the nickview not being updated.
Manuel Nickschas [Tue, 27 Nov 2007 01:09:34 +0000 (01:09 +0000)]
Now we have a sorted nicklist and hide unused categories \o/
Manuel Nickschas [Tue, 27 Nov 2007 00:04:44 +0000 (00:04 +0000)]
The nicklist is back! We now have a NickModel that can be attached to an IrcChannel
and that provides access to the nicks in that channel. We also have a NickListWidget, that
encapsulates a stack of NickViews (which are not-yet-fancy QTreeViews).
There are still some things missing, nicks are not sorted yet and the output will be improved
as well. But we can see nicks again, yay ;-)
Manuel Nickschas [Mon, 26 Nov 2007 17:14:26 +0000 (17:14 +0000)]
Aaaand renaming NickModel again. Oh well.
Manuel Nickschas [Mon, 26 Nov 2007 17:09:20 +0000 (17:09 +0000)]
Some cosmetic corrections and some minor work on the nick model. Hopefully I
now found a usable design.
Manuel Nickschas [Fri, 23 Nov 2007 02:58:22 +0000 (02:58 +0000)]
Various stuff, cosmetic fixes, fiddling with IrcUsers and NetworkInfos in Buffers.
Manuel Nickschas [Thu, 22 Nov 2007 18:29:07 +0000 (18:29 +0000)]
Renaming/moving some files. Apparently, I can't use a QStringListModel since
it's in QtGui, so I will probably try my luck using EgS' TreeModel as a base.
Manuel Nickschas [Thu, 22 Nov 2007 18:00:02 +0000 (18:00 +0000)]
Finishing the switch to types.h and the resulting cleanup.
There are also some new files related to the nicklist, which don't do much yet though.
Manuel Nickschas [Thu, 22 Nov 2007 17:43:58 +0000 (17:43 +0000)]
Separating type definitions from the miserable remains of global.*
This needed to be cleaned up. Rest following in a minute.
Marcus Eggenberger [Tue, 13 Nov 2007 16:53:15 +0000 (16:53 +0000)]
Just added some safetychecks
Marcus Eggenberger [Tue, 13 Nov 2007 16:44:11 +0000 (16:44 +0000)]
Finaly got rid of the synchronizers, making Quassel quite a bit more lightweight without losing the comfort of those Synchronizers.
Marcus Eggenberger [Tue, 13 Nov 2007 16:23:44 +0000 (16:23 +0000)]
Added convenience signals ircUserJoined(IrcUser *) and ircUserParted(IrcUser *) to the IrcChannel.
Manuel Nickschas [Tue, 13 Nov 2007 01:18:42 +0000 (01:18 +0000)]
Added a first version of the BufferViewWidget for QuasselTopia. It even works already :)
Manuel Nickschas [Mon, 12 Nov 2007 18:26:12 +0000 (18:26 +0000)]
Moved BufferView and BufferViewFilter to uisupport, since I intend
using it in QuasselTopia as well. Does not make sense to reinvent
the wheel...
Marcus Eggenberger [Sun, 11 Nov 2007 22:23:07 +0000 (22:23 +0000)]
obviously calling QSortFilterProxyModell::invalidate() isn't such a good Idea on Mac OS... so we now use a wrapper slot to call only QSortFilterProxyModel::invalidateFilter()
Marcus Eggenberger [Sat, 10 Nov 2007 21:27:42 +0000 (21:27 +0000)]
Fixed a bug in SqliteStorage::setup() which could cause the Wizard to lock up in a infinite loop.
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--