Commit Graph
10317 Commits
Author SHA1 Message Date
Stefano Ceccherini c74996495a Hacked BMenuBar into something working, not yet with our own BMenu but with beos's one. B_WILL_FIX our BMenu. Not everything work, though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-24 17:45:36 +00:00
Stefano Ceccherini baab695f35 Removed StringItem.cpp as its implementation is in ListItem.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-24 11:39:14 +00:00
Jérôme Duval 281cd6b56f forgot to add these files
part of Canna Input Method addon
from Nec Corporation, modified by T.Murai


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-23 22:08:39 +00:00
Jérôme Duval 025d0733f2 It seems libRK and libCanna don't like this CCFLAGS position
Hope it doesn't break anything


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-23 21:30:32 +00:00
Jérôme Duval 076ccc5c5c Added Canna Input Method addon
lib/* and rk/* are from Nec Corporation, modified by T.Murai
CannaIM addon from M.Kawamura
Tested on R5, data files are needed
Thanks to M.Kawamura and T.Murai for donation


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-23 21:23:50 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
2004-12-17 08:29:08 +00:00