37637 Commits

Author SHA1 Message Date
François Revol
2d84444351 Native Falcon video modes support, including truecolor (16bpp chunky) which we can use for the boot splash. Some debugging code left to cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39533 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39533
2010-11-20 04:30:49 +00:00
François Revol
67572c21e8 Print natfeat IDs as hex.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39532 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39532
2010-11-20 04:29:12 +00:00
François Revol
ffc80aab15 Add some needed XBIOS calls.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39531 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39531
2010-11-20 04:28:44 +00:00
Ingo Weinhold
b216f4070e Enable/disable the "Switch Terminals" menu item depending on whether there are
other Terminals. Fixes #6613.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39530 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39530
2010-11-19 23:51:16 +00:00
Ingo Weinhold
45a4344050 MessageReceived(): More descriptive variable name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39529 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39529
2010-11-19 23:49:46 +00:00
Ingo Weinhold
2e394a4764 As suggested by Humdinger, replace "%p" by "--", if the shell is the active
process.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39528 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39528
2010-11-19 22:27:46 +00:00
Axel Dörfler
d0405baf86 * Fixed #3042 as suggested by Stippi (looks like I'm quickly following Ingo's
great example at getting senile - at least he told me about this solution
  before; the same trick is already used in SetZoom()).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39527 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39527
2010-11-19 21:57:31 +00:00
Ingo Weinhold
a9e89a7325 Also made LayoutContext() const.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39526 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39526
2010-11-19 21:53:25 +00:00
Ingo Weinhold
df7309870f Made AncestorsVisible() const.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39525 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39525
2010-11-19 21:26:54 +00:00
Jérôme Duval
ee72866293 merged freetype 2.4.3
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39524 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39524
2010-11-19 21:01:29 +00:00
Jérôme Duval
d8c9110cb6 updated libpng to 1.4.4
avoids warnings for gcc2 (deprecated attribute)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39523 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39523
2010-11-19 20:20:05 +00:00
Ingo Weinhold
00e694dce3 Aligned the second MoveIntoFrame() parameter name with the implementation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39518 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39518
2010-11-19 17:49:09 +00:00
Philippe Houdoin
d01a7e01ed Revert mistaken committed change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39517 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39517
2010-11-19 17:17:45 +00:00
Philippe Houdoin
5a2f51f20e Added WebPTranslator to Haiku image, with due credits in AboutSystem.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39516 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39516
2010-11-19 15:45:37 +00:00
Ingo Weinhold
47dbffcd1e Added a "Close other tabs" item to the tab menu.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39515 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39515
2010-11-19 15:30:09 +00:00
Ingo Weinhold
ad617d3320 * Moved some locally used message constants from TermConst.h to TermWindow.cpp.
* Added an "Edit tab title..." item to the tab menu.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39514 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39514
2010-11-19 15:24:33 +00:00
Ingo Weinhold
486cd82188 Added a menu item that opens a dialog for editing the window title.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39513 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39513
2010-11-19 15:08:05 +00:00
Philippe Houdoin
6ad0d9f232 Fix previous style cleanup ;-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39512 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39512
2010-11-19 15:04:54 +00:00
Philippe Houdoin
c663bd36d3 Style cleanup (thanks Korli!)
No functional changes, except for the two traces removed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39511 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39511
2010-11-19 14:46:29 +00:00
Ingo Weinhold
19838430ab Superfluous parentheses.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39510 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39510
2010-11-19 14:42:50 +00:00
Ingo Weinhold
df2b4726b2 BLayoutUtils::MoveIntoFrame(): Fixed check. Spotted by korli.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39509 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39509
2010-11-19 14:37:54 +00:00
Ingo Weinhold
1ded93a4b9 Use the new menu layout builder.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39508 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39508
2010-11-19 14:30:42 +00:00
Ingo Weinhold
6bb10e965d Added a layout builder for menus.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39507 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39507
2010-11-19 14:29:37 +00:00
François Revol
42df5ff102 Some support for video initialization using natfeat fVDI, but sadly it seems to return NULL for the framebuffer so it's not usable.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39506 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39506
2010-11-19 13:52:17 +00:00
Philippe Houdoin
e4f8681e79 * Switch to B_RGB24 output format
* Renamed everything after WebP, as it turns out the official name is
  case-sensitive.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39505 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39505
2010-11-19 13:10:16 +00:00
Philippe Houdoin
399227b7b5 Add MIME type for WEBP images.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39504 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39504
2010-11-19 12:46:00 +00:00
Philippe Houdoin
67a224932a Add a (read-only ATM) WEBP image translator, based on Google's
libwebp decoding code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39503 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39503
2010-11-19 12:43:27 +00:00
Ingo Weinhold
8a6bf08d49 Renamed menu related member variables.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39502 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39502
2010-11-19 12:30:21 +00:00
Ingo Weinhold
0f7255f763 Renamed fHelpmenu to fSettingsMenu.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39501 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39501
2010-11-19 12:26:00 +00:00
Ingo Weinhold
5feeb23410 A failing FindInt32() still modifies the result variable.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39500 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39500
2010-11-19 12:20:41 +00:00
Ingo Weinhold
54197c6163 Don't send TermView pointers around in messages. When the message is processed
the pointer might already be invalid. Use SessionID instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39499 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39499
2010-11-19 12:11:58 +00:00
Ingo Weinhold
713b2a7886 Added _SessionAt() helper method.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39498 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39498
2010-11-19 11:54:01 +00:00
Ingo Weinhold
135f173dce * Added SetTitleDialog, a dialog to edit a tab/window title.
* Use the dialog to open the tab title. Opened on double-click on the tab.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39497 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39497
2010-11-19 11:49:23 +00:00
Ingo Weinhold
b647673227 Moved the reusable part of the tab/window title prefs tool tips to
TermConst.h/cpp.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39496 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39496
2010-11-19 11:42:47 +00:00
Ingo Weinhold
58bee54422 Renamed _CheckSizeLimits() to UpdateSizeLimits() and made it public.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39495 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39495
2010-11-19 11:38:45 +00:00
Ingo Weinhold
39c1cc127a Added MoveIntoFrame() method.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39494 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39494
2010-11-19 11:29:52 +00:00
François Revol
a3f64d4460 Add a comment about why we currently force floppy boot when started from haiku.prg.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39493 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39493
2010-11-19 09:02:59 +00:00
François Revol
6874c88139 When the boot drive API & id is not known, try to determine the id via natfeat. XXX not sure which API it refers too.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39492 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39492
2010-11-19 08:55:15 +00:00
François Revol
9c30d75b8c - use only native error codes,
- fix nat_feat_call() macro for more than 1 arg,
- add BOOTSTRAP natfeat calls get_bootdrive() and get_bootargs().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39491 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39491
2010-11-19 08:51:59 +00:00
Ingo Weinhold
38d5ce6271 * Removed "move" parameter from the
TermView::Listener::{Previous,Next}TermView() methods. All B_COMMAND_KEY
  combos are intercepted by the window, so we never get them in the view.
* Added window shortcut Command-Shift-Left/Right to move the tabs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39490 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39490
2010-11-19 01:08:21 +00:00
Ingo Weinhold
52474b49a3 Added MoveTab() method.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39489 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39489
2010-11-19 01:06:02 +00:00
Ingo Weinhold
92b0038ec0 Added a listener interface to TermView. This allowed to get rid of
CustomTermView and of the messaging from view to window. It also simplified
things in TermWindow.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39487 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39487
2010-11-18 17:16:56 +00:00
Axel Dörfler
df942b3eb1 * Always make sure the reference to the bitmap is actually released. This
should fix bug #6824.
* Don't queue more pictures if we can only use a single CPU, and the queue is
  already busy.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39486 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39486
2010-11-18 16:48:14 +00:00
Jonas Sundström
8446b330bc Alternative icon, simplified.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39485 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39485
2010-11-18 16:28:05 +00:00
Ingo Weinhold
b1b6854036 * Renamed the session ID to index.
* Introduced class SessionID to uniquely identify a session. Unlike the indexes
  the IDs aren't reused.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39484 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39484
2010-11-18 16:26:36 +00:00
Ingo Weinhold
3c90554279 TitlePlaceholderMapper::MapPlaceholder(): Don't cut of the root '/', if the
path had less components than requested.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39483 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39483
2010-11-18 16:02:37 +00:00
Ingo Weinhold
d4443633cc Don't require the user to hold the mouse perfectly still when click-opening the
tab menu.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39482 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39482
2010-11-18 15:55:15 +00:00
Ingo Weinhold
b28dba722e * SmartTabView::MouseDown(): Also notify the listener when the click didn't hit
a tab.
* TermWindow: Add a new tab on double-click in the tab view's tab-free area.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39481 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39481
2010-11-18 15:41:06 +00:00
Ingo Weinhold
d365030ea5 * Added a listener interface to SmartTabView and moved functionality that
doesn't belong in SmartTabView to TermWindow. This also allowed to get rid of
  TermWindow::TabView.
* Also check for double clicks on tabs. No action attached yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39480 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39480
2010-11-18 15:08:58 +00:00
Alexandre Deckner
d769c15ad5 * Remove cmd+opt+ctrl+up shortcuts since that's an undocumented old combo and it clashes with workspace navigation. Only cmd+up and opt+cmd+up remains. I've checked that it indeed conforms to the user guide, but having a second eye wouldn't hurt. Also reordered the constants for more consitency between the calls.
Fixes #6833



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39479 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39479
2010-11-18 15:05:32 +00:00