History log of /haiku/src/preferences/media/MidiSettingsView.cpp
Revision Date Author Comments
# bc622f6b 15-Oct-2018 Humdinger <humdingerb@gmail.com>

Fix missing localization

This addresses some of what's reported in ticket #14637.

* Keymap preferences: Localize key labels. Translators have
to be careful not too use too long words here...

* Media preferences: Fix typo "SoundFonts" -> "SoundFont"
The two popup menus, Video input/output, both use "<none>",
which when the catkeys are collected is reduced to one item.
Apparently, Italian likes to have different tranlsations for
them. I hope to fix that by using B_TRANSLATE_COMMENT with
differing comments. Not sure if that'll work...

* Network preferences: Localize "on/off" and "Enable/Disable"
in the Services.

* Repositories preferences:
Add RepoRow.cpp to DoCatalogs.

* Shortcuts preferences: Localize "Left/Right/Both/Either/None"

* Bluetooth replicant: Localize menu items and alerts.

* DeskCalc: Localize button names.

* HaikuDepot:
- Use BStringFormat and variables to replace for the WorkStatusView.
- Put package name in single quotes; nicer if you have package names
with spaces.
- Avoid leading and trailing spaces in translatable strings. Those
can be overlooked b the translator.
- Use B_UTF8_ELLIPSIS instead of "...".

Change-Id: Ia32908f9faad5188aa87c918c31229277decbda9
Reviewed-on: https://review.haiku-os.org/631
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# e633e9ef 28-Mar-2017 Humdinger <humdingerb@gmail.com>

Fix crash with missing midi_settings

fActiveSoundFont wasn't initialized when there's no midi_settings file.
Don't allocate it on the heap, the object get implicitely initialized to
an emtpy string.
Tiny style fix.
Thanks to AnEvilYak for his consultation.

Fixes #13402.


# dd3732bb 24-Nov-2016 Humdinger <humdingerb@gmail.com>

Media prefs: fix crash in empty MIDI soundfont list

Check if soundfont list is empty or we crash when double-clicking
into the list.

Fixes #13091.


# 9874150a 07-Nov-2016 Humdinger <humdingerb@gmail.com>

Improved MIDI section of Media preferences

* Get rid of the "Actve Sound Font:" BStringView below the BListView.
Now the selected SoundFont is the active SF.
* If there's only one SF available, select it automatically.
* Added a BStringView below the list and only give feedback when needed:
- if no SF is installed
- if the user has to select a SF
* Double-clicking an entry opens its location in Tracker.
* Added node-monitoring to live-update the list of available SFs.
Note: Un/installing a package doesn't trigger a notification (related
to #9970 ?).


# fa3f84b7 24-Sep-2016 Stefano Ceccherini <stefano.ceccherini@gmail.com>

MediaSettings: Don't change the active soundfont
if the user clicked on empty space


# 873a8ad9 24-Sep-2016 Stefano Ceccherini <stefano.ceccherini@gmail.com>

MediaPreferences: midi: added a BStringView with the currently active soundfont


# d6039d2b 27-Aug-2015 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Midi: Remove some duplicated code
Introduced new private read/write_midi_settings() and used them
in MidiSettingsView and SoftSynth.


# 3ffaf5c2 24-Aug-2015 Stefano Ceccherini <stefano.ceccherini@gmail.com>

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.


# a6fb27a3 24-Aug-2015 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Improved comment. Added TODO


# 1443b279 25-Jun-2015 Philippe Saint-Pierre <stpere@gmail.com>

CID 1249930: Don't scanf uninitialized buffer

Would happen in case of a missing config file, for instance.


# 959051f8 17-Mar-2015 JackBurton <stefano.ceccherini@gmail.com>

Midi preflet: remove check for big_synth.sy, since we don't create it
anymore.
Fixed comment.


# f262f1b6 02-Oct-2014 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Media Preflet: Use BPathFinder::FindPaths() instead of the C method.
This way we can use BStringList and get rid of the manual deallocation.


# 8a65f8e9 01-Oct-2014 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Media Preflet: Don't leak paths.


# db5b5dfa 28-Sep-2014 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Integrate MIDI settings with the Media preflet.
More or less working.


# d6039d2b239d1571ad7ad1d61aedba713c23480e 27-Aug-2015 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Midi: Remove some duplicated code
Introduced new private read/write_midi_settings() and used them
in MidiSettingsView and SoftSynth.


# 3ffaf5c26351492618e7ec3e8bb9ceb7ab629490 24-Aug-2015 Stefano Ceccherini <stefano.ceccherini@gmail.com>

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.


# a6fb27a3f621d6e471ab56f6ea22f068d3a6b781 24-Aug-2015 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Improved comment. Added TODO


# 1443b2798f25bf30a5e1754998d66498ca0c4eb7 25-Jun-2015 Philippe Saint-Pierre <stpere@gmail.com>

CID 1249930: Don't scanf uninitialized buffer

Would happen in case of a missing config file, for instance.


# 959051f813efa5014b7f32a00b5caa685e1363bb 17-Mar-2015 JackBurton <stefano.ceccherini@gmail.com>

Midi preflet: remove check for big_synth.sy, since we don't create it
anymore.
Fixed comment.


# f262f1b66e32205eff6725ae88a0541bc78fc4f2 02-Oct-2014 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Media Preflet: Use BPathFinder::FindPaths() instead of the C method.
This way we can use BStringList and get rid of the manual deallocation.


# 8a65f8e900b28aaab47812afa809d97542d835d3 01-Oct-2014 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Media Preflet: Don't leak paths.


# db5b5dfa1417cace160abbf2c554010476bf3416 28-Sep-2014 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Integrate MIDI settings with the Media preflet.
More or less working.