Philippe Houdoin
dcb98eaf2d
Mistaken midi ports icon as midi_server icon!
...
Fixed now. Rollback to previous midi_server signature.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-21 21:19:30 +00:00
Axel Dörfler
bc659826df
t[e]mpnam() stuff now works.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-21 18:25:02 +00:00
Axel Dörfler
cc9c5de901
Small changes to let it compile.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-21 18:23:17 +00:00
beveloper
90ca169469
added Jamfiles to include mpglib
...
clean up of mpglib
removed global variable from mpglib, should be thread save now
moved global initialization code in it's own function
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-21 17:54:10 +00:00
beveloper
f3f8a29195
include mp3 decoder
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-21 17:52:36 +00:00
Axel Dörfler
290ba80867
Hacks to get the libio package working:
...
- all wide character functions have been disabled or removed
- ftrylockfile() does not yet work
- reformatted code to be readable (sometimes needed for changes)
Note, this code is not able to be simply updated with newer glibc releases! Sorry.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-21 17:01:42 +00:00
beveloper
081576bd3d
Imported mpglib from mpg123 pre0.59s. Licensed as LGPL.
...
To be used by mp3_decoder as static library only.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-21 16:56:35 +00:00
Axel Dörfler
1bed4dd008
No longer needed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-21 16:45:03 +00:00
beveloper
9a74184e35
added format publishing
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-21 15:28:22 +00:00
beveloper
5ccadc29e6
added some more MPEG descriptions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-21 15:27:20 +00:00
DarkWyrm
ce09dfb8e6
Modified ColorWell class to visually fit in with other GUI controls
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-20 22:57:20 +00:00
beveloper
329b5b99b6
added duration calculation, seeking and data reading
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-20 22:30:09 +00:00
Stefano Ceccherini
76f6f6ff76
With the help of Andrew Bachmann, I finally fixed the multi-byte charachter deleting / Undoing.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-20 14:02:58 +00:00
Stefano Ceccherini
2e7ea41af1
With the help of Andrew Bachmann, I finally fixed the multi-byte charachter deleting / Undoing.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-20 14:00:36 +00:00
Philippe Houdoin
1967709a04
Ooops, forget to match caption rect size and position there too...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-20 02:21:46 +00:00
Philippe Houdoin
c60a8d8cbb
Including Clipboard.h could help.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-20 02:18:57 +00:00
Philippe Houdoin
9842b3ba58
Keep moving from binary resource format to source resource (.rdef) files.
...
Fix midi_server.rdef file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-20 01:40:54 +00:00
Axel Dörfler
b22232f591
Implemented the missing BView::IsHidden(BView *lookingFrom), fixed
...
BView::IsHidden().
Commented a ToDo: item in BView::Hide().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-19 14:56:32 +00:00
Jérôme Duval
a8d1f0c354
from Greg Crain :
...
- cleaned up the read code a bit. There was a chance that bad data
was left in a buffer after the open device call.
- published the V2 module. Some audio drivers require it to be there
( in a R5 system). This will allow the audio driver to complete
loading. If the midi device is opened, a B_ERROR is returned.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-19 11:47:03 +00:00
Michael Pfeiffer
d3046f7d46
- Made some settings persistent: Slide Show Delay, Scale Bilinear, Shrink/Zoom to Window, Show Caption in Full Screen Mode and PrintOptions persistent.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-19 10:41:51 +00:00
Matthew Wilber
5196460539
Implemented Cut and Paste. Still need to implement Undo and check for a dirty document when the window or app is closed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-19 03:38:21 +00:00
Matthew Wilber
402c09e582
Added code to enable / disable the Edit->Paste menu item when the contents of the clipboard change
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-19 01:46:00 +00:00
DarkWyrm
2a7b708cdd
Serious retooling of the look of the app - much more Be-like and extensible
...
Better UI - not great, but getting there.
Haven't changed APRView's ColorWell look so Axel can shudder a little more. :P
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-19 01:42:57 +00:00
Matthew Wilber
2c2d7c8bdb
Removed Scale.cpp, no longer used
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-19 00:28:45 +00:00
Michael Pfeiffer
142491fe30
Rewrote scaling algorithm in Filter.cpp
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-18 21:45:29 +00:00
Michael Pfeiffer
19c76de4a0
- Rewrote bilinear scaling algorithm. The version that uses fixed point calculations is at least two times faster than the version that uses floating point calculations!
...
- Fixed off by one bugs.
- Replace "Fit to Window" with "Shrink to Window" and "Zoom to Window".
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-18 21:43:44 +00:00
Axel Dörfler
545237514a
We really only allow 0x7fffffff maximum characters, so we now mask out
...
everything above (not even in an intelligent way).
Now accepts zero bufferSize and NULL buffer - although it should probably
not catch the latter...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-18 04:12:29 +00:00
Axel Dörfler
c29da59747
Moved number() closer to vsnprintf() because it'll need the put_*() functions
...
once it's fixed.
Renamed some variables.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-18 04:02:59 +00:00
Axel Dörfler
ac3863db5e
About to move vsprintf() over to vsnprintf() which is more secure since
...
it allows to specify the buffer size. Not yet finished; number() has to
be fixed - tests have to be written as well.
Implemented snprintf() and vsprintf() using vsnprintf().
Some smaller cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-18 03:54:14 +00:00
Axel Dörfler
2d9c5abca2
Renamed kvsprintf.c to kernel_vsprintf.c.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-18 03:05:36 +00:00
Axel Dörfler
9672de86ce
Renamed kvsprintf.c to kernel_vsprintf.c to make it more salient.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-18 03:05:02 +00:00
Matthew Wilber
8ad30bcf80
Added code to merge selection with background image; removed Select None item, replaced it with Clear as Select None was behaving like Be ShowImage's Clear anyway; properly enabled/disabled Edit menu items when selection is made or cleared. Still no undo yet, but I'm planning to do that after Paste is implemented.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-18 02:48:53 +00:00
Axel Dörfler
497c0bf9c1
Removed unneeded file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-18 02:39:36 +00:00
DarkWyrm
6c2ca02ada
Fixes to decorators broken by tweaks to click_type in Decorator.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-18 02:29:02 +00:00
Stefano Ceccherini
aa4d8c571d
Synching with the code on my hard drive... Archiving/unarchiving should (partially) work now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-17 10:34:29 +00:00
Stefano Ceccherini
e38721600a
Fixed a warning
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-17 10:31:38 +00:00
Jérôme Duval
85918d337e
DefaultManager now stores its state, MMediaFilesManager store fix
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-17 10:16:51 +00:00
Jérôme Duval
89e7bc1e71
Added icons to the media_server
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-17 10:16:03 +00:00
Jérôme Duval
00b302f31f
Added icons to the media_addon_server
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-17 10:15:34 +00:00
Jérôme Duval
8b9700ad24
GetInstancesFor must accept a NULL iocount and consider it as 1
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-17 10:12:21 +00:00
Jérôme Duval
188f88619c
midi address fix
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-17 10:02:05 +00:00
Jérôme Duval
8b534e55a6
needed by DefaultManager, could be avoided but i think it's ok for now
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-17 09:45:47 +00:00
Matthew Wilber
9eec20bc4a
Changed fpBitmap to the more Be-ish notation of fBitmap, added code to allow the user to drag the bitmap selection around like in Be's ShowImage. However, no changes can be made yet to the underlying image. Need to resolve resize flickering of selected image and allow the user to modify the underlying image.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-16 23:23:50 +00:00
Matthew Wilber
0e93ae51e9
Drag selection code can now move the selection inside the view, fixed selection drag code so that unwanted MouseUps don't affect the selection box movement. Though, drag selection code is not done yet, it is not yet copying the bitmap from where the selection was dragged from, it is just moving the selection rectangle. Dragging a selection to outside of the window still works the same.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-16 20:39:27 +00:00
DarkWyrm
f30761e5ee
Last-minute tweaks to fix control_scrollbar()'s Set Double command
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-16 18:25:29 +00:00
DarkWyrm
8246ebe549
Minor retooling of code to utilize a BView subclass to hold all controls
...
Utilizes OBOS BScrollBar class
Still BC, but no longer "drop-in" binary compatible - requires the R1 app_server
It is possible to tweak the sources to run it under R5
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-16 18:23:16 +00:00
DarkWyrm
9107dffadc
Converted display and interaction with scrollbar buttons from using BViews to having them be part of the scrollbar itself
...
Double and single modes should look the right way
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-16 17:52:05 +00:00
Matthew Wilber
bf461dbeb4
Changed text for "Rotate Clockwise" and "Rotate Anticlockwise" to "Rotate +90" and "Rotate -90"
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-16 17:08:48 +00:00
DarkWyrm
f9f5f26473
Added OBOS header. I don't think there was anything else. :)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 20:48:22 +00:00
DarkWyrm
745d0b4a95
Implemented a function to allow for R1's prefs to work like R5's
...
Serious speedups on redraw - needs a little more work
Added the beginnings of thumb tracking
Implemented rapid-fire small-step scrolling when holding down a scroll button
Tweaks to button-drawing code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 20:47:53 +00:00