ed
1ea463f989
Linux: Fixed some crashes when getting X properties in LinuxComponentPeer
6 years ago
Tom Poole
a4bd6cbc66
Fixed some more Linux compiler warnings
6 years ago
Tom Poole
16dd26649a
Fixed some GCC compiler warnings and removed deprecated functions
6 years ago
ed
32d11dd756
Linux: Added a check for non-existent Atom in findDisplays()
6 years ago
ed
d3ec87c4a9
Linux: Fixed a scaling issue with external drag and drop
6 years ago
jules
f58eacc135
Added more unique_ptr use, for functions that create LowLevelGraphicsContext or ImageType objects.
6 years ago
ed
1c033e410b
Linux: Added a check for _NET_WORKAREA property when iterating over the displays using xrandr
6 years ago
ed
46a97e1f2c
Linux: Recreate mouse cursors when showing them on a different display to the one that they were originally created on
6 years ago
ed
12b0a90c55
Linux: Fixed drag and drop when dragging in the same window that started the operation
6 years ago
ed
a45f05c1db
Linux: Take global scale factor into account when setting peer scale factor
6 years ago
ed
eedca6109c
Add a fallback in Displays::findDisplays() on Linux to make sure that there is always a main display
6 years ago
jules
5979288706
Added some macros for asserting when functions are called in an unsafe manner outside the message thread.
6 years ago
jules
df5be847c3
Removed a redundant method and did some minor tidying
6 years ago
Tom Poole
27349eaed1
Linux: Fixed some compilation errors when using XRender
6 years ago
Tom Poole
40bf320a46
Linux: Fixed an issue detecting alt as a modifier key
6 years ago
ed
b1b538a9b8
Migrate Linux windowing code to use new Displays class and ComponentPeer::ScaleFactorListener
6 years ago
ed
b78e63aa02
Moved Displays class out of Desktop and into its own .h/.cpp and deprecated Displays::getDisplayContaining()
6 years ago
ed
4280b51d09
Made the DragAndDropContainer::performExternalDragDropOfFiles() and ::performExternalDragDropOfText() methods asynchronous on Windows so that behaviour is consistent across all platforms and updated the documentation to reflect this
6 years ago
jules
271f519234
Tidied up some broken use of std::unique_ptr for holding linux handles
7 years ago
ed
481221a256
Cleaned up the ModifierKeys class and removed the peer-specific implementations of ModifierKeys::getCurrentModifiersRealtime() and ModifierKeys::updateCurrentModifiers()
7 years ago
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
7 years ago
Tom Poole
4229dc0a4f
Made a lot of ScopedPointer usage conform to the std::unique_ptr interface
7 years ago
jules
f85d706131
Some minor formatting and comment fixes
7 years ago
jules
d4a7afa73f
Replaced some old juce-style sort operations with std::sort and lambdas
7 years ago
jules
eece581e73
Added an assertion if you try to create a MouseCursor with a hotspot that's outside the image bounds
7 years ago
jules
369d59f656
Added a template to allow the HeapBlock class to be given signed ints or other types that are not size_t for its size parameters
7 years ago
jules
eda613c6db
Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools
7 years ago
hogliux
768163f75c
Added support for more F-keys
7 years ago
hogliux
1a9df22eee
Linux: Fixed an issue where windows beneath hidden windows would not receive any clicks
7 years ago
hogliux
cb8f9b389c
Linux: Fixed an issue where windows beneath hidden windows would not receive any clicks
7 years ago
hogliux
b2576d288a
Added a sourceComponent parameter to the performExternalDragDropOfFiles/performExternalDragDropOfText methods of DragAndDropContainer
7 years ago
tpoole
73d4e73a3d
UnitTestRunner: Fixed some build warnings on Linux
7 years ago
jules
46a9da28d6
(Fixed typo)
8 years ago
jules
0094d199ed
Linux: avoided an out-of-bounds access when using mice with large numbers of buttons
8 years ago
jules
2c3c9e5d18
A bit more minor cleaning up
8 years ago
jules
f766718b16
Fixed a typo
8 years ago
jules
de855f0b35
Cleanups to some X windowing classes
8 years ago
hogliux
d704ac9818
Linux: Fixed dlopens to use versioned library names
8 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
hogliux
87a467c61b
Reverted commit #ec0f3fc: Bug fix broke combo-box input
8 years ago
jules
38d49a5ee7
Modernised a few RectangleList iterators
8 years ago
hogliux
b198fa4c2c
Fixed a bug on linux where the mouse pointer would jump around while dragging sliders
8 years ago
hogliux
c69d24fa7a
Added support for embedding native X11 widgets (such as gtk_plug or QX11EmbedWidget) on linux
8 years ago
ed
b7b8d5be57
Multiple fixes for touch and pen input on Windows
8 years ago
hogliux
51d5572220
Added showYesNoBox to NativeMessageBox class
8 years ago
Felipe F. Tonello
c2100022cc
Added several linux improvements to the event loop, MIDI and X11 (see commit messsage)
MIDI: Several ALSA Seq improvements
===================================
Many things were done in this patch (I couldn't really split in several
patches):
* Only one ALSA Sequencer client per application
* ALSA Sequencer client name is the application's name by default
* Fixed a bug when getDeivces() would return devices created by the
application itself
* Only ports created with createNewDevice() are allowed to be subscribed,
other ports (created by openDevice()) doesn't allow subscription
* AlsaPort is now handled by AlsaClient, basically having the proper
representation such as the ALSA Sequencer has.
Files: Fix default directory paths
==================================
Some information on:
* Linux LSB FHS:
http://www.linuxfoundation.org/collaborate/workgroups/lsb/fhs-30
* https://wiki.archlinux.org/index.php/Xdg_user_directories
Refactor Event loop to remove X11 dependency
============================================
The goal of this refactor was to remove X11 dependencies on juce_events
to enable non-gui applications (example, Embedded Linux apps) to have no
libx11 dependency.
The side-effect of this refactor is easy implementation of other Linux
graphical back-end, cleanup some code, better handling of X displays and
other benefits.
I removed a lot of the code from juce_linux_Windowing to separate files
for clarity. I also renamed all Linux X11 files to *linux_X11* instead of
just *linux*.
X11: Remove unnecessary XGrabButton call
========================================
This call is made unnecessary if used proper window flags when a window
is created.
8 years ago
hogliux
a6d3d19832
Fixed a few minor bugs in X11 windowing code
8 years ago
jules
9fa0d49be7
Added an option JUCE_ALLOW_STATIC_NULL_VARIABLES that can be used to turn off dangerous statics like String::empty, var::null, etc.
8 years ago
jules
31f935cc60
Added a new Graphics::drawImage method that takes a Rectangle<float>
9 years ago
jules
021209e216
Changed ImagePixelData::clone to return a smart pointer rather than a raw one, to avoid a reference-count leak
9 years ago