Commit Graph

13445 Commits

Author SHA1 Message Date
Stephan Aßmus
76cf2ec33f turn off the blitting based MoveBy version, until it works better. The problem is that resizing views with children can invalidate parts which could still be copied by blitting when the child is moved because of FOLLOW modes. Or the problem is only with views that are moved and resized at the same time. I will find out later...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 12:42:08 +00:00
Stephan Aßmus
b5182fe099 don't blit stuff arround on screen when moving or resizing invisible windows, this bug was most visibly triggered when navigating menus, since the menu window was reused and moved and resized when it was invisible, weird things could happen on the screen...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 12:38:46 +00:00
Axel Dörfler
a92dff57f2 Stupid me - thanks to Michael Lotz for pointing that out :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 11:27:06 +00:00
Jérôme Duval
7a1fce2101 add a zero at the end of the name string
fix bug #127


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 11:10:40 +00:00
Axel Dörfler
2a47269907 SetWindowFocus() could reset the focus of a window that already had focus.
This fixes bug #128.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 10:44:02 +00:00
Stefano Ceccherini
8aad1bff7c Fixed another off-by-one bug which caused replicants to be shifted in a weird way if deskbar was moved around.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 07:55:55 +00:00
Jérôme Duval
b5d904cbf3 added B_BACKGROUND_APP app flag
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 00:10:29 +00:00
Axel Dörfler
f1486a980f Started new FileTypes preferences application, so that you can at least see
it's supposed to do nothing at the moment :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 20:10:47 +00:00
Axel Dörfler
00e0ed9f74 Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 20:07:16 +00:00
Jérôme Duval
5e99b7dfe4 use the current screen
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 17:54:16 +00:00
Jérôme Duval
09362b0d5c use the current screen
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 17:50:36 +00:00
Jérôme Duval
cd64165bac use the current screen
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 17:49:49 +00:00
Jérôme Duval
b3c980ab0e use the current screen
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 17:48:43 +00:00
Axel Dörfler
9ff44370c8 Fixed centering of the window in case of multiple screens.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 16:59:07 +00:00
Axel Dörfler
b8a7e035ff Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 16:42:05 +00:00
Jérôme Duval
9fe8bb2d91 as on R5, return an error when *srcLen == 0 and set dstLen to 0
fix bug #120


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 13:47:33 +00:00
Ingo Weinhold
340a36b304 Fixed gcc 4 compilation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 00:13:30 +00:00
Ingo Weinhold
2b89d38a63 Fixed gcc 4 compilation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 00:05:31 +00:00
Ingo Weinhold
c8a9444b63 After cancelling the shutdown process applications couldn't be started
anymore. Fixes bug #119.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 23:59:55 +00:00
Axel Dörfler
3cd6e76965 /dev/dprintf and _kern_debug_output() weren't dumped to the syslog before, even
if "syslog_debug_output" was set to "true". Reported by Jerome!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 23:45:44 +00:00
Stefano Ceccherini
9aaabf116c Fixed a couple problems like off-by-one errors, wrong error checks. Implemented Save() method, not tested
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 22:16:58 +00:00
Axel Dörfler
d31d9974ba Slightly improved debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 16:55:06 +00:00
Axel Dörfler
9837f25ec6 Forgot to commit a simple test application for node monitoring.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 16:54:21 +00:00
Rudolf Cornelissen
bdb0f06705 updated new INT handling code to not try to determine INT coming from secondary head on singlehead cards. This could potentially lead to int sharing trouble.. Note, still a bit hackish. Better fix would probably be moving a large part from detailed card type recognition code from accelerant to kerneldriver. As I think it's safe enough this way, I'll leave it as it is for now. (trouble that could arise is a nvidia gfx card not working now, though chances are very slim that would happen. Best moment for fix is probably rewriting the driver for seperate instances on a 'per head' basis, when haiku supports multiple heads )
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 16:20:06 +00:00
Rudolf Cornelissen
fcde2e523a rewrote kerneldriver and accelerant's retrace INT handling. This fixes the 'driver hanging' bug exhibiting sometimes when CRTC2 is being used as primary CRTC (driver internal feature). INT handling now exists for both CRTC1 and CRTC2: enabling only the INTs for the head currently being used as primary. (limitation can be removed once we use a driver instance 'per head' instead of 'per card'.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 14:59:55 +00:00
Rudolf Cornelissen
155a2ad0a5 rewrote kerneldriver and accelerant's retrace INT handling. This fixes the 'driver hanging' bug exhibiting sometimes when CRTC2 is being used as primary CRTC (driver internal feature). INT handling now exists for both CRTC1 and CRTC2: enabling only the INTs for the head currently being used as primary. (limitation can be removed once we use a driver instance 'per head' instead of 'per card'.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 14:58:28 +00:00
Axel Dörfler
a932a97b52 * Mabye I should do better testing of what I "fix"; absolute paths didn't work
anymore from the command line all of a sudden...
* Made the caption background slightly less translucent to allow the text to
  be read even with very checkered images.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 13:14:19 +00:00
Axel Dörfler
c70cd57756 Made the caption in full screen mode a bit easier to look at (boring yes, but some
people out there just aren't colour blind :-)).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 12:23:26 +00:00
Axel Dörfler
71a34702d3 Fixed the resizing bug I accidently introduced with r16260.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 12:11:00 +00:00
Axel Dörfler
009cd1060a * No longer hides the mouse cursor when the pop up menu is shown.
* Removed the superfluous "Cancel" item from the pop up menu.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 12:05:23 +00:00
Rudolf Cornelissen
f83eeab28a updated the VGA BIOS not found after first driverstart fix: now it actually works.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 12:04:49 +00:00
Rudolf Cornelissen
f495fd595b fixed error regarding ROM mapping. Only unmap on succeeded map, and shutoff ROM shadowing before fetching ROM, restoring orig setting afterwards so all cards will init OK later on. This should fix driver not finding it's cards BIOS ROM on second and later full starts during system uptime.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 11:28:13 +00:00
Axel Dörfler
5921f4e2f1 Followed Jeromes suggestion and moved the desktop directory lookup to the
BackgroundImage::SetDesktopImage() method - if you need more control, you
can still easily make _SetImage() public.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 11:26:39 +00:00
Axel Dörfler
a60adbf9b4 * Added a "Set as desktop background" option with an easy to use engine based
on the OpenTracker's BackgroundImage implementation.
* It's currently placed in the "View" menu, even though it doesn't fit that
  good, I think it should definitely be part of the right click menu.
* Some more cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 10:28:27 +00:00
Jérôme Duval
240b1766ff added echo.settings to indigo 24 and gals packages
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 08:59:20 +00:00
Ingo Weinhold
f4b0f67cf6 Added [arch_]int_post_device_manager() which is invoked after
the device manager is initialized. For x86 it does nothing, but
for PPC it searches for a supported interrupt controller and
remembers it for later use.
arch_int_{enable,disable}_io_interrupt() are implemented as
well as handling of external exceptions (aka as I/O interrupts).
We'll see later how well that works.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 02:50:32 +00:00
Ingo Weinhold
a8193053ec Added driver for Open PIC compatible interrupt controllers (ported
from FreeBSD). At the moment it only recognizes Apple's Intrepid
Mac I/O Controller.
Not sure how well it works yet. Enabling all I/O interrupts
definitely triggers one, but I don't seem to get rid of it
afterwards.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 02:42:38 +00:00
Ingo Weinhold
3277aade49 * Added get_root() to device_manager_info. Surprisingly enough, it
returns the root device node. Now its actually possible to
  traverse the device node tree without a node to start with.
* Fixed execution order problem in dm_get_next_child_node(). The
  supplied node was put first (which could cause its immediate
  deletion), but was still accessed thereafter.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 02:29:14 +00:00
Ingo Weinhold
41f7459c23 Added a get_pci_info() to pci_device_module_info. It was a bit too
complicated to get a pci_info for a given pci_device before. The
function is not very efficiently implemented, but I didn't see how to
do that without more intrusive changes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 02:15:53 +00:00
Ingo Weinhold
0636c5df8b Actually implementing a function often makes it work significantly
better. ;-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 02:12:39 +00:00
DarkWyrm
9bf86676ad Serious refactoring of app code.
Updating files to style guidelines
Separated classes into their own files
Lots of other things, but still nowhere near finished


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 01:38:02 +00:00
Ingo Weinhold
5f9550c0b5 Add echo.settings to package file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 23:04:34 +00:00
Stefano Ceccherini
f6e671ccdc Fixed popup menu, and some other stuff
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 20:01:25 +00:00
Axel Dörfler
efa8b4f392 Fixed various issues:
* ArgvReceived() did not work with relative paths.
* Simplified quitting (no more CanQuit() and overriding BWindow::Quit()).
* Updated signature.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 19:54:01 +00:00
Stephan Aßmus
6697289d80 some changes supposed to speed up VESA mode on real hardware, based on my experience with optimizations in other parts
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 19:36:30 +00:00
Stephan Aßmus
95e29889f4 This fixes the update problems that I could observe. The client might have been not in sync with the server regarding window position and size, which in turn messed up the ConvertFromScreen() functions and also the view Bounds(). Therefor the current window geometry is also added to the information the client gets when starting an update session. I think the problem was there before my previous changes, just maybe less likely to be observed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 19:34:36 +00:00
Stephan Aßmus
6134fcc936 * update the visible status of new children
* speed up from/to screen conversion of BRects and BRegions
* invisible views don't need updating


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 19:31:02 +00:00
Stephan Aßmus
4167cbe823 speed up from/to screen conversion of BRects
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 19:28:30 +00:00
Jérôme Duval
6db8ca1c92 beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 18:03:45 +00:00
Jérôme Duval
f616df6a18 multi media addon builds on beos, fixed include missing
added B_AUDIO_INT support and valid_bits use


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 17:59:50 +00:00