12238 Commits

Author SHA1 Message Date
Stephan Aßmus
587d699c28 It seemed to me that the MakeFocus() implementation was overly complicated and even incorrect (cyclic) if the view in question already had focus.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12619 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12619
2005-05-10 11:33:14 +00:00
Stephan Aßmus
5b5e713f82 Skip synchronous mouse polling if the window has B_ASYNCHRONOUS_CONTROLS in its flags. Added a TODO comment
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12618 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12618
2005-05-10 11:31:44 +00:00
Jérôme Duval
608ee6c43c fix noticed by [Beta]. thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12617 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12617
2005-05-10 11:31:08 +00:00
Stephan Aßmus
f571c4aee6 fixed typo
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12616 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12616
2005-05-10 11:30:17 +00:00
Stephan Aßmus
65d5fe56f6 found some obsolete stuff when looking through code
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12615 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12615
2005-05-10 11:28:21 +00:00
Stephan Aßmus
90d6295906 Ingo spotted this when we tried to make Haiku boot on my machine some time ago.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12614 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12614
2005-05-10 11:27:01 +00:00
Stefano Ceccherini
17f3c5335a Improved the colors (which were really ugly): now the value looks like a tooltip.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12613 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12613
2005-05-10 10:12:09 +00:00
Stefano Ceccherini
bc3465f998 Some experiments with drawing the slider's value:
Now we draw it over the thumb. The old implementation is there, just ifdeffed out. I'd like some feedback on this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12612 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12612
2005-05-10 09:53:01 +00:00
Jérôme Duval
168bee472e added nominal level controls (only when available)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12611 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12611
2005-05-09 22:46:57 +00:00
Rudolf Cornelissen
7c216bed2a updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12604 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12604
2005-05-09 12:53:01 +00:00
Rudolf Cornelissen
4d2a543400 driver version is now 0.45.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12603 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12603
2005-05-09 12:27:53 +00:00
Rudolf Cornelissen
3c4c050540 expanded CRTC1 FIFO watermark/burst programming: only using if coldstarted, and only on TNT2-M64. Minimizes output distortions on this card. Other cards seem fast enough to not need this (still checking..)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12602 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12602
2005-05-09 11:23:28 +00:00
Rudolf Cornelissen
82581f548d added CRTC1 FIFO low-watermark/burstsize preliminary programming (not yet enabled: testing). This should be fixing high-res mode display sparking/noise/errors/DMA engine hangs in the (near) future.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12601 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12601
2005-05-09 08:51:22 +00:00
Rudolf Cornelissen
481edfc19e added pre-NV10 coldstart RAM size checks and correction code. Confirmed working OK on a TNT2-M64 with pins 5.1
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12600 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12600
2005-05-08 20:41:08 +00:00
Rudolf Cornelissen
535dd126d3 fixed coldstart on pre-NV10 cards with PINS V3-V5pre18: confirmed missing info with a new card I have for testing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12599 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12599
2005-05-08 20:33:31 +00:00
Rudolf Cornelissen
1ffd04260a updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12598 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12598
2005-05-08 10:31:17 +00:00
Rudolf Cornelissen
6a2443fd04 fixed NV15 RAM access/distortions trouble introduced in V0.10 of this drivercd obos_svn/trunk/src/add-ons/accelerants/nvidia/ Might fix other singlehead card likewise trouble as well. Bumped driver version to 0.44. Note: for 3D NV15 is the fastest currently supported card ;-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12597 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12597
2005-05-08 10:30:14 +00:00
Stefano Ceccherini
821d08e5ea Added a TODO item
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12596 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12596
2005-05-08 06:24:35 +00:00
Stefano Ceccherini
f3a544e820 Putting this handler in once again, as it looks it's used in InterfaceDefs.cpp, even if it's not working
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12595 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12595
2005-05-08 06:21:48 +00:00
Stefano Ceccherini
8058130392 Cleanup of the ServerApp parts I looked at. Removed reduntant comments
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12594 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12594
2005-05-08 06:06:55 +00:00
DarkWyrm
3b93536aba Fixed build for decorators
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12593 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12593
2005-05-07 19:15:20 +00:00
DarkWyrm
d79f4a5812 Fixed build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12592 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12592
2005-05-07 18:52:18 +00:00
Stefano Ceccherini
09cbe37854 Fixed leading. Simplified a bit the code
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12591 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12591
2005-05-07 17:32:43 +00:00
DarkWyrm
fb52610b82 Added a handler for GET_ESCAPEMENTS_AS_FLOATS so that there are no deadlocks in the BFont call until the server-side code can be implemented
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12590 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12590
2005-05-07 17:11:30 +00:00
DarkWyrm
3f65421612 Added a rudimentary version of the float version of GetEscapements
Added a TODO to eventually support UTF8 characters


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12589 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12589
2005-05-07 17:02:56 +00:00
DarkWyrm
cd0ddd03fb Added a code for the float version of GetEscapements()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12588 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12588
2005-05-07 16:44:06 +00:00
DarkWyrm
0001f0bda6 Re-enabled printing
Added numbers to terminal windows
Some usability tweaks to the preferences window
Removed the do-nothing Find menu items
Other minor UI tweaks


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12587 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12587
2005-05-07 16:20:06 +00:00
Stefano Ceccherini
04efb239b7 AppServer is no longer a friend of ServerApp. Small cleanups.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12586 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12586
2005-05-07 15:56:15 +00:00
DarkWyrm
3348baea8f Fix for leading space
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12585 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12585
2005-05-07 15:04:52 +00:00
Stefano Ceccherini
46a20a9b71 Font leading is not the total height of the font
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12584 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12584
2005-05-07 13:58:31 +00:00
Stefano Ceccherini
7bdfb0d996 Added handler for _MENUS_DONE_
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12583 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12583
2005-05-07 13:24:25 +00:00
Stefano Ceccherini
8c7998ef76 Fixed endless loop when a BWindow is created with the B_ASYNCHRONOUS_CONTROLS flag
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12582 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12582
2005-05-07 13:03:20 +00:00
Stefano Ceccherini
9487d15bee Disabled WidthBuffer once again (for now), as it uses an unimplemented BFont method
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12581 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12581
2005-05-07 10:36:30 +00:00
Rudolf Cornelissen
311e69173b added GeForce 6200 PCIe Turbocache support for ID 0x014f
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12580 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12580
2005-05-07 07:39:42 +00:00
Rudolf Cornelissen
7a0bd7f2b6 added GeForce 6200 PCIe Turbocache support for ID 0x014f
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12579 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12579
2005-05-07 07:38:56 +00:00
Stefano Ceccherini
78f09a0553 app_server doesn't hang anymore when an application exits in an unclean way. Got rid of the kill_thread in ServerApp's destructor. Small refactoring. Added a TODO item.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12578 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12578
2005-05-06 22:38:04 +00:00
Stefano Ceccherini
5e959958c6 Initialize fLabel and fTrailingLabel in the constructor. Thanks to Marc Flerackers for reporting.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12577 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12577
2005-05-06 10:18:38 +00:00
Stefano Ceccherini
c63a94c7e3 Fixed a possible deadlock
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12576 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12576
2005-05-06 07:47:17 +00:00
Stefano Ceccherini
cd5920926b Fixed various bugs related to utf8 data in B_KEY_DOWN/UP dispatchers.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12575 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12575
2005-05-06 07:22:01 +00:00
Stefano Ceccherini
61d296c9f5 Fixed a crashing bug
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12574 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12574
2005-05-05 07:38:39 +00:00
Stephan Aßmus
fbf48e6437 Enabled HW acceleration for CopyRegion(). Tested on Haiku and it works. I also implemented FillRegion and InvertRegion. But using different acceleration hooks after one another freezes Haiku, app_server, the accelerant or whatever. I have no clue about accelerants, so if a knowledgable someone would have a look at AccelerantHWInterface.cpp, that'd be great. The software cursor stuff has a cosmetical bug with regards to CopyRegion() too, I don't understand it yet. I also tried to improve StringWidth() and DrawString() preformance. I confirmed that the glyph cache is actually used, but AGGTextRenderer::RenderString() is a dog.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12573 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12573
2005-05-04 23:48:19 +00:00
Jérôme Duval
da95c7c14b added rmd160 checksum tool from http://www.nic.com/~cheah/rmd160.tar.gz
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12570 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12570
2005-05-04 13:00:00 +00:00
DarkWyrm
4a03616356 Added a StringWidth method variant
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12569 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12569
2005-05-04 09:40:32 +00:00
DarkWyrm
5e6d7d522d Fixed a TODO - added a method for calling StringWidth with a ServerFont instead of DrawData
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12568 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12568
2005-05-04 09:39:06 +00:00
Axel Dörfler
5514672d42 Added a syscall timing utility, similar to the one in NewOS.
Can also be run under R5 when TARGET_PLATFORM=r5 for comparison.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12567 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12567
2005-05-04 01:03:44 +00:00
Stephan Aßmus
a3b4fd6b87 update the playground to my local changes, the textview test isintegrated with the build now
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12566 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12566
2005-05-04 00:38:14 +00:00
Stephan Aßmus
fc72699071 added some safety checks, cosmetic changes - please note that it is safe to call delete with a NULL pointer, unlike free(), so please don't clutter the code
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12564 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12564
2005-05-03 21:54:44 +00:00
Stephan Aßmus
25ad8b2c74 replaced direct calling of Draw() with Invalidate() where appropriate
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12563 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12563
2005-05-03 21:51:29 +00:00
Stephan Aßmus
dd3b1653a0 rearranged some functions, removed unused ones
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12562 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12562
2005-05-03 21:50:14 +00:00
Stephan Aßmus
d3194176a3 added support for software cursor needed for single buffered mode
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12561 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev12561
2005-05-03 21:48:22 +00:00