aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2022-02-19Polish up the evidence system so it's a single-click editingAlex Noir
Fix evidence editing regressions caused by #587 Fix issues with "ok" button detecting itself as "changes from the server" Fix "ok" button remaining after you press it once, allowing you to spam evidence update packets by spamclicking it
2022-02-15Add server description to favourites, if supported by server. (#648)Salanto
* Allow servers to directly set the server description * Hijack PN packet to add description. * Update lobby.cpp Apply suggested change
2022-01-08Fix build failure in GitLab CI (#630)oldmud0
error: use of deleted function 'std::atomic<bool>::atomic(const std::atomic<bool>&)'
2022-01-08Fix more race conditions in AOLayer loadingoldmud0
- Uninitialized exit_loop variable - Previous load task should stop completely before starting new load task
2022-01-07Merge pull request #619 from AttorneyOnline/feature/http-msoldmud0
Switch to HTTP-based server list
2022-01-05Fix MSVC builds freezing due to AOLayer concurrency issueoldmud0
Variables accessed across threads should be atomic. Also gave AOLayer its own thread pool and switched some lock calls to use QMutexLocker semantics.
2021-12-30Remove AO1 MS codeoldmud0
You won't be missed :')
2021-12-30Remove lobby chatoldmud0
Goodbye, lobby chat :(
2021-12-30Prevent old/bad "backup MS" values from preventing connectionoldmud0
2021-12-30Merge branch 'master' into feature/http-msoldmud0
# Conflicts: # src/networkmanager.cpp
2021-12-25Merge pull request #623 from AttorneyOnline/feature/debug-logoldmud0
Remove MS chat and add debug log
2021-12-25Change master chat in courtroom to debug logoldmud0
Since the MS chat has been disabled for quite some time now (and we aren't planning on bringing it back since Discord, Guilded etc. have better chat features), I decided to go ahead and change the pane into a debug log to keep it useful and avoid creating a gaping hole in themes. Though, maybe it is worth removing the whole switcher and keeping the debug log hidden away where it can't scare people.
2021-12-24Fix animation freeze when loading music files (#609)Salanto
* Implement async music loading * Simplify music filename parsing and fix "missing" on streams Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
2021-12-24Merge pull request #622 from AttorneyOnline/fix/emote-button-genoldmud0
Fix emote buttons not generating due to bad VPath lookup
2021-12-23Fix emote buttons not generating due to bad VPath lookupoldmud0
2021-12-23Split logging option into text and demooldmud0
Apparently, people don't like logging demos because it takes up too much space. It's possible to enable NTFS compression for demo files (or the entire demos folder), though.
2021-12-18Merge branch 'master' into feature/http-msoldmud0
2021-12-18Qt 5.9 compat; remove dead codeoldmud0
2021-12-18Finish out featureoldmud0
- Add periodic timer for heartbeat - Add option to settings for opting out from heartbeat/player metrics - Change base URL to permanent URL
2021-09-22Allow user to configure log timestamp format (#590)Rosemary Witchaven
* user configurable timestamp format * fix label making the entire settings window move jankily * add a dropdown for sane timestamp formats * streamline adding options to log timestamp format
2021-08-30Use event filters instead of subclassing QLineEdit and QPlainTextEdit (#587)Rosemary Witchaven
* replace aolineedit and aotextedit with event filters * use a button to make evidence editable instead of double click
2021-08-13asynchronously load animations for bigly performant gainzin1tiate
2021-08-11wait for thread to finish before starting new onein1tiate
2021-08-11more accurate commentin1tiate
2021-08-11preload next frame before ticking overin1tiate
2021-07-29swap out custom UNUSED macro for Q_UNUSEDin1tiate
2021-06-13Use new HTTP-based master server clientoldmud0
2021-06-09Merge pull request #554 from AttorneyOnline/feature/mountingoldmud0
Add support for mounting multiple base folders
2021-06-09stupidly simple fixin1tiate
2021-06-08Clear case sensitive cache as well on vpath cache flusholdmud0
2021-06-06Merge branch 'master' into feature/mountingoldmud0
2021-06-06remember past search term when switching between area and music listin1tiate
2021-06-06Don't store key in asset lookup cacheoldmud0
2021-06-05Use intuitive behavior for loading assets with ambiguous extensionsoldmud0
2021-06-05Finish mounting featureoldmud0
To pull this one off, a new class called VPath was created that denotes "virtual" paths that can exist anywhere among the list of mount points. It is functionally identical to QString, except that implicit conversion between QString and VPath is not allowed. This makes it easy to spot errors in path resolution at compile time, since get_real_path must be called to resolve a VPath into an absolute path that can be passed into a Qt function as a QString. Other functions, such as the get_*_suffix functions, also return an absolute path QString for convenience. As for the rest of the functions that return a VPath, you will need to call get_real_path yourself. Finally, a path resolution cache was added to try to avoid blowing up what is already a massive lookup cost for assets. The cache is invalidated when the mount path list is changed. Currently, this cache isn't bounded. Might need to write an LRU cache if issues arise.
2021-05-29Partial: Add mount list to options dialogoldmud0
2021-05-05Add musclist streaming supportSalanto
Attempt Nr. 2 - Based on #548 and #501 + Allows client to use a remote source as a last resort if the file can't be found locally. + Adds a check if the target file is missing. This implementation assumed the streaming source to be structured like a webao content respository
2021-05-04Add Asset PacketSalanto
This packet is used to send the client the URL of an online content repository, if available.
2021-04-29Merge pull request #526 from AttorneyOnline/crystalwarrior/demo-reloadoldmud0
Add a /reload command that quickly reloads the current demo
2021-04-29Merge pull request #545 from MangosArentLiterature/default-shownamesoldmud0
Add default shownames
2021-04-29Merge pull request #542 from AttorneyOnline/fix/aolayer-crapoldmud0
Fix AOLayer-related regressions, deprecate BS no one uses and return sane behavior
2021-04-28Add default shownamesMangosArentLiterature
Adds a new setting to config.ini to set a default showname. This works similarly to default username, but for IC shownames, setting the client's showname automatically. Like default username, this has a 30 character limit. * Adds a new option to config.ini, default_showname. * Adds this setting to the options dialog. * Adds get_default_showname() for retrieving this showname. * Sets the showname box to this value upon joining a server.
2021-04-24Deprecate tick_ms and use actual milliseconds rather than arbitrary 60ms ↵Crystalwarrior
ticks for char.ini [Time] Fix an extremely weird case where CharLayer::Play() was not called even on the CharLayer class (I don't understand why inheritance was straight up just ignored) Fix using preanims with static images just breaking everything Deprecate weird insanity [Time] with the % sign BS (What was this for again? Literally no one used this nor was aware of it) Fix text_stay_time timer firing even if we're immediate Just in case, stop the text delay timer when start_chat_ticking is called
2021-04-23Add setting for default scaling methodoldmud0
2021-04-23Move other duplicate reset calls to their own methodoldmud0
2021-04-23Merge branch 'master' into crystalwarrior/demo-reloadCrystalwarrior
2021-04-23Automatically fix desynced demo files with issues pre-#496 PR (#532)Crystalwarrior
* Implement a demo auto-fixing solution. If the client detects a pre-2.9.1 demo file, it will prompt the user if they wish to correct it, since otherwise the demo will be desynched from reality. The aforementioned issue was fixed in https://github.com/AttorneyOnline/AO2-Client/pull/496 however 2.9.0 still has incorrect demo recording. Fix potential memory leak by not flushing and closing the demo file after opening it for reading. * backup broken demo file before fixing it * comments ahoy Co-authored-by: in1tiate <radwoodward@vikings.grayson.edu>
2021-04-22move timer reset to its own methodin1tiate
2021-04-21Fix log_chatmessage referring to the global m_chatmessage instead of the ↵Crystalwarrior
local variables that should be sent to it at the point of the func being called. (#530)
2021-04-20Merge pull request #504 from AttorneyOnline/fix/css-lagoldmud0
Fix character select screen lag/performance overhead