1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-19 01:04:20 +00:00
Commit graph

1408 commits

Author SHA1 Message Date
jules
44cd80969d A few C++11 modernisations and comment corrections 2017-03-28 12:31:51 +01:00
jules
e253b8bea1 Added some notes and an assertion to Component::grabKeyboardFocus(), to help people avoid a common mistake, which is trying to grab the focus of not-yet-visible components. 2017-03-28 10:44:52 +01:00
jules
fc844d949c Refactored the way OSX main menu updating happens, to avoid some issues when refreshing the whole menu bar 2017-03-27 15:38:02 +01:00
jules
8ed41ed14b Fixed some whitespace style and cleaned up some code using C++11 2017-03-27 13:06:42 +01:00
tpoole
405a6aeaed Fixed a MinGW tablet mode detection compiler error 2017-03-27 12:56:17 +01:00
ed
91eb19e6f5 Added a call to sendLookAndFeelChange() before making new tab content component visible in TabbedComponent::changeCallback 2017-03-24 08:56:21 +00:00
ed
ee6411ea13 Fixed a typo in MenuBarModel 2017-03-23 14:59:53 +00:00
jules
c236e75cf5 Adde some missing JUCE_API annotations 2017-03-21 16:07:46 +00:00
ed
479390c689 Try to use TreeView background colour when painting open/close button in TreeViewItem::paintRecursively() instead of always using white 2017-03-20 16:40:21 +00:00
ed
f855806602 Added 'JUCE_USE_WINDOWS_POINTER_API' flag to juce_gui_basics.h to enable/disable the advanced Windows pointer API (only available on Windows 8 and above). 2017-03-17 11:49:04 +00:00
ed
8ca0bc6791 Fixed call to ComponentPeer::handleMouseEvent() in FakeMouseMoveGenerator. Added isPen() and isMouse() methods to MouseInputSource. 2017-03-16 08:53:46 +00:00
ed
b7b8d5be57 Multiple fixes for touch and pen input on Windows 2017-03-15 17:16:04 +00:00
jules
d6bf2e8cf9 Added line spacing to TextEditor and methods to set/get the current line spacing 2017-03-10 17:07:34 +00:00
ed
beab10fca7 Added a check in ImagePreviewComponent to avoid reading directories 2017-03-10 14:39:17 +00:00
hogliux
85900377b9 Fixed a typo in the documentation of the NativeMessageBox::showYesNoBox method 2017-03-07 09:40:31 +00:00
hogliux
51d5572220 Added showYesNoBox to NativeMessageBox class 2017-03-06 12:39:09 +00:00
ed
0fa188ab5b Reverted #6d356423 as it broke centring for child components 2017-03-06 11:45:15 +00:00
hogliux
fa6929cb3c Added a workaround to not call Android's bringToFront method for every touch 2017-03-05 09:47:39 +00:00
ed
6d356423e2 Fix for transformed Components not being centred correctly 2017-03-03 13:01:24 +00:00
ed
182b0e4cb0 Added isProgressBarOpaque() method to ProgressBar::LookAndFeelMethods 2017-03-03 12:37:45 +00:00
jules
2bea97e24e Small extra deletion safeguard in ComponentAnimator 2017-02-28 12:33:56 +00:00
jules
c8f9fdc023 Added some safety checks to ComponentAnimator to avoid problems when cancelling animations during resize callbacks 2017-02-27 17:02:08 +00:00
hogliux
2bec815bb3 Added an option to execute JUCEApplication's suspend() method on an iOS background task to give you extra time to save your app's state 2017-02-27 12:24:13 +00:00
tpoole
059ce35559 Fixed a bug in an Objective-C drag and drop helper class 2017-02-23 18:10:28 +00:00
hogliux
3bb8dbe3ac Fixed a bug where ComboBoxes with no itmes wouldn't show the "no choices" entry 2017-02-23 10:01:21 +00:00
ed
05c6901403 Fixed typo in DrawableButton 2017-02-23 09:49:40 +00:00
ed
08707ec85c Fixed bug in ThreeValueVertical Slider where initial mouse down/drag wouldn't get correct thumb index 2017-02-21 14:03:50 +00:00
tpoole
78bbe49616 Added some missing license banners 2017-02-17 15:56:18 +00:00
tpoole
e33abbc6fe Replaced Projucer-generated header guards with #pragma once and updated the examples 2017-02-17 15:34:10 +00:00
tpoole
1e2f6fec5c Restored module header #defines 2017-02-17 10:26:09 +00:00
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.
2017-02-13 17:14:34 +00:00
ed
6f9d07abdb Fixed a bug where modal components in a Viewport with setScrollOnDrag enabled hit jassert (numTouches >= 0) when dismissed 2017-02-13 16:02:08 +00:00
ed
5b811922fd Fixed bug in AnimatedPosition where range minimum was set to std::numeric_limits<double>min() instead of -std::numeric_limits<double>max() 2017-02-13 14:30:27 +00:00
ed
01aedca76d Fixed bug where inertial mouse wheel events had screen position (0, 0) 2017-02-13 12:12:38 +00:00
hogliux
6559b3e185 Fixed multiple harmless warnings in Android builds 2017-02-08 18:07:37 +00:00
ed
fbda56f168 Fixed bug where ListBox mouse listener wasn't being removed when ListBoxMouseMoveSelector was destroyed 2017-02-07 10:45:29 +00:00
tpoole
0ab5244623 Fixed multiple file drag and drop on OS X 2017-02-06 17:02:16 +00:00
tpoole
4eadfad7dc Fixed a leak of OnScreenKeyboard 2017-02-06 15:45:26 +00:00
hogliux
67600e98fd Added missing overrides to android windowing code 2017-02-02 10:20:55 +00:00
hogliux
2da1bc5f41 Replace include guards with "#pragma once" 2017-02-01 17:18:07 +00:00
hogliux
9f3fb1c0a6 Added a compiler error if your compiler is too old and removed numerous code checks for old compilers which are now deprecated 2017-02-01 17:18:06 +00:00
hogliux
ec0485388d Reworked and modernised Android exporter and removed old deprecated Android ant exporter 2017-02-01 17:18:06 +00:00
hogliux
b0a10d01bf Added code to only show the onscreen keyboard if Windows is in tablet mode 2017-02-01 10:53:52 +00:00
tpoole
e8c9294544 Set all file modes to 644 2017-02-01 08:56:54 +00:00
ed
c6075dec27 Added methods to ShapeButton to allow a different set of normal/over/down colours to be used when the button's toggle state is 'on' 2017-01-31 17:04:45 +00:00
jules
e040353898 Cleaned up a few old bits of VC2005 support code 2017-01-30 07:50:56 +00:00
hogliux
e0aff606a8 Bump version number to 4.3.1 2017-01-26 10:40:42 +00:00
jules
c754f6ca63 Fixed the SVG parser for an edge-case path string sequence, and added a few other cleanups to the parser 2017-01-25 12:25:43 +00:00
hogliux
859567ff0c Fixed a compiler warning on iOS 2017-01-24 17:14:04 +00:00
ed
d0b6d6c025 Check all mouse sources when exiting modal loop 2017-01-20 16:16:43 +00:00