Commit Graph

14037 Commits

Author SHA1 Message Date
Rudolf Cornelissen
85406c4d2a added display_mode.timing 'tweaking' for the 4 TVout video modes. The 4 desktop modes have yet to be added, (so) not yet finished.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-03 20:01:11 +00:00
Stephan Aßmus
8061ab77fa * fixed a bug with setting the transparent color
* changed behaviour when searching for the
  index of the specified to be transparent color:
  if there is no direct hit, the closest match
  is found and adjusted to the specified color,
  so that the transparency always works out


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-02 23:40:21 +00:00
Adi Oanca
f59edb4bf0 - removed RootLayer::WinBorderAt(). Use Layer::LayerAt() instead.
- Added a skeleton for RootLayer::SetActive()
- removed Workspace::SetFocus(). Use AttemptToSetFocus() instead.
- properly implemented Workspace::_SetFocus().
- removed Workspace::fActiveItem - it had/has no use.
- fixed a problem with Decorator buttons being drawn improperly when
B_MOUSE_UP was generated outside their area.
- added 2 TODOs to later fix Decorator's (re)drawing path.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-02 21:55:45 +00:00
Stephan Aßmus
3647107a2e * reworked GUI to have better layout and be more font-sensitive
* added option to specify max number of colors
* improved palette creation (quite an improvement with my test images,
	but a better color reduction algorithm surely exist)
* more to come with regards to transparency (for examply, being able to
	specify the transparent index seems like complete bogus to me)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-02 16:59:06 +00:00
Rudolf Cornelissen
6e7679be67 updated proposemode aspect check stuff to forego checking in the case of a tvout capable card, for a TVout compatible mode if TVout is indeed requested. In other words: fixed NTSC DVD mode. (note btw that aspect and modeline stuff should be / will be resetup one day when DDC/EDID is finally used: but before that can be done, I2C setup should be clear. setting up TVout will help out in this area :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-02 15:45:48 +00:00
Rudolf Cornelissen
c5fe5f2d06 fixed PAL VCD modesetting validation: actual resolution is 768x576 for 800x600 overscanning mode. Testing with cmd line app 'vidscreen' BTW (matrox driver site, 'tools'). Note, still got to fix NTSC DVD modesetting: aspect check needs to be disabled for TVout..
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-02 08:27:07 +00:00
Rudolf Cornelissen
efe9c7a607 added TVencoder activation code for mode asked for by user (if supported). Currently a testimage (vertical colorbars) will be displayed on the TVset if a TVmode is selected, while VGA keeps working normally. Singlehead cards only for now, dualhead don't execute this yet. Warning: not yet actually tested (in this driver ;-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-01 19:28:19 +00:00
Jérôme Duval
87fd7c1b16 fix link
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-01 16:14:11 +00:00
Rudolf Cornelissen
b245971503 updated validation for TVflags in display_mode to reflect nvidia driver capabilities (instead of matrox driver ones). Going for singlehead card tests first.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-01 10:06:58 +00:00
Adi Oanca
bbf8c95b5a * added Layer/WinBorder::WorkspaceChanged() hook.
* make RootLayer::SetWinBorderWorkspaces() work under NEW_INPUT_HANDLING
define. Soon I think I'll move this method under WinBorder's hood.
* RootLayer::change_winBorder_feel() is also working under this define

** NEW_INPUT_HANDLING define is active.
   If someone discovers something bad happening after this checkin please
notify me on app_server list. If in one week no major problems appear,
I'll remove this define and the old code.
   Thanks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-01 10:03:43 +00:00
Jérôme Duval
a7c2985541 takes string width into account
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-30 22:32:45 +00:00
Jérôme Duval
27c7bf1ac1 fix the build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-30 22:32:01 +00:00
Rudolf Cornelissen
9a7218c5e5 added more logging for brooktree TVout.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-30 19:51:07 +00:00
Rudolf Cornelissen
21f6ecabcb added more brooktree/conexant modesetting stuff. still not in use.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-30 18:21:19 +00:00
Jérôme Duval
633dee064e fix packages view, added a copy engine class
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-30 14:58:05 +00:00
Rudolf Cornelissen
aa6505c068 removed all matrox maven TVout register and macro defines. now oly nVidia defines are left here.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-29 15:37:48 +00:00
Rudolf Cornelissen
77497c49bf removed old matrox MAVEN tvout code. Added fixed 'modelines' for Brooktree/conexant TVout: PAL and NTSC 640x480 and 800x600 (desktop modes), PAL 720x576 and NTSC 720x480 overscanning modes (DVD playback), plus PAL 800x600 and NTSC 640x480 overscanning modes (VCD/MPEG1 playback). All from BeTVOut, not yet in use though (no TVout yet).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-29 15:36:49 +00:00
Rudolf Cornelissen
0ece490589 added i2C readbuf and writebuf routines, added extra check on supported BT/CX encoder type.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-29 14:40:48 +00:00
Rudolf Cornelissen
0d0b03fd3a updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-29 11:47:48 +00:00
Rudolf Cornelissen
0d492d2ff8 finalized virtualscreen panning control granularity constraints for VIA HW. Overlay is now completed BTW. Bumped version to 0.16. Next up: 2D acceleration. Hopefully :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-29 11:47:11 +00:00
Rudolf Cornelissen
217024e94c added virtualscreen support: overlay output window gets corrected when viewport in virtualscreen is moved.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-29 10:04:18 +00:00
Rudolf Cornelissen
980cfe5327 tuned VIA overlay buffer pitch/width granularity constraints: VIA handles downto 8 pixels (checked on CLE266)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-29 09:28:11 +00:00
Rudolf Cornelissen
c21b10bf4c quickly tried chromakeying as alternative to colorkeying, but that doesn't seem a solution. So, overlay tweak alert for CMAP8 still stands. Looks like 'BeOS' needs to send a colorpalette index to the driver for colorkeying alongside the currently used way (sending literal color).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-29 08:02:06 +00:00
Axel Dörfler
eb581c1455 Fixed the mkbfs build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-29 01:27:39 +00:00
Jérôme Duval
b5feb1f13f total size is now working
copied BPrivate::CopyLoopControl impl from libtracker.so because R5 loader doesn't seem able to find these symbols correctly in libtracker.so


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-28 22:50:52 +00:00
Adi Oanca
8285d6b3c0 * implemented/fixed RootLayer::SetActiveWorkspace() under
NEW_INPUT_HANDLING define.
* added Layer/WinBorder::WorkspaceActivated()



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-28 21:12:38 +00:00
Jérôme Duval
61b3e949b4 more copy loop control methods
added a size view


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-28 16:15:02 +00:00
Jérôme Duval
83e02263b7 added a socketpair in libsocket.so with corresponding code in the network stack driver and the network stack
socketpair() in the network stack is empty and still to be implemented for real


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-28 12:21:42 +00:00
Jérôme Duval
b093c5d130 we have socklen_t in our socket.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-28 10:09:13 +00:00
Axel Dörfler
4aab22ef1c Implemented the "mimeset" command.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-28 00:30:26 +00:00
Axel Dörfler
4dd3c15639 Renamed SSInputFilter/SSController to ScreenSaverFilter and ScreenSaverController.
Germans are usually a bit picky about abbreviations...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-27 21:32:01 +00:00
Stefano Ceccherini
d94f6328d7 Clarified a TODO item, before I forget about it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-27 15:18:51 +00:00
Rudolf Cornelissen
78c83805f2 added forgotten explicit CRTC1 access selection in some i2c routines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-27 14:55:17 +00:00
Rudolf Cornelissen
04d11137af expanded/modified shared_info once again (for encoder info).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-27 14:19:41 +00:00
Rudolf Cornelissen
12566cbd0d added brooktree (BT) and conexant (CX) TV encoder recognition, as far as was supported in BeTVOut (BT868/869, CX25870/25871). Tested OK on TNT1 with BT869 on secondary adres, primary bus.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-27 14:18:46 +00:00
Rudolf Cornelissen
170a41cdcb added I2C bus and TVout chip-location specific info to shared_info.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-27 10:31:05 +00:00
Rudolf Cornelissen
6527fbe56b updated docs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-27 10:30:19 +00:00
Rudolf Cornelissen
15b4879f71 added I2C bus wiring checks, and bumped version to 0.54. Note: the driver is tested on TNT1, the new code has not been tested for newer cards yet. Note also: the driver is now nolonger binary compatible with the 3D add-on alpha2, 2.5 and 3 (modified driverinterface).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-27 10:25:49 +00:00
Jérôme Duval
a5c04ff3a5 we update the message runner interval time to have the next message when we could need to invoke screen_blanker.
Pointed by axeld's watch, thanks :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-27 10:04:34 +00:00
DarkWyrm
286a97ac61 Fix for skipping over tracks when playing through a disc in sequential mode
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-27 00:52:17 +00:00
Axel Dörfler
bb218ba83f More cleanup.
Get rid of unused fRtc variable.
Added TODO about why the current solution doesn't work correctly (doesn't start
the screen saver at exact times, but possibly almost twice fBlankTime too late).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-27 00:17:12 +00:00
Axel Dörfler
3b7087718c Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-26 23:34:26 +00:00
Marcus Overhagen
4097611c9f Fixed the bugs I introduced earlier. original code was ok.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-26 19:55:12 +00:00
Jérôme Duval
18c5b74250 added package icon
added a InstallerCopyLoopControl class


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-26 15:04:52 +00:00
Rudolf Cornelissen
f4d7a7b4bd added more I2C stuff. Low(est) level routines are now completed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-25 19:27:26 +00:00
Rudolf Cornelissen
d1d567ab21 added more I2C stuff (in progress)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-25 17:48:04 +00:00
DarkWyrm
3df611d78d Removed earlier bug with data tracks
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-25 00:51:04 +00:00
DarkWyrm
9b56c14770 Massive retooling of drive-watching code to reduce complexity and thus, (hopefully) bugs.
Squished the CD-exchanging bug which I thought I got last checkin.
Added a minor bug which will get fixed later -- clicking on a data track will cause the track menu and the track name to disappear


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-24 21:13:21 +00:00
Rudolf Cornelissen
f282ec8116 added I2C bus #0 and #1 CRTC register defines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-24 17:57:05 +00:00
Rudolf Cornelissen
6c25f4ae64 added I2C routines from BeTVOut (in progress). Starting TVout support (whenever I have a bit of spare time :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-24 17:55:58 +00:00