Commit Graph

5720 Commits

Author SHA1 Message Date
Phil Greenway
610bb7fd59 Minor changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 20:32:05 +00:00
DarkWyrm
747e75bf8d Updated decorators to reflect the removal of _layerdata
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6603 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 20:31:40 +00:00
DarkWyrm
67387a90b7 Removed the crash in ViewDriver when moving the cursor off the bottom edge of the screen
Replaced LayerData component of Decorator with DrawData
Fixed unfocused draw bug in DefaultDecorator::DrawBlendedRect
Added some copying methods to FBBitmap and ServerBitmap
Removed a lot of disabled code from ViewDriver file
Implemented and fixed font functions in DisplayDriver
Updates to the BitmapDriver to the reflect changes in DisplayDriver


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 20:27:26 +00:00
beveloper
5bfdcec505 Using lookup tables for saturation and to avoid multiplications. About 20% faster.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 19:26:02 +00:00
Axel Dörfler
1ea4458dda Fixed two warnings, dunno why they slipped through the other time.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 18:58:41 +00:00
Axel Dörfler
81e08ae466 kernel_cpp.cpp needs direct access to headers/private/kernel/util in order
to not include our current stdio.h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 18:08:15 +00:00
DarkWyrm
1e620294dd Reintegrated Bill Hayden's removal of malloc.h. Stupid me. :/
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 17:44:55 +00:00
beveloper
39d2157739 slightly faster again. amazing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 16:21:30 +00:00
beveloper
93d87149dc slightly faster saturation checking
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 15:51:39 +00:00
beveloper
e443332206 removed debug printf
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 02:58:40 +00:00
beveloper
2d73b791c8 performance optimization, the code is finally correct
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 02:17:12 +00:00
beveloper
2e09ab5db5 simplified
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 22:22:56 +00:00
beveloper
0a66a3e039 wrote a optimized C conversation from yuv420p (which is really YCbCr to RGB32)
I'm not sure if I really understood the 420p format, so the conversion might
be wrong. But it really looks nice


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 21:24:55 +00:00
beveloper
bc3e91dcb6 added video image format conversation stuff, derived from mmu_man's ffmpeg decoder, with heavy modifications
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 18:02:22 +00:00
beveloper
5524db596f fixed duration calculation for compressed data. The three .au test file with muLaw compression that I have play ok now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 01:27:47 +00:00
beveloper
39be96dee0 support for non stereo data (like mono, or 4 channel)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 01:09:03 +00:00
Michael Pfeiffer
6647639ac6 Fixed memory leak
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 00:07:55 +00:00
Michael Pfeiffer
3b6882f17c Added ink density and dither type to halftone constructor
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 00:07:17 +00:00
Michael Pfeiffer
342f6eb938 Added argument to JobData constructor
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 00:01:48 +00:00
Michael Pfeiffer
329e4f9a7b Allow selection of ink density
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 00:00:18 +00:00
Michael Pfeiffer
e2d8351ac4 Added HalftoneView.cpp and PrinterDriver.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:58:49 +00:00
Michael Pfeiffer
7f5627dae3 Allow selection of halftone method and ink density
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:56:14 +00:00
Michael Pfeiffer
7566478beb Added InkDensity and DitherType; distinguish between page and job settings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:54:17 +00:00
Michael Pfeiffer
ef68644905 Shows a halftone preview.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:53:45 +00:00
Michael Pfeiffer
53045bc61b Use class PrinterDriver of libprint.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:46:35 +00:00
Michael Pfeiffer
69512fac34 Page and job setup dialogs remember latest settings. Simplified creation of a libprint printer driver. The printer add-on hook functions are implemented here. The libprint printer driver has to implement the function instantiate_printer_driver() where it creates an object of an inherited class from class PrinterDriver.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:46:07 +00:00
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
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
shatty
d897b15019 improved info extraction.. plays as fast as possible in MediaPlayer, not well in nplay
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-08 11:13:38 +00:00
shatty
b8827c3055 new separation of streams from seekables - first view of ogm video!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-08 09:53:22 +00:00
Rudolf Cornelissen
8c30698233 fixed CRTC1 DPMS fault!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-07 16:03:09 +00:00
Rudolf Cornelissen
ae40d46cc6 fixed CRTC1 DPMS fault!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-07 15:53:38 +00:00
DarkWyrm
b7af05771d Added UtilityBitmap class for general-purpose bitmaps in the server
Implemented  blit methods in ViewDriver - doesn't quite work yet :(
Implmemented cursor methods in DisplayDriver - doesn't quite work yet, but wil be fixed later
Color tweak to DefaultDecorator


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-07 13:50:36 +00:00
beveloper
b6fed4cfc9 fixed calculation of encoded audio duration
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-07 12:12:43 +00:00
beveloper
02d71913c4 fixed duration calculation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-07 12:00:30 +00:00
beveloper
f7295bb445 Cleanup of code. License added.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-07 11:30:07 +00:00
beveloper
82c11c1153 Fixed WMA support.
Frame rate, bit rate and other calculations improved.
Audio stream frame count and duration broken now.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-07 01:37:29 +00:00
beveloper
5ee3807fdc fixed WMA support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-07 01:35:51 +00:00
Rudolf Cornelissen
ca6bae3a7f CRTC granularity update for hardware bug on older cards (TNT2/GF2)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-06 21:25:09 +00:00
Rudolf Cornelissen
470290c1c1 CRTC granularity update for hardware bug on older cards (TNT2/GF2)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-06 21:10:31 +00:00
Waldemar Kornewald
5a483e4d35 Fixed a couple of possible dead-locks.
Fixed some minor bugs.
PPPoE: added experimental support for AccessConcentrator and ServiceName settings.
Changed libppp to import strlcat.c from libroot instead of duplicating code.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-06 18:12:24 +00:00
Waldemar Kornewald
b917144621 Changed output style and comments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-06 18:08:02 +00:00
Waldemar Kornewald
a9087159ca Removed libkernelppp source directory from headers because settings_tools.h is now in the headers folder.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-06 18:05:51 +00:00
shatty
0498000255 generalize bits per sample (we support 8, 16, 32 - which is actually 24 with padding). also fix "the bug" which was using stream->channels instead of channels for open_params.Pipe.wInterleave. it would have been nice for OpenAudio to give us some reasonable error ;-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6508 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-06 09:40:07 +00:00
shatty
2eabcdebe7 gentle patches to continue on with echo_stream_set_audioparms if we can not close the channel. also, use MakePipeIndex to give us some more reasonable pipe indices. (fix for record pipe number) VerifyAudioOpen after we open the stream, right now we fail there. :-(
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6507 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-06 08:42:19 +00:00
Rudolf Cornelissen
7a0db1a3bc fixed NV11 repeating screens trouble
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-05 16:26:47 +00:00
François Revol
32b68b5f10 avoid getting it under Deskbar when it's set as always-on-top.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-05 15:40:10 +00:00
shatty
9524098cd8 more status checking, and more output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-05 04:48:54 +00:00
Ingo Weinhold
59f2d9c1c7 Updated to reflect changes relative to jam 2.5rc3.
NOTE: The current HEAD version is almost untested. After merging in the
2.5rc3 changes it had been quite a bit of work to make the beast compile
properly again. Only very little testing has been done yet.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-05 00:15:38 +00:00
Ingo Weinhold
707a00af04 Merged in the jam2.5rc3 changes and fixed conflicts with patches.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-05 00:06:33 +00:00
Philippe Houdoin
23a3945388 Fix a copy-paste typo breaking userland modem network module build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-04 22:39:08 +00:00
Ingo Weinhold
6a355c53af This commit was generated by cvs2svn to compensate for changes in r6498,
which included commits to RCS files with non-trunk default branches.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-04 21:44:27 +00:00
Philippe Houdoin
fde3380af0 Add route to pseudo target userland_network_modules...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 23:08:26 +00:00
Philippe Houdoin
c1fd3cbf7c Add route protocol to userland stack modules build list.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 23:06:56 +00:00
Philippe Houdoin
54908015c8 route network modules added to userland stack version too.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 23:04:33 +00:00
Philippe Houdoin
7cfffb20a7 Well, I guess settings_tools.h should be under libkernelppp/headers...
At least, it fix interfaces/ppp/* build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 23:03:17 +00:00
Philippe Houdoin
a389d42d9e Reintroduce "route" network module, lost in the current/* new tree 8-\
Untested (yet), but build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 22:53:33 +00:00
Philippe Houdoin
1678ada6d1 Make distinct "route" target name for both bin command and rebirth route network protocol module...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6492 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 22:51:12 +00:00
Philippe Houdoin
66de4e82ff Build netserver too, and install netperf scripts too...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 21:50:05 +00:00
Philippe Houdoin
d5ed0fc135 Quick fixes to allow netperf to build. That's still warnings-ridden...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 21:36:36 +00:00
Philippe Houdoin
a225934384 B_KEEP_LOADED flag not required, as core network module keep them loaded...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 21:27:09 +00:00
Philippe Houdoin
9eb55bc1d1 Forgot to update userland network versions of modules should now be placed in an
obos_network folder, like kernel version, otherwise their module names root don't match
the NETWORK_MODULES_ROOT ("obos_network/").


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 12:11:05 +00:00
Philippe Houdoin
504447b3ca -nostdlib didn't link even with startfiles, which we needs for initialize_before() & co.
Soften to -nodefaultlibs link flag, so, which should have been in first place...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 11:19:57 +00:00
Philippe Houdoin
f80b17f6ff Ooops, passing NULL argument don't make net_stack_tester API... sorry, happy! ;-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 11:17:07 +00:00
shatty
8f975d5e5f axel points out that the message loop is already started by the time we get to ReadyToRun, so we can start our friends there
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 09:43:46 +00:00
shatty
46eb57b150 undo accidental commit of video_util.h comment out
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 09:42:52 +00:00
Philippe Houdoin
64a3844771 Okay, initialize_*() are not called on plain C libraries...
Re-enable _init() and _fini()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 02:28:57 +00:00
Axel Dörfler
6ebe15a039 Added support for properly initializing a file system without issueing any
cache warnings.
Now prints out actual useful information with the -v option.
Removed DEBUG from the build, so that it's now silent and can be used as
a replacement of the original.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 02:17:59 +00:00
Axel Dörfler
db88a56aa8 Now calls the new fs_shell only call kill_device_vnodes() in Volume::Initialize()
to be able to remove the cache correctly (without issuing any warnings).
The Volume::Initialize() method is now only defined in USER mode (of course, this
will change in OpenBeOS).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 02:14:51 +00:00
Axel Dörfler
77c235a2e4 Encapsulated parts of the functionality from sys_mount/unmount() in supplementary
functions that can be used by the "mkbfs" command (and similary ones).
Also added a kill_device_vnodes() function which should be called before removing
the cache in the file system's "initialize volume" function - again, its use is
intended for the "mkbfs" utility only.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 02:13:11 +00:00
DarkWyrm
1d09f6d5d8 Implemented some more functions, added some fixes.
Works perfectly for most purposes. :)`


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 00:55:43 +00:00
DarkWyrm
e56432f3cd More work done on ViewDriver - most stuff implemented, but not yet done.
Same for DisplayDriver
Moved Angle to libappserver for DisplayDriver code


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 00:52:40 +00:00
Matthew Wilber
8dee39bf9a Removed GPL text as permission was obtained from Michael Sweet to allow this derivative work to be distributed under the OpenBeOS license.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 00:52:18 +00:00
Philippe Houdoin
f856b083a7 Give an initial value to h_errno_tls, to detect if tls_allocate() is ever called.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 00:43:46 +00:00
Matthew Wilber
b309d0de79 Fixed version number calculations, disabled headerOnly and dataOnly options
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 00:29:01 +00:00
Philippe Houdoin
a1219cfa33 Removing #undef h_errno and extern int h_errno declaration, as we must
use all the same netdb.h definition, which in turn use TLS to support
a thread-safe h_errno global variable...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 00:01:00 +00:00
Matthew Wilber
f29673f8ae Initial check in for Stephan Assmus' SGITranslator
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 23:55:38 +00:00
Matthew Wilber
fbf9f5c51e added SGITranslator
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 23:53:54 +00:00
Axel Dörfler
b8c2776bb7 Moved some more functionality into create_new_vnode() to reduce code duplication.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 15:09:21 +00:00
Rudolf Cornelissen
f6ee725658 corrected 'typos'
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 13:07:10 +00:00
shatty
cce6e4c938 build patches
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 07:13:30 +00:00
shatty
8d32e5c625 more avcodec files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 05:45:31 +00:00
shatty
fa8dbc019d new MediaFormats. node monitoring codec plugin loading. codec mods to support new codec api to retrieve supported formats.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 05:26:40 +00:00
Axel Dörfler
5b25332a79 This should fix the recently introduced locking problems:
- locking policy is now: 1) the volume lock, 2) the inode lock, 3) start
  the transaction (the journal lock) - you don't need all locks, but you
  have to follow this order when you need more than one of them.
- in many cases, this makes our inode read/write lock useless. I am really
  looking forward to the OpenBeOS VFS layer where we can remove many of
  these locks again.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 01:50:00 +00:00
shatty
a3fd835dad add lcl vmdav
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 01:05:21 +00:00
shatty
a96f066c38 updated to cvs : February 1, 2004
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 00:42:25 +00:00
Rudolf Cornelissen
5a84c3b178 updated overlay scaling remarks, final 0.08 version
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-01 21:35:09 +00:00
Rudolf Cornelissen
bdad933375 CRTC1/2 mode granularity updates again
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-01 12:58:48 +00:00
shatty
4b7d0fbade simple BLooper to run an AddOnMonitorHandler
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-01 05:51:17 +00:00
shatty
341ea25117 semi-tested semi-implemented with horrific big methods
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-01 05:49:14 +00:00
Axel Dörfler
f00b71c38d Added a basic Jamfile that tries to build the netperf test application.
Probably doesn't work, but it can be used as a template :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-01 01:26:22 +00:00
Axel Dörfler
50304661f3 Uncomment the lines when you want to build anything from them.
Note: if anything in this Jamfile builds properly, it should get
part of the build, right?


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-01 01:24:46 +00:00
stmansfield
f0646cc681 Apologizing to the open-beos-cvs list...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 22:34:50 +00:00
beveloper
ae5fe0d26e pass full wave format, including extra data, as meta data
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 22:33:40 +00:00
stmansfield
31647a1839 Initial checkin so I can regress to the original sources in case I do something really stupid!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 22:32:26 +00:00
Rudolf Cornelissen
c37ac501f3 corrected typo
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 16:28:14 +00:00
Rudolf Cornelissen
1263890952 added output follows monitor feature
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 16:21:14 +00:00
beveloper
ec7ba455ed removed non working assembly
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 16:20:16 +00:00
beveloper
cc95481e0e Lets do the TIME WARP again
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 14:51:26 +00:00
beveloper
6e04e144d6 minor api changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 12:39:55 +00:00
Philippe Houdoin
74c928840f Fix IPv4 Addresses Network Byte Order mistake.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 11:42:20 +00:00
Michael Pfeiffer
730329f797 Unified handling of color and monochrome dithering.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 08:54:26 +00:00
Axel Dörfler
42b671e397 Fixed the bfs_shell build from other directories, thanks to Ingo!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 01:27:06 +00:00
beveloper
0f2976ab26 small api changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 01:00:11 +00:00
beveloper
13e3339edc force decoding as int16 to fix SoundPlay compatibility
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 00:56:52 +00:00
Rudolf Cornelissen
5137100184 now _really_ fixed CRT monitor detection!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 22:04:53 +00:00
Rudolf Cornelissen
b4db97878b fixed CRT monitor detection (both heads)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 21:47:59 +00:00
Rudolf Cornelissen
9f21ce697e startup updates; CRT monitor detection added for both heads
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 20:48:53 +00:00
Michael Pfeiffer
d2c03b1bec Renamed many constants and fields according to Open BeOS coding style guide.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 17:12:00 +00:00
Michael Pfeiffer
2f6e49a929 Implemented Floyd Steinberg dithering and made it default.
Renamed many constants and fields according to Open BeOS coding style guide.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 17:10:36 +00:00
Michael Pfeiffer
7ea239b20d Implemented Floyd Steinberg dithering and made it default.
Renamed many constants and fields according to Open BeOS coding style guide.
Removed unused code that handles color spaces other than B_RGB32.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 17:09:32 +00:00
shatty
d7f45f5855 NegotiateOutputFormat can not error in any situation -- really
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 09:21:22 +00:00
shatty
ba47158dc9 stereo outputs twice as much data. now it works!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 09:00:11 +00:00
shatty
619fa324f4 step by step, to a better stereo decode
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 08:41:06 +00:00
shatty
82175b7177 sweet speex.. at least for mono
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 08:27:32 +00:00
shatty
1f82f2a416 stereo decode fix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 08:17:50 +00:00
shatty
8db90088c9 more strict check on blocksizes in the header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 06:43:47 +00:00
Axel Dörfler
a3acf1f210 Now defines UNSAFE_GET_VNODE when compiling.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 00:51:04 +00:00
Axel Dörfler
36660c5e99 Switched from direct get_vnode() usage to the Vnode class.
Now acquires the volume lock always before get_vnode() is called as long
as UNSAFE_GET_VNODE is defined (which now is by default).
May cause some unwanted side-effects; it still has to be thorougly tested.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 00:47:56 +00:00
Axel Dörfler
b39a7a0edd Fixed the "inode is not becoming unbusy" problem.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 23:46:23 +00:00
beveloper
d7a5db30d1 report something for audio, too (doesn't work well)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 23:44:53 +00:00
beveloper
e9fe0b2203 Properly report video track information.
Moved infromation gathering into AllocateCookie.
Report proper data in GetNextChunk media_header.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 23:32:10 +00:00
beveloper
a6423eea41 improved media_header usage
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 23:30:00 +00:00
Philippe Houdoin
313aa5fc08 Attributes support evolution. Now layers support attributes too.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 23:04:38 +00:00
Axel Dörfler
4d61634cbe Added more (and conditional) debug stuff -- currently turned off.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 22:41:49 +00:00
Axel Dörfler
01338285a9 Some minor style changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 22:19:17 +00:00
Axel Dörfler
73e3e50c41 Fixed the bug that caused the "vnode already exists with different cookie"
crash: bfs_inode::InitCheck() didn't check INODE_DELETED, and Inode::Remove()
didn't clear the INODE_IN_USE flag (as the original BFS, IIRC).
Some more debug output and checks.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 22:14:07 +00:00
Axel Dörfler
55ba8e3830 Changed the prompt of the bfs_shell, so that I can't confuse it with the
fsh command (which is part of BeOS for some unknown reason).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 21:59:44 +00:00
Axel Dörfler
753f8791b9 Added support to change the prompt (at compile time for implementations).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 21:58:32 +00:00
Axel Dörfler
fb1146f245 Improved debug output; added thread information.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 21:50:00 +00:00
Axel Dörfler
9dea85013f Make sure that the local "Debug.h" is actually used.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 21:48:21 +00:00
Michael Pfeiffer
beb1961c1f Link against libprint.a
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 20:03:32 +00:00
Michael Pfeiffer
46b5fade3c Bug fixes and clean up.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 20:01:45 +00:00
Michael Pfeiffer
74442bbb69 Use class PrintTransport to access transport add-on.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 19:59:45 +00:00
Michael Pfeiffer
51303ba2b9 Implemented basic color printing support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 18:50:45 +00:00
Michael Pfeiffer
aa36fbce3a Extended to dither each RGB channel separately.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 18:47:58 +00:00
Axel Dörfler
fc2f5c4f98 Fixed working with volume without indices - in case of a corrupt indices node
the Inode will now be deleted, and it will only be tried to be instantiated
if the indices block_run is not zeroed out.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 10:45:54 +00:00
Axel Dörfler
403d1302de Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 10:44:18 +00:00
Rudolf Cornelissen
203b86df50 added dualhead switch mode
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 10:37:50 +00:00
shatty
162cf2d0a5 fix build problem
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 03:50:48 +00:00
shatty
e396ab580d untested version
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 00:24:03 +00:00
beveloper
1689f0e346 make MediaPlayer recognize the video track, plus small cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 23:34:08 +00:00
Axel Dörfler
11805f2d85 BlockAllocator::InitializeAndClearBitmap() now also sets the used_blocks
field of the super block correctly.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 23:12:59 +00:00
Axel Dörfler
3bb10b9323 The standard indices are now created when a volume is initialized.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 23:07:52 +00:00
beveloper
0e1505b5f4 more support for video tracks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 23:04:52 +00:00
beveloper
6c6da58bf4 be more careful when searching for a decoder
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 23:04:01 +00:00
beveloper
7f823d473b if GetFormatFor failes, it now returns a useable wildcard format
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 23:03:18 +00:00
beveloper
507f09d364 added standard avi index parsing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 23:01:46 +00:00
François Revol
bdb2cb7960 Added licence notice; anyone knows better ?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 19:45:20 +00:00
François Revol
a8e7c82fd7 fix a warning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 19:42:17 +00:00
François Revol
837c5110d1 Found top.c in some public source from R3... that's the original one,
with a pointer to a mirror.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 19:40:10 +00:00
beveloper
df6c2e833f better buffer size suggestion
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 19:08:27 +00:00
beveloper
21aea2f3df make failures more visible
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 19:07:45 +00:00
beveloper
d20d5c94f4 temporary crash fix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 18:23:50 +00:00
DarkWyrm
8a14aea116 Updated PreviewDriver to the new DisplayDriver API and made appropriate changes to DecView as a result
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 02:23:20 +00:00
DarkWyrm
5d0cc8ac2e Implmented a couple more methods
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 02:20:12 +00:00
DarkWyrm
dfd2e47c90 Updated sources to remove Pattern parameter from DisplayDriver function calls
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 02:07:28 +00:00
Axel Dörfler
9e6ec53a18 You can now specify all important options on the command line.
Now does a sync() after the changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 23:10:31 +00:00
Axel Dörfler
b41bf79188 Standard log size is 2048 blocks, not 4096...
Added a ToDo comment so that I don't forget to add the standard indices :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 22:41:32 +00:00
Michael Pfeiffer
91c89ca37a Added color support (untested)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:54:03 +00:00
Michael Pfeiffer
1d66a57695 Include private header files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:47:20 +00:00
Michael Pfeiffer
6f9cddea93 Moved files from canon_lips folder to here
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:44:26 +00:00
Michael Pfeiffer
58707243bd Moved libprint from canon_lips folder to here
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:41:32 +00:00
Michael Pfeiffer
e2817cf10f Added shared folder to build process
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:39:53 +00:00
Michael Pfeiffer
7dda724a1d Use libprint header files in private header file folder
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:38:35 +00:00
Michael Pfeiffer
cf85c4146d Moved libprint folder to ../shared
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:37:48 +00:00
Michael Pfeiffer
192de85b62 Moved files to ../shared/libprint
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:33:34 +00:00
Michael Pfeiffer
bfe3f8fdf3 Moved files into ../../shared/libprint/tools
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:31:40 +00:00
Michael Pfeiffer
54b60814b5 Moved header files to private/printer/libprint.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:29:43 +00:00
Michael Pfeiffer
9d16631b98 Use class PrintTransport to access transport add-on.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:26:43 +00:00
Michael Pfeiffer
393fb10d6e Added class PrintTransport to simplify the usage of a print transport add-on.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:19:16 +00:00
Michael Pfeiffer
3a35412852 Added copyright text
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:18:30 +00:00
Phil Greenway
83c60cc9e2 Factor updated by Chris Simmons
Sleep by Chris Simmons

New with
this version is ability to handle milliseconds and microseconds in
addition to seconds, minutes, hours, days like in standard 'sleep'.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:03:54 +00:00
Phil Greenway
0202a6eb59 id by Chris Simmons
Just a small note about 'id'... All testing I've been able to perform on my machine in compiling it was done under BONE.

Seeing as how BeOS does not have true multi-user yet, it was impossible for me to simulate the usage of multiple users, groups, the group list functions.

It appears to work as intended, reporting the ID and NAME of the current and requested USERNAME, but further testing is required to be sure.

I've removed the -a argument, and implemented as best as I could this spec:

http://www.opengroup.org/onlinepubs/007904975/utilities/id.html

No effort has been made yet to deal with posix LOCALE issues, yet.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:02:18 +00:00
Philippe Houdoin
ce5d0dee99 Ooops, Francois Revol's floppy driver is supposed to target R5 kernel, not yet OBOS one.
Commented out OBOS kernel build rules, and now build for R5.
NOTA: It's a PIO-read-only implementation currently.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 20:57:29 +00:00
Phil Greenway
d6c6bb2c21 Factor by Chris Simmons
Tput by Jan-Rixt Van Hoye (fixed doesnt require ncurses now)
Cut by Jan-Rixt Van Hoye


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 20:55:49 +00:00
Axel Dörfler
6be2590464 Also added "bootfloppy" to build the boot floppy (still available using "boot_floppy", too).
Just for consistency with "installfloppy" and Marcus :).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 20:36:12 +00:00
Rudolf Cornelissen
b1332f1955 corrected typo
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 13:19:00 +00:00
Rudolf Cornelissen
551aa4c1d3 modified logline to adhere to settings file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 13:09:03 +00:00
Rudolf Cornelissen
1d102b08cd fixed overlay follow head in virtualscreens
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 12:36:48 +00:00
Rudolf Cornelissen
cc6f554257 added overlay follows head functionality
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 12:17:51 +00:00
Axel Dörfler
a49b150fff Removed the fOwningThread functionality from the Journal class; it now
just uses a RecursiveLock instead.
Changed Journal::CurrentTransaction() so that it returns the current
transaction only if it's valid for the thread asking for it.
That doesn't fix the bug, but changed its timing a bit.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 11:19:05 +00:00
Axel Dörfler
0057030901 Added some more debug output and checks.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 11:15:43 +00:00
Axel Dörfler
d401c62383 Fixed typo.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 11:14:37 +00:00
Axel Dörfler
8364cf0a90 Added a LockWithTimeout() method to the RecursiveLock class.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 11:11:18 +00:00
shatty
e1431e96f3 remove references to B_OGG_FORMAT_FAMILY
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 10:59:33 +00:00
Philippe Houdoin
9f9f78217c Fix warning, and let's dump_ipv4_header() now...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 10:22:19 +00:00
Axel Dörfler
3eacb520e4 The InodeAllocator will now remove the INODE_NOT_READY flag to unblock
any pending bfs_read_vnode() calls when it is destructed and the inode
goes away.
Fixed some endian related issues.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 09:54:47 +00:00
Axel Dörfler
2726d4732e This should fix the syslog_daemon build under R5 (compiles strlcpy() in).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 09:41:41 +00:00
shatty
d9e843d8e1 remove breaking csplit from build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 09:32:35 +00:00
shatty
e24c8d423d take advantage of new types in OS.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 09:32:16 +00:00
shatty
b83b512f83 relocated kernel_cpp.h requires different UsePrivateHeaders
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 08:55:46 +00:00
shatty
06276e0a97 tiny debug compile fix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 08:48:15 +00:00
François Revol
40492c28e8 More warning fixes; fixed Axel's mess (thanks anyway :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 08:36:31 +00:00
Philippe Houdoin
eb0b2846e8 NOw that's moved to Jamfiles build, no need for build instructions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 08:09:08 +00:00
Philippe Houdoin
58cdaa07fb Add new code reorg files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 08:05:13 +00:00
Axel Dörfler
a98a451545 Added a small test application that uses the same allocation group algorithm
as (our) BFS, so that you can play with it.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 02:37:29 +00:00
Axel Dörfler
d61e7f330a Wrote a simple algorithm to create appropriate allocation group values
for newly initialized disks. Should work for all sizes :-)
Documented a bit what good values actually mean.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 02:26:22 +00:00
Axel Dörfler
afd7a6e6ce Added a new "stattest" command that permanently stat()s a file that is
being created and removed without a break.
That test is finally able to reproduce the bugs we are seeing in the
kernel but that never occured in userland - thanks *very* much to
mmu_man who found the shortest way to trigger it.
Just run it for a few minutes and it should happen (press "return" to stop it).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 01:17:22 +00:00
DarkWyrm
a3365dd184 Update to match overhaul of DisplayDriver API
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 00:41:45 +00:00
DarkWyrm
b4fe4d74fe Major overhaul of DisplayDriver API
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 00:39:01 +00:00
DarkWyrm
06d841d5ea Major overhaul of DisplayDriver API - fewer virtual functions and less duplicated code
Removed Clipper from build
Removed ScreenDriver from build for the moment


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 00:38:14 +00:00
Rudolf Cornelissen
e0dd08e80c fixed move_display distortions (both heads)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 20:20:18 +00:00
Rudolf Cornelissen
693152bfa2 Added dualhead support for 8- and 16bit colordepths
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 16:49:49 +00:00
Rudolf Cornelissen
bc5690ab74 added dualhead support in 8- and 16bit colordepth
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 16:46:54 +00:00
Rudolf Cornelissen
4b47486ee5 updated mode granularity checking / max virtual size limiting for dualhead cards
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 15:06:35 +00:00
Axel Dörfler
c10586fe0d Fixed a typo.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 12:35:00 +00:00
Axel Dörfler
965c8c8b4d Fixed the Volume::Mount() call; BlockAllocator::Initialize() was never
called since last change (could mount volumes, but cannot write to them
anymore without errors).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 12:29:26 +00:00
shatty
97a08414e0 accurate frame count and duration computation. SoundPlay seems to behave /slightly/ better now. At least it stopped machine-gun playing the files. unfortunately the caching packet implementation seems to come with a drawback. the granulepos is only valid on the initial traversal through the file. not sure why but this means that we only get one shot at computing the frame count and duration, so I cached them for the time being. it would be nice to be clever about recomputing the frame count and duration in the face of changing file sizes (downloads) and not traverse the whole file anyway, but this will require some more work. also we may (will?) need those granulepos for seek.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 10:51:54 +00:00
Axel Dörfler
c4e3ef09c4 Removed the makefile, since it's not used at all.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 10:38:38 +00:00
Axel Dörfler
4472757fb0 Renamed the generic "floppy" target to "boot_floppy" so that it doesn't
clash with the floppy driver anymore.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 10:33:13 +00:00
Axel Dörfler
6b6b3d294b Fixed all warnings.
Renamed DPRINT() to the more common (in our codebase) TRACE().
print_sr0() is only compiled in and called if DEBUG is defined.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 10:28:16 +00:00
Axel Dörfler
fb86eb2c00 Fixed all warnings, added license.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 09:53:51 +00:00
Axel Dörfler
322defd113 Accidently broke the build by allowing kernel_cpp.cpp to be built without
having access to private/kernel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 09:33:31 +00:00
Axel Dörfler
e0014cf657 Reduced the block cache size a bit.
Set the volume ID to 1 now - that's a hack to get it working until
we have better support from fs_shell's kernel.c.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 03:39:03 +00:00
Axel Dörfler
9e72b7739d Inode::Create() now prints out a reason if new_vnode() failed.
If the parent is NULL, Inode::Create() will now set node::parent to
the node itself, like BFS is doing it (for root and indices nodes only).
Added a temporary hack in Volume::Initialize() to get the inodes freed.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 03:38:08 +00:00
Axel Dörfler
ddf3d84685 Removed debug output, set mode of newly created root node to 0755 instead of 0777.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 03:20:07 +00:00
Axel Dörfler
a447f8b11c Added an initial mkbfs test app (it's intended to be used under R5).
Hardcoded device file to "/boot/home/test-device" - more to come :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 02:59:00 +00:00
Axel Dörfler
7410cb93f2 Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 02:54:49 +00:00
Axel Dörfler
437490577d Added the USED_IN_FS_SHELL define.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 02:51:12 +00:00
Axel Dörfler
eb02489701 Bound the tracker feature to a USED_IN_FS_SHELL define (to allow building
in other environments, too).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 02:47:24 +00:00
Axel Dörfler
aac1dff951 Updated the comment in bfs_initialize() - which we don't need for R5 (as it's
never called).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 02:45:54 +00:00
Axel Dörfler
3154133754 Moved the functionality of Volume::IsSuperBlockValid() into the new
disk_super_block::IsValid() method.
There is now a disk_super_block::Initialize() method that sets up
a super block for creating a new file system on it - it's currently
hard coded to produce correct results for 10 MB images, though;
the allocation group stuff has to be done a bit more flexible :)

Added a DeviceOpener class that simplifies Volume::Mount() a bit and
fixes some problems of it (forgot to call close() once or twice).
Implemented the new Volume::Initialize() method that completely
covers the mkbfs functionality.

Fixed the broken Volume::ToBlockRun() method - AFAICT it has only
be used by Volume::CreateIndicesRoot() and in dump_bplustree_node
so far (should not have been critical, as the former was probably
never called yet [only if you had tried to create an index on a
BFS volume that didn't have indices yet]).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 02:44:27 +00:00
Axel Dörfler
d7db210882 Fixed a bug that could happen when calling Inode::Create() with unusual
arguments (such for creating a root directory, for example).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 02:08:31 +00:00
Axel Dörfler
81566b9389 Implemented initalizing the bitmap of a fresh volume in the new call
BlockAllocator::InitializeAndClearBitmap().
Added BlockAllocator::BitmapSize() which returns the size of the block
bitmap in bytes - used it where appropriate.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 02:06:47 +00:00
Axel Dörfler
daf0126bb2 alarm_event() has sent the signal to the currently running thread instead
of the one that issues the alarm - it now does an ugly cast to get the
real thread structure. It would be nice if we had an additional user
parameter to a timer event.
Thanks to Travis for reporting this one!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 02:01:46 +00:00
shatty
6f9a2da340 DarkWyrm feature request: keyboard short for Save As... command-shift-s
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 00:24:10 +00:00
shatty
992d3cc594 std::vector<void*> crashes gcc 991026, so I switched to a vector of stream serialno, and use the stream serialno through the serial->OggStream* map to get back the OggStream * cookie for AllocateCookie. (whew!) casting the pointer to int probably would work too but this solution seems less hackish.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 00:22:56 +00:00
beveloper
9806a571a3 removed ogg format and meta format description
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 22:29:53 +00:00
beveloper
6e2ff16018 small test, but this resync thing doesn't work well
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 22:07:07 +00:00
shatty
05116a366a do not fail if GetFormatFor fails, instead spit out a TRACE message and then use a default format, with the user_data field populated so that MediaPlayer can give a somewhat helpful error message
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 21:33:28 +00:00
François Revol
4d8c3e52a9 Fixed prototype names
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 20:31:53 +00:00
Axel Dörfler
016f7b6f32 Fixed compilation when you can't add private/kernel to your include headers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 18:31:04 +00:00
Axel Dörfler
0f18208594 BMediaFormats::InitCheck() now checks if the global lock could be initialized
to give its existance a bit more sense.
update_media_formats() no longer ASSERTS if the lock is held, but fails
if it's not locked.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 15:56:10 +00:00
Axel Dörfler
ddb013472a Switched to kernel_cpp.cpp/h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 15:45:21 +00:00
Axel Dörfler
14795a07ba Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 15:42:16 +00:00
Axel Dörfler
8d0b31a063 Fixed warnings.
Minor style changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 15:25:50 +00:00
Axel Dörfler
b103e03a71 Switched to kernel_cpp.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 15:13:57 +00:00
Axel Dörfler
d3d255f3a9 Got btree test to build again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 15:11:19 +00:00
Axel Dörfler
6fbc2b70db Updated for change in the debug mode.
Switched to kernel_cpp.cpp/h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 15:04:20 +00:00
Axel Dörfler
67a14a5ee7 Unbroke the debug build (also in user mode).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 15:03:38 +00:00
Axel Dörfler
ba6b73149c Not needed anymore, now uses kernel.cpp/h (same thing, just in a standard location).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 14:50:09 +00:00
Axel Dörfler
54343bbc2d Switched to kernel_cpp.h/cpp.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 14:48:40 +00:00
Axel Dörfler
aef00d7b03 Cleaned up the debug mess mmu_man has created (thanks anyway!).
Fixed a bug where the debug commands would be added in bfs_mount(), but
not removed (since bfs_unmount() is only called if bfs_mount() doesn't
fail).
Switched to kernel_cpp.h/cpp.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 14:46:24 +00:00
Axel Dörfler
a893229e08 Cleaned up the debug mess mmu_man has created (thanks anyway!).
Switched to kernel_cpp.h/cpp.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 14:44:51 +00:00
Axel Dörfler
b53b9c0cd9 Cleaned the debug mess mmu_man created (thanks anyway).
Switched to kernel_cpp.h/cpp.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 14:43:37 +00:00
Axel Dörfler
55b5474b8b Added _PACKED to the on-disk structures.
Switched to kernel_cpp.h/cpp.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 14:38:51 +00:00
shatty
79b7954ccf somewhat more fun duration stuff.. for testing purposes only
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 14:38:18 +00:00
François Revol
32e3f99972 Debug Inode ctor/dctor; fix printf args warnigns
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 13:36:13 +00:00
Waldemar Kornewald
1cea3d8564 Updated according to name changes in kernel classes.
IPCP and PAP (hopefully) make use of profiles.
Minor changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 12:57:01 +00:00
Waldemar Kornewald
683165b7d1 Added profile and interface naming support.
Added some small doxygen comments.
Minor changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 12:54:47 +00:00
Waldemar Kornewald
f9ad2df864 Added profile and interface naming support.
Added 'K' prefix to all kernel classes to resolve naming issue with doxygen.
Began some small doxygen comments.
Minor changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 12:54:00 +00:00
Waldemar Kornewald
d9ca398271 Added naming support.
Simplified by using new helper methods in libppp.a.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 12:51:43 +00:00