16374 Commits

Author SHA1 Message Date
Stefano Ceccherini
02c491fd7e small cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17014 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17014
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
hrev17013
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
hrev17012
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
hrev17011
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
hrev17010
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
hrev17009
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
hrev17008
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
hrev17007
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
hrev17006
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
hrev17005
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
hrev17004
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
hrev17003
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
hrev17002
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
hrev17001
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
hrev17000
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
hrev16999
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
hrev16998
2006-04-04 02:19:49 +00:00
Axel Dörfler
903936bcec Added the scrolling offset when a view is created.
This lightens the problem in bug #98 a bit, but doesn't completely fix it; you
still don't see any items in that list on the switch, but they now appear again
when you scroll around there.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16997 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16997
2006-04-04 01:51:16 +00:00
Axel Dörfler
31dc79a18b * Added B_MINI_ICON_TYPE and B_LARGE_ICON_TYPE to TypeConstants.h.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16996 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16996
2006-04-04 01:30:03 +00:00
Axel Dörfler
3c4cc54948 disk_device_manager.h no longer includes a private header - ie. that header
is public now, even if it may not yet be public and fixed API.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16995 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16995
2006-04-04 00:29:07 +00:00
Axel Dörfler
43c84ecbb4 The '/' character obviously has to be allowed in MIME types.
This fixes bug #375.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16994 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16994
2006-04-03 23:27:11 +00:00
Axel Dörfler
227bf1b686 Fixed wrong selection updating when adding items - this fixes bug #279.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16993 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16993
2006-04-03 22:57:23 +00:00
Jérôme Duval
52f8cb492d fixes bug #395
month 0 is January
year 0 is 1900


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16992 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16992
2006-04-03 21:22:21 +00:00
Michael Lotz
f51fb4696c Corrected the repeat checks (did not compare the right buffers) and added a length argument to debug_puts() to safe the strlen in the syslog case. Also removed some leftover.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16991 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16991
2006-04-03 20:48:30 +00:00
Stefano Ceccherini
195f58ddbb BMenu::_AddItem() keeps the looper locked for the whole time, other changes: let's see if this fixes that bug
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16990 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16990
2006-04-03 19:50:16 +00:00
Axel Dörfler
8da774372c No longer "abuses" the provided message to send the request to the registrar.
Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16989 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16989
2006-04-03 19:38:17 +00:00
Axel Dörfler
e83935e59b It no longer appears as if you need to delete file types twice until they
disappear. This fixes a part of bug #279.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16988 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16988
2006-04-03 16:52:40 +00:00
Axel Dörfler
bf5e11677b * Improved BMimeType::GetSupportingApps(): no longer uses the provided message to
send the request, and it now checks if the object is valid.
* Fixed building supporting apps table: now all types are converted to lower case,
  so that it works reliable now. This fixes bug #278.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16987 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16987
2006-04-03 16:44:46 +00:00
Jérôme Duval
9d6b4ad586 actually print the color_which which fails (ie in Cortex)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16986 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16986
2006-04-03 16:25:59 +00:00
Jérôme Duval
01aa08639d fix typo
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16985 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16985
2006-04-03 15:43:00 +00:00
Jérôme Duval
f203ff709b clean debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16984 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16984
2006-04-03 15:16:01 +00:00
Jérôme Duval
a827021eb0 added error output when ide_adapter can't acquire resources
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16983 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16983
2006-04-03 15:01:26 +00:00
Axel Dörfler
020c1aa823 * init_driver() now behaves better in low memory situations.
* Some preparations to support more than one chipset, added i855G (device ID 0x3582)
  to test with - the accelerant_device_info is now filled with that additional data
  as well.
* Some minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16982 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16982
2006-04-03 13:21:31 +00:00
Jérôme Duval
224a6b047f code hardening, should help on bug #385
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16981 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16981
2006-04-03 11:57:49 +00:00
Axel Dörfler
c0a7267732 Minor cleanup: removed some unused commands.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16980 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16980
2006-04-03 11:45:37 +00:00
Axel Dörfler
cce5601a7a * The background is now repainted on workspace switch in case the background
color differs. This fixes bug #373.
* The workspaces window is now invalidated when the workspace color is
  changed, so that it shows the correct color then.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16979 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16979
2006-04-03 11:41:16 +00:00
Axel Dörfler
8aca9ad64d Commented out removing the /dev/bus/scsi/raw device for IDE devices. This seems
to cause some problems with the device manager that needs to be investigated,
see bug #393 and #389.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16978 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16978
2006-04-03 11:07:04 +00:00
Jérôme Duval
6e66ef1c1a added Greg Crain as contributor
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16977 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16977
2006-04-03 09:56:03 +00:00
Jérôme Duval
a65710728f added mpu401 module to the image, could help on bug #391
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16976 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16976
2006-04-03 08:15:53 +00:00
Stefano Ceccherini
e90bed06b1 Fixed vlc menubars
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16975 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16975
2006-04-02 22:31:04 +00:00
Stefano Ceccherini
a2b0a7ac3e Avoid tracking the menubar if it's tracking already
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16974 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16974
2006-04-02 21:47:46 +00:00
Axel Dörfler
290026d3b1 * Fixed font sensitivity issues of the directory choosing window.
* Made the code more robust, too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16973 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16973
2006-04-02 19:36:41 +00:00
Axel Dörfler
5fef96ef20 Made the gap between the buttons and the text controls as large as the one
between the window border and its contents to make it look a bit better.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16972 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16972
2006-04-02 18:42:07 +00:00
Axel Dörfler
0e6b056fdc Fixed a whole lot of font sensitivity (and some other minor, like the "Show Contents"
menu label update) issues of the main window (didn't touch the rest yet) - shame on
you, Korli ;-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16971 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16971
2006-04-02 18:31:30 +00:00
Michael Lotz
3647d70ded Replaced the hash based approach to repeat detection with the probably more efficient strncmp.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16970 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16970
2006-04-02 16:45:04 +00:00
Axel Dörfler
5652ba7236 Fixed build under Dano.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16969 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16969
2006-04-02 16:39:32 +00:00
Michael Lotz
3352a462a7 Implemented the "Last message repeated x times." thing in the kernel (hash based).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16968 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16968
2006-04-02 16:23:47 +00:00
Axel Dörfler
ac1f397e60 Rewrote the private query_for_app() function to search on all mounted volumes
instead of just the boot volume.
It now also has a second pass in case nothing could be found. The second pass
does a case insensitive query for the application's signature, and fixes the
problem that some apps couldn't be started by signature until they were launched
once (because the MIME database is always case insensitive).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16967 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16967
2006-04-02 16:02:28 +00:00
Axel Dörfler
60bf6a1fbe Removed the detached version of the BMessageRunner object again, and instead
have a static method for spawning one (BMessageRunner::StartSending()), as
suggested by Ingo.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16966 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16966
2006-04-02 14:47:01 +00:00
Axel Dörfler
94f8d3fcee A TTY now refuses read/write requests while the other end is dead; it also
notified the other end when it has been closed. This fixes bug #388.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16965 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev16965
2006-04-02 12:52:33 +00:00