This commit changes how component bounds (position + dimension) are stored. Before this commit, this
occurred only when every component was closing. When closing Spark abruptly, these event listeners did not always trigger.
With this commit, the bounds of components are updated whenever they change. The bounds are saved just once, when the main screen quits.
* Fix for improvement: SPARK-1872.
Added new image cropping library.
Implemented resizing of large images.
* Improvements for resizing avatar image - SPARK-1904
This commit revisits an earlier fix for SPARK-1812. Instead of skipping fixed number of XML nodes,
the parser should skip until at the start of the vCard element that's identified by name/namepace.
Also, file references should be closed, even in case of an error (the try-with-resources construct
will make sure this happens).
Finally, when a file cannot be parsed, that file should be deleted.
This commit started off as a fix for SPARK-1757, but ended up being somewhat of a rewrite of the
code that displays chat messages in the UI (the 'chat transcript window').
The original problem defines that chat messages are sometimes displayed out of order. The direct cause
of this is unknown (I suspect threading/timing issues). To work around the issue, this commit now
adds the capability to recompose the entire transcript window from memory.
A drawback of this is that a(nother) copy of the chat is now kept in memory (the 'entries' list that
is now added to TranscriptWindow). This might make Spark use more memory.
I've opted for a rewrite, as in the course of applying fixes to the existing code, I repreatedly got
lost in the jungle of reuse of styling, particularly. This commit adds new classes for all types of
entries in the Transcript Window (typically, a chat message), and makes each class responsible for
creating a UI representation of that type of entry. This removed quite a bit of boiler plate code.
As each entry now contains the original message, it's make-up as well as timestamp, the transcript
window is easily redrawn when messages start to arrive out of order. That bit is now implemented as
a responsibility of the TranscriptWindow class.
Various smaller changes were made:
- ctrl-space nickname completion in a MUC now no longer considers users on your roster (but not in the MUC)
- ctrl-space nickname completion now works for users that have no VCard (uses node-part of the JID instead)
- message color is now configurable (but still defaults to black).
* Dialog moved to top-right (in way that it doesn't cover top menu bar).
Fixed formatting.
SPARK-939_Stretch_and_move_Find_dialog - moved to NORTHEAST
* Spark 939 stretch and move find dialog (#5)
Requested improvements.
* Dialog moved to top-right (in way that it doesn't cover top menu bar).
Fixed formatting.
SPARK-939_Stretch_and_move_Find_dialog - moved to NORTHEAST
* Spark 939 stretch and move find dialog (#5)
Requested improvements.