quassel.git
11 years agoRedesign genversion and make only main.cpp depend on it
Manuel Nickschas [Wed, 1 Oct 2008 15:19:19 +0000 (17:19 +0200)]
Redesign genversion and make only main.cpp depend on it

Finally removes Global:: and properly fills Quassel::buildInfo() instead.
Also, recompiles of mod_common are no longer needed for every make.

11 years agofixing crash when handling numeric reply 331 (RPL_NOTOPIC) and 332 (RPL_TOPIC) when...
Marcus Eggenberger [Sat, 4 Oct 2008 20:05:28 +0000 (22:05 +0200)]
fixing crash when handling numeric reply 331 (RPL_NOTOPIC) and 332 (RPL_TOPIC) when not on that channel

11 years agothis should fix a crash when the searchbar is about to be hidden
Marcus Eggenberger [Sat, 4 Oct 2008 19:55:49 +0000 (21:55 +0200)]
this should fix a crash when the searchbar is about to be hidden

11 years agoWebPreview is now delayed by 2 seconds.
Marcus Eggenberger [Sat, 4 Oct 2008 19:48:05 +0000 (21:48 +0200)]
WebPreview is now delayed by 2 seconds.
Insertion / Removal are now handled by Qt's event system to avoid interferaence
 with other Events (read: avoid segfaults)
Preview is now longer removed if a new message is inserted and you still hover
 over the link

11 years agofixing crashes due to missing private data of chatitems
Marcus Eggenberger [Sat, 4 Oct 2008 19:13:55 +0000 (21:13 +0200)]
fixing crashes due to missing private data of chatitems

11 years agofixing wrong positioning of items (fixes overlapping daychange bug)
Marcus Eggenberger [Sat, 4 Oct 2008 11:14:56 +0000 (13:14 +0200)]
fixing wrong positioning of items (fixes overlapping daychange bug)

11 years agoproperly hiding day change messages at the top of a buffer
Marcus Eggenberger [Wed, 1 Oct 2008 23:46:16 +0000 (01:46 +0200)]
properly hiding day change messages at the top of a buffer

11 years agosmall fixes
Marcus Eggenberger [Wed, 1 Oct 2008 23:20:00 +0000 (01:20 +0200)]
small fixes

11 years agofixing crash on disconnect
Marcus Eggenberger [Tue, 30 Sep 2008 22:29:41 +0000 (00:29 +0200)]
fixing crash on disconnect

11 years agoadding Message::Self flag to /me style messages
Marcus Eggenberger [Tue, 30 Sep 2008 19:14:10 +0000 (21:14 +0200)]
adding Message::Self flag to /me style messages

11 years agohiding daychange messages at the top of the buffer
Marcus Eggenberger [Tue, 30 Sep 2008 19:07:15 +0000 (21:07 +0200)]
hiding daychange messages at the top of the buffer

11 years agofixing just introduced faulty backlog replay
Marcus Eggenberger [Tue, 30 Sep 2008 18:15:44 +0000 (20:15 +0200)]
fixing just introduced faulty backlog replay

11 years agointernal debug helpers for chatitems
Marcus Eggenberger [Tue, 30 Sep 2008 17:30:18 +0000 (19:30 +0200)]
internal debug helpers for chatitems

11 years agonew message line no longer grows with the item height
Marcus Eggenberger [Tue, 30 Sep 2008 12:25:40 +0000 (14:25 +0200)]
new message line no longer grows with the item height

11 years agoYou've all been waiting for it: day change messages!
Marcus Eggenberger [Tue, 30 Sep 2008 12:05:15 +0000 (14:05 +0200)]
You've all been waiting for it: day change messages!
Known issues:
 - aren't very pretty yet
 - as there is one day change message that is displayed in all buffers
   this results in a bit of a day-change-message spam if you reach the top
   of a buffer. this is intended to be filtered out in the future.

11 years agoproperly fixing inserting and deleting chatlines at arbitrary positions in the scene
Marcus Eggenberger [Tue, 30 Sep 2008 11:01:32 +0000 (13:01 +0200)]
properly fixing inserting and deleting chatlines at arbitrary positions in the scene

11 years agoDon't link to indirect deps anymore, thanks to ewoerner for pointing that out
Manuel Nickschas [Mon, 29 Sep 2008 12:46:17 +0000 (14:46 +0200)]
Don't link to indirect deps anymore, thanks to ewoerner for pointing that out

11 years agoRemove obsolete icons that were just kept around until Gentoo updated its ebuild :)
Manuel Nickschas [Sun, 28 Sep 2008 21:07:13 +0000 (23:07 +0200)]
Remove obsolete icons that were just kept around until Gentoo updated its ebuild :)

11 years agoRevert "Try to fix icons not being found on some systems"
Manuel Nickschas [Sun, 28 Sep 2008 20:37:38 +0000 (22:37 +0200)]
Revert "Try to fix icons not being found on some systems"

Not needed, as the cause for that problem was a different one

This reverts commit 168309311415f27f1c7015805637b50a01b43c1e.

11 years agoFix built-in Oxygen support
Manuel Nickschas [Sun, 28 Sep 2008 20:37:25 +0000 (22:37 +0200)]
Fix built-in Oxygen support

11 years agoTry to fix icons not being found on some systems
Manuel Nickschas [Sun, 28 Sep 2008 18:43:35 +0000 (20:43 +0200)]
Try to fix icons not being found on some systems

11 years agofixing mac os build and deploy scripts
Marcus Eggenberger [Sun, 28 Sep 2008 15:55:10 +0000 (17:55 +0200)]
fixing mac os build and deploy scripts

11 years agofixing a typo in an include and properly making qwebkit optional
Marcus Eggenberger [Sun, 28 Sep 2008 14:40:57 +0000 (16:40 +0200)]
fixing a typo in an include and properly making qwebkit optional

11 years agoadded missing files
Marcus Eggenberger [Sun, 28 Sep 2008 14:30:32 +0000 (16:30 +0200)]
added missing files

11 years agogiving the chatscene more control over the webpreview thus making it less crashy
Marcus Eggenberger [Sun, 28 Sep 2008 14:28:07 +0000 (16:28 +0200)]
giving the chatscene more control over the webpreview thus making it less crashy

11 years agoMove generated binaries back in the root directory
Manuel Nickschas [Sun, 28 Sep 2008 11:16:00 +0000 (13:16 +0200)]
Move generated binaries back in the root directory

11 years agoimproved web preview removinatings
Marcus Eggenberger [Sun, 28 Sep 2008 11:13:07 +0000 (13:13 +0200)]
improved web preview removinatings

11 years agoFix app icon on windows (I hope)
Manuel Nickschas [Sun, 28 Sep 2008 10:36:03 +0000 (12:36 +0200)]
Fix app icon on windows (I hope)

11 years agoIf we us 'em, we should install 'em
Manuel Nickschas [Sat, 27 Sep 2008 12:18:00 +0000 (14:18 +0200)]
If we us 'em, we should install 'em

11 years agoMake app icon larger again
Manuel Nickschas [Sat, 27 Sep 2008 12:12:30 +0000 (14:12 +0200)]
Make app icon larger again

11 years agomaking webkit optional
Marcus Eggenberger [Sat, 27 Sep 2008 11:47:14 +0000 (13:47 +0200)]
making webkit optional

11 years agofixing merge aftermath
Marcus Eggenberger [Sat, 27 Sep 2008 10:48:37 +0000 (12:48 +0200)]
fixing merge aftermath

11 years agohovering over a url now shows a thumbnail preview
Marcus Eggenberger [Sat, 27 Sep 2008 10:06:31 +0000 (12:06 +0200)]
hovering over a url now shows a thumbnail preview

11 years agoProvide a fallback in case XDG_DATA_DIRS is not set
Manuel Nickschas [Sat, 27 Sep 2008 11:39:56 +0000 (13:39 +0200)]
Provide a fallback in case XDG_DATA_DIRS is not set

This works only on UNIX. On other platforms, you probably should build-in the
icons anyway, or tell me if there are (standard locations for) icon themes at all...

11 years agoWe require cmake-2.6 now. Also LINGUAS should work again...
Manuel Nickschas [Sat, 27 Sep 2008 10:59:21 +0000 (12:59 +0200)]
We require cmake-2.6 now. Also LINGUAS should work again...

11 years agoResurrect the old icons for a bit, until the Gentoo ebuild is fixed...
Manuel Nickschas [Sat, 27 Sep 2008 02:04:39 +0000 (04:04 +0200)]
Resurrect the old icons for a bit, until the Gentoo ebuild is fixed...

11 years agoInstall application icon
Manuel Nickschas [Sat, 27 Sep 2008 01:55:29 +0000 (03:55 +0200)]
Install application icon

11 years agoMake compile. Oh, and tweak some more.
Manuel Nickschas [Sat, 27 Sep 2008 01:40:16 +0000 (03:40 +0200)]
Make compile. Oh, and tweak some more.

11 years agoFix the remaining icons. Hope I didn't overlook anything :)
Manuel Nickschas [Fri, 26 Sep 2008 23:30:42 +0000 (01:30 +0200)]
Fix the remaining icons. Hope I didn't overlook anything :)

11 years agoEven more icon fixes...
Manuel Nickschas [Fri, 26 Sep 2008 23:08:33 +0000 (01:08 +0200)]
Even more icon fixes...

11 years agoMoar icon fixes
Manuel Nickschas [Fri, 26 Sep 2008 22:49:47 +0000 (00:49 +0200)]
Moar icon fixes

11 years agoFix MainWin icons
Manuel Nickschas [Fri, 26 Sep 2008 22:22:31 +0000 (00:22 +0200)]
Fix MainWin icons

11 years agoFix CoreConnectDlg icons
Manuel Nickschas [Fri, 26 Sep 2008 22:08:56 +0000 (00:08 +0200)]
Fix CoreConnectDlg icons

11 years agoAdd :/pics, show Quassel logo in BufferWidget again
Manuel Nickschas [Fri, 26 Sep 2008 21:40:47 +0000 (23:40 +0200)]
Add :/pics, show Quassel logo in BufferWidget again

11 years agoMoving QuasselTopia to dev-notes/obsolete, since it confuses users...
Manuel Nickschas [Fri, 26 Sep 2008 21:27:07 +0000 (23:27 +0200)]
Moving QuasselTopia to dev-notes/obsolete, since it confuses users...

We'll see what we can still salvage from that once we tackle embedded Quassel again.
In its current shape, there's no way we can easily port it to the new client codebase. :(

11 years agoBring back icons to NetworkSettingsPage
Manuel Nickschas [Fri, 26 Sep 2008 21:20:26 +0000 (23:20 +0200)]
Bring back icons to NetworkSettingsPage

11 years agoAdd some more wrapper methods in Icon
Manuel Nickschas [Fri, 26 Sep 2008 21:11:15 +0000 (23:11 +0200)]
Add some more wrapper methods in Icon

11 years agoInit SQL resource
Manuel Nickschas [Fri, 26 Sep 2008 21:10:58 +0000 (23:10 +0200)]
Init SQL resource

11 years agoAdd some more Oxygen icons, and a missing_icons text file where we should add whateve...
Manuel Nickschas [Fri, 26 Sep 2008 20:31:56 +0000 (22:31 +0200)]
Add some more Oxygen icons, and a missing_icons text file where we should add whatever we think is missing from themes

11 years agoMore build system tweaking, plus making icons work
Manuel Nickschas [Thu, 25 Sep 2008 23:27:44 +0000 (01:27 +0200)]
More build system tweaking, plus making icons work

11 years agoMore changes to the build system; make i18n generation nicer
Manuel Nickschas [Wed, 24 Sep 2008 22:05:53 +0000 (00:05 +0200)]
More changes to the build system; make i18n generation nicer

11 years agoMajor redesign of the build system. Also allow icons to be installed optionally:
Manuel Nickschas [Wed, 24 Sep 2008 21:13:47 +0000 (23:13 +0200)]
Major redesign of the build system. Also allow icons to be installed optionally:

-DQUASSEL_ICONS=External
    Will install Quassel's own icons to $PREFIX/share/apps/quassel rather than into the binary itself
-DOXYGEN_ICONS=External
    Will not install our Oxygen subset into the binary and rely on them being installed externally instead

Build system is still work in progress, and I have likely b0rked building on Win and Mac.

11 years agoCompile on Wintendo again. Learn fucking POSIX!
Manuel Nickschas [Tue, 23 Sep 2008 16:45:06 +0000 (18:45 +0200)]
Compile on Wintendo again. Learn fucking POSIX!

11 years agoAdd Icon and IconLoader
Manuel Nickschas [Mon, 22 Sep 2008 22:33:33 +0000 (00:33 +0200)]
Add Icon and IconLoader

The former is a very thin wrapper around QIcon that will use the latter to locate an icon
in the current theme (harcoded to Oxygen for now), either in the file system or in a resource.
This will allow us to make icon resources optional, and also to seamlessly integrate with KDE's
icon theming later.
Note that we don't provide proper theming support now, as IconLoader is _very_ rudimentary for
now and assumes Oxygen to be present.

11 years agoclean up
Marcus Eggenberger [Mon, 22 Sep 2008 16:58:24 +0000 (18:58 +0200)]
clean up

11 years agofixing word wrap
Marcus Eggenberger [Mon, 22 Sep 2008 16:46:41 +0000 (18:46 +0200)]
fixing word wrap

11 years agoDon't start a core in CoreApplication's dtor... fixes BR #322
Manuel Nickschas [Mon, 22 Sep 2008 15:40:12 +0000 (17:40 +0200)]
Don't start a core in CoreApplication's dtor... fixes BR #322

11 years agomaking newer gccs happy
Marcus Eggenberger [Mon, 22 Sep 2008 11:53:46 +0000 (13:53 +0200)]
making newer gccs happy

11 years agobringing those up and down buttons of the searchbar to life
Marcus Eggenberger [Mon, 22 Sep 2008 11:33:46 +0000 (13:33 +0200)]
bringing those up and down buttons of the searchbar to life

11 years agofixing speed up aftermath
Marcus Eggenberger [Mon, 22 Sep 2008 10:24:26 +0000 (12:24 +0200)]
fixing speed up aftermath

11 years agofixing BR #<insert proper id here (I'm offline right now)>
Marcus Eggenberger [Sun, 21 Sep 2008 13:13:02 +0000 (15:13 +0200)]
fixing BR #<insert proper id here (I'm offline right now)>
Strange look of large search highlight items.

11 years agoChatLine cleanup
Marcus Eggenberger [Sun, 21 Sep 2008 12:07:11 +0000 (14:07 +0200)]
ChatLine cleanup

11 years agoChatItem::fontMetrics() moved to ContentsChtatItem::fontMetrics()
Marcus Eggenberger [Sun, 21 Sep 2008 11:37:34 +0000 (13:37 +0200)]
ChatItem::fontMetrics() moved to ContentsChtatItem::fontMetrics()

11 years agoAnother Speed boost for the new ChatView.
Marcus Eggenberger [Sun, 21 Sep 2008 11:13:45 +0000 (13:13 +0200)]
Another Speed boost for the new ChatView.
This commit is more then due but is still WIP.
Heavy changes in ChatScene, ChatLine, ChatItems.
Finally making use of the disposable layouts.

11 years agoMake compile on amd64 and friends
Manuel Nickschas [Sat, 20 Sep 2008 08:27:13 +0000 (10:27 +0200)]
Make compile on amd64 and friends

11 years agoTest our newly acquired shortcut capabilities by finally allowing Ctrl+F to trigger...
Manuel Nickschas [Sat, 20 Sep 2008 02:12:37 +0000 (04:12 +0200)]
Test our newly acquired shortcut capabilities by finally allowing Ctrl+F to trigger the search bar :)

We have now a global ActionCollection (accessible through QtUi::actionCollection()) that allows the
use of global shortcuts. ChatViewSearchBar is the first widget to make use of this.

Also some cleanups.
ChatViewSearchBar now uses

11 years agoAdd ActionCollection to group and manage (Q)Actions.
Manuel Nickschas [Sat, 20 Sep 2008 00:21:45 +0000 (02:21 +0200)]
Add ActionCollection to group and manage (Q)Actions.

This is based on the corresponding KActionCollection (though it does only
implement a subset of that API).

11 years agoAction enhances QAction with a subset of KDE's KAction capabilities
Manuel Nickschas [Fri, 19 Sep 2008 22:49:45 +0000 (00:49 +0200)]
Action enhances QAction with a subset of KDE's KAction capabilities

This mostly adds configurable default and custom shortcuts to QAction. The API
we use has been taken from KAction, in order to make KDE integration easier later on.
Note that we only define/implement a subset of KAction's API, since we don't have
global shortcuts and don't support alternate shortcuts (yet?).

11 years agofix uptime calculation when client and core are in different timezones
Daniel Albers [Wed, 17 Sep 2008 15:55:47 +0000 (17:55 +0200)]
fix uptime calculation when client and core are in different timezones

11 years agoFinally sanitizificat0red the mess and #ifdef hell with main.cpp, Global:: and friends
Manuel Nickschas [Thu, 18 Sep 2008 22:26:04 +0000 (00:26 +0200)]
Finally sanitizificat0red the mess and #ifdef hell with main.cpp, Global:: and friends

This replaces #ifdefs mostly by OO stuff, i.e. we now have a class hierarchy in place
for initializing the application. Also, namespace Global:: is gone[1]; most of its functionality
is part of the new Quassel object now which encapsulates common app stuff.

You should clean (rm -rf) your build dir, as these changes are quite invasive.

[1] Some remnants are still there until I get around to redesigning genversion, and actually
    fill Quassel::buildInfo() with data.

11 years agocleanups (WiP)
Manuel Nickschas [Sat, 6 Sep 2008 16:54:09 +0000 (18:54 +0200)]
cleanups (WiP)

11 years agoImprove URL regexp a bit, don't fail anymore in certain situations
Manuel Nickschas [Wed, 17 Sep 2008 22:11:52 +0000 (00:11 +0200)]
Improve URL regexp a bit, don't fail anymore in certain situations

11 years agoFix line spacing being wrong for some people (partially cut off ChatLines)
Manuel Nickschas [Wed, 17 Sep 2008 15:28:29 +0000 (17:28 +0200)]
Fix line spacing being wrong for some people (partially cut off ChatLines)

11 years agoDon't underline quitting nicks
Manuel Nickschas [Tue, 16 Sep 2008 17:03:56 +0000 (19:03 +0200)]
Don't underline quitting nicks

11 years agoEnable on-hover for URLs, remove now obsolete double click handler
Manuel Nickschas [Mon, 15 Sep 2008 22:25:23 +0000 (00:25 +0200)]
Enable on-hover for URLs, remove now obsolete double click handler

11 years agoAdd accessor to check if a filter accepts a given BufferId
Manuel Nickschas [Mon, 15 Sep 2008 22:24:36 +0000 (00:24 +0200)]
Add accessor to check if a filter accepts a given BufferId

11 years agoFirst steps in supporting on-hover
Manuel Nickschas [Sun, 14 Sep 2008 22:35:32 +0000 (00:35 +0200)]
First steps in supporting on-hover

We now analyze ChatLines (lazily) for interesting stuff like URLs and channel names,
and when hovering on them, underline them (and later also change the mouse cursor, I guess).
Still missing: action on click, also we still have some visual glitches while selecting.
Also I think we'll provide a context menu on right click later.

11 years agoURL recognition (WiP)
Manuel Nickschas [Mon, 25 Aug 2008 13:12:13 +0000 (15:12 +0200)]
URL recognition (WiP)

11 years agogerman translation, some typos corrected
Daniel Albers [Mon, 15 Sep 2008 20:40:09 +0000 (22:40 +0200)]
german translation, some typos corrected

11 years agoeven faster resizing
Marcus Eggenberger [Thu, 11 Sep 2008 12:29:19 +0000 (14:29 +0200)]
even faster resizing

11 years agoChatScene speed improvement. This might even fix the dreaded CPU bug!
Marcus Eggenberger [Thu, 11 Sep 2008 11:46:24 +0000 (13:46 +0200)]
ChatScene speed improvement. This might even fix the dreaded CPU bug!
Great observation, Sput!

11 years agofixing colors
Marcus Eggenberger [Fri, 5 Sep 2008 18:39:57 +0000 (20:39 +0200)]
fixing colors

11 years agoremoving an unneeded empty check
Marcus Eggenberger [Fri, 5 Sep 2008 17:29:01 +0000 (19:29 +0200)]
removing an unneeded empty check

11 years agosmoothificating user requested backlog replay. increased request count to 100
Marcus Eggenberger [Fri, 5 Sep 2008 17:26:49 +0000 (19:26 +0200)]
smoothificating user requested backlog replay. increased request count to 100

11 years agoexplicitly listening on IPv4 even if IPv6 is available
Marcus Eggenberger [Fri, 5 Sep 2008 15:11:19 +0000 (17:11 +0200)]
explicitly listening on IPv4 even if IPv6 is available

11 years agoadded convenience constructors ChatViewSettings(ChatView *) and ChatViewSettings...
Marcus Eggenberger [Thu, 4 Sep 2008 18:35:03 +0000 (20:35 +0200)]
added convenience constructors ChatViewSettings(ChatView *) and ChatViewSettings(ChatScene *)

11 years agoQtUiSettings().value(QString("ChatView/%1/KEY").arg(idString())) --> ChatViewSettings...
Marcus Eggenberger [Thu, 4 Sep 2008 18:27:29 +0000 (20:27 +0200)]
QtUiSettings().value(QString("ChatView/%1/KEY").arg(idString())) --> ChatViewSettings(idString()).value("KEY")

11 years agochatscene allows now inserting and removing of items at arbitrary positions (not...
Marcus Eggenberger [Thu, 4 Sep 2008 16:31:52 +0000 (18:31 +0200)]
chatscene allows now inserting and removing of items at arbitrary positions (not only top or bottom)

11 years agofixing buffered backlog replay for reconnects
Marcus Eggenberger [Thu, 4 Sep 2008 15:51:42 +0000 (17:51 +0200)]
fixing buffered backlog replay for reconnects

11 years agoMissing include on some systems
Manuel Nickschas [Wed, 3 Sep 2008 13:52:42 +0000 (15:52 +0200)]
Missing include on some systems

11 years agoUpdate genversion to work with single-binary git
Manuel Nickschas [Wed, 3 Sep 2008 13:46:24 +0000 (15:46 +0200)]
Update genversion to work with single-binary git

11 years agoproperly fixing dupes ;)
Marcus Eggenberger [Tue, 2 Sep 2008 13:40:23 +0000 (15:40 +0200)]
properly fixing dupes ;)

11 years agoeven faster backlog replay
Marcus Eggenberger [Tue, 2 Sep 2008 11:04:19 +0000 (13:04 +0200)]
even faster backlog replay

11 years agoReintroduce layout margin for topic line, looks ugly with locked docks otherwise
Manuel Nickschas [Tue, 2 Sep 2008 12:34:47 +0000 (14:34 +0200)]
Reintroduce layout margin for topic line, looks ugly with locked docks otherwise

11 years agoExplicitly provide MOC_DEFINES, use HAVE_SSL instead of QT_NO_OPENSSL. Should fix...
Manuel Nickschas [Tue, 2 Sep 2008 00:09:58 +0000 (02:09 +0200)]
Explicitly provide MOC_DEFINES, use HAVE_SSL instead of QT_NO_OPENSSL. Should fix MacOSX compilation issues

This removes the automated DEFINITIONS recognition for MOC (which was not cross-platform apparently);
instead, we now explicitly set MOC_DEFINES for things where it matters, such as -DHAVE_DBUS and -DHAVE_SSL.

11 years agoMake compile on MSVC again... that thing doesn't know #warning, apparently -_-
Manuel Nickschas [Mon, 1 Sep 2008 23:37:51 +0000 (01:37 +0200)]
Make compile on MSVC again... that thing doesn't know #warning, apparently -_-

11 years agos/int/qreal/
Manuel Nickschas [Mon, 1 Sep 2008 23:08:12 +0000 (01:08 +0200)]
s/int/qreal/

11 years agoFind genversion.exe on Wintendo. Fixes BR #306, thanks to Hydrogen and SaroEngels!
Manuel Nickschas [Mon, 1 Sep 2008 22:04:24 +0000 (00:04 +0200)]
Find genversion.exe on Wintendo. Fixes BR #306, thanks to Hydrogen and SaroEngels!

11 years agos/class/struct/, thanks to Hydrogen for noticing :)
Manuel Nickschas [Mon, 1 Sep 2008 22:01:03 +0000 (00:01 +0200)]
s/class/struct/, thanks to Hydrogen for noticing :)

11 years agoUh, apparently, cmake-2.6 is not always downward compatible to 2.4...
Manuel Nickschas [Mon, 1 Sep 2008 21:55:49 +0000 (23:55 +0200)]
Uh, apparently, cmake-2.6 is not always downward compatible to 2.4...