Commit Graph

16326 Commits

Author SHA1 Message Date
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
Axel Dörfler
76cd9b1961 Renamed runtime loader source files.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-30 16:29:53 +00:00
Philippe Houdoin
3a42c9ba15 Enforce a CPU speed font size no bigger than the processor type one.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-30 16:26:32 +00:00
Philippe Houdoin
db5c4a3b16 - The CPU clock speed string was assumed to be shorter than processor name string.
The best font size for speed is now dynamically computed to fit too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-30 16:14:08 +00:00
Rudolf Cornelissen
c9fcdbd99d updated docs. BTW, Did I mention that the GeForce2MX, NV15 is now the fastest supported card? This is how it should be in the first place (within the supported card range :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-30 15:27:09 +00:00
Rudolf Cornelissen
33441648ba improved 3D init programming. NV11 gained 44% speed, NV15 gained 21% speed, NV18 and other cards remain at the same speed. These gains (or about) are in all resolutions, all colordepths. If your CPU is fast enough of course. Bumped version to 0.75. There's no doubt about it, if you use 3D, upgrade!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-30 15:24:37 +00:00
Axel Dörfler
87a9cb2d70 * No longer tries to start an application that doesn't export an entry point != NULL.
This fixes bug #360.
* Also removed no longer necessary undefining of _KERNEL_MODE, as we're now built
  correctly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-30 14:17:14 +00:00
Axel Dörfler
4192c21428 Disabled the BIOS drive stuff completely for now, this fixes bug #359.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16929 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-30 13:50:13 +00:00
Jérôme Duval
dbca8117e1 activated dstcheck in BootScript
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-30 11:58:15 +00:00
Marcus Overhagen
d323bbb26f Cleanup:
- made 'active' variable volatile
Bugfixes:
- fixed deletion of mouse_device from fDevices list when the object is deleted.
- removed deadlock from RemoveDevice
- call UnregisterDevice from inside RemoveDevice
- terminate devicer watcher thread on read error
- skip "serial" directory always
- close file handle when initializing device watcher thread fails


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-29 22:44:58 +00:00
Marcus Overhagen
dbb98f2b76 Cleanup:
- keyboard_device now frees device_ref.name by itself when it's deleted
- made 'active' variable volatile
Bugfixes:
- delete keyboard_device from fDevices list when the object is deleted.
- removed deadlock from RemoveDevice
- call UnregisterDevice from inside RemoveDevice
- terminate devicer watcher thread on read error


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-29 22:41:24 +00:00
Marcus Overhagen
967c2eaf15 disabled polling keybaord and mouse, as this seems to have strange probelems on some hardware (but works for me)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-29 22:32:59 +00:00
Marcus Overhagen
7b6eb67f23 cleanup of user memory handling
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-29 21:21:15 +00:00
Marcus Overhagen
130a176146 implemented unpublishing of device and disconnecting (doesn't seem to work yet)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-29 21:07:19 +00:00
Marcus Overhagen
4c000f8856 changed polling to use the "get id" command
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-29 20:06:31 +00:00
Stefano Ceccherini
76b895fb5c Vertical alignment of bitmaps and shortcut char is calculated more correctly (hopefully). Should fix bug 352
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-29 11:23:31 +00:00
Stefano Ceccherini
793fde40eb This should fix some problems I experienced later. At least, I can't reproduce them anymore
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-29 10:42:54 +00:00
Jérôme Duval
d70f0203a2 improved error output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16919 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-29 09:18:21 +00:00
Jérôme Duval
70dec2b18f added driveinfo
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16918 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-29 09:07:10 +00:00
Axel Dörfler
2a62d0d6c5 Added a second pass to the boot device retrieval in case nothing has been found.
Right now, the size of the device is ignored in the second pass. Maybe this helps
with bug #357.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-29 00:16:57 +00:00