Michael Lotz
34ff238b88
Implemented the BRect version of DragMessage(). This just creates a drag bitmap with the rect. We may want to switch to a less heavy implementation later on though.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-12 20:26:56 +00:00
Jérôme Duval
7008829b0f
fixed some uninited members and locks
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-12 19:35:54 +00:00
Jérôme Duval
190b4fa4ef
hopefully implemented makedefault in Workspace::SetColor()
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-12 16:52:41 +00:00
Stephan Aßmus
196144a56c
the dark border is now drawn without holes at the edges, as on R5, also fixed the BBox being used as separator, like NetPositive does
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-12 16:51:40 +00:00
Jérôme Duval
84b53ca7a0
clean up
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-12 15:45:52 +00:00
Jérôme Duval
7840510e4f
unlock when lock succeeded
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-12 15:38:18 +00:00
Jérôme Duval
f7f614034d
better place the button Restart
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-12 14:20:39 +00:00
Axel Dörfler
97e069713b
Added a "reenter" parameter to the {read|write}_pages() functions to give file
...
systems a chance to know if they have locked already.
This fixes a locking problem in BFS where one thread tried to acquire two read
locks (where someone else trying to acquire a write lock would have caused a
dead lock).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-12 13:34:04 +00:00
Jérôme Duval
4d89d3e7e1
replaced B_HANDLED_INTERRUPT with B_INVOKE_SCHEDULER, as we want the multiaudio addon to be scheduled
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-12 13:14:51 +00:00
Jérôme Duval
43d649d23f
package symlinks are now hmulti
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-12 13:03:31 +00:00
Jérôme Duval
16155f88ca
added driver settings, untested
...
package symlink is now hmulti
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-12 12:51:45 +00:00
Stefano Ceccherini
0e0b8fd554
more fixes
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-12 11:25:59 +00:00
Axel Dörfler
71960e33b9
Fixed the "Volume XXX is already mounted" warning with the -all{bfs|hfs|dos} options.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-12 11:16:39 +00:00
Jérôme Duval
f88e467c8a
should better now :)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-12 08:43:16 +00:00
Michael Lotz
eef8149582
Fixed wrong length calculation for memmove. This should at least fix bug #314 and probably more yet unknown problems with ReplaceData(). Also optimized removing data from the end of the buffer.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 23:01:32 +00:00
Stephan Aßmus
f775a1fea7
forgot to remove debug output
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 21:15:41 +00:00
Michael Lotz
2f5143505b
Another try at removing the "Last message repeated 1 times.", this time with locking.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 21:11:50 +00:00
Stephan Aßmus
a5a38476ea
fixed a couple of issues, but lots of work remains, doesn't crash with up side down BMPs in Windows format anymore... could someone provide me with a BMP that actually uses the alpha channel? I could not make one in Windows with Adobe Photoshop Elements.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 21:11:44 +00:00
Marcus Overhagen
f9ff1193f7
Removed mouse polling, there seem to exist way too many broken mice for this to work relyable.
...
Reworked interrupt handler calling, and added a data history.
Hotplug support will later be implemented using interrupt data.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 21:02:24 +00:00
Stefano Ceccherini
7d550b53a0
and there, the usual forgotten stuff
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 20:53:11 +00:00
Stefano Ceccherini
2191a09a93
big improvements for menus. The tracking is in many ways on par with r5, except for a few things, like diagonal movement and that grandparent bug
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 20:20:41 +00:00
Michael Lotz
6ac6b512a0
Reverted my last change as it causes a segfault with syslog output enabled.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 19:40:49 +00:00
Axel Dörfler
2f09691580
Fixed build...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 19:03:44 +00:00
Axel Dörfler
b2b2b75a41
Fixed some style issues. Happy recompiling! :-)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 18:50:48 +00:00
Axel Dörfler
8645479b36
* cache_io() could insert a second page at the same position in the vm_cache
...
since it unlocked the cache while waiting on a busy page. Now, we're filling
the pending request before unlocking the cache.
* Fixed the deadlock I mentioned in the last commit: if a page fault happens
at the same time we're trying to read/write from/to a page, we no longer
fight for the BFS inode lock, but eventually doing the job twice if needed.
Will need to go over the "write modified" functions to make sure they are
behaving as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 18:48:04 +00:00
Axel Dörfler
be891a5e5d
No longer counts "\n" as repeated string - this seems to fix at least the cases
...
where I noticed missing debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 18:40:46 +00:00
Axel Dörfler
541143a08b
Fixed small layout issue with the sniffer rules control.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 18:36:55 +00:00
Jérôme Duval
db4bb28934
clean up
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 16:56:47 +00:00
Jérôme Duval
8cba28e927
clean up
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 16:55:37 +00:00
Jérôme Duval
94a2752647
added a "Restart the Desktop" button, untested
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 16:51:16 +00:00
Rudolf Cornelissen
6a9b090ae0
doc update: reflecting more new card-types in various descriptions now.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 14:27:55 +00:00
Rudolf Cornelissen
bd4c599745
updated docs, bumped version to 0.80. Coldstarting is fixed OK on GeForce4 MX4000 and probably others as well: please make sure you upgrade to AGP busmanager V0.02 though.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 13:14:16 +00:00
Rudolf Cornelissen
cf8414dca5
updated docs again. Forgot to mention AGP transfers are used these days for nVidia graphics card ownners (both 2D and 3D :)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 11:28:25 +00:00
Rudolf Cornelissen
5998665f5e
AGP module updated: modified default PCI fastwrites setting to be disabled, so the busmanager should work (much) more reliable. ATI graphicscards are known to mess-up when fastwrites are enabled. Updated docs. Added version number: 0.02.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 11:11:38 +00:00
Rudolf Cornelissen
6f5b352e77
AGP busmanager updated: the order of programming devices did not adhere to the AGP specification, in case PCI mode was entered (while AGP mode was active before). This fixes the last trouble with (at least) nVidia GeForce 4 MX 4000 cards attempting to coldstart with AGP mode.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 10:51:47 +00:00
DarkWyrm
ca7dc13fd9
Make ui_color a little more bulletproof. This will mitigate bug #256 until I can track down the reason (probably in the app_server) that the color request fails
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 10:47:38 +00:00
Rudolf Cornelissen
d7dcafe79a
updated AGP setup to first make sure the card is running in PCI mode, if a coldstart attempt is done. Some cards outthere reset their PLL AGP during coldstart script execution, which makes the acc engine DMA transfers fail until the next reboot if AGP mode was running at that moment. This fixes coldstart trouble on the GeForce4MX4000 over here if AGP mode is used. Still testing (not yet 100% OK yet..)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 08:54:40 +00:00
Jérôme Duval
a64b25838d
added libGL.so as haiku library
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-11 08:27:21 +00:00
Axel Dörfler
1bad82578f
The <Print-Screen> key is now ignored when the screen saver is running - this
...
should fix bug #456 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-10 23:29:36 +00:00
Axel Dörfler
cc5da1fe65
Minor cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-10 23:16:06 +00:00
Stephan Aßmus
a089120898
enabled the crisp hinter for now... before release, we might have to reevaluate the patent issue thing... anyways it just looks SOOOOO much better now, I couldn't resist. You need to jam -a libfreetype.so, because a changed header doesn't trigger it (headers are included via MACRO in freetype)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-10 22:37:30 +00:00
Jérôme Duval
9160042c03
added B_WINDOW_TAB_COLOR to ui_color() without app_server
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-10 22:16:42 +00:00
Jérôme Duval
0274256b25
added GLTeapot to the image with its data file
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-10 21:58:13 +00:00
Jérôme Duval
336bfcc127
fix for bug 455: desktop folder was incorrectly handled for refs from Tracker
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-10 21:34:05 +00:00
Michael Lotz
d7faea3f20
Replaced "Last message repeated 1 times." with just reprinting the message (requested by Jerome Duval).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-10 21:28:43 +00:00
Axel Dörfler
675c19c9cf
* fs_sync() and free_vnode() now use the file system's fsync() hook to write back
...
changes made to a file instead of directly using vm_cache_write_modified() -
besides making the file system more independent from the file cache, this also
works around a possible dead lock (that is to be fixed in a later commit).
* fs_sync() no longer uses vnodes from the mount's vnode list directly to write
back the changes made to them, but gets them via ID instead - this makes sure
the vnode is in a valid state and fixes a race condition with free_vnode().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-10 21:22:24 +00:00
Michael Lotz
39cdae74a7
First steps at getting drag & drop to work properly. Simple drag & drop (draging Tracker items) should work now. Not sure about the negotiated version (with mimetype exchange). Fixed left behind drag bitmaps. Some cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-10 21:22:05 +00:00
Axel Dörfler
a4237b2a8e
* bfs_fsync() now locks the inode as it must do.
...
* added a IsLocked() method to ReadLocked.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-10 21:09:39 +00:00
Stefano Ceccherini
357433e049
more subtle fixes for menubar
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-10 19:52:47 +00:00
Stefano Ceccherini
337ab7d069
Align the textview to the correct alignment if it resized itself.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-10 19:29:13 +00:00