Commit Graph

6636 Commits

Author SHA1 Message Date
Michael Pfeiffer
fdee402d25 Moved functions from BeUtils.cpp that require libtranslation.so into a separate source file, so that an application that uses function from BeUtils.cpp only has not to link to libtranslation.so.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:44:50 +00:00
shatty
53d4f7cf34 FindLastPage fix for reading broken cd files (weird case where you can get 0 bytes read even if you seek in front of the end of the file). also some performance check on FindLastPages performance. print frame count/duration computed in GetStreamInfo.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 08:16:22 +00:00
shatty
95c8060a66 quiet readpage only speaks on errors. also invokes debugger if sync is lost
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 08:14:04 +00:00
Axel Dörfler
4a66542685 The scroll bars now work correctly.
Mouse wheel support added.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-12 22:57:27 +00:00
Axel Dörfler
bf74bb653a Implemented the selection code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6571 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-12 20:38:57 +00:00
Axel Dörfler
8b6c387e95 Fixed the wrong return type of ViewSize().
Reduced the number of state message types.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-12 20:33:46 +00:00
Axel Dörfler
90828ad15d Changed the ConvertLine() method to produce almost exactly the same
output as the original DiskProbe.
fFontSize and fAscent are now automatically maintained when the font
size is changed. Rendering improved (spacing and location).
The maximum window size is now set to contain the whole data view.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-12 04:21:33 +00:00
Axel Dörfler
bc005359f2 Now contains the DataEditor for the file.
No longer uses the node monitoring itself, but the watching mechanism
provided by the DataEditor (it now even does this at the right place).
Removed some variables now maintained by the DataEditor.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-12 03:09:22 +00:00
Axel Dörfler
990e75bacf Started to implement the DataView class that will be the view to the editor.
For your entertaining it already shows the first block of the file/device.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-12 03:07:15 +00:00
Axel Dörfler
f748e2d460 Extended watching mechanism (it now works more like the BHandler watching
mechanism) - it's not really used yet, though.
Fixed some variable initialization bugs and missing return values.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-12 03:00:56 +00:00
Axel Dörfler
632ef26708 The OpenWindow now accepts file drops (i.e. from Tracker) and automatically
opens these files.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-12 02:58:48 +00:00
Axel Dörfler
bc2c92cd36 Removed no longer used code (was only there for testing purposes of the DataEditor).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-12 02:57:30 +00:00
DarkWyrm
9e7c0e5d01 Removed unnecessary methods in ServerScreen and DisplayDriver
Bugfixes - cursor now works under new DisplayDriver cursor management
Currently still searching for a clipping bug in ViewDriver::CopyToBitmap


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-12 01:25:41 +00:00
DarkWyrm
2bde7b6696 Removed the SetMode(int32) call - no longer necessary
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-12 01:22:47 +00:00
DarkWyrm
539232f28e Removed a warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-12 01:22:01 +00:00
shatty
92b105418d working for playback on R5 and openbeos media servers!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-11 11:03:31 +00:00
shatty
2e8a6e27d0 speex codec changed to use unpacked packets (more generic)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-11 04:22:45 +00:00
Philippe Houdoin
1c60b2d928 Move memory_pool.h under headers.
Move back under new_stack/memory_pool the source, as it's not ready for
prime time (just a  quickly hacked implementation today)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-11 00:11:48 +00:00
Philippe Houdoin
fb12e401e9 Moving back under src/tests/kits/net/new_stack memory_pool kernel module as
he's not ready for prime time yet.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-11 00:09:20 +00:00
Philippe Houdoin
2ba838b92d - Remove the "Depends" rule I added making new_stack_tester depending on
userland new stack modules, as they can't be build first, 'cause they depends...
yep, on new_stack_tester! Stupid me.
- Add netperf to build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-10 23:35:42 +00:00
Axel Dörfler
416271b759 Added a ScrollView to let the window appear more complete :)
The gradient below the header is now drawn by the scroll view, and no longer
by the HeaderView.
The ProbeView can now add a BMenuBar to a window if there is none yet - it
will also create a file menu there and add its print menu items (which is
now in a separated method and called by the ProbeWindow, too).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-10 20:10:13 +00:00
Axel Dörfler
f8e65da910 Fixed the slider resizing mode and drawing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6554 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-10 15:39:54 +00:00
Axel Dörfler
56aa406a66 Does this look familiar? Copied the DiskProbe UI - not functional yet, though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6553 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-10 15:34:29 +00:00
Axel Dörfler
5d5bcda961 Now has a handy constant for the window cascade amount in pixel. Set that
one to 20 (instead of 15) which fits DiskProbe's value.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-10 12:05:21 +00:00
shatty
e23d6a15a6 speedy duration computation, seek to zero, still missing the samples from the initial packet though?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-10 11:01:47 +00:00
Axel Dörfler
a0bf290624 Fixed window cascading.
Moved position of first window a bit more to the center.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6550 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-10 04:26:03 +00:00
Axel Dörfler
92ad515183 Implemented the document handling foundation for DiskProbe.
Does not yet maintain the window position on disk (nor any other settings).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-10 04:17:16 +00:00
Michael Phipps
c5cd141413 Removed a crashing bug in the options parsing. Improved the time handling.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-10 03:42:12 +00:00
Ingo Weinhold
02f13c4aae The header and the jamfile cache both normalize the paths of target files now. This should avoid that jamming from another directory invalidates teh cache due to differing relative paths.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-10 01:31:08 +00:00
Ingo Weinhold
74c89bd7f8 Added a normalize_path() function, that does a certain normalization of paths.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-10 01:29:19 +00:00
beveloper
bf3a9e7597 added something, but it doesn't work well
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 23:11:10 +00:00
shatty
7eef05968f seekable version 0 [not seekable lol]
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 09:17:08 +00:00
Axel Dörfler
e9dcd87490 Fixed calculation of the menu bar height and the position of the views below.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 03:05:49 +00:00
beveloper
94261db3a6 some support for aLaw and muLaw audio decompression
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 02:44:57 +00:00
shatty
3914c20b70 purposeful default 5 min length for ogg vorbis streams
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 02:04:53 +00:00
shatty
59c2f096b7 no noisy AddPage. AddPage hack for OggTobiasStream dumps subtitles to stderr
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 01:30:44 +00:00
beveloper
350710ea5e return an error when Seek is called
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6539 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 00:38:24 +00:00
beveloper
f2ca77a1b1 provide zero media_header, and let reader or decoder set up missing values
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 00:33:05 +00:00
beveloper
ffaa002659 use the correct value (reported by mmu_man)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 00:32:27 +00:00
Axel Dörfler
16957551b4 Also allow a partial allocation group as the last one.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 00:12:04 +00:00
Axel Dörfler
9d37202871 Don't throw away any blocks at the end of the disk (we also support truncated
allocation groups).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 00:11:31 +00:00
Axel Dörfler
a957866a22 Fixed blocks_per_ag bug and added some more debug output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 00:05:12 +00:00
Axel Dörfler
7a791c897c blocks_per_ag has to be doubled in each iteration (was messing up the
initialization of bigger volumes).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 00:01:11 +00:00
Ingo Weinhold
75bf6e0e81 Generated file changed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-08 23:33:56 +00:00
Ingo Weinhold
1c58cd91a4 Fixed header scanning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-08 23:33:00 +00:00
Ingo Weinhold
64c02ff8ac Fixed SubDir rule.
WARNING: Don't use this jam version yet! Header scanning is still
completely broken.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-08 23:04:12 +00:00
Ingo Weinhold
7b0cd0ecb0 A jumptoeof must fall through rule invocations as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-08 23:01:34 +00:00
Rudolf Cornelissen
1f6a1c0197 fixed 'typo'.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-08 19:43:11 +00:00
Rudolf Cornelissen
5a0b9c6b0e v0.16 final
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-08 16:27:14 +00:00
shatty
68d9b851e8 good sync in nplay
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-08 11:30:48 +00:00