Tom Poole
4153d59e39
Formatting
1 year ago
Anthony Nicholls
cff722a4af
GUI Basics: Refactor juce_gui_basics file structure
- Created a new detail namespace
- Moved shared module implementation details into the detail namespace
- Split dependencies so source files only rely on details in the detail namespace
- Removed all code from the juce_gui_basics.cpp file
2 years ago
Tom Poole
2ec861d99e
Update licensing banners to JUCE 7
3 years ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
reuk
1ee106d730
PopupMenu: Avoid dismissing PopupMenus in bridged plugin editors
When bridging 32-bit/64-bit plugins on Windows, the plugin is hosted in
an auxilliary process, and the plugin's editor is embedded into an HWND
owned by a different process (the plugin host).
Previously, the `isForegroundProcess` check would fail for bridged
plugins, because the foreground window may belong to the DAW, rather
than to the auxilliary hosting process.
This patch adds an additional check, to find whether the same process
owns both the foreground window, and the window which embeds the
PopupMenu's target component. In this case, we avoid immediately
dismissing the PopupMenu.
3 years ago
ed
009d685179
Updated all license headers
4 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
5 years ago
ed
3b36c3e198
Fixed a potential crash in ApplicationCommandManager::findDefaultComponentTarget()
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
48a5fbd333
Another batch of ScopedPointer cleanups
7 years ago
jules
a586966c65
Added lambda callback methods to ListenerList. Its old method-invocation callbacks were refactored to use variadic templates instead of the old awful macros they used in the past, but please move your code to use the new lambda functions, as the one stuff will eventually be deprecated!
7 years ago
jules
2dc9316420
Misc ScopedPointer changes to start using reset() and get() rather than assignments and casts (part of an ongoing drift towards more std::unique_ptr compatibility)
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
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
jules
8ed41ed14b
Fixed some whitespace style and cleaned up some code using C++11
8 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago
jules
76c6d324ac
Made ApplicationCommandManager::registerCommand update the command info.
10 years ago
jules
2edec00b55
Removed a few more uses of String::empty.
11 years ago
jules
b093f47a8c
Misc minor cleanups and comment fixes.
11 years ago
jules
03c2801f3f
Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3
12 years ago
jules
3a5b51ef0d
Minor cleaning up.
12 years ago
jules
7a3453f48b
Minor clean-ups.
12 years ago
jules
d0fa359f72
Bit of tidying-up in KeyPressMappingSet and related classes.
12 years ago
jules
3831af62ef
Updated CodeEditorComponent to act as an ApplicationCommandTarget
12 years ago
jules
0e1b6061d5
Minor clean-ups for GL, removed some old VC6 hacks.
13 years ago
jules
56bbab1537
(automated whitespace clean-up)
13 years ago
jules
295d125142
Stopped using the old BEGIN_JUCE_NAMESPACE macros, and just used hard-coded namespaces where necessary instead. The macro definitions are still there, so this shouldn't affect anyone's code.
13 years ago
Julian Storer
b70e0a28d2
First check-in of the "jucequake": a major re-organisation of the library to break it up into modules. For more details about this, see the website forum..
13 years ago
Julian Storer
0853a9b686
Removed const-ness from some return types to take advantage of future c++0x advantages.
14 years ago
Julian Storer
67e22bbb56
Added selection to treeview persistent state. Minor optimisations to AudioThumbnail. Added FTP password support for win32 networking. Cleaned up some file dependencies and altered some return value types to allow better c++0x forwarding behaviour.
14 years ago
Julian Storer
f4c4f310e1
Refactored the DragAndDropTarget callback methods, to replace the parameters with a structure. This also affects the TreeViewItem drag-and-drop callback methods.
14 years ago
Julian Storer
b047d9be53
More 'nullptr' updates and minor clean-ups.
14 years ago
Julian Storer
f04309f44a
Added fake placeholder versions of the new c++0x 'noexcept' and 'nullptr' keywords, and altered the library classes to use these instead of 'throw()' and '0'. This shouldn't make any difference at all to existing code, but will enable better static checking with future c++0x compilers.
14 years ago
Julian Storer
5d98779f19
Updated the date in the copyright notice.
14 years ago
Julian Storer
a25d9206d1
Refactored some Drawable classes and added DrawableRectangle. Fixed a problem with ApplicationCommandManager.
14 years ago
Julian Storer
cac473bb1e
Minor code clean-ups.
14 years ago
Julian Storer
27506c2120
Copyright notice update.
15 years ago
Julian Storer
2676bb02f2
Added ListenerList class and changed some components to use it for their listener dispatching. Sorted out bug in popup menus and win32 mouse wheel.
15 years ago
Julian Storer
5fecb8a353
Created a new class Component::SafePointer that keeps a pointer to a component and automatically nulls it if the component is deleted - this makes it a much more elegant replacement for the old ComponentDeletionWatcher class. Removed Component::getComponentUnderMouse(), which doesn't fit with multi-touch interfaces - for similar functionality, use the Desktop::getMouseInputSource() methods to find out what MouseInputSources are available, and ask them about the component they are over or dragging.
15 years ago
Julian Storer
97035bb3a1
Removed the (rather pointless) granularity value from the array objects. Converted a few macros into functions and other misc code clean-ups.
15 years ago
Julian Storer
c22c06c80c
New class: ScopedPointer, which auto-releases a pointer when it goes out of scope. I've used this extensively to replace a lot of pointer deletions with more RAII-style patterns.
15 years ago
jules
4d16424d9c
Rearranged the layout of the source tree, giving it a slightly flatter directory structure. Also fixed a small bug with DragAndDropComponents that was stopping the toolbar customisation working properly.
15 years ago
jules
eb32240e95
Updated the text of the copyright/license blurb at the top of each source file.
15 years ago
jules
245e2116c3
16 years ago
jules
21b75b3470
17 years ago
jules
c760e69648
17 years ago
jules
15dfdff5f8
(automatic tidy-up of whitespace)
18 years ago
jules
94cfda5062
18 years ago