Commit Graph

15682 Commits

Author SHA1 Message Date
Axel Dörfler
995ab7b3c6 The server now differentiates between hidden and minimized - that concept somehow
got lost, before.
It might not work 100% correctly yet, but it works good enough to hide the Tracker
status window from the Deskbar, and thus, fixing bug #133.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 18:28:29 +00:00
Axel Dörfler
0748857300 * Added a "listres" command (also to the image).
* Fixed building "stdbins that need libbe.so" for R5/Dano target.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 17:01:23 +00:00
Stephan Aßmus
c81d2e7a59 * fixed window zooming/unzooming behaviour
* fixed FrameResized() and FrameMoved() not
  being called anymore in response to ResizeTo()
  and MoveTo() since I introduced a check in
  DispatchMessage() (fixes bug #123)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 16:39:46 +00:00
Stephan Aßmus
ebae3c7d61 this fixes Chart leaving dirty stars in BDirectWindow mode... at least on my machine. Looks like BDirectWindow resizing is notably smoother on Haiku btw. :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 15:07:56 +00:00
Stephan Aßmus
d365e2039e small cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 15:05:33 +00:00
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
Axel Dörfler
3a6b985bf8 * Added Tracker add-ons FileType and Zip-O-Matic.
* Removed Canna input method; this should go in the UserBuildConfig if you need
  it (especially because Deskbar replicans currently look broken)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 16:50:27 +00:00
Axel Dörfler
76fca6ee2c * Added Deskbar to the Bootscript.
* Redirects stdout to /dev/dprintf, so that serial debugging logs are a bit
  more complete for now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 16:48:41 +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
c72f6a6d0b rewrote kerneldriver and accelerants retrace INT handling. Bumped version to 0.72.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 15:00:40 +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
cda4ca9582 Module interface for interrupt controllers. Might change later.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 02:31:07 +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