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
hrev16957
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
hrev16956
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
hrev16955
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
hrev16954
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
hrev16953
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
hrev16952
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
hrev16951
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
hrev16950
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
hrev16949
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
hrev16948
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
hrev16947
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
hrev16946
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
hrev16945
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
hrev16944
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
hrev16943
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
hrev16942
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
hrev16941
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
hrev16940
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
hrev16939
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
hrev16938
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
hrev16937
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
hrev16936
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
hrev16935
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
hrev16934
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
hrev16933
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
hrev16932
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
hrev16931
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
hrev16930
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
hrev16929
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
hrev16928
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
hrev16927
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
hrev16926
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
hrev16925
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
hrev16924
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
hrev16923
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
hrev16922
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
hrev16921
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
hrev16920
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
hrev16919
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
hrev16918
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
hrev16917
2006-03-29 00:16:57 +00:00
Stefano Ceccherini
35beeaa99f
Minor improvements
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16916 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16916
2006-03-28 20:22:15 +00:00
Stefano Ceccherini
81401e08e7
Commented out some parts which caused big troubles
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16915 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16915
2006-03-28 19:48:06 +00:00
Jérôme Duval
a3d9b55cb3
improved debug output
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16914 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16914
2006-03-28 15:44:01 +00:00
Axel Dörfler
ad236123aa
Removed some unnecessary TODO items.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16913 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16913
2006-03-28 14:52:56 +00:00
Axel Dörfler
090dcfd4a8
Removed some more musings about LockLooper() and token space.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16912 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16912
2006-03-28 14:46:09 +00:00
Axel Dörfler
689dc9f91a
* Simplified LockLooper() and LockLooperWithTimeout(), got rid of not really
...
helpful but extensive comments in the code.
* Fixed possible wrong error values of LockLooperWithTimeout().
* AddFilter()/RemoveFilter() now check if the looper is locked in case this
handler belongs to a looper - as SetFilterList() already did.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16911 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16911
2006-03-28 14:41:20 +00:00
Stefano Ceccherini
4185bd8b34
Hopefully simplified BMenu/BMenuWindow relationship and made it more robust.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16910 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16910
2006-03-28 13:06:47 +00:00
Axel Dörfler
cd94fddab2
* Tracker wrote icons with the wrong type at several places.
...
* Also replaced all B_COLOR_8_BIT with the B_CMAP8 constant.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16909 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16909
2006-03-28 11:32:21 +00:00
Stefano Ceccherini
9913366fe7
Reset fAttachAborted otherwise menus never get filled after they have been interrupted once.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16908 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16908
2006-03-28 06:44:39 +00:00