History log of /haiku/src/servers/midi/DeviceWatcher.cpp
Revision Date Author Comments
# c143884f 27-Jun-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Use incorrect use of BPathMonitor in input/midi/net server

The B_ENTRY_* constants aren't valid watch flags.


# 3db9c51d 10-Feb-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Adds support for read or write-only midi devices entries.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40419 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 50a1d8a4 29-Nov-2009 Philippe Houdoin <philippe.houdoin@gmail.com>

Stupid me, vector icon data loaded by a local BResources
object is lost outside its scope.
Now vector data is copied instead.

Spotted by Pete Goodeve, thanks!
This should close #4562.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34358 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 259b620c 24-Nov-2009 Philippe Houdoin <philippe.houdoin@gmail.com>

Renamed vector icon message data name to to simply "icon".
It's typed as B_VECTOR_ICON_TYPE, which is only known under Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34231 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e899cf2a 24-Nov-2009 Philippe Houdoin <philippe.houdoin@gmail.com>

Added missing vector icon support.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34230 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c1181914 30-Oct-2009 Philippe Houdoin <philippe.houdoin@gmail.com>

Added Pete Goodeve to contributors for his work on MIDI.
Give him credit in midi_server and fix a typo.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33841 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4c091ffe 26-Oct-2009 Philippe Houdoin <philippe.houdoin@gmail.com>

Apply patch (with changes) by Pete Goodeve: fix #4053.
Closing usb_midi now wake up midi_server port reader, as expected.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33782 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ba4b45f7 24-Sep-2009 Philippe Houdoin <philippe.houdoin@gmail.com>

Coding style cleanup. Hope I got it right...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33265 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c6989ed9 23-Sep-2009 Philippe Houdoin <philippe.houdoin@gmail.com>

* check if the device path is already known first.
* check the path is NOT a directory or a symlink to a directory.
regular or char/block device are considered both valid path to read
from and write to.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33257 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 93bd4c0e 20-Sep-2009 Philippe Houdoin <philippe.houdoin@gmail.com>

* Move initial devices scan again in a thread, to avoid deadlock.
* Check that path is indeed a file, not a directory
* Contrary to what BeBook say, we can't delete BLocalMidi* endpoints,
but only Release() them like all others endpoints. Avoid midi_server to
panic when a device is removed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33202 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 382a9e12 17-Sep-2009 Philippe Houdoin <philippe.houdoin@gmail.com>

* Any status byte could now break SysEx sequence. We only
swallow SysEx end byte (F7) when it's the expected one.
Should fix #4445.
* Implement device remove handling.
Which should fix #4053.

Please test it.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33159 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5b2d7337 13-Sep-2009 Philippe Houdoin <philippe.houdoin@gmail.com>

Rework midi_server device watching to support dynamic detection, not just
at startup. WIP, as the removing case is not yet handled.
Plus vector icon support should be added to Midi kit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33118 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 69e65f2f 29-Oct-2007 Jérôme Duval <korli@users.berlios.de>

replaced misc values with respective constants


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22762 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 94d1c0ea 17-Mar-2003 mahlzeit <mahlzeit@nowhere.fake>

added (experimental) driver support


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2937 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c143884fdf03ec3a8b7a89c88baa477f8629395c 27-Jun-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Use incorrect use of BPathMonitor in input/midi/net server

The B_ENTRY_* constants aren't valid watch flags.


# 3db9c51d0f291efa5f804db1e47b41e03509c128 10-Feb-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Adds support for read or write-only midi devices entries.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40419 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 50a1d8a4f552dc570af4704f340ab606bc9f7fc5 29-Nov-2009 Philippe Houdoin <philippe.houdoin@gmail.com>

Stupid me, vector icon data loaded by a local BResources
object is lost outside its scope.
Now vector data is copied instead.

Spotted by Pete Goodeve, thanks!
This should close #4562.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34358 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 259b620cc64b0adb54f781d091bc4c48fca090dc 24-Nov-2009 Philippe Houdoin <philippe.houdoin@gmail.com>

Renamed vector icon message data name to to simply "icon".
It's typed as B_VECTOR_ICON_TYPE, which is only known under Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34231 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e899cf2aa0df74638121b3ffd8e4837a8c1bfd97 24-Nov-2009 Philippe Houdoin <philippe.houdoin@gmail.com>

Added missing vector icon support.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34230 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c1181914cbd201a1b814be68611ccd6d357386c7 30-Oct-2009 Philippe Houdoin <philippe.houdoin@gmail.com>

Added Pete Goodeve to contributors for his work on MIDI.
Give him credit in midi_server and fix a typo.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33841 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4c091ffef46bf6e7fad1c619de2b6c30a1fe0746 26-Oct-2009 Philippe Houdoin <philippe.houdoin@gmail.com>

Apply patch (with changes) by Pete Goodeve: fix #4053.
Closing usb_midi now wake up midi_server port reader, as expected.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33782 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ba4b45f76027d4d43689b9284dfafb58321e60df 24-Sep-2009 Philippe Houdoin <philippe.houdoin@gmail.com>

Coding style cleanup. Hope I got it right...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33265 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c6989ed912b4fecec208c3e986f446afa87d85b2 23-Sep-2009 Philippe Houdoin <philippe.houdoin@gmail.com>

* check if the device path is already known first.
* check the path is NOT a directory or a symlink to a directory.
regular or char/block device are considered both valid path to read
from and write to.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33257 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 93bd4c0ea689a343e416373589595a9da78d476b 20-Sep-2009 Philippe Houdoin <philippe.houdoin@gmail.com>

* Move initial devices scan again in a thread, to avoid deadlock.
* Check that path is indeed a file, not a directory
* Contrary to what BeBook say, we can't delete BLocalMidi* endpoints,
but only Release() them like all others endpoints. Avoid midi_server to
panic when a device is removed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33202 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 382a9e1278fc8c87b62d1349c4000572ff1d14e0 17-Sep-2009 Philippe Houdoin <philippe.houdoin@gmail.com>

* Any status byte could now break SysEx sequence. We only
swallow SysEx end byte (F7) when it's the expected one.
Should fix #4445.
* Implement device remove handling.
Which should fix #4053.

Please test it.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33159 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5b2d7337d7ad5d31797a7380dafbee2258230384 13-Sep-2009 Philippe Houdoin <philippe.houdoin@gmail.com>

Rework midi_server device watching to support dynamic detection, not just
at startup. WIP, as the removing case is not yet handled.
Plus vector icon support should be added to Midi kit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33118 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 69e65f2f57747be872249e98c7a40ac0992e38a0 29-Oct-2007 Jérôme Duval <korli@users.berlios.de>

replaced misc values with respective constants


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22762 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 94d1c0ea39d2b27b15e75fb729e3361d813a956c 17-Mar-2003 mahlzeit <mahlzeit@nowhere.fake>

added (experimental) driver support


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2937 a95241bf-73f2-0310-859d-f6bbb57e9c96