Commit Graph

16557 Commits

Author SHA1 Message Date
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
Stefano Ceccherini
bf5d7973b9 Obviously I put in the usual 'untested last minute change' which broke everything. Should be fixed now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17042 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-07 17:24:14 +00:00
Stefano Ceccherini
c51421cc0b implemented sticky mode. Let's see how many complaints because it's not perfect at all. Under qemu it's super crappy btw
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17041 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-07 16:52:37 +00:00
Rudolf Cornelissen
1c9a35ac19 fixed typo in comment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-07 15:52:12 +00:00
Rudolf Cornelissen
9bc55ae8c0 added 5 new cards recognition in accelerant (G71,72 and 73 types). Note: G73 still needs testing/confirmation probably.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-07 15:43:44 +00:00
Rudolf Cornelissen
7f6603085d removed NV47 references, replaced with G70. Also added G71, G72 and G73 engines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17038 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-07 15:03:25 +00:00
Rudolf Cornelissen
ecf7bfa1db removed NV47 references, replaced with G70. Also added G71, G72 and G73 engines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17037 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-07 15:02:34 +00:00
DarkWyrm
4ac06083f4 Added missing symbol for Gobe Productive
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-07 10:25:17 +00:00
Philippe Houdoin
73fc074e2c Turn out that it was, indeed, the Sweedish variant Dvorak keymap, aka Svorak.
TODO: add a plain Dvorak keymap!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-07 08:29:55 +00:00
Philippe Houdoin
fee25041f7 Dvorak keymap was misnamed Svorak. Thanks to Kevin Field who catch this one...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17034 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-07 08:13:10 +00:00
Marcus Overhagen
46f579e7ef removed intermediate variables, and added comments
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-06 21:01:41 +00:00
Marcus Overhagen
6dcf803e48 removed some off-by-one errors. replaced cursor->Bounds().IntegerWidth() with cursor->Width() which is equal to cursor->Bounds().IntegerWidth() + 1
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-06 20:25:58 +00:00
Rudolf Cornelissen
8fe515059d added recognition for 15 more cards in the accelerant. In progress, 8 more to come, kerneldriver is going to be updated as well of course.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-06 15:12:10 +00:00
Axel Dörfler
e520b288ca Fixed compilation with tracing turned on.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-06 10:02:17 +00:00
Rudolf Cornelissen
a674b4da72 added new nv.setting force_ws to shared_info.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-06 09:09:13 +00:00
Rudolf Cornelissen
9d7c686bac added new nv.setting called force_ws. Bumped version to 0.78. Note: 3D driver requires recompiling to be used now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-06 09:07:37 +00:00
Rudolf Cornelissen
8ab0ed494c added new nv.setting called force_ws. This setting enables you to force the driver to enable use of widescreen modes independant of connected monitors. Only use if you have a widescreen monitor that the driver currently refuses to use that way. non-ws screens might not like a ws mode...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-06 09:05:37 +00:00
Axel Dörfler
44e1f1f918 The BSeparatorItem is now always diabled, and thus, cannot be selected anymore.
This fixes bug #277.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-06 07:32:07 +00:00
Axel Dörfler
1b2d6b4f2c initstate() and setstate() were disabled for some reason - they no longer are.
This fixes bug #289.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-06 07:06:04 +00:00
Axel Dörfler
558885f395 Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-06 07:04:34 +00:00
Axel Dörfler
90a8acbfe7 BRoster::Launch() no longer replace B_NOT_AN_EXECUTABLE with B_LAUNCH_FAILED_EXECUTABLE
for everything - they now do that only for document files.
Also, I extended _TranslateRef() to not report anything that has the executable bit
set as executable - it now only does this if the BEOS:TYPE attribute says it's an
executable.
This fixes the error message Tracker was giving when trying to launch a shared library
("This file was mistakenly set as executable...").


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-06 06:52:57 +00:00
Axel Dörfler
0f0234a5d0 We no longer return B_OK in test_executable() for executables that don't
define an entry point (like shared libraries).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-06 06:16:20 +00:00
Marcus Overhagen
04a91b97bd Imported source code from DVB TV application
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17021 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-05 21:34:29 +00:00
Marcus Overhagen
8063479445 Imported source code from DVB TV application.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-05 21:23:42 +00:00
Marcus Overhagen
97fc4c13e6 added directory
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-05 21:07:13 +00:00
Marcus Overhagen
5ab5dbe035 added directory
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-05 20:47:41 +00:00
Stefano Ceccherini
77e45e57aa Corrected previous commit. Thanks to Axel for noticing
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-05 19:40:26 +00:00
Stefano Ceccherini
cb8bdc4eda Window's destructor should acquire the menu sem, not delete it. Could help fixing bug 422
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-05 19:32:54 +00:00
Stefano Ceccherini
e21b037f2b Should fix bug 326
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17015 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-05 19:15:54 +00:00
Stefano Ceccherini
02c491fd7e small cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17014 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-05 19:01:41 +00:00
Axel Dörfler
622e9392f5 Not useless at all, fixed build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17013 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-05 13:38:22 +00:00
Axel Dörfler
a295634d46 * Removed wrong file type associations as reported in bug #405.
* Changed MIME type (it's no longer the same as it was in BeOS).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17012 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-05 10:53:13 +00:00
Axel Dörfler
805cb76ed8 * Added several R4.5 compatibility exports - they are now only compiled when GCC
2.95 is used.
* Added empty _klock_node_() syscall for compatibility - all R5 syscalls are now
  also only compiled with GCC 2.95.
* This should fix bug #403.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-05 10:48:47 +00:00
Jérôme Duval
04a5721e65 storage headers useless
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-05 08:04:52 +00:00
Axel Dörfler
7bb48db1f2 * The BView::FrameResized()/FrameMoved() hooks are now called asynchronously
as in R5, and no longer directly. This fixes bug #301.
* As a side effect, the hooks are now only called when the view is attached
  to a window, as on R5.
* Removed dead B_VIEW_RESIZED/MOVED code from BWindow.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17009 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-04 16:41:29 +00:00
Stefano Ceccherini
29c407a371 Fixed menus in case the window was hidden (VLC, StyledEdit). This is just a quick fix and will be changed later. Thanks to John Drinkwater for testing
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-04 14:31:46 +00:00
Axel Dörfler
6d9adcf120 Removed a superfluous const_cast and a variable from ChooseTrigger().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-04 13:51:28 +00:00
Axel Dörfler
cb2998af29 BMenuItem::SetTrigger() and SetAutomaticTrigger() now also update fTriggerIndex.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-04 13:13:18 +00:00
Axel Dörfler
0f11085c6c * Rewrote MenuItem.h (we're no longer using Be's header).
* Renamed private SetSysTrigger() to SetAutomaticTrigger().
* Added the '_' prefix to private methods that aren't called by anything outside
  BMenuItem (ie. no friend classes either).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-04 13:02:52 +00:00
Axel Dörfler
40b478baec * Found better enter symbol, the Konatu font has it all (really, you must have
seen that collection of arrows ;-))
* A test under R5 made it clear that our fonts (not Konatu) indeed doesn't have
  arrows, like many other fonts have. We should think about adding font overlays
  like it's done in Dano - does anyone know a good free font for symbols that
  isn't as thorough as the Konatu font?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-04 11:51:32 +00:00
Axel Dörfler
bd780d9935 Implemented _DrawControlChar() - for some reason, though, they get still not
drawn (glyph cache returns character 0 for them), even though FontInspector
under Dano shows those arrows in the fonts used... need to check under R5
as well. This fixes the BMenuItem part of bug #158.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-04 11:34:25 +00:00
Axel Dörfler
4b1da1ce9a DrawSlider() now locks the looper - this should fix bug #396.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-04 10:26:19 +00:00
Rudolf Cornelissen
0bc3125c08 updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-04 10:13:53 +00:00
Rudolf Cornelissen
8735e82ee2 updated pre-NV10 card init code for a small 3D rendering speed increase on TNT2 and TNT2-M64 cardtypes: gain is some 1-4% depending on colorspace and exact card-type. This completes the 2D driver's 3D related init programming sweep. Next up should be adding cardID's and adding a new nv.setting to force screen aspect. Bumped version to 0.77.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-04 10:13:26 +00:00
Stefano Ceccherini
abb7ab0861 Check if we have a window in BTextView::DrawLines(). This should fix bug 383. We might remove it from there and check in the caller instead, as DrawLines is a private function (maybe add an ASSERT() call)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-04 07:46:09 +00:00
Axel Dörfler
ada7365dae Dunno why this was commented out - fixed bug #322.
That was probably what Joshua Austin meant on the mailing list, slightly misleading, though :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-04 02:19:49 +00:00