Commit Graph

16345 Commits

Author SHA1 Message Date
Jérôme Duval
01aa08639d fix typo
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 15:43:00 +00:00
Jérôme Duval
f203ff709b clean debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 15:16:01 +00:00
Jérôme Duval
a827021eb0 added error output when ide_adapter can't acquire resources
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 15:01:26 +00:00
Axel Dörfler
020c1aa823 * init_driver() now behaves better in low memory situations.
* Some preparations to support more than one chipset, added i855G (device ID 0x3582)
  to test with - the accelerant_device_info is now filled with that additional data
  as well.
* Some minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 13:21:31 +00:00
Jérôme Duval
224a6b047f code hardening, should help on bug #385
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 11:57:49 +00:00
Axel Dörfler
c0a7267732 Minor cleanup: removed some unused commands.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 11:45:37 +00:00
Axel Dörfler
cce5601a7a * The background is now repainted on workspace switch in case the background
color differs. This fixes bug #373.
* The workspaces window is now invalidated when the workspace color is
  changed, so that it shows the correct color then.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 11:41:16 +00:00
Axel Dörfler
8aca9ad64d Commented out removing the /dev/bus/scsi/raw device for IDE devices. This seems
to cause some problems with the device manager that needs to be investigated,
see bug #393 and #389.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 11:07:04 +00:00
Jérôme Duval
6e66ef1c1a added Greg Crain as contributor
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 09:56:03 +00:00
Jérôme Duval
a65710728f added mpu401 module to the image, could help on bug #391
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 08:15:53 +00:00
Stefano Ceccherini
e90bed06b1 Fixed vlc menubars
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 22:31:04 +00:00
Stefano Ceccherini
a2b0a7ac3e Avoid tracking the menubar if it's tracking already
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 21:47:46 +00:00
Axel Dörfler
290026d3b1 * Fixed font sensitivity issues of the directory choosing window.
* Made the code more robust, too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 19:36:41 +00:00
Axel Dörfler
5fef96ef20 Made the gap between the buttons and the text controls as large as the one
between the window border and its contents to make it look a bit better.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 18:42:07 +00:00
Axel Dörfler
0e6b056fdc Fixed a whole lot of font sensitivity (and some other minor, like the "Show Contents"
menu label update) issues of the main window (didn't touch the rest yet) - shame on
you, Korli ;-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 18:31:30 +00:00
Michael Lotz
3647d70ded Replaced the hash based approach to repeat detection with the probably more efficient strncmp.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 16:45:04 +00:00
Axel Dörfler
5652ba7236 Fixed build under Dano.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 16:39:32 +00:00
Michael Lotz
3352a462a7 Implemented the "Last message repeated x times." thing in the kernel (hash based).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 16:23:47 +00:00
Axel Dörfler
ac1f397e60 Rewrote the private query_for_app() function to search on all mounted volumes
instead of just the boot volume.
It now also has a second pass in case nothing could be found. The second pass
does a case insensitive query for the application's signature, and fixes the
problem that some apps couldn't be started by signature until they were launched
once (because the MIME database is always case insensitive).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 16:02:28 +00:00
Axel Dörfler
60bf6a1fbe Removed the detached version of the BMessageRunner object again, and instead
have a static method for spawning one (BMessageRunner::StartSending()), as
suggested by Ingo.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 14:47:01 +00:00
Axel Dörfler
94f8d3fcee A TTY now refuses read/write requests while the other end is dead; it also
notified the other end when it has been closed. This fixes bug #388.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 12:52:33 +00:00
Axel Dörfler
243fcbe279 Since SF cannot be reached currently, this fix gets into the Haiku tree first:
ExpandoMenuBar::ItemAtPoint() was broken, which could cause a crash when doing
the "vulcan death grip" over a window item. This fixes bug #379.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 11:21:15 +00:00
Stefano Ceccherini
265242ecfa Patch by barber which actually make menu color changes work, plus some other changes. Note that this shows some problems in how BMenuItems are drawn (wrong colors)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 08:11:53 +00:00
Stefano Ceccherini
9deb82dfc0 If the popup was asynchronous, the window menu semaphore was never resetted
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 07:39:13 +00:00
Stephan Aßmus
b9e275a6a5 app_server remembers the font settings now
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 22:03:44 +00:00
Axel Dörfler
61212865dc More or less rewrote cursor conversion code: it's now working as expected.
Note, this code needs to be reviewed for PPC; do they really work with little endian RGBA?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 18:36:50 +00:00
Axel Dörfler
92eab70620 Oops, accidently didn't commit the correct version.
Also note that BeOS doesn't seem to pick up the cursor this way, it only
works when we're doing this later (ie. in MouseMoved() or Pulse()).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 18:08:40 +00:00
Axel Dörfler
da07353dcd Added a small cursor test application.
Note, it looks like we translate the cursor shape differently than R5
(according to the docs, black is always opaque and ignores the transparency
bits).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 18:06:50 +00:00
Stephan Aßmus
600fbd78e4 * BView::FillRegion() sends the BRegion data instead of decomposing
it and rebuilding it on the server side (that causes a huge speed
  up for regions containing many rects)
* There is a method in ServerLink that could have been used, but I
  actually needed to add the direct BRegion support to LinkReceiver
* added LinkReceiver as a friend to BRegion class
* ServerApp and ServerWindow keep the CursorManager locked after they
  have retrieved a cursor until they have called Acquire() on the
  cursor. (Axel: what good is using atomic* stuff in Acquire() and
  Release() if we have to protect this by a lock anyways?)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 16:56:10 +00:00
Stephan Aßmus
b22badf221 added TODO comment about writing an AGG Vertex Source for BShape data
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 16:49:18 +00:00
Stephan Aßmus
5d0c78f416 skip hardware acceleration for small regions, should speed up rendering of small regions in the same way it helped small rects
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 16:48:28 +00:00
Axel Dörfler
82e704cd1b Now writes the file type of the PNG files as well. This fixes bug #374, even though
it only cures the symptoms, ie. bug #194 remains valid (broken file types when built
from Linux).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 15:51:48 +00:00
Axel Dörfler
a1a04a4742 * A fake B_MOUSE_MOVED message is now send on workspace change, and when
a window is closed, too (only happened when a new window was shown
  before). This is done via the new Desktop::_SendFakeMouseMoved()
  method. This fixes bug #342.
* The MouseFilter now always sets Desktop::fWindowUnderMouse, so that
  one can differentiate between no window under mouse, and decorator
  under mouse.
* EventDispatcher::SendFakeMouseMoved() now expects a BMessenger instead
  of an EventTarget as target - this guarantees that it can safely be
  called with any window now (instead of only the current window).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 15:43:25 +00:00
Axel Dörfler
4436fae24d Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 15:38:49 +00:00
Michael Lotz
0ef40c5e17 This should fix the wrong colors for selected Tracker icons. Fixes bug #205.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 14:31:21 +00:00
Axel Dörfler
7e6a81e978 * Replaced map_mainmemory() functions with calls to vm_get_physical_page().
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 13:55:21 +00:00
Axel Dörfler
f1b350f247 * Replaced map_mainmemory() functions with vm_get_physical_page().
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 13:47:19 +00:00
Axel Dörfler
3759d22404 Bye-bye /dev/disk/scsi/... - IDE devices are now published under
/dev/disk/ata[pi]/%%channel%%/{master|slave}/raw.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 13:25:57 +00:00
Axel Dörfler
84e4066d57 It may also search recursively for that attribute.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 12:33:56 +00:00
Axel Dörfler
fee490b02d No longer publishes something in /dev/bus/scsi for actual IDE devices.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 12:11:36 +00:00
Axel Dörfler
fdbc37db7b Added ideinfo and idestatus to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 11:57:07 +00:00
Axel Dörfler
c9fc73fc8e * Added an optional ioctl() function to the modules up to the SIM interface.
* Implemented the functions needed by ideinfo/idestatus using this one.
* The IDE bus manager now disables DMA if the safemode settings ask for this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-01 11:53:07 +00:00
Stefano Ceccherini
262a2483e2 I woulnd't say the classical last words... but I seem to have fixed latest crashes...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-31 20:13:41 +00:00
Rudolf Cornelissen
b78b0cde2e updated docs. bumped version to 0.76. 3D is done for now (I think), more speed will need to come from a next version of the 3D add-on.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16942 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-31 19:51:40 +00:00
Rudolf Cornelissen
235f540de9 what? didn't upgrade to 0.75 while you are using hardware 3D? Well, maybe now I can convince you!. New speeds: another 43% gain for NV11, in 1024x768x32 Q1 now at 27.1fps, NV15 gets another 60% boost for the winning score of 45.4fps, and NV18 tries to keep up (but fails :) with now 41% speedup for 37.0fps. 3D users, it's time to upgrade to 0.76. :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-31 19:48:12 +00:00
Stefano Ceccherini
f2e9b063a0 This small change could even fix some big problems with menus... unfortunately I can only reproduce them in vmware, and not in qemu
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-31 09:37:59 +00:00
Axel Dörfler
f254998b61 Fixed build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16939 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-30 21:22:52 +00:00
Axel Dörfler
af29aba8a6 Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16938 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-30 20:43:13 +00:00
Axel Dörfler
2ed4099289 Renamed the linker script to runtime_loader.ld to match the rest.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-30 18:10:59 +00:00
Axel Dörfler
af3e5cd947 Renamed our runtime loader from rld.so to runtime_loader, and moved it into beos/system/.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-30 18:08:51 +00:00