Commit Graph

10445 Commits

Author SHA1 Message Date
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
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
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
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
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
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
2004-12-16 02:45:44 +00:00
Axel Dörfler
d8e0549fd4 ArgvReceived() no longer calls Probe() directly, but builds a BMessage
for RefsReceived().
Probe() now accepts a BEntry instead of an entry_ref, and all entries, too;
unacceptable nodes should be sorted out before.
RefsReceived() now sorts out BDirectories and will open one alert for
all directories, no longer one for each.
Added temporary hidden feature: pressing shift when opening a file will
make it possible to open symlinks and directories (to be able to access
their attributes).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-16 02:38:51 +00:00
Axel Dörfler
61784ba644 The DataEditor class now only redirects root directories to volumes; it
can now also open directories and symlinks, in which case nothing can be
done (but theoretically, the attributes could be changed).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-16 02:32:56 +00:00
Nathan Whitehorn
7279b97ee9 Fixed an amazingly moronic mistake that kept anything from working with SSL support compiled in.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-16 02:06:42 +00:00
Axel Dörfler
56904be516 The DataView can now also accept drop messages from others and itself; the
mouse is tracked when you're dragging over the view, and the affected area
is selected.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-16 01:14:42 +00:00
shatty
4dda1ae47d steps towards ssl for smtp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-16 00:32:54 +00:00
Rudolf Cornelissen
34c6e0572b yet more engine setup programming unraveled! (a bit more to come..)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-15 21:36:45 +00:00
Nathan Whitehorn
bac0321de0 Eliminated some unnecessary code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-15 20:45:13 +00:00
Jérôme Duval
8f8f6df533 Replaced delete[] by free() as noticed by Konrad on IRC
Better style


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-15 17:18:09 +00:00
Axel Dörfler
8e9afca70f Started implementing drag&drop - for now, you can drag contents out of the
DiskProbe window only. Only ASCII clippings will contain "text/plain" data,
so don't be surprised if Tracker sometimes doesn't create a clipping file
(if you drop on Tracker).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-15 14:46:39 +00:00
Axel Dörfler
fc1658382d Fixed a bug that I introduced with revision 1.9 when fixing the selection
deletion: you just couldn't delete over a ' ' with backspace...
Merged B_BACKSPACE and B_DELETE handling again.
Applied suggestions made by Stefano, like using ByteAt(x) over Text()[x].


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-15 14:03:56 +00:00
Jérôme Duval
5622a2e2c5 added get_rtc_info, needed in the kernel for services which use local timestamps such as the dos filesystem
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-15 09:23:50 +00:00
Axel Dörfler
e93e8b9a66 Removed unused mount/unmount commands.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-15 00:13:25 +00:00
François Revol
d24299a52d update doc url since bedriven is no more
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-14 23:37:38 +00:00
François Revol
bcc306b637 10000l do return somethng from main (how the hell did I forgot that ? I always do it usually) :)
Also dump some usage for --help


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-14 23:36:03 +00:00
Rudolf Cornelissen
549831215d unraveled engine's FIFO channels setup a bit for routing method to actual engine hardware commands.. (a bit more to come :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-14 22:28:30 +00:00
Axel Dörfler
dbef8d930c As suggested by Ingo, the "subsystem" parameter is now a string. That allows
modules to use their module name directly.
Also introduced a whole range of reserved syscall functions in case we want
to add some more.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-14 17:09:06 +00:00
Axel Dörfler
b793d2a2bc Cleaned up the disk device manager syscalls to look like the rest.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-14 17:05:56 +00:00