Hammy
32c5950a7c
Add more tests
3 years ago
Hammy
5b985bc6f8
Add dependency for parameterised junit tests
3 years ago
Hammy
7619516aeb
Optimise imports
3 years ago
Hammy
3da56bbd45
Add extra constructor
3 years ago
Hammy
bf3a473d89
Remove the need for Clipboard as param
3 years ago
Hammy
e537f092ef
Use log.error() instead of log.info()
3 years ago
Hammy
75789c253a
Change log message
3 years ago
Hammy
53cb8a78a9
Add more tests for ClipboardUtilsTest
3 years ago
Hammy
f8f0f63302
Implement custom matcher for comparing BufferedImages
3 years ago
Hammy
188894f9d9
Make ClipboardUtils.java not static
3 years ago
Hammy
48a53c7f31
Make instance variables to private
3 years ago
Hammy
5ae782eb78
Upgrade SLF4J to 2.0.0
3 years ago
Hammy
0ccfc56e98
Restructure classes to ensure classes are not unnecessarily public
3 years ago
Hammy
fd7c39c6c4
Add codecov badge
3 years ago
Hammy
5864209947
Add simple tests for ClipboardUtils.java
3 years ago
Hammy
8f5cfd2493
Ensure that clipboard changes are tracked properly & don't fire events on same clipboard content
3 years ago
Hammy
92f0d820a1
Add SLF4J
3 years ago
Hammy
d8f8c8ee54
Remove Dimension variable & add equals()/hashcode()
3 years ago
Hammy
4c84c77197
Use custom OldImage instead of BufferedImage
3 years ago
Hammy
792eda1c53
Add more Javadocs
3 years ago
Hammy
3a552cacf2
Add Custom POJO with altered equals method to ensure changes in images are recognised
3 years ago
Hammy
7db4422e64
Ensure MacClipboardListener differentiates between images properly
3 years ago
Hammy
82d23458be
Add functionality for inserting content into clipboard & add functionality to start/stop listening
3 years ago
Hammy
58d98b7ae6
Convert image to RGB instead of ARGB
3 years ago
Hammy
791377538b
Rename fileListMonitored to filesMonitored
3 years ago
Hammy
79763cd19a
Remove empty try/catch
3 years ago
Hammy
caec66e5fa
Simplify code
3 years ago
Hammy
c135c56c2a
Add Installation section
3 years ago
Hammy
15de512cdf
Stub out overridden methods
3 years ago
Hammy
e45b4b9959
Add ability to stop/start listening to clipboard changes & add support for inserting contents into the clipboard
3 years ago
Hammy
a59dafd8fa
Move utility methods to ClipboardUtils.java
3 years ago
Hammy
ecb63e41a2
Move utility methods to ClipboardUtils.java & Add functionality to insert contents into the clipboard
3 years ago
Hammy
07a33f71b4
Add new exception to be thrown when clipboard isn't available
3 years ago
Hammy
7e0ef573e7
Ensure that exceptions are caught and clipboard listener is started again
3 years ago
sgoudham
05dd51546f
Ensure that files are not notified as text to end users
3 years ago
Hammy
8b467ab3d9
Correctly check images against their dimensions for image polling
3 years ago
Hammy
ed97a46735
Ensure that files are checked when polling
3 years ago
Hammy
42416a694f
Step away from subscribe() & unsubscribe()
3 years ago
Hammy
5112d090cd
Implement not null checks for extra safety
3 years ago
Hammy
8fdc3e61c3
Add util method for retrieving OldClipboardContent when object is passed in
3 years ago
Hammy
0e76d29495
Ensure that transfer data can be retrieved
3 years ago
sgoudham
6beeaafad9
Exit method when bufferedimage is null
3 years ago
sgoudham
57b4b96877
Check clipboard contents for safety.
...
Problems can occur within these helper functions as the polling is extremely quick, causing for an edge case where the user copies content before the clipboard has time to process the contents
3 years ago
Hammy
a4665bf9a8
Notify consumers about file changes
3 years ago
Hammy
f4f371be69
Save old file content
3 years ago
Hammy
5af7481679
Implement transferable for list of files
3 years ago
Hammy
992e396504
Update javadoc & add notifyFilesEvent
3 years ago
Hammy
ee4e63166b
Refactor STRING -> TEXT for increased readability
3 years ago
Hammy
96dac0ad5f
Add support for file events
3 years ago
Hammy
cdc08f4d6d
Refactor code
3 years ago