romibi [Thu, 14 Jul 2016 09:36:07 +0000 (11:36 +0200)]
Enable Qt's high-DPI scaling introduced in Qt5.6
Resolves GH-233.
romibi [Sat, 9 Jul 2016 16:30:44 +0000 (18:30 +0200)]
Fix cmd+Q invalidating the layout somehow
On Mac OSX Qt Applications (with Frameworks packaged) receive the
CloseEvent twice. (See https://bugreports.qt.io/browse/QTBUG-43344)
This triggers a bug where Quassels Main-Window stays hidden and all
Layout states get reset on next launch.
Workaround by checking if event already received...
Resolves GH-230.
romibi [Tue, 5 Jul 2016 19:39:39 +0000 (21:39 +0200)]
Fix Mac Deploy scripts for newer Xcode and git
Resolves GH-229.
romibi [Tue, 5 Jul 2016 19:33:42 +0000 (21:33 +0200)]
Enable OSX dmg deployment on Travis
Resolves GH-228.
Martin T. H. Sandsmark [Sat, 2 Jul 2016 16:24:05 +0000 (18:24 +0200)]
Disable webkit by default
Qt WebKit is deprecated and a bit of a walking security hole, so it
makes sense to disable by default.
Resolves GH-225.
Michael Marley [Sat, 2 Jul 2016 14:20:58 +0000 (10:20 -0400)]
Properly handle 0 seconds in secondsToString()
Previously if 0 seconds was passed in, an empty string would be
returned. Instead, "0 sec" should be returned.
Resolves GH-223.
selabnayr [Fri, 24 Jun 2016 21:38:04 +0000 (14:38 -0700)]
Allow client-side channel buffer merges, and associated changes.
networkmodel.cpp: Mark ChannelBufferItems as being a drop target, to
allow for channel buffer merging.
bufferviewfilter.cpp: Rework BufferViewFilter::flags() to make it more
clear what's going on, and remove the restriction that made
QueryBuffers the only merge-able buffers.
bufferview.cpp: Rework BufferView::dropEvent() to add a bunch of
comments, and allow ChannelBuffers to be merged as well as QueryBuffers.
ChannelBuffers can only be the source for a merge if they are not
currently joined, to prevent UI weirdness of being in a channel but not
having any associated UI elements.
Resolves GH-220.
selabnayr [Fri, 24 Jun 2016 21:20:50 +0000 (14:20 -0700)]
Allow core-side channel buffer merges
Also fix a typo in the warning for a merge that fails the tests.
Rolf Eike Beer [Fri, 1 Jul 2016 17:04:06 +0000 (19:04 +0200)]
Simplify FindExecInfo
* Do not set EXECINFO_INCLUDES to empty it it is NOTFOUND, it is only
used when EXECINFO_FOUND is set, which is the expected behavior
* Simplify checking for the find_path() and find_library() result,
CMake considers a variable false if its value is VARNAME-NOTFOUND
Resolves GH-222.
Rolf Eike Beer [Fri, 1 Jul 2016 16:54:51 +0000 (18:54 +0200)]
Drop QT_PATH from CMake code
If one wants a specific Qt version then simply set QT_QMAKE_EXECUTABLE
to the correct binary. This has less possible side effects.
Rolf Eike Beer [Fri, 1 Jul 2016 16:50:36 +0000 (18:50 +0200)]
Remove arguments of CMake's else() and endif() commands
The need for them is long gone, but they are still permitted. Remove the
remaining instances to make the code more consistent.
Rolf Eike Beer [Fri, 1 Jul 2016 16:47:06 +0000 (18:47 +0200)]
Simplify CMake code
Shane Synan [Tue, 6 Sep 2016 08:56:52 +0000 (03:56 -0500)]
Batch request capabilities during negotiation
Split apart capability queue into individual and bundled groups.
Request capabilities one-at-a-time in the individual queue, and as
many as will fit within length limits in the bundled queue. Use a
length limit of 100 characters to follow minimum number of characters
that IRC servers must return in CAP NAK replies, also meaning CAP NAK
replies will contain the full list of denied capabilities.
Individually request SASL and other capabilities requiring
configuration to avoid conflicts with requesting new capabilities
while still setting up the current capability.
Retry bundled capability requests individually when failed. This
prevents one failing capability from blocking others. Unfortunately
there's no way to avoid blindly re-requesting as CAP NAK does not
specify which capability failed.
Show a warning when retrying capabilities individually to explain the
added delay in logging in and to ease troubleshooting.
Fix documentation regarding capability handling.
Resolves GH-221.
Shane Synan [Sun, 28 Aug 2016 21:49:07 +0000 (16:49 -0500)]
Network::clearCaps only sync when caps removed
Add check for if _caps and _capsEnabled contain any capabilities. If
not, return from the clearCaps call without issuing a network SYNC.
Fixes needless clearCaps calls when reconnecting to a network that's
failing to connect.
This may cause inconsistency if clients miss some sync calls.. but
Quassel protocol currently depends on all sync calls being propogated
anyways.
Shane Synan [Mon, 11 Jul 2016 11:14:28 +0000 (07:14 -0400)]
Remove redundant parameter check from IrcEventCap
Remove the prior direct check of parameter count now that
checkParamCount is used. checkParamCount is preferred due to logging
a warning when not enough parameters are supplied.
Shane Synan [Mon, 11 Jul 2016 11:04:54 +0000 (07:04 -0400)]
Try to recover from some bad CAP replies, docs
Modify CAP ACK and CAP NAK commands to try to continue when possible
rather than getting stuck.
Fix related documentation.
Shane Synan [Mon, 11 Jul 2016 10:44:16 +0000 (06:44 -0400)]
Handle IRCv3 servers without any capabilities
When servers implement CAP LS but do not offer any capabilities, end
negotiation and continue connecting as usual.
Modify processIrcEventCap to allow for commands with two parameters.
CAP LS and CAP LIST can have empty replies to signify no
capabilities are available/active.
Add a dedicated 'endCapNegotiation' function to avoid code
duplication.
Fixes repeated connection timeouts for IRCv3-compliant servers that
don't have any capabilities to offer.
Shane Synan [Wed, 29 Jun 2016 21:26:56 +0000 (17:26 -0400)]
Sort IRCv3 capabilities before negotiation
Sort capabilities before requesting for consistency among networks.
This may avoid unexpected cases when some networks offer capabilities
in a different order than others. It also looks nicer in logs.
Shane Synan [Mon, 11 Jul 2016 11:12:07 +0000 (07:12 -0400)]
Handle caps with multiple key-value pairs
Include everything after the first '=' in the capability value. This
fixes support for future IRCv3 capabilities with multiple key-value
pairs, e.g. "sts=duration=
31536000,port=6697"
Current IRCv3 capabilities are handled as before.
Shane Synan [Wed, 29 Jun 2016 21:16:42 +0000 (17:16 -0400)]
Handle non-standard missing event parameters
Improve 'IrcEventAway', 'IrcEvent330', and 'IrcEvent403' to be more
resilient to missing parameters. We don't need all of the parameters
to get the needed information.
These event handlers were introduced as part of the IRCv3 changes and
shouldn't modify how 0.12.4 handled commands.
Shane Synan [Wed, 29 Jun 2016 21:11:37 +0000 (17:11 -0400)]
Set account on extended-join, simplify, fix docs
Now that account tracking exists, update extended-join to set account
data, too. This was accidentally left out of the IRCv3 fix-up pull
request.
Simplify account tracking in 'processIrcEventAccount'. No need to
check for '*' when that's used internally to represent logged-out.
Update documentation to mention 'extended-join' in WHOX and
IrcEventAccount handling.
Shane Synan [Wed, 29 Jun 2016 21:19:44 +0000 (17:19 -0400)]
Fix joins for non-spec servers with extended-join
Some IRC servers don't always send extended-join data despite
capability negotiation. Rather than dropping the join entirely,
treat it as a normal join. Fixes missing joins on some networks for
host changes.
Hannah von Reth [Fri, 24 Jun 2016 06:55:22 +0000 (08:55 +0200)]
Don't redefine activated signal.
Resolves GH-219.
Hannah von Reth [Fri, 24 Jun 2016 06:54:57 +0000 (08:54 +0200)]
Only register deregister quassel with snore if it wasn't done yet.
Ben Rosser [Wed, 15 Jun 2016 22:18:27 +0000 (18:18 -0400)]
Add AppData metadata for quassel, quasselclient.
The freedesktop.org AppData standard defines metadata for GUI
applications that wish to show up in various graphical software
centers, such as GNOME Software. See the specification for
more details: https://people.freedesktop.org/~hughsient/appdata/
Applications without metadata will not show up in GNOME Software,
and possibly other graphical package managers. As GNOME Software
is the recommended way on Fedora Workstation to install software,
this means that without these files users won't be able to find
quassel or quasselclient.
Fixes #1400. Resolves GH-216.
Shane Synan [Mon, 5 Sep 2016 19:19:03 +0000 (14:19 -0500)]
Reload SSL certificates on signal SIGHUP
Catch SIGHUP, use it to reload configuration (SSL certs), similar to
nginx and other server programs. This allows easy automation of
reloading certificates, an important factor with services such as
Let's Encrypt.
If reloading certificates fails, the old certificates are kept to
avoid disrupting new connections until the situation is sorted out.
Resolves GH-208.
Shane Synan [Mon, 5 Sep 2016 19:09:17 +0000 (14:09 -0500)]
Disconnect CoreSession _networks before delete
Explicitly call disconnect for each CoreNetwork, process events, then
wait for each network to disconnect before deleting it.
This overwrides the automatic cleanup in CoreNetwork to handle
shutting down tens of networks at once. This allows all CoreNetworks
to start disconnecting at once before waiting for each to individually
shut down.
Resolves GH-207.
Shane Synan [Mon, 5 Sep 2016 19:07:51 +0000 (14:07 -0500)]
Process events when destroying CoreNetwork
During shutdown, process events in CoreNetwork, and wait for the
socket to disconnect. This fixes the QUIT command not getting sent
to IRC networks.
Examples
[Unreal 3.2]
> Before
<-- dcircuit_dev (quasseldev@hostmask.IP) has quit (Input/output error)
> After
<-- dcircuit_dev (quasseldev@hostmask.IP) has quit (Quit: My Message!)
[Freenode]
> Before
<-- dcircuit_dev (~quasselde@hostmask) has quit (Remote host closed the connection)
> After
<-- dcircuit_dev (~quasselde@hostmask) has quit (Quit: My Message!)
Where "My Message!" is specified in Configure Quassel -> IRC
-> Identities -> Advanced -> Quit Reason
Note: Freenode hides quit messages from clients that disconnect soon
after connecting. Stay connected ~10 minutes before testing QUIT.
Shane Synan [Tue, 7 Jun 2016 09:43:38 +0000 (05:43 -0400)]
Don't log socket error when disconnecting
Add flag _disconnectExpected, set to true in disconnectFromIrc() in
order to ignore RemoteHostClosed socket errors. It's not really an
error when it's expected behavior, no?
Shane Synan [Wed, 13 Jul 2016 15:13:02 +0000 (11:13 -0400)]
Add spacers to Chat View Colors settings page
Add horizontal and vertical spacers to Custom Colors and
Use Sender Coloring on Chat View Colors settings page. Adjust the
grid layout to maintain similar spacing as prior.
This keeps it from stretching across the entire screen when the
settings dialog is very wide (e.g. maximized).
Resolves GH-185.
Shane Synan [Wed, 29 Jun 2016 06:10:40 +0000 (02:10 -0400)]
Move Chat View colors to new settings page
Add new settings page Chat View Colors for "allowMircColors",
"useCustomColors", "useSenderColors", and related color buttons.
Remove the above settings from the general Chat View settings page.
Add missing tab stops for "autoMarkerLineOnLostFocus" and
"webSearchUrlFormat".
This reduces visual clutter, improves organization, and saves
vertical space, helpful for smaller screens.
(~54 pixels saved vs 0.12.4, ~112 pixels saved vs all options in one)
Shane Synan [Mon, 27 Jun 2016 23:54:21 +0000 (19:54 -0400)]
Settings upgrade logic, classic for old installs
Add "VersionMinor" to Settings for backwards/forwards-compatible
changes. Existing installs without this setting are distinguished by
checking if other settings keys exist.
Add upgrade logic to QtUiApplication to preserve previous settings
when changing defaults. This avoids unwanted surprises if someone
likes the defaults, doesn't save them, then upgrades their client.
Otherwise, Qt would only save settings when changed.
(Core currently does not need version-compatible settings migration
logic, but it can be added in the future if needed.)
Add a method to settings to check if a key exists, used when checking
if a non-default value was chosen.
Upgrading settings to version 2 will preserve Quassel's UI for those
with the classic look, but new installs default to modern style. In
the future, this can be used to implement any other default changes.
Shane Synan [Mon, 27 Jun 2016 23:53:31 +0000 (19:53 -0400)]
Default nick/action color on, sender brackets off
Add default sender colors in a QList accessible to the stylesheet
generator to allow for enabling colors by default. This complements
removing sender brackets by default.
Generate a default stylesheet on first run so stylesheet-dependent
defaults such as sender colors will be applied.
Enable both sender and action colors, disable sender brackets by
default when not otherwise selected.
Shane Synan [Mon, 27 Jun 2016 23:51:48 +0000 (19:51 -0400)]
Optionally color sender nicks in Action messages
Add checkbox to ChatViewSettings to color sender/nick of action
messages, using the same sender colors as regular messages.
This -significantly- improves readability for long action messages,
such as those on story-telling channels.
Shane Synan [Fri, 17 Jun 2016 01:16:40 +0000 (21:16 -0400)]
Calculate senderHash for Action messages
Fixes stylesheets not being able to reference sender hashes in Qss
selectors.
Allows the following to work:
ChatLine::nick#action[sender="00"] { foreground: #e90d7f; }
Just like this currently works:
ChatLine::nick#plain[sender="00"] { foreground: #e90d7f; }
Shane Synan [Tue, 28 Jun 2016 02:33:35 +0000 (22:33 -0400)]
Add brackets to timestamp when copying if hidden
Add brackets around timestamp if ShowSenderBrackets is disabled -and-
the timestamp format does not contain brackets. This matches all
common types of brackets using a regular expression.
Remove any leading and trailing space from timestamp format before
copying if above conditions met, to avoid having [ 11:04:32] or some
such. This might be unexpected, but if someone has specific needs
for the bracket arrangement, they can toggle to always show sender
brackets.
Examples with show sender brackets disabled:
" hh:mm:ss" -> "[hh:mm:ss]"
" h:mm:ss ap" -> "[h:mm:ss ap]"
"<hh mm ss" -> "[<hh mm ss]"
"[hh:mm:ss]" -> unchanged
"<hh mm ss>" -> unchanged
"{hh:mm:ss:ss>" -> unchanged (and I won't ask why you're doing this)
For regular expression debugging and explanations,
See: https://regex101.com/
Shane Synan [Tue, 28 Jun 2016 02:32:30 +0000 (22:32 -0400)]
Make sender brackets configurable, on by default
Add a toggle to Settings -> Interface -> Chat View so sender brackets
can be enabled and disabled as desired. Keeping with the timestamp
change, brackets are disabled by default but can be easily reenabled.
Revert Chat Monitor to include ':' as a separator between the
network:buffer:sender line, for otherwise it can be hard to read.
Daniel Albers [Tue, 28 Jun 2016 02:47:21 +0000 (22:47 -0400)]
Remove displayed brackets around sender nicks
Remove brackets around nick names for the display role.
Add brackets around sender when copying ChatLines. Only apply when
Message::Type == Plain, though.
Remove brackets from default timestamp setting
romibi [Thu, 16 Jun 2016 22:50:40 +0000 (00:50 +0200)]
Fix crash if topic has a CarriageReturn
Resolves GH-218.
Shane Synan [Fri, 17 Jun 2016 23:12:23 +0000 (19:12 -0400)]
Document schema changes, tidy up upgrade script
Add copyright header, simplified from the usual since shell scripts
don't fold header comments by default.
Add a lengthy comment about how to manage schema changes, including
an example of adding the column 'test' to the 'ircserver' table.
Add some quotes to directory variables to handle spaces, comment some
of the commands.
Resolves GH-217.
Shane Synan [Wed, 15 Jun 2016 20:00:17 +0000 (16:00 -0400)]
Update preset networks to include SSL variants
Update the bundled networks.ini to use SSL variants when possible.
Non-SSL versions are still included by default to reduce risk of
breaking new setups.
Preset networks don't have SSL verification enabled by default since
including non-SSL variants in the preset defeats the point.
Shane Synan [Thu, 16 Jun 2016 19:35:42 +0000 (15:35 -0400)]
Sync default port with Use encrypted connection
Change the preselected port from 6667 to 6697 when enabling
"Use encrypted connection" and change back from 6697 to 6667 when
disabling "Use encrypted connection". The port number can be
manually changed, stopping the link between checkbox and port.
Existing networks are unmodified.
Add loosely-standardized default IRC server ports to network.h to
provide a central place to manage it. This should only be used when
first adding a server.
See https://freenode.net/news/port-6697-irc-via-tlsssl
Shane Synan [Wed, 13 Jul 2016 23:17:30 +0000 (19:17 -0400)]
Optionally verify SSL connection to IRC servers
Add SSL verify flag.
> In database, add 'sslverify' to 'server' table, defaulting to
false so upgrades won't break existing setups. This modifies
schema, requiring a version bump, changes to migration scripts, etc.
> In protocol, add 'sslVerify' to Network::Server, configuring if
SSL errors should be ignored or result in disconnect.
Add 'VerifyServerSSL' feature flag so the client can tell users about
needing to upgrade their core to get this feature.
If SSL verification fails and...
> SSL verify enabled: disconnect and trigger a retry, logging the
error message in the status buffer
> SSL verify disabled: log the error message at Info level and
continue connecting anyways
Add "Verify connection security" checkbox to network add/edit dialogs
with an explanatory tooltip. Tooltip is modified and checkbox
disabled if the core does not support the feature. Connections are
verified by default when "Use encrypted connection" is checked.
Change "Use SSL" and "Use secure connection" to
"Use encrypted connection" to better reflect what the option does.
Fix tooltips and other strings in network editing dialogs.
Testing:
> Database schema handling
SQLite new install - works
SQLite upgrade - works
SQLite migrate to Postgres - works
Postgres new install - works
Postgres upgrade - works
> Client/core connections
New client, new core - works
New client, old core - works, verify SSL grayed out
Old client, new core - works, verify SSL reset to false on edit
(Unfortunately there's no way to use a boolean and tell if the client
is old, or actually setting verify SSL to false. Would need the
work-in-progress ClientFeature system 'esainane' designed)
(Not using '@mention' since that notifies on EVERY commit push)
Shane Synan [Wed, 15 Jun 2016 20:09:57 +0000 (16:09 -0400)]
Fix maybe-uninitialized compile warning
Declare hashVersion as latest version before loading results from
database. This resolves a warning when building inside
Qt Creator 3.0.1.
Resolves GH-215.
Shane Synan [Tue, 14 Jun 2016 14:16:08 +0000 (10:16 -0400)]
Center-align tooltips, fix QML, italicize unknown
Center-align the "No information available" and "Not active" tooltip
messages to keep them consistent with the centered table layouts.
Fix and simplify tooltip QML formatting.
Use italics when displaying an unknown away message. This avoids
clashing with someone having the literal away message "(unknown)"
Resolves GH-214.
Shane Synan [Tue, 14 Jun 2016 13:39:31 +0000 (09:39 -0400)]
Hide network tooltip info when disconnected
Remove network information from tooltip when disconnected, showing a
"Not connected" line instead.
Don't show the server name if empty.
This fixes a slightly confusing state where the tooltip implies the
network's connected when it's actually not.
Hannah von Reth [Sat, 11 Jun 2016 15:30:08 +0000 (17:30 +0200)]
Fix a crash with MSVC debug builds.
When staticMetaObject.className() was called before qApp->exec(),
the application crashed. This happend only in debug builds.
Resolves GH-213.
Hannah von Reth [Sat, 11 Jun 2016 12:48:27 +0000 (14:48 +0200)]
Disable dbus on Windows.
Closes GH-212.
Shane Synan [Fri, 10 Jun 2016 21:14:21 +0000 (17:14 -0400)]
Strip format codes when checking for highlights
Strip format codes from message content when checking for highlights.
This fixes color-coded messages not triggering highlights, e.g.
messages from the qAnnounce bot in #quassel.
Closes GH-211.
romibi [Wed, 6 Jul 2016 11:53:53 +0000 (13:53 +0200)]
Modify Mac Deploy-Script for QtWebEngine
Closes GH-210.
romibi [Wed, 6 Jul 2016 11:31:53 +0000 (13:31 +0200)]
Update Appveyor Script to use QtWebEngine
mingw does not support QtWebEngine
and Qt5.6 does not have QtWebKit
romibi [Fri, 10 Jun 2016 09:07:19 +0000 (11:07 +0200)]
Fix WebPreview not updating when using QtWebEngine
romibi [Fri, 10 Jun 2016 09:05:20 +0000 (11:05 +0200)]
Use QtWebEngine instead of QtWebKit if available
Shane Synan [Wed, 8 Jun 2016 17:57:51 +0000 (13:57 -0400)]
Fancify README with Markdown, build status, links
Transition README into Markdown formatting, still persisting the
ability to read it as plain-text, asides from the status badges.
Add AppVeyor and Travis CI status badges to the top of the page. Not
only does this make it easier to access build history, it's a pretty
quick way to tell if the build is working or not.
Add a few more handy links to (hopefully) help those stumbling across
Quassel's dev repo without prior knowledge.
Closes GH-209.
Michael Marley [Mon, 6 Jun 2016 21:46:02 +0000 (17:46 -0400)]
Update inxi to version 2.3.0
Closes GH-204.
Shane Synan [Thu, 16 Jun 2016 00:19:59 +0000 (20:19 -0400)]
Enable self message support for ZNC
Request the 'znc.in/self-message' capability to enable self message
support on ZNC.
Some servers (e.g. Bitlbee) assume self-message support; ZNC requires
a capability instead. As self-message is already implemented,
there's little reason to not do this.
Who says we can't all get along? :)
There's more information in the IRCv3 commit that removed the
'self-message' capability.
See https://github.com/ircv3/ircv3-specifications/commit/
1bfba47843c2526707c902034b3395af934713c8
Closes GH-202.
Shane Synan [Sat, 27 Aug 2016 22:28:36 +0000 (17:28 -0500)]
Add support for self messages
Check if the incoming message sender is our own nick. If so, treat
as if sent by the core itself. Message decryption is still tried in
case the user manually set up identical keys on different clients,
but key negotiation isn't allowed with self-messages (for it wouldn't
make sense).
Carry over the "Self" flag from EventManager to Message, so incoming
self-messages can be processed and stored as if sent by the client.
This lays some of the groundwork for IRCv3 'echo-message'.
For example, if the core's nick is 'quasseluser':
:quasseluser!ex@example.com PRIVMSG dcircuit :hi
...is handled as if 'quasseluser' had sent 'hi' to nick 'dcircuit'.
See http://ircv3.net/specs/extensions/echo-message-3.2.html
Shane Synan [Thu, 9 Jun 2016 11:38:38 +0000 (07:38 -0400)]
Allow prioritizing QUIT over other commands
Add a forceImmediate flag to issueQuit, allowing the QUIT command to
jump the command queue.
A future update will prioritize QUIT when core is shutting down so
other messages won't block showing the user's quit message.
Don't prioritize QUIT normally in case the user sends some messages,
thinks they've all been delivered, then sends a QUIT.
(Eventually, Quassel should display queued messages differently from
messages that have been sent)
Closes GH-201.
Shane Synan [Wed, 1 Jun 2016 23:00:38 +0000 (19:00 -0400)]
Add command queue prepend, prioritize PING/PONG
Add optional flag to putRawLine and putCmd to put any given lines or
commands to the front of the queue (prepend instead of append).
Enable queue prepend for sending PINGs and PONG replies. This fixes
the issue where Quassel will ping-timeout when trying to send huge
messages (e.g. 40 lines at once), or multiple commands.
Unfortunately, some IRC servers don't behave properly so Quassel may
still get disconnected. Hopefully other servers will get fixed soon.
Add more documentation, of course. Document all the things!
Martin T. H. Sandsmark [Tue, 1 Mar 2016 21:52:08 +0000 (22:52 +0100)]
Remove default keybinding for showing/hiding menubar
Resolves GH-191.
Martin T. H. Sandsmark [Tue, 1 Mar 2016 21:49:03 +0000 (22:49 +0100)]
Create a custom popup menu for mainwindow, add menubar hide option to it
Martin T. H. Sandsmark [Tue, 1 Mar 2016 22:02:20 +0000 (23:02 +0100)]
Don't use the QPointer::clear() function that was introduced in Qt5
Closes GH-190.
Martin T. H. Sandsmark [Tue, 1 Mar 2016 21:11:06 +0000 (22:11 +0100)]
Add action/shortcut to use the buffer filter/search
Martin T. H. Sandsmark [Sun, 14 Jun 2015 02:07:50 +0000 (04:07 +0200)]
Make the buffer search optional, disable by default
Martin T. H. Sandsmark [Sun, 14 Jun 2015 01:49:20 +0000 (03:49 +0200)]
Add buffer filtering support.
Daniel Albers [Tue, 5 Jul 2016 19:33:47 +0000 (21:33 +0200)]
Enable OSX builds on travis (GH-227)
Daniel Albers [Tue, 5 Jul 2016 19:16:48 +0000 (21:16 +0200)]
Slightly reorder travis config
romibi [Sun, 3 Jul 2016 15:12:58 +0000 (17:12 +0200)]
Enable Mac OSX builds on travis
Daniel Albers [Sun, 3 Jul 2016 18:45:30 +0000 (20:45 +0200)]
Merge pull request #226 - Fix touch pads being handled as touch screens
Fix a bug with (multi) touch pad usage (e. g. on MacBooks) introduced with basic
touch support (GH-187).
Closes GH-226.
romibi [Sun, 3 Jul 2016 13:36:19 +0000 (15:36 +0200)]
Check touch device type on TouchEvents
Check the touch device type to prevent touch pads from being handled as touch
screens.
No check required on TouchUpdate and TouchEnd, because if TouchBegin is not
accepted (return true) no following TouchUpdate/End Events are received.
Manuel Nickschas [Wed, 15 Jun 2016 23:13:31 +0000 (01:13 +0200)]
Merge pull request #198 - IRCv3 improvements
Closes GH-198.
Rolf Eike Beer [Wed, 18 May 2016 06:54:22 +0000 (08:54 +0200)]
Simplify checking if CMake policies need to be set
Remove the magic knowledge about when a policy was introduced, simply
check if the policy exists.
Closes GH-196.
Manuel Nickschas [Wed, 15 Jun 2016 20:12:57 +0000 (22:12 +0200)]
Some cleanups
Closes GH-187.
romibi [Fri, 10 Jun 2016 22:42:26 +0000 (00:42 +0200)]
Documentation
and some fixed indentations
romibi [Fri, 19 Feb 2016 19:47:52 +0000 (20:47 +0100)]
Change Selection Behaviour
Before: (slow) double tap for selection
After: start movement horizontal
romibi [Fri, 10 Jun 2016 23:52:03 +0000 (01:52 +0200)]
Refactoring: Pull Up Duplicate Code
The event override for NickView and BufferView was Copy&Paste.
To reduce duplicate code i moved that to a new class (TreeViewTouch) now
between QTreeView and the mentioned Classes.
romibi [Fri, 10 Jun 2016 23:48:11 +0000 (01:48 +0200)]
Enable Touch Scroll in Nick-View
romibi [Fri, 10 Jun 2016 23:56:17 +0000 (01:56 +0200)]
Enable Touch Scroll in Buffer-View
romibi [Wed, 17 Feb 2016 12:54:18 +0000 (13:54 +0100)]
Enable Touch Scroll in Chat-View
Shane Synan [Mon, 13 Jun 2016 22:27:58 +0000 (18:27 -0400)]
Show account information in nick tooltips
Add row for account in tooltip based on IrcUser->account(). If not
supported, it's ignored. Otherwise, will either show the account
name if logged in, or "Not logged in" if known to be logged out.
When account() information is available, hide the Whois account reply
as it's redundant, and might be out-of-date.
Shane Synan [Fri, 27 May 2016 03:57:54 +0000 (23:57 -0400)]
Add CapNegotiation Feature flag, fix CMakeLists
Add CapNegotiation Feature flag to Quassel's CoreFeatures list.
Technically, this isn't needed - newer clients can connect to older
cores just fine. However, it may be useful to know if the core
supports cap negotiation or account-tracking in the future, and
there's no way to retroactively add this flag once 0.13 is released.
Remove an unneccessary semicolon at the end of Q_DECLARE_FLAGS.
Add quassel.h to CMakeLists.txt, so automoc includes it and it shows
up in Qt Creator.
Shane Synan [Thu, 26 May 2016 23:04:53 +0000 (19:04 -0400)]
Hide AutoWho reply if channel/nick quits
If the given nick quits or channel is removed during an AutoWho, hide
the ERR_NOSUCHCHANNEL reply, since the WHO reply would've been hidden
too. Avoids showing the confusing "No such channel" error in the
status buffer.
Shane Synan [Tue, 31 May 2016 23:51:22 +0000 (19:51 -0400)]
Sync IrcUser account, add WHOX for account-notify
Add 'account' field to IrcUser, tracking logged-in account, e.g.
NickServ/SASL. In testing, this works fine with older/newer
cores/servers.
Implement support for WHOX as in IRCv3 specifications, determining
logged-in accounts on first join to channels. Mimics HexChat's
ordering of fields, reusing any testing they've done.
Display WHOX replies as [WhoX]. As fields are user-specified, more
processing would be difficult to manage. WHO replies are unchanged.
Unify WHO reply processing in a common function.
Preliminary test results on Ubuntu:
> New core, new client - works fine
> New core, old client - client prints warnings to console but works
(Complains of no matching slot for sync call. Old client doesn't
use the new information, though.)
> New client, old core - works fine, assumes unknown account state
> New core, Quasseldroid alpha - works fine, warnings in debug log
See http://faerion.sourceforge.net/doc/irc/whox.var
And https://github.com/hexchat/hexchat/blob/
c874a9525c9b66f1d5ddcf6c4107d046eba7e2c5/src/common/proto-irc.c#L750
Shane Synan [Fri, 20 May 2016 22:26:11 +0000 (18:26 -0400)]
Add support for chghost
Add support for chghost to be notified of user/hostmask changes. On
newer servers, this should fix all cases of outdated information
resulting from away-notify disabling WHO polling.
See http://ircv3.net/specs/extensions/chghost-3.2.html
Shane Synan [Fri, 27 May 2016 02:22:25 +0000 (22:22 -0400)]
Format SASL auth messages
Display SASL authentication messages with cleaner formatting.
Special-case RPL_LOGGEDIN and RPL_LOGGEDOUT to avoid showing the
nick/hostmask jumble.
Shane Synan [Tue, 7 Jun 2016 15:05:55 +0000 (11:05 -0400)]
Sync caps, use signal/slot, CAP NEW/DEL, polish
Expose IRCv3 capabilities in the synced Network object. In testing,
this works fine with older/newer cores/clients.
Migrate capability negotiation to Qt Slots/Signals (events), allowing
easier future scriptability and general reacting to IRCv3.
In the future, the client could detect if IrcCap::SASL is present and
in the settings UI recommend SASL over NickServ, it could warn if
IrcCap::SaslMech::EXTERNAL is not available, etc.
Handle CAP NEW and CAP DEL, to comply with cap-notify and IRCv3.2
requirements. Might make ZNC users happier, too.
Show available, requested, and successful capabilities during
capability negotiation.
Move IRCv3 list of capabilities and SASL handling to new header,
irccap.h This reduces clutter in network.h, and via new QString
constants typos are now compile-time errors. Update CMakeLists.txt
for automoc and Qt Creator to know of the new file.
Preliminary test results on Ubuntu:
> New core, new client - works fine
> New core, old client - client prints warnings to console but works
(Complains of no matching slot for sync call. Old client doesn't
need the new information, though, so it shouldn't cause issues.)
> New client, old core - works fine, simply assuming no IRCv3
(Quassel didn't support IRCv3 cap negotiation before now, so that's a
safe assumption to make)
> New core, Quasseldroid alpha - works fine, warnings in debug log
Shane Synan [Fri, 27 May 2016 04:39:43 +0000 (00:39 -0400)]
Add docs to IrcUser::updateNickFromMask
Shane Synan [Fri, 20 May 2016 06:42:37 +0000 (02:42 -0400)]
Exclude Qt Creator user settings from repository
Add 'CMakeLists.txt.user' to .gitignore to ignore Qt Creator's project
settings. If needed, it can easily be generated by opening
CMakeLists.txt with Qt Creator.
Shane Synan [Thu, 10 Mar 2016 03:47:27 +0000 (21:47 -0600)]
Show channel-specific modes in nick tooltips
Add a row labeled Modes for channel modes applied to a user. This
fixes channel modes not showing (more noticeable with multi-prefix).
Channel modes are found with the parent of the parent of the
IrcUserItem, in order of UserCategoryItem -> ChannelBufferItem.
Closes GH-186, finishes the fix in pull request GH-188
Shane Synan [Thu, 10 Mar 2016 03:55:18 +0000 (21:55 -0600)]
Clarify suserHost and WhoisServiceReply
If suserHost indicates help status, substitute in a translatable
message. Otherwise, behave as before.
If whoisServiceReply indicates nick registration status, substitute
in a translatable message. Otherwise, behave as before.
Remove "is a" or "is an" from Operator status, since it's implied by
the tooltip itself.
See https://www.alien.net.au/irc/irc2numerics.html
Shane Synan [Thu, 18 Feb 2016 01:44:18 +0000 (19:44 -0600)]
Update channel/nick/query tooltips to new-style
Modify channel, network, query and nick tooltips to use a clean,
consistent style with more padding, trading efficiency for
readability. This significantly helps for tooltips with lots of
information.
Unify HTML escaping, reducing some clutter of '#if QT_VERSION'.
Fix crashes and weird formatting by escaping HTML where reasonable,
such as nick ident information. In titles, spaces are replaced with
non-breaking spaces to avoid line-wrapping.
Expands upon
a2e0951abbe2d545836fb25fd6010aa085f17d82
Thanks to https://github.com/Scheirle for the first version!
Manuel Nickschas [Mon, 13 Jun 2016 20:24:40 +0000 (22:24 +0200)]
C++11ify QtMultimedia notification backend
Use smart pointers, override.
Hendrik Leppkes [Wed, 10 Feb 2016 09:21:09 +0000 (10:21 +0100)]
Implement QtMultimedia notification backend
Phonon is no longer officially supported since Qt5, while QtMultimedia
implements all the required functionality to provide audio notifications.
Closes GH-182.
Hannah von Reth [Thu, 9 Jun 2016 10:49:12 +0000 (12:49 +0200)]
Use Qt 5.6 and msvc2015 (#197)
This commit also adds a copy of the helper appvayor
helper script to the quassel sources.
As Qt 5.6 no longer supports QtWebkit we continue
to provide a mingw Qt 5.5 builds with Webkit.
For builds without Webkit we can probably further reduce the installer size
by removing dll which are no longer needed.
Manuel Nickschas [Wed, 8 Jun 2016 21:13:47 +0000 (23:13 +0200)]
Make minimum compiler requirements explicit
We know that the build fails if certain C++11 features are not
available, thus we should not even try to build with compilers
that we know are too old. Otherwise, users get confused due to
non-intuitive compile errors.
Daniel Albers [Tue, 7 Jun 2016 00:34:29 +0000 (02:34 +0200)]
Enable ccache on Travis
Daniel Albers [Mon, 6 Jun 2016 22:09:06 +0000 (00:09 +0200)]
Update travis build configuration to trusty
Also adds packages required to build all features marked as recommended
as well as translations.
Versions currently being installed:
gcc 4.8.4
clang 3.5.0
Qt 4.8.5
Qt 5.2.1
Manuel Nickschas [Mon, 6 Jun 2016 22:56:52 +0000 (00:56 +0200)]
INSTALL: Update toolchain requirements
Since we're using more C++11 features now, compiler version
requirements have been updated accordingly.
martin [Mon, 6 Jun 2016 22:37:22 +0000 (00:37 +0200)]
Fix the SSL check with Qt 5.6 and GCC 5 (#199)
romibi [Mon, 6 Jun 2016 22:05:49 +0000 (00:05 +0200)]
Replace build date with commit date (#159)
Alternative to and based on PR #127
https://github.com/quassel/quassel/pull/127
This makes it possible to create reproducible builds.