Philippe Houdoin
0669f665be
Remove this stupid cyclic dependency I once introduced...
...
Should unbreak the userland net stack build process.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-16 22:50:42 +00:00
beveloper
ec276f43a0
bugfix
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-16 20:54:35 +00:00
beveloper
8a8f7088fe
removed dead code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-16 20:53:13 +00:00
beveloper
745f0912e6
removed AC-3
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-16 20:51:14 +00:00
shatty
da249551cb
fix for expiration date bug. need to mod by blkmod and also use mod by blkmod in curaddr. new TRACE variant (commented out since it is a heavy cpu hog).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-16 09:14:27 +00:00
Ingo Weinhold
906937de1b
Added missing include. Compiles on PPC again.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 21:54:07 +00:00
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
DarkWyrm
14ef62299d
Implemented and fixed font functions in DisplayDriver
...
Added some copy functions to ServerBitmap
Replaced LayerData component of Decorator with DrawData
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 20:26:01 +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
Axel Dörfler
ea7627e5a8
I believe these must be defined for the kernel build. I have no idea
...
why they weren't yet - BTW this fixes the boot_loader build.
If anyone has a better idea about _KERNEL_MODE, please yell!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 18:07:11 +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
370f27ad77
Simplified creation of a libprint printer driver.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:45:40 +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
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