Commit Graph

16502 Commits

Author SHA1 Message Date
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
Axel Dörfler 04cfd6b0d7 It's for Haiku, not for BeOS :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-09 11:50:15 +00:00
Axel Dörfler f810cb98c9 Added the file types that Tracker adds to the MIME database to the list of
supported types (with regard to bug #278).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-09 10:06:41 +00:00
Stephan Aßmus 995303fab0 synced with rev 1.11 from OpenTracker cvs, ignore read only volumes when building the navigation menu for the unified Trash folder
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-08 16:56:38 +00:00
Rudolf Cornelissen e4db389d49 updated nVidia driver docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-08 15:36:00 +00:00
Stefano Ceccherini 679d063bdc Looks like bug 419 wasn't fixed by previous commit. Let's see if this does.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-08 11:19:00 +00:00
Rudolf Cornelissen ecdb8cec1e added all those news cards to the kerneldriver. Support for some 20 new cards should now be completed. Bumped version to 0.79.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17049 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-07 20:32:05 +00:00
Rudolf Cornelissen b665f43165 added support for NV44/GeForce 6100/6150 NFORCE4 Integrated GPU's (mainboard chipsets)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17048 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-07 20:15:52 +00:00
Rudolf Cornelissen 69cf084e73 checked G73 setup against today's XFree86 CVS. G73 should be supported now, that is, after the kerneldriver is updated as well (for cardIDs)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-07 20:02:35 +00:00
Stephan Aßmus 39c9925fcf * implemented a BRegion pool per WindowLayer which is supposed
to cut down on BRegion related allocations, cannot really tell
  if it speeds things up
* used the new BRegion pool in WindowLayer and ViewLayer whereever
  a BRegion was used on the stack
* fixed the debugging stuff in MultiLocker - it will get you into
  the debugger if you
    - try to nest read locks
    - try to write lock when your are a reader already
    - don't match up nested locks when your a writer
    -> but only if you #define DEBUG 1 in the .cpp, is off by default now
* went over WindowLayer, ServerWindow, Desktop and a few other places
  and fixed the locking for use with the MultiLocker, the "a reader can
  not become a writer" is especially tricky, feel free to review the
  changes
* activated the MultiLocker, I tested this quite a bit, if there are
  problems simply turn on DEBUG and you should drop into the debugger
  right where the problem is... hope all is good


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-07 19:14:25 +00:00
Stefano Ceccherini 791b9c2141 in case DEBUG is defined, BLooper don't use the benaphore style lock. Useful for debugging
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17045 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-07 19:09:45 +00:00
Stephan Aßmus 835a7ebdf0 no need to contact the server for this, transaction means that drawing commands are not immediately flushed, which is handled entirely on client side
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17044 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-07 19:04:51 +00:00
Stefano Ceccherini 9c5c552dd6 more fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-07 17:44:02 +00:00