100 Commits
Author SHA1 Message Date
JackBurton79 4ce9cacce2 TermView: Initialize fCursorForeColor
fCursorForeColor could be used uninitialized when TermView is instantiated as a replicant

Change-Id: Ia16b6ff1e7dc024b17081e117b199c267f83d8ff
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10587
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-03-27 12:35:32 +00:00
JackBurton79 e88cfea6cf Terminal: Fix possible double lock
Check if fMouseClipboard is be_clipboard, and do nothing in that case.
This could happen if SetMouseClipboard has never been called, for example when running as a replicant.
Also updated copyright year.

Change-Id: I2468d80404c429797bd8c906f3aa747ffc414fa8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9309
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2025-05-27 12:55:19 +00:00
JackBurton79 65ed72e669 Terminal: show a different cursor when window isn't active or view is unfocused
"empty" cursor when unfocused, "filled" when focused, similar to what other terminals do in other platforms

Change-Id: I7ccafaacab8cfb63d8e556ca3ee76335ebb0cf0e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9165
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: nephele nephele <[email protected]>
2025-04-22 12:50:55 +00:00
JackBurton79 197dcc80dc Terminal: added ability to execute a command using scripting
Add a B_EXECUTE_PROPERTY to execute a given command.

Also set fAttached to false in _DetachShell() for symmetry.

Done by Andrea Anzani plus some style / refactoring by myself
Change-Id: Ifa26b60b1c1d3598a863adc4fb701155f9edf588
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9154
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-04-09 11:19:17 +00:00
JackBurton79 8f2748e848 Terminal: Fix uninitialized cursor color.
Especially visible when running as a replicant

(change made by Andrea Anzani)

Change-Id: I11d00e21d35eccad6ba057d5ad2675de878f9c9d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9153
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
2025-04-03 18:40:30 +00:00
JackBurton79 e4420b24eb Terminal: fixed possible memory leak on error.
Also add const to some methods

Change-Id: I6355a1f2f49ac6b819ff4c53983fce76119ed258
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8713
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2024-12-26 10:21:11 +00:00
JackBurton79 06fdc2e30f Terminal: Initialize fore and back color to sane defaults.
Fixes missing / random colors when using Terminal as replicant and does not have side effects

Change-Id: I839098cf95298c729eac9f68c4d6de9308a47d39
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8710
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2024-12-24 16:30:52 +00:00
JackBurton79 3c3462995f AbstractSpinner: fix calling base class virtual methods (untested)
AbstractSpinner inherits from BControl, so it should call BControl's virtual methods, not BView's.
Found by Andrea Anzani

Change-Id: If4c921d91a5095769d5f2da1832ad5bf4533becc
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7066
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2023-10-26 07:55:51 +00:00
JackBurton79 4b3e80f6b5 Fix build on arm64 (and other 64 bit non x86 platforms, probably)
Change-Id: I0b09ab8925244746eded66de924d9dbf36693c22
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7064
Reviewed-by: waddlesplash <[email protected]>
2023-10-24 22:26:23 +00:00
JackBurton79 2eaee4a7a1 Screen preflet: fix usage of std::find()
Change-Id: I8689ea6baa408d07c715703e8f8bf8f29bf40f60
std::find() never returns NULL but the last element in case of failure
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5602
Reviewed-by: Máximo Castañeda <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2022-08-31 21:13:32 +00:00
JackBurton79 7b3d134fae Screen preflet: fix possible NULL pointer dereference
Change-Id: Ia343cb2cba23f02d5504dfb849a059f041138119
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5571
Reviewed-by: waddlesplash <[email protected]>
2022-08-25 21:10:15 +00:00
JackBurton79 fca54d80f2 Screen preflet: fix extra spaces in certain vendor code
Also fix a copy/paste error in the command used to generate the list and renamed the temp file

Change-Id: I0a954c78b14ddc802d3c5864323e7a1d82a529b9
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5567
Reviewed-by: Oscar Lesta <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2022-08-25 17:13:19 +00:00
JackBurton79 9990382d9c Screen preflet: add and use a 'database' for screen vendors.
Change-Id: Ibf6435b29b3ac509c1e4c5a2331840600838301b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5535
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Jérôme Duval <[email protected]>
2022-08-11 17:46:04 +00:00
JackBurton79 60ead048b5 MediaPlayer: close() cd/dvd device after eject.
We were not closing cd/dvd device after eject.
Also changed fDevice member to a local variable, since we only use it in one place.

Change-Id: I169da97501f98e30deded1f5ff53d3bc00459eab
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4247
Reviewed-by: Axel Dörfler <[email protected]>
2021-07-27 12:23:25 +00:00
JackBurton79 e2ee966fc0 Terminal: fix cursor blinking
When the window was deactivated once, cursor wouldn't blink anymore on next activation. Fixes #16388

Change-Id: Id7042e078df2a5c5b397763cf544626efc5e589a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3258
Reviewed-by: Adrien Destugues <[email protected]>
2020-09-20 13:33:02 +00:00
JackBurton79 b3470a55cf ServerPicture:SyncState(): sync with Canvas instead of View
When the canvas api was introduced, ServerPicture was changed to work with Canvas,but this was not updated.

Change-Id: I37c68111f4a60408768656260bfc73a27f1f65f4
Reviewed-on: https://review.haiku-os.org/c/501
Reviewed-by: Stephan Aßmus <[email protected]>
2019-01-14 16:25:57 +00:00
JackBurton79 ae09eb30c5 FlattenPictureTest: aestethic changes.
Add a header with the columns description. Style fixes

Change-Id: I14b66dd1c9cfff13ad8ba3ff1907dcb0696593f8
2019-01-06 22:26:04 +01:00
JackBurton79 fe55edcaf4 Terminal: Font width can be a fractional value, so we need to use a float.
Adapt other code accordingly. Minimum changes to fix ticket #11478
In theory also font height could be fractional, so we might need to
review other parts of the code.

Change-Id: Idbdbe38193ca5a32b3d09c7cf9accfc917760cae
Reviewed-on: https://review.haiku-os.org/821
Reviewed-by: waddlesplash <[email protected]>
Reviewed-by: Stephan Aßmus <[email protected]>
2019-01-03 21:27:27 +00:00
JackBurton79 b070314f50 FlattenPictureTest: Fix DrawStringsWithOffset test
fixes #14481

Change-Id: I7aee0f9e1ed088d2b5253f22a55228b0fc8f16ec
Reviewed-on: https://review.haiku-os.org/546
Reviewed-by: Stefano Ceccherini <[email protected]>
2018-09-12 10:44:55 +00:00
JackBurton79 66f19f7201 Fix ClipToPicture() inside a BPicture
Mimic what is't done in clip_to_shape: call SetCanvasGeometry() and ResyncDrawState().

Change-Id: Ibbd77ec8cf90952d94ee35871736e145102a763e
2018-09-11 14:30:59 +02:00
JackBurton79 5706737797 PictureDataWriter: Fix invert rect.
Resetting the drawing mode to B_OP_COPY was not right, since the previous mode could be anything.
Use WritePush/PopState() instead.

Change-Id: If9cba2c46bf372fd0164d951fcc49696cf72d576
2018-09-10 16:14:49 +02:00
JackBurton79 da51ebe0e5 BPicture: uncomment (and fix build) of the clip_to_picture method.
Does not seem to work, though.

Change-Id: I309d8de79a71ab8e08f4ac2f2566080b67b84800
2018-09-10 14:19:10 +02:00
JackBurton79 cb0d7a1ecd app_server: make a copy of the passed BPicture
Like the AS_DRAW_PICTURE case, make a copy of the passed BPicture also for AS_CLIP_TO_PICTURE

Change-Id: Id9a0adc48d73e5ec9c0d37e2ed85e30aa48369ab
2018-09-10 12:48:30 +02:00
JackBurton79 d1311300dc app_server: local variable was shadowing the outer variable
In the AS_CLIP_TO_PICTURE case, the "picture" variable was shadowing the outer "picture" variable.

Change-Id: I3b9de2432f93a683aaccdb899051a14ebf9b7e6e
2018-09-10 12:45:21 +02:00
JackBurton79 59a26ab62f FlattenPictureTest: add tests for ClipToRect,ClipToInverseRect,ClipToShape,ClipToInverseShape
Change-Id: Ia68b6989c2973f37f0772621190ab8f57fbeb381
2018-08-31 10:44:34 +02:00
JackBurton79 3211dccc22 FlattenPictureTest: add test for #6761
Change-Id: I848ccec2ea102dc4fc5c0e4f718053ecad196f8d
2018-08-30 11:25:55 +02:00
JackBurton79 fee62e6a6e ffmpeg media decoder: revert latest changes to the AVCodecDecoder destructor.
Let's see if it fixes #14394.

Change-Id: Iba3a77197703b43f7c5e29292940b3a9018b4585
2018-08-27 10:08:31 +02:00
JackBurton79 5aff790ae1 ffmpeg media reader: remove useless avformat_free_context():
avformat_close_input() already calls it.

Change-Id: I45433527459bda430b8f0d15850fdcc019042db3
2018-08-24 09:34:41 +02:00
JackBurton79 de9e43cd6a ffmpeg media decoder: Fix double free() (and possibly #14394.
Don't call avcodec_close() and then avcodec_free_context().
The latter replaces the former.

http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2ef6dab0a79a9852a92ed80b07f9e32a37530d9e

Change-Id: I346dc8da20a274bcfd901b4a67e612f0f38323b0
2018-08-24 09:34:01 +02:00
JackBurton79 6ec69f4426 Small style fixes
Change-Id: I1db785122efe70e416b4073c06148c856c5a5e8d
2018-08-23 13:55:09 +02:00
JackBurton79 9923dd5ce5 network stack: move put_device_interface() at the end of the Interface destructor.
Fixes #10919.

Removing an interface triggers this sequence:

datalink_control() calls interface->ReleaseReference() which causes the
Interface destructor to be called. The Interface destructor calls
put_device_interface(fDeviceInterface) which destroys the
net_device_interface, then calls put_domain_datalink_protocols(this, datalink->domain)
in a loop. put_domain_datalink_protocols() tries to access the deleted
net_device_interface, hence the KDL.

Change-Id: I2326bcd6d1fd80a69e5fdfa6629563b38ecdbbac
Reviewed-on: https://review.haiku-os.org/469
Reviewed-by: waddlesplash <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
Reviewed-by: Jérôme Duval <[email protected]>
2018-08-23 06:36:11 +00:00
JackBurton79 8d721650ce Check for NULL before dereferencing fStream pointer.
Change-Id: Ic1c21b24a3a1c02b478d1e8b2e395cc8a4e7adab
2018-08-16 16:31:00 +02:00
JackBurton79 1da12a78de Reintroduced keeping the state of failed initialization.
As Stephan said, some apps ignore the return value of Encode(),
and since _OpenCodecIfNeeded() is called from there, this could
cause wasting of cpu cycles.

Change-Id: I80e1464d8532ebf80c514685ef3a25d98d8142fb
2018-08-16 10:09:22 +02:00
JackBurton79 53086e436e AVCodecEncoder: avcodec_close() is deprecated.
A codec context cannot be reopened, anymore.
Reorganize code accordingly.
Remove usage of the AVFormat context (which was not enabled, anyway) since it's no longer possible to do that.
Use av_frame_free() instead of av_free()
2018-08-16 08:07:21 +02:00
JackBurton79 1d404e45f1 ffmpeg plugin: use avformat/codec_free_context() where applicable 2018-08-14 14:43:30 +02:00
JackBurton79 a4e89ff894 AVFormatWriter: free the context with the correct function 2018-08-14 13:49:48 +02:00
JackBurton79 ee3e1cbe0b Use the constant instead of the numeric value 2018-08-14 13:49:48 +02:00
JackBurton79 7c423844de Spacing style 2018-08-13 10:03:45 +02:00
JackBurton79 373832ae60 Commented calling _EncodeVideoFrame() with NULL.
As Adrian suggested, it's not only inefficient to do that there, but also wrong.
Modified the TODO comment
Added a new TODO comment
2018-08-09 10:44:22 +02:00
JackBurton79 f049e59f50 Try to use the ffmpeg api more correctly:
call avcodec_receive_packet() in a loop, drain and flush the internal buffers.
Introduced private method to improve code readability (hopefully).
2018-08-09 09:12:19 +02:00
JackBurton79 c85dd27c9e AVCodecEncoder: Use new API
Change-Id: I5b985cebf241e67f901e93a5a4bb61a67a659cdf
2018-08-07 18:40:15 +02:00
Stefano Ceccherini d9eeaa720a Server side support for BFont::IsFullAndHalfFixed().
Check a range of characters to see if they have the same width.

Change-Id: I9cef12f78d1e1d01acc6284eae90dbfb86166fc6
Reviewed-on: https://review.haiku-os.org/47
Reviewed-by: Adrien Destugues <[email protected]>
Reviewed-by: Jérôme Duval <[email protected]>
2018-08-02 10:43:57 +00:00
JackBurton79 55557aa162 CURLOPT_XFERINFOFUNCTION is available since libcurl 7.32.0 only.
Since it's just cosmetic, allow compiling with older libcurl, too.
fixes build on RedHat/CentOS 7

Change-Id: I169ad84d15e61012d1d38a9b41af7eef81683bf7
2018-07-27 17:21:14 +00:00
Stefano Ceccherini dc21c8c78c Added bescreencapture-2.2. x86_64 version coming next week 2016-10-09 18:29:23 +02:00
Stefano Ceccherini 5800abadaa Update BeScreenCapture package to version 2.1.
Removed source package for now
2016-10-04 00:05:27 +02:00
Stefano Ceccherini fa3f84b78c MediaSettings: Don't change the active soundfont
if the user clicked on empty space
2016-09-24 22:06:52 +02:00
Stefano Ceccherini 873a8ad914 MediaPreferences: midi: added a BStringView with the currently active soundfont 2016-09-24 20:36:02 +02:00
Stefano Ceccherini e5f9dfebd7 FlattenPictureTest: Add FillTriangle() with gradients test 2015-09-18 23:20:09 +02:00
Stefano Ceccherini 00c573d643 FlattenPictureTest: Add tests for FillRoundRect with gradients 2015-09-18 23:20:09 +02:00
Stefano Ceccherini b8c65995cd FlattenPictureTest: Add tests for FillRegion with gradients 2015-09-18 23:20:08 +02:00
Stefano Ceccherini 7cf26360d9 FlattenPictureTest: Add failing test
InvertRect, when mixed with SetDrawingMode calls, fails to draw correctly
to a BPicture.
2015-09-18 23:20:08 +02:00
Stefano Ceccherini abf565b12b FlattenPictureTest: add tests for Gradients.
None of the tests pass. BPicture currently doesn't have support for gradients.
Also add DrawString with offsets test.
2015-09-17 22:54:05 +02:00
Stefano Ceccherini ce27f9612e Implement ClipToPicture inside a BPicture. Not working yet.
BView::ClipToPicture doesn't work anymore, when nested inside a BPicture,
This happened when its implementation was moved server-side.
2015-09-05 21:35:54 +02:00
Stefano Ceccherini 1805bbf29b BPrintJob: fixed crash.
Since hrev49481, BAlert sets its default button in Go(), and not in the
constructor. So DefaultButton() will return NULL if Go() hasn't been called
yet.
Moreover, BAlert now centers itself on screen in Go() and not in the costructor,
so move it away from screen after the Go() call.
Fixes #12271, although there should be a nicer way to implement this.
2015-08-29 15:18:59 +02:00
Stefano Ceccherini e2eb9b7baf Removed empty line 2015-08-29 15:18:59 +02:00
Stefano Ceccherini d6039d2b23 Midi: Remove some duplicated code
Introduced new private read/write_midi_settings() and used them
in MidiSettingsView and SoftSynth.
2015-08-27 11:51:57 +02:00
Stefano Ceccherini c34e5f4dd5 B_BIG_SYNTH_FILE and B_LITTLE_SYNTH_FILE are deprecated.
Small style change in midi headers.
2015-08-24 17:18:26 +02:00
Stefano Ceccherini 3ffaf5c263 MidiSettingsView: renamed box label
Renamed box label from "SoundFont" to "Available SoundFonts", hopefully
improves the user experience by making it clearer that this is a list
of the available soundfonts.
2015-08-24 10:23:28 +02:00
Stefano Ceccherini 2f41383c3b BBitmap: Archive the data also if "deep" is not set
Fixes #12326
2015-08-24 10:21:31 +02:00
Stefano Ceccherini 65b4405ecc BSoftSynth: Fixed auto selection of soundfont.
When no midi settings file was available, BSoftSynth should use the well known
TimGM6mb.sf2 soundfont. This wasn't working, since the code looked in the wrong
path (we have to append "synth" to the path returned by find_directory).
In case this SF is not present, now we try harder not to fail, and look for any
soundfont available in the system and user directories.
Fixes ticket #12325 although the selected soundfont is not written to the
user settings file.
2015-08-24 10:04:17 +02:00
Stefano Ceccherini a6fb27a3f6 Improved comment. Added TODO 2015-08-24 10:03:54 +02:00
Stefano Ceccherini 7ed2a44376 Fix naming 2015-08-24 09:34:02 +02:00
Stefano Ceccherini ff8c8dfc17 Improve patch in ticket #9377
Instead of locking the interface lock, set it busy and then unlock the
interface list lock.
2015-08-12 15:22:42 +02:00
Stefano Ceccherini a48ef9e817 AppServer: check for NULL bitmap.
Consistently check for NULL the ServerBitmap pointer.
There seems to be cases where BView::DragMessage could pass an invalid
Bitmap token to app_server.
Maybe it's when a client only bitmap is passed, I don't know.
Anyway, this is defensive programming, and at least we check for NULL
consistently now.
This fixes #11681.
Note that SuperFreeCell still crashes, but at least app_server doesn't crash.
2015-08-12 00:40:06 +02:00
Stefano Ceccherini f2de125b8c Removed code path for be_control_look == NULL.
Adjusted TODO comment.
2015-08-11 23:24:46 +02:00
Stefano Ceccherini 7019117402 ChannelSlider: Remove original look.
The Thumb returned by BChannelSlider::ThumbFor() is currently ignored.
2015-08-01 15:04:13 +02:00
Stefano Ceccherini 0b421b8025 ChannelControl: Implemented SetLimitLabelsFor().
Implemented without testing how it's done on BeOS.
Moreover, I have no idea if, when and where these labels should be drawn.
2015-08-01 15:00:36 +02:00
Stefano Ceccherini a361dc5a17 Update ChannelSliderTest to add limit labels for individual channels 2015-08-01 15:00:36 +02:00
Stefano Ceccherini e716f48778 ChannelSlider: don't check be_control_look for NULL
Also if0 the code that draws the old/dano look so it's more clear that
it's not called intentionally.
2015-07-29 15:20:11 +02:00
Stefano Ceccherini 9b7802354f BChannelSlider: Fixed memory leak.
At least, I think so.
Check allocations in BChannelSlider::ThumbFor()-
Also updated copyright and e-mail address.
2015-07-28 21:40:21 +02:00
Stefano Ceccherini 83a02adb5c BButton: Fix hover status glitch
A BButton didn't lose its hover status when another window partially covered
it and the mouse cursor left its bounds rectangle.
Check for B_EXITED_VIEW in MouseMoved to fix the problem.
This fixes ticket #11962. Thanks to X512 for the analysis of the problem.
2015-05-22 18:36:31 +02:00
Stefano Ceccherini 63effa099c Fix typo (missing pointer dereference).
Found by PVS-Studio developer Svyatoslav Razmyslov.
Also update my email address.
2015-04-26 22:02:04 +02:00
JackBurton 959051f813 Midi preflet: remove check for big_synth.sy, since we don't create it
anymore.
Fixed comment.
2015-03-17 21:11:52 +01:00
JackBurton 437386ee10 Don't check for big_synth.sy, since it shouldn't exist anymore 2015-03-17 21:10:34 +01:00
Stefano Ceccherini cec6d79442 BMPTranslator: removed leftover debug output 2015-03-03 22:45:29 +01:00
JackBurton 2a67595f1a If a monospace font is not available, look for a full-and-half-fixed
font.
The minimal haiku image does not yet include a monospace font. In that
case, be_fixed_font points to Bitstream Charter, which is a proportional
font.
Terminal isn't happy with that, so we try harder and we look if a
full-and-half-fixed font is installed (which should be safe, since
we always include VL-Gothic. Fixes #11764 .
2015-02-21 21:32:31 +01:00
JackBurton f88412ccda Moved IsFontUsable() to Globals.h/cpp 2015-02-21 21:31:08 +01:00
JackBurton 78a5e0daee Added BeScreenCapture to the gcc4 repo 2015-01-29 21:08:00 +01:00
Stefano Ceccherini aa1e906441 Update timgmsoundfont package:
broken instruments fixed  by Pete Goodeve,
removed big_synth.sy symlink.
2014-10-06 16:24:49 +02:00
Stefano Ceccherini f262f1b66e Media Preflet: Use BPathFinder::FindPaths() instead of the C method.
This way we can use BStringList and get rid of the manual deallocation.
2014-10-02 22:28:28 +02:00
Stefano Ceccherini bcec5d7518 Media Preflet: fix #11308
_ClearParamView() should not remove fMidiView, since it's not dynamically
generated.
2014-10-02 22:05:06 +02:00
Stefano Ceccherini 8a65f8e900 Media Preflet: Don't leak paths. 2014-10-02 07:51:16 +02:00
Stefano Ceccherini 611ef1414f BSoftSynth: Select the soundfont from the settings file 2014-09-28 18:23:57 +02:00
Stefano Ceccherini db5b5dfa14 Integrate MIDI settings with the Media preflet.
More or less working.
2014-09-28 18:23:56 +02:00
Stefano Ceccherini ad7015bb1b SoundFont: Fix recognition rule 2014-09-25 21:46:26 +02:00
Stefano Ceccherini 7e5a18ae9e Added mime type and recognition rule for SoundFonts 2014-09-25 21:38:14 +02:00
Stefano Ceccherini f9a9cc3940 First draft of a midi preflet. 2014-09-24 07:36:54 +02:00
Stefano Ceccherini d3c865ecd8 BSoftSynth: Also look for softsynth in B_SYSTEM_SETTINGS_DIRECTORY and B_SYNTH_DIRECTORY.
Note that this will probably we changed again as we introduce a setting file
to locate the softsynth.
2014-09-23 06:31:57 +02:00
Stefano Ceccherini 1d5966ca12 BSoftSynth: Revert to Pete's original code
When you change code that you don't understand correctly... just DON'T.
Fixes a crash.
2014-09-22 07:24:16 +02:00
Stefano Ceccherini d553b90c86 BSynth/BSoftSynth: implemented GetAudio().
Patch by Pete Goodeve (modified by me, hopefully for the better and
without introducing bugs) which implements BSynth::GetAudio().
2014-09-21 19:46:04 +02:00
Stefano Ceccherini b2e8d9627a Style fixes 2014-09-21 19:21:34 +02:00
Stefano Ceccherini 94bfc1f561 BSoftSynth: pointer style, 80 column limit 2014-09-21 17:40:10 +02:00
Stefano Ceccherini f511367b33 BSoftSynth::SetInstrumentsFile(): Check if file exists. 2014-09-20 19:57:03 +02:00
Stefano Ceccherini c0622eb3d3 Fix spacing 2014-09-20 19:21:23 +02:00
Stefano Ceccherini bd68cd0517 Midi Kit: SoftSynth: Implement reverb (patch by Pete Goodeve)
Applied patch by Pete Goodeve which implements reverb in the soft synthesizer.
2014-09-20 19:19:12 +02:00
Stefano Ceccherini 6cd948da2a Midi Kit: Actually look in /home/config/settings/synth/synth.sf2 2014-09-20 19:08:34 +02:00
Stefano Ceccherini bee3de4dbb Midi Kit: Made it possible for the user to use a soundfont different
from the one supplied by default.
Since the PM move, it was not possible anymore to use a different soundfont,
since the /boot/system/data folder became read only.
Now the user has to put the soundfont (or, better,  a symbolic link to it)
into /home/config/settings/synth.sf2
In the future we'll supply a preflet to select the soundfont.
2014-09-20 19:01:41 +02:00
Stefano Ceccherini 0bbed9620a TextGapBuffer: Style changes
Change long to int32
Removed useless parenthesis
2014-09-19 09:28:14 +02:00
Stefano Ceccherini 0eb9b74e00 BTextView: Fixed GetText().
Patch by Pete Goodeve which fixes a problem in TextGapBuffer::GetString()
used by BTextView::GetText(). Thanks! Fixes #8447.
2014-09-19 09:17:17 +02:00
Stefano Ceccherini ef860b2e96 NetStack: Fix locking
Change the monitor_lock to be a recursive_lock, fixing #7039.
Notify_device_monitor acquires the monitor lock, then the
monitor unregisters itself, calling unregister_device_monitor, which
acquires the monitor lock again.
2014-09-18 21:45:44 +02:00