Commit Graph

11766 Commits

Author SHA1 Message Date
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
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
DarkWyrm
53960be31f Fixed a couple of bugs related to changing CDs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-24 17:08:12 +00:00
Jérôme Duval
f66f06160a added sizes for packages
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-24 16:58:17 +00:00
Jérôme Duval
8d71ca3e25 displays package list
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-24 15:58:04 +00:00
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
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
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
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
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
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
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
Alexander G.M. Smith
23c29a9f30 Fix up font restoration from preferences so it actually sets the font.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-11 19:28:18 +00:00
Alexander G.M. Smith
7235a5a7dd Turn off the drafts live-query menu update when viewing existing e-mail
messages.  It limits the number of open windows to an annoyingly small
quantity and makes opening mail files slow.  That's because EACH window
starts up a bunch of queries to find drafts, one for each disk volume.
Comments about design alternatives to this kludge welcome.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-11 17:50:53 +00:00
Adi Oanca
2138d632a6 In adding support for BView input events I got to rework/refractor the mouse input handling. This should be ready in a few days, so don't worry about the code being #ifdef-ed :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-08 16:53:42 +00:00
Jérôme Duval
04b831a692 added pause() (kernel support is lacking though)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-08 13:06:49 +00:00
Jérôme Duval
96e6579454 added a libroot sigsuspend, kernel support isn't implemented
(fixed partly bug #48)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-08 12:26:16 +00:00
Jérôme Duval
6661d42166 added eject
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-07 18:30:40 +00:00
Jérôme Duval
274b8a8cc9 cdrom devices are handled properly now
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-07 15:37:09 +00:00
Jérôme Duval
f13c45ad3f visual improvement
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-06 22:45:31 +00:00
Jérôme Duval
0e3e51f289 clean up
fixed Serbian and Greek dead keys


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-06 17:20:05 +00:00
Jérôme Duval
20d75e2e3d all acute keys are now fixed
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-06 14:17:14 +00:00
Jérôme Duval
cf0f919ab0 attempt at fixing greek keymap : acute dead key is ";"
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-06 13:48:26 +00:00
Jérôme Duval
30a2435232 -fmultiple-symbol-spaces is only needed for target R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-06 08:42:54 +00:00
Adi Oanca
ffd509fd9b more code for input events. refractored some code in RootLayer class
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-05 18:55:32 +00:00
Jérôme Duval
e96ac99568 improves style
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-05 18:01:48 +00:00
Jérôme Duval
911290f701 copyright update
fix for blank time in screen_blanker


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-05 12:54:15 +00:00
Jérôme Duval
1974b4b7df fixed multiple launchs when cornered
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-05 12:31:23 +00:00
Jérôme Duval
850fb78d9c now monitor the directory if settings file is not found, and vice et versa
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-05 10:09:24 +00:00
Adi Oanca
448f8b3243 update. added some code to support BView::SetMouseEventMask. code inactive ATM.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-03 18:08:49 +00:00
Adi Oanca
144022be62 Started to properly implement support for BView's events mask
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-03 17:55:16 +00:00
Jérôme Duval
ae4f21862f we now save the settings when test button is clicked
tabs are reworked to avoid data loss


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-02 15:15:37 +00:00
Jérôme Duval
e5ee1dad6a added sigaddset, sigismember, sigdelset to libroot.so from inline versions in signal.h
moved static inline to extern inline to allow this change
please someone review this (ie are they platform dependent functions ?)
should fix bug #47


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-02 11:53:43 +00:00
Jérôme Duval
bb5c60f961 fixed network password
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-01 15:05:38 +00:00
Jérôme Duval
008b1d9008 fix for network password
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-01 15:04:18 +00:00
Jérôme Duval
1b4b6d54f3 improved PasswordWindow visual
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-01 13:12:58 +00:00
Jérôme Duval
b28111564b update to freetype-2.1.10
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-09-01 06:40:20 +00:00
Jérôme Duval
5e7558d87c fixed password behaviour for screensaver kit
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-31 15:36:40 +00:00
Jérôme Duval
7f74cecda3 added escapement_delta to AGGTextRenderer::RenderString and Painter
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-31 14:50:42 +00:00
Axel Dörfler
3c40c4cead Separated loading and saving prefs again - even if it let you forget to balance loading/saving
of the values more easily (but you should think about changes to persistent file formats anyway),
it's far more readable.
Also made saving the settings a bit safer: the settings are now written to a temp file, and
only replace the original if that succeeded (before, there was the slight chance that you'd
end up without any settings if the system crashed at the wrong time).
Also extracted the old style settings loading mechanism to a separate method.
Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-31 01:25:18 +00:00
Axel Dörfler
8745360987 BeMail now correctly switches the button bar labels on and off as requested: short story: never use a bool when you need 3 different values.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-31 00:18:43 +00:00
Axel Dörfler
69d3d82625 No longer cuts the "Signature" label in certain situations.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-31 00:15:28 +00:00
Jérôme Duval
f2fd129852 now uses delta escapement
improved GetBoundingBoxesAsString (just for fun, keep in mind we'll use AGGTextRenderer in the end :) )


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-30 14:53:42 +00:00
Jérôme Duval
1559de1285 added screensaver kit package
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-30 12:22:22 +00:00
Jérôme Duval
5cf0a92ad6 tests for bfont
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-30 12:20:53 +00:00
Jérôme Duval
94c484bb7c applied the same fix (degrees to radians)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-30 09:58:58 +00:00
Jérôme Duval
a37ea917be RotationBy now accepts radians, to be consistent among methods
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-30 09:57:37 +00:00
Stephan Aßmus
b4d0e9b546 removed stupid and non working constructor, a little clean up
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-30 09:49:12 +00:00
Jérôme Duval
f9d38575a1 now uses font shear in AGGTextRenderer
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-29 23:24:52 +00:00
Axel Dörfler
1733a44231 Fixed a very stupid bug I introduced in r10056 (the Haiku-only switch):
CachedNode::Allocate() could return the wrong offset for the new node when
taken from the free node pool (it accidently returned the offset for the
next free node...).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-29 22:18:15 +00:00
Axel Dörfler
0afc66fa69 Made CachedNode::SetTo[Header]() return a const node/header. Made some other methods
that were supposed to be const const as well.
Found one bug this way: in one case, a duplicate node might not have been part of a
transaction (and thus, was not written back). This bug only affected the Haiku version
of BFS, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-29 21:57:08 +00:00
Axel Dörfler
1509c79696 The dump_*() functions now expect const parameters, dunno why that was different at all before.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-29 21:54:26 +00:00
Axel Dörfler
47a54bea53 Rootfs now starts with 1 for the first inode ID.
Instead of -1, vnode_path_to_vnode() now returns the ID of the starting vnode when it
doesn't need to traverse the path at all.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-28 20:08:32 +00:00
Axel Dörfler
d8b4450df0 Now uses the name of the main thread instead of the team (the name of the
main thread is always the last path component when a program starts - the
name of the team is the full path, truncated to B_OS_NAME_LENGTH which often
cuts off the last path component).
Made argument writing better, so that very long arguments are written
correctly.
Includes the current working directory to the launch actions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-28 19:44:38 +00:00
Axel Dörfler
32b749520a Started a rule based prefetching module - it doesn't do anything useful yet beyond
loading a certain type of rules, but compiles fine :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-28 15:44:45 +00:00
Axel Dörfler
b3373253a4 The generic syscall now returns more correct status codes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-28 14:10:12 +00:00
Axel Dörfler
b3242a6267 The log module now allows to add other cache modules as an add-on via the generic syscall mechanism.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-28 14:03:05 +00:00
Jérôme Duval
29926b974b completes previous commit
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-26 15:03:36 +00:00
Jérôme Duval
c0058faecc first try at implementing ServerFont::GetBoundingBoxesAsString
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-26 15:02:53 +00:00
Jérôme Duval
492b2e2933 PrintToStream output now matches R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-26 15:02:05 +00:00
Jérôme Duval
fef6144999 added a test app for BFont::GetBoundingBoxes* methods
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-26 08:49:30 +00:00
Jérôme Duval
3cf915cb23 spacing is needed for GetBoundingBoxes too (string case)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-26 08:47:17 +00:00
Jérôme Duval
697085a5aa shear is needed for GetBoundingBoxes
now uses _GetBoundingBoxes_ for GetBoundingBoxesAsGlyphs and GetBoundingBoxesAsString


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-26 08:40:24 +00:00
Axel Dörfler
43ffbcc46e If a page fault happens from within the kernel debugger, vm_page_fault() is no
longer called - instead, it get its own mini page fault handler: if the thread
has a fault handler, that one will be executed.
Exiting the debugger (with the "continue" command) no longer causes the
vm_page_fault() routine to be called if interrupts were disabled.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-26 02:43:15 +00:00
Axel Dörfler
29cf7df355 kernel_debugger_loop() now memorizes the last sDebuggerOnCPU value, so that
the CPU value doesn't get lost when exiting a nested debugger.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-08-26 02:39:24 +00:00