Commit Graph

14084 Commits

Author SHA1 Message Date
Adi Oanca
482a9b5d8c * replaced (Focus|Front|Active)WinBorder methods in RootLayer with shorter
names like Front|Focus|Active because in a not so later stage of
development these methods will return Layer* instead of WinBorder*
* fixed a problem where (floating) windows were not shown because their
visible regions were not cleared and taken as valid.
* fixed a bug where clicking on a border button actualy performed the
specific action instead of first activating the window.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-23 20:34:19 +00:00
Marcus Overhagen
2239adfca3 properly mask off bits
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-23 19:33:10 +00:00
Marcus Overhagen
b21413013b it's not allowed to spin 250ms
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-23 19:22:23 +00:00
Jérôme Duval
5b9ea6c314 added some views for packages
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-23 16:01:21 +00:00
Axel Dörfler
f1358045f7 The "session" partitioning system is now also working in the kernel (static initialization - there is no C++ constructor called).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-23 01:39:12 +00:00
Adi Oanca
42fb26b604 * changed the way we get data from the Window Manager (Workspace class for
now) (there will be a WindowManager class soon). We use a simple BList
now, for simplicity reasons; performance comes later :-).
* added RootLayer::RevealNewWMState() which will actualise the window list
and display/repaint differences between this state and the previous one,
including focus. It also sends B_WINDOW_ACTIVATED as appropriate. This
method removes other like get_workspace_windows(), draw_window_tab(),
winborder_activation(), show_final_scene() which were a bit confussing.
* ALL these changes are available under NEW_INPUT_HANDLING define which
isn't active yet. Soon...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-22 21:43:23 +00:00
Rudolf Cornelissen
92f02bd42f updated nVidia kerneldriver to use DMA acceleration as default when the nv.settings file is missing. As long as the settings file was present, the settings file default was used, which already was DMA acceleration. Now DMA is always used as default.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-22 19:01:49 +00:00
Rudolf Cornelissen
0d5dbad3ec fixed a faulty registerdefine (colorkey register). Modified some register's names to be more 'precise'.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-22 18:09:56 +00:00
Rudolf Cornelissen
9e372555d2 bumped version to 0.15.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-22 18:09:03 +00:00
Rudolf Cornelissen
b96e7791c1 added overlay colorkeying. Working OK in 15,16 and 32bit spaces. Works (with a tweak) in 8 bit space. The VIA hardware wants the colorpalette INDEX as key instead of the displayed color(cd obos_svn/trunk/src/add-ons/accelerants/via/). Unfortunately a reverse lookup isn't conclusive, as BeOS and Zeta use two palette entries for white. I'll try to find a hardware setup so that it wants a displayed color in 8-bit mode, but no guarantees yet. If this turns out to not be possible, I suggest adding the color-index of the current displayed mode (valid only in indexed mode, so CMAP8) to the system's overlay_window information struct, alongside the displayed color. Somehow (would break compatibility with other BeOS versions?). Anyway, I'll search for a different hardware setup for this. Keep your fingers crossed :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-22 18:05:35 +00:00
Axel Dörfler
f10cba9aec Changed get_mount() to return a status code instead of just the mount or NULL.
Some fields of fs_mount were not properly initialized when FS's mount function
was called, and therefore, could let get_mount() return a mount structure that
was not yet read for public consumption (this should fix bug #51).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-22 17:45:43 +00:00
Marcus Overhagen
4f7d58cbd5 Made sure that nodes which publish audio and video outputs are listed as video.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-21 19:47:23 +00:00
Jérôme Duval
be188ae133 Echo Generic Driver
Release B2

-New firmware for Gina3G & Layla3G that fixes pops and clicks with simultaneous MIDI
and audio I/O.  There is now only one DSP firmware image for both Gina3G and Layla3G.
-The new firmware does not support 8 kHz sampling
-Changed C3g and C3gDco to support the new firmware
-Added C3gDco::GetAudioMeters virtual method so that the correct meter values
        are returned for Gina3G and Layla3G
-Simplified CChannelMask; the mask is no longer stored byte-swapped on Macs and the
masks are at most 32 bits wide
-Moved the MakeDaffyDuck method from CEchoGals to a static member of CDaffyDuck;
the constructor for CDaffyDuck is now protected, so that you can only create new
ducks by calling MakeDaffyDuck.
-Various minor changes to avoid compiler warnings for AMD64 build
-OsSupportWdm has been rewritten to use the WDM DMA APIs


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-21 18:10:03 +00:00
Jérôme Duval
35d3acb250 added an EULA, etc ...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-21 15:55:29 +00:00
Oliver Tappe
dd7602bbec fixed off-by-one error in DIGEST-MD5 authentication mechachnism which caused failure with some servers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-21 13:27:22 +00:00
Jérôme Duval
d98ceebb35 fix my name encoding
added a few comonents


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-21 10:13:46 +00:00
Jérôme Duval
8b7c3f785c fixed screen positioning
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-20 18:37:19 +00:00
Rudolf Cornelissen
599406aaea bumped driverversion to 0.14
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-20 18:14:16 +00:00
Rudolf Cornelissen
8fa1f9b48d added vertical downscaling for overlay. This completes scaling. Quality wise this engine is like the Neomagic engine, and TNT engine with the added prescaling downscaling feature added. This is the 'video 1' engine. There is also a video 3 engine (which should be the same quality, but lacks YUV12 support in hardware). And (newer?) VIA unichrome chipsets have a 'HQV: high quality video' engine as well: which supports setting specific filters (with taps). this latter engine would be nice to use instead, maybe in the future. For now we use the video 1 engine. Note: lacking are virtualscreen support and colorkeying in the driver. Next up. Apart from that overlay is now complete (yuy2 only supported at this time, as 'always' with my drivers :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-20 18:13:49 +00:00
Jérôme Duval
6ffb6a6e04 added a skeleton for Installer
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-20 15:44:08 +00:00
Rudolf Cornelissen
975cd0c019 added horizontal overlay pre-downscaling so output can now scale downto 1/16th. Y-downscaling yet todo..
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-20 15:31:17 +00:00
Rudolf Cornelissen
19c9c0bb0e added HW retrace sync (preventing overlay update glitches during resizing/moving windows etc)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-20 14:44:13 +00:00
Jérôme Duval
64f6fcfb1d added a socketpair prototype (part of bug #52)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-20 14:10:42 +00:00
Jérôme Duval
f7dca40cad added uptime
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-20 13:22:30 +00:00
Rudolf Cornelissen
3104d2e390 bumped version to 0.13
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-20 12:28:31 +00:00
Rudolf Cornelissen
5cb7cd0464 added 'horizontal source last position' overlay register programming. high-res video (DVD) now shows correctly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-20 12:28:05 +00:00
Jérôme Duval
b6389f3106 fix BStopWatch::Resume()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-20 11:34:22 +00:00
Adi Oanca
534bc2c360 moving and resizing windows works very well now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-19 22:41:48 +00:00
Adi Oanca
715e2973a9 Fix for an app_server bug. Thanks Ingo\!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-19 19:45:17 +00:00
Adi Oanca
1b65556d66 more work on the input handling. I let Layer/WinBorder handle the MouseDown/Moved/Up instead of doing this in RootLayer::MouseEventHandler(). I did this because I felt it's more clean and in the near future RootLayer may have other children than WinBorders, for example simple Layers representing tooltips/bubbles/etc.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-18 22:43:31 +00:00
Alexander G.M. Smith
c5233d297e Record draft menu functionality decision (via mailing list discussion)
for future implementation, when someone has time.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-18 18:27:02 +00:00
Rudolf Cornelissen
9794c563cd updated reg define
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-17 08:45:14 +00:00
Rudolf Cornelissen
76da25cab4 added chip_rev fetching code, updated doc.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-17 08:44:34 +00:00
Rudolf Cornelissen
f583f15cbc added chip_rev dependant overlay programming, added hor. and vert. filtering. Bumped version to 0.12.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-17 08:43:40 +00:00
Axel Dörfler
d86d4063b0 thread_create_thread_start() is a thread_func and therefore returns int32 not status_t
(that's what our headers say).
Some style fixes in signal.c.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-16 12:52:59 +00:00
Adi Oanca
8b94d5ecdd Work in progress for the new input handling stuff...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-16 05:10:21 +00:00
Rudolf Cornelissen
a59bd8b8bc updated docs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-15 17:27:17 +00:00
Rudolf Cornelissen
83cb01f0cd added overlay upscaling. Downscaling not yet supported. Set the temporary max width to 384 so PAL MPEG1 should display OK (will be a calculated setting later). Enabled overlay support now, although it might not work on all cards. If you test it, please let me know what happens. Bumped version to 0.11.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-15 17:26:48 +00:00
Rudolf Cornelissen
3c9e128418 minor register naming mods.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-15 14:44:17 +00:00
Rudolf Cornelissen
acf4ab3767 updated VIA overlay code so it actually works. Still no scaling and colorkeying, still disabled. video witdh temporarily fixed to 'max' 320 pixels, pending extra calc code. Also a chiprev. check needs to be added to choose settings depending on that.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-15 14:43:18 +00:00
Jérôme Duval
2057015b2f added a README file to screensaver kit package
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-14 15:14:52 +00:00
Rudolf Cornelissen
f1616b172d smal update to overlay engine register defines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-13 19:36:07 +00:00
Rudolf Cornelissen
cb79d95c1b some sloppy and preliminary overlay engine programming is in place for learning purposes. Engine engages, shows distorting overlay at the correct window position. Colorkeying disabled, scaling fixed 1x. Whole code is disabled by default at this time, until code neat and fully OK :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-13 19:35:20 +00:00
Jérôme Duval
ab38c90461 added a libroot sigpending, kernel support isn't implemented
(fixed partly bug #49)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-13 16:12:20 +00:00
Jérôme Duval
3f84430938 added a trace and changed err type in team_create_thread_start()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-13 15:44:30 +00:00
Rudolf Cornelissen
7cb91ee94e added all VIA video overlay engine defines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-13 14:05:14 +00:00
Rudolf Cornelissen
369d6dd691 added memory type ID register define.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-13 12:35:14 +00:00
Rudolf Cornelissen
c75aba1bee added memory bandwidth check for overlay support decisions
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-13 12:34:03 +00:00
Rudolf Cornelissen
402e2a2eef version is now 0.10
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-13 08:50:20 +00:00
Rudolf Cornelissen
870017dedc modified PLL programming a bit to prevent unknown refresh during driver init.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-13 08:49:45 +00:00