10462 Commits

Author SHA1 Message Date
Rudolf Cornelissen
a2308843f3 removed two remarks that where not correct I think.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10524 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10524
2004-12-23 21:13:37 +00:00
Rudolf Cornelissen
12faecd4c1 added recognition for 7 new cards, mostly GF 6600 and 6800 ones
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10523 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10523
2004-12-23 15:54:21 +00:00
Rudolf Cornelissen
dbedfe516e added recognition for 7 new cards, mostly GF 6600 and 6800 ones.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10522 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10522
2004-12-23 15:48:40 +00:00
Stefano Ceccherini
fd99e7194c Made the (private) 'JAHA' message a constant, and moved it to ViewAux.h. Maybe it doesn't fit much in there, but I didn't want to create a new header just for it. Feel free to move it to a better place.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10521 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10521
2004-12-23 14:03:28 +00:00
Stefano Ceccherini
3a15790e0f Fixed a couple of infinite loops, small style changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10520 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10520
2004-12-23 13:27:14 +00:00
Rudolf Cornelissen
0e0eb256d8 added more engine command defines.. 8-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10519 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10519
2004-12-23 12:54:35 +00:00
Rudolf Cornelissen
00742759be modified a few comments
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10518 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10518
2004-12-23 12:49:59 +00:00
Stefano Ceccherini
bc6981cc74 Switch synchronous and asynchronous mouse tracking code as it was wrongly placed. Style changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10517 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10517
2004-12-23 12:13:56 +00:00
Rudolf Cornelissen
b88dbb0c84 added missing color and Z buffer setup cmd struct (nolonger existing in XFree86 > 4.2.0!)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10516 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10516
2004-12-22 12:25:17 +00:00
Stefano Ceccherini
3583227ca5 Style changes, moved some functionalities to private methods
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10515 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10515
2004-12-22 10:43:40 +00:00
Stefano Ceccherini
ca8ed92280 Moved gPrivateScreen into the BPrivate namespace. Small cleanups to Application.cpp. Refined some comments. Used strdup() instead of new because it`s nicer for strings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10514 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10514
2004-12-21 10:44:31 +00:00
Axel Dörfler
e372dc78c8 Added handling of B_QUIT_REQUESTED messages, even if it might not be complete.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10513 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10513
2004-12-21 01:32:55 +00:00
Rudolf Cornelissen
5c2199fce0 added cmd struct for the textured_triange cmd. Check it out.. 8-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10512 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10512
2004-12-20 18:37:24 +00:00
Rudolf Cornelissen
f5bfcc05a4 doc update.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10511 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10511
2004-12-20 18:30:38 +00:00
Rudolf Cornelissen
a652e7726f updated driver version number (0.31)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10510 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10510
2004-12-20 18:27:39 +00:00
Rudolf Cornelissen
07e14ea9ad completed engine command struct defines so on-the-fly FIFO channel re-assignments can be done. Will be expanded more to include used 3D commands.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10509 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10509
2004-12-20 15:34:56 +00:00
Rudolf Cornelissen
9c609269f4 modified a struct's type name, now the driverinterface works in MESA if needed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10508 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10508
2004-12-20 15:29:04 +00:00
Rudolf Cornelissen
6960f5fe9c on-the-fly FIFO channel reassignments should now be useable.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10507 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10507
2004-12-20 15:24:03 +00:00
Axel Dörfler
50df61f891 Fixed warnings.
Applied our style guide.
Removed fHeight from comparisons, fSize should be enough. Clarified comparisons.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10506 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10506
2004-12-20 13:56:14 +00:00
Axel Dörfler
4d74cda31c __HAIKU__ is now always defined for the kernel build rules.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10505 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10505
2004-12-20 13:52:57 +00:00
Axel Dörfler
dfb4723fdf _kern_open_query() syscall had been changed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10504 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10504
2004-12-20 13:30:00 +00:00
Rudolf Cornelissen
9daf2efe7d updated register and acc command defines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10503 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10503
2004-12-20 13:10:45 +00:00
Rudolf Cornelissen
2a85b5e2c7 updated more acc commands to use pointers, one more to go until completion.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10502 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10502
2004-12-20 13:06:57 +00:00
Axel Dörfler
c18d84297a Grouped all constructors together.
Moved InitData() to be close to the constructors.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10501 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10501
2004-12-20 13:04:16 +00:00
Axel Dörfler
72f5d8600c Moved the quit window code into window_quit_loop() which is now called by
quit_all_windows(). I've also implemented the file panel quit mechanism,
but I'm not sure it's correctly done yet.
The BApplication destructor now locks the looper. Added commented out
deletion of fServerTo port and a ToDo comment if this should be done.
Run() no longer checks fMsgPort somewhere, but fInitError at the beginning;
if a missing fMsgPort doesn't set this, I guess InitData() is broken (or
better, BRoster::Private::CompleteRegistration() is). It now also deletes
any fPulseRunner (could be moved to ~BApplication, though).
QuitRequested() now correctly calls quit_all_windows().
Added a question to Quit() about the usefulness of special casing calling
the function from another thread.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10500 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10500
2004-12-20 12:57:00 +00:00
Axel Dörfler
af34fbf1c5 Moved the unmaintainable list of initializers for the different constructors
to InitData(). Also fixed the initial value of fPulseRate (was 500000 but
according to the BeBook, it should have been 0).
Implemented SetPulseRate() (untested, but should be okay).
Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10499 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10499
2004-12-20 11:09:56 +00:00
Waldemar Kornewald
1d34350c71 Renamed "Dial" to "Connect".
ppp_up now checks for "AskBeforeConnecting" flag


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10498 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10498
2004-12-20 10:41:35 +00:00
Waldemar Kornewald
7577e5e2c4 Renamed "Dial" to "Connect".
Added checkbox for setting default interface (not yet implemented).
Simplified "Options" tab (no ConnectOnDemand anymore).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10497 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10497
2004-12-20 10:39:04 +00:00
Waldemar Kornewald
0cbb739d3b Renamed "Dial" to "Connect" (only modems dial).
Removed DialOnDemand settings key.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10496 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10496
2004-12-20 10:36:43 +00:00
Axel Dörfler
beabca50a7 Collision with our style guide.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10495 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10495
2004-12-20 10:30:50 +00:00
Axel Dörfler
bae6988e7d Fixed some bugs and added some missing functionality:
- DispatchMessage() would swallow all handled messages, no matter if they were
  intended for this handler.
- B_REFS_RECEIVED does now maintain the recent folder/document lists.
- Now calls Pulse() when a B_PULSE is received.
- No longer calls ReadyToRun() more than once, no matter how many B_READY_TO_RUN
  are sent to the app.
- Added B_APP_ACTIVATED to the yet unhandled messages; furthermore, the known
  unhandled messages now dump themselves to stdout.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10494 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10494
2004-12-20 10:04:28 +00:00
Rudolf Cornelissen
e549fa8984 updated shared_info and defines for FIFO channel stuff
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10493 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10493
2004-12-20 09:21:32 +00:00
Rudolf Cornelissen
3c327b5379 added on-the-fly engine FIFO channel re-assigning, one cmd is now done via a struct-ptr instead of fixed defines, rest still needs to be updated.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10492 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10492
2004-12-20 09:17:44 +00:00
François Revol
7508daf790 Added trash --list and untrash --all
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10491 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10491
2004-12-19 01:09:21 +00:00
François Revol
03136b8b3c Use BPath to normalise paths so [un]trash foo/ actually works
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10490 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10490
2004-12-19 00:35:16 +00:00
François Revol
8c0d307dcb don't use system("hey") but the Clean Way(tm).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10489 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10489
2004-12-19 00:25:04 +00:00
François Revol
b03a7f8292 [un]trash command, to trash (eh) files, and get them back. Could be useful with alias rm=trash :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10488 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10488
2004-12-19 00:17:36 +00:00
Rudolf Cornelissen
f0cb8f7257 filled out first cmd
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10487 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10487
2004-12-18 14:07:41 +00:00
Rudolf Cornelissen
be75af5b13 included new header file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10486 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10486
2004-12-18 13:36:09 +00:00
Rudolf Cornelissen
bd877ea210 added file which will contain acc cmd struct defines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10485 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10485
2004-12-18 13:30:33 +00:00
Jérôme Duval
d1e2263502 untested uname implementation
still lacking some way of getting/setting hostname in our kernel


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10484 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10484
2004-12-17 16:23:22 +00:00
Axel Dörfler
cfa4cb788c Now uses DataEditor::AttributeRef() where appropriate.
The definition of BEOS_R5_COMPATIBLE is no longer necessary, due to improvements
to our build system.
For root directories, the attributes are now taken from that directory; previously,
only the device was tested for attributes (which doesn't have any in BeOS).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10483 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10483
2004-12-17 08:41:01 +00:00
Axel Dörfler
86daa6f28c Now also shows the volume name instead of the entry_ref name for root directories.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10482 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10482
2004-12-17 08:37:50 +00:00
Axel Dörfler
9e98ea36fd The DataEditor now has a separate entry_ref for attributes - that's used
to have access to the attributes of a root directory. Internally, only
this ref is used when accessing attribute data.
Also fixed an initialization bug in case the stream couldn't be properly
opened; some values were just set too late (could lead to strange things
as well as a crash).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10481 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10481
2004-12-17 08:34:34 +00:00
Stefano Ceccherini
6f633eb2a6 Some comments on possible changes, before I forget about them. Compacted some code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10480 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10480
2004-12-17 08:29:08 +00:00
Rudolf Cornelissen
74661a6096 added some defines and shared info needed in 3D add-on driver.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10479 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10479
2004-12-16 21:18:45 +00:00
Rudolf Cornelissen
89d37d46d0 added preliminary bit of support for 3D add-on driver, more needed probably.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10478 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10478
2004-12-16 21:17:07 +00:00
Rudolf Cornelissen
4b1d83dfef added/'completed' extra info on engine setup, adding new options that are now theoretically possible for us.
Also enabled global 3D engine initialisation code, as my cards tested stay in fully working order with it (rest will be tested as well before any new driver release of course).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10477 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10477
2004-12-16 11:32:41 +00:00
Stefano Ceccherini
0115269685 When Clear() was called, an undo action was created even if undo was disabled. Fixed, and added a comment to it. Some more checks for NULL, some variable renaming.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10476 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10476
2004-12-16 08:27:09 +00:00
Axel Dörfler
87f158f3f5 Now only replaces the directory's name with the volume name for root directories for the window title.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10474 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev10474
2004-12-16 02:45:44 +00:00