1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
Commit graph

212 commits

Author SHA1 Message Date
jules
faa847f443 Added a method OptionalScopedPointer::reset() 2017-12-13 11:05:22 +00:00
jules
58a99ff139 Dragged the singleton macros into the 21st century.. Cleaned up their implementation and gave them new upper-case names to match juce official style. The old names are still defined to avoid breaking old code, but please update before they get deprecated! 2017-12-12 16:24:40 +00:00
Tom Poole
8cecf0baf9 Assorted threading and undefined behaviour fixes 2017-12-11 16:37:17 +00:00
Lukasz Kozakiewicz
36da4cde05 Add native content sharing support for iOS and Android 2017-12-11 16:08:01 +00:00
Lukasz Kozakiewicz
7297f62182 FileChooser: actually do store URL security bookmark in a smart pointer (as it was originally on an internal branch). Also update the docs to clearly indicate that a user has to use URL returned from FileChooser. 2017-11-29 22:15:48 +01:00
jules
6a49d6efdc Minor tidying up 2017-11-29 17:33:00 +00:00
Lukasz Kozakiewicz
af254262f6 FileChooser: fix spelling! 2017-11-29 17:11:51 +01:00
Lukasz Kozakiewicz
5358756d58 FileChooser: misc fixes and improvements to iOS and Android file choosers. 2017-11-29 16:46:38 +01:00
jules
f85d706131 Some minor formatting and comment fixes 2017-11-28 17:46:15 +00:00
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! 2017-11-28 16:18:40 +00:00
hogliux
9e74c7ce6b Clean-up the temporary file if the file chooser was canceled or failed 2017-11-24 18:36:32 +00:00
hogliux
df8fc9b910 FileChoosers: Added a file-chooser save mode where the caller already supplies a temporary file which should be saved. JUCE will automatically move the temporary file to the location selected by the user 2017-11-22 14:03:42 +00:00
ed
98f8ee9e04 Added some colourIds to FileBrowserComponent to control current path ComboBox and filename TextEditor colours 2017-11-21 15:06:10 +00:00
ed
f24e59e6ff Added DirectoryContentsDisplayComponent::ColourIds::highlightedTextColourId and removed a line in LookAndFeel_V4::drawFileBrowserRow() that could result in multiple unnecessary repaints 2017-11-20 16:47:38 +00:00
hogliux
7e23bf28ae Added iOS/Android native file chooser support and support for asynchronous invocation of file choosers 2017-11-20 10:56:08 +00:00
jules
d4a7afa73f Replaced some old juce-style sort operations with std::sort and lambdas 2017-11-03 16:35:11 +00:00
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) 2017-11-01 17:41:06 +00:00
jules
2ee168ad46 Deprecated File::separator and File::separatorString, replacing them by static getter functions, so that File methods can be safely used in static constructors without order-of-initialisation problems 2017-10-10 11:33:55 +01:00
jules
a4f5663fce Added an option for Viewport subclasses to create custom scrollbars. Also modified Viewport::getVerticalScrollBar() and ListBox::getVerticalScrollBar() to return references instead of pointers 2017-09-25 11:22:03 +01:00
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 2017-09-08 08:59:55 +01:00
jules
357dd2c9c9 Removed some old compiler bug workarounds 2017-08-14 12:59:18 +01:00
tpoole
98cb1011bb JUCE Demo: Increased the compiler warning level 2017-07-18 13:09:03 +01:00
jules
bebe32357f Added a file parameter to the LookAndFeel::drawFileBrowserRow methods 2017-06-21 09:43:42 +01:00
jules
ee8c2303c6 Build fixes for FileListComponent and FileTreeComponent 2017-06-06 10:27:48 +01:00
jules
b6478be22c Added a public member DirectoryContentsDisplayComponent::directoryContentsList 2017-06-06 10:21:44 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
jules
44cd80969d A few C++11 modernisations and comment corrections 2017-03-28 12:31:51 +01:00
ed
beab10fca7 Added a check in ImagePreviewComponent to avoid reading directories 2017-03-10 14:39:17 +00:00
hogliux
2da1bc5f41 Replace include guards with "#pragma once" 2017-02-01 17:18:07 +00:00
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. 2016-09-16 12:03:02 +01:00
hogliux
65e1b6008c Add missing overrides in FileTreeComponent 2016-07-22 09:22:35 +01:00
jules
b6d78f882c Avoided an analyser warning on iOS 2016-07-05 11:16:56 +01:00
jules
fb864a5cb1 Corrected some spelling mistakes in comments 2016-04-11 11:13:44 +01:00
jules
189853720a Cleaned up a few uses of Image::null 2016-03-10 17:20:15 +00:00
jules
a886a38c00 Avoided an unnecessary refresh when a FileBrowserComponent is first created 2016-02-29 09:08:28 +00:00
hogliux
9629de32bb Add treatFilePackagesAsDirectories flag to native FileChooser 2016-02-09 09:44:31 +00:00
jules
4583fa3fbf Used the ignoreUnused() function to tidy up some old code 2015-12-23 16:27:50 +00:00
jules
02492b36b9 Lots of small whitespace tweaks. 2015-12-13 19:32:05 +00:00
jules
6baf778e41 Updated FileBrowserComponent to refresh its list if the user switches to another app and then returns. 2015-09-18 10:49:33 +01:00
Timur Doumler
dca4d77f9d Fixed compiler warnings on Visual Studio 2015 RTM. 2015-07-23 15:57:18 +01:00
hogliux
c7b8e77031 Update copyright notice 2015-07-22 15:59:34 +01:00
jules
d3f76766db Added a flag to FileBrowserComponent to allow it to keep the current name when the folder changes, and used this flag in the introjucer's new project wizard. 2015-06-23 12:44:51 +01:00
jules
06c1a15496 Added some missing 'override' decorators 2015-05-15 12:54:44 +01:00
jules
7086f673ac Fix for a problem in applying openness to FileBrowserComponent treeviews. 2015-03-24 15:53:04 +00:00
jules
3e947f1612 Fixes for unused parameter warnings when modal loops are disabled. 2015-03-05 14:38:42 +00:00
jules
8b3935f121 Added support for extra info panels in OSX native file choosers. 2015-01-29 14:18:55 +00:00
jules
4a3c45e7bd Updated the live constant editor to add C++ escape-sequences for non-ascii strings, and to allow multi-line strings. 2014-07-04 17:54:21 +01:00
jules
a362fb0328 Added method FilenameComponent::getCurrentFileText() 2014-06-22 19:20:22 +01:00
jules
3b88555140 Replaced the old, badly-named and badly-implemented String::compareLexicographically() method with String::compareNatural(), which uses a smarter algorithm. Also added a method StringArray::sortNatural() which uses this. 2014-06-15 10:37:31 +01:00
jules
b372860e23 Prevented FilenameComponent from passing key focus to its subcomponents if the component itself doesn't want focus. 2014-05-12 15:03:04 +01:00