Commit Graph

8886 Commits

Author SHA1 Message Date
Axel Dörfler
a2940337b4 Added strcasecmp(), strlcat(), and strtol() to the boot loader in order to
be able to use the driver settings in a useful way.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:26:50 +00:00
Axel Dörfler
f753d9c494 Updated to export all the functionality we need from within the kernel
and the boot loader.
When compiled in the kernel, driver settings are cached and may be used
without disk access at all.
Added some comments.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:25:23 +00:00
Axel Dörfler
42340683af The identify hook must return an error in case of an error, not 0.0f - or
else the scan partition hook will be called with an invalid cookie.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:22:36 +00:00
Axel Dörfler
381c5247e0 Fixed compilation in debug mode.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:21:08 +00:00
Axel Dörfler
f04715b8fe Command queueing is now generally disabled in PIO modes. No matter what
the cause is, it didn't work over here at all in this combination.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 07:17:55 +00:00
Axel Dörfler
c776c35a04 Added a temporary way to differentiate between kernel and userland builds for
parts of kernel_os_main.o.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 01:32:11 +00:00
Axel Dörfler
0f6c560eec Removed the upper restriction of maximum cache transfers (was restricted
to 32 pages at a time out of pure lazyness).
Also fixed a potential bug when reading across page bounds (pageOffset
might not have been properly reset).
Added some more comments and ToDo items.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 22:40:30 +00:00
Rudolf Cornelissen
7d457f8e19 added new cursor sync for CRTC1: it turns out the cards have hardware for that. This will lower CPU load much when moving the mouse around :-)
Still testing, will finalize and add CRTC2 soon I hope..


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 20:32:10 +00:00
Michael Pfeiffer
4259e26f8a Disabled building of PCL6 printer driver until we get permission from HP to include the jetlib\!\!\!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 18:07:48 +00:00
Michael Pfeiffer
fca41c6c35 Added Hartmut Reh to list of authors. Updated copyright information.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 17:55:32 +00:00
Michael Pfeiffer
d24243b3d4 Updated copyright information
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 17:54:15 +00:00
Michael Pfeiffer
be15dcda7f Added class PagesView for visualization of the options Reverse and Collate.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 17:46:28 +00:00
Michael Pfeiffer
d225778e9a Added scaling ability and visualization of the options Reverse and Collate.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-09 17:42:53 +00:00
Michael Pfeiffer
0826cc43ae Added first/last page buttons contributed by Dr.H.Reh.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-08 14:08:54 +00:00
Michael Pfeiffer
66a207d9bd Set upper bound for scaling factor.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-08 14:07:23 +00:00
Michael Pfeiffer
43a3d8de3f Changed the scaling ability to mimic the scaling behaviour of the Epson printer driver.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-08 09:12:12 +00:00
Jérôme Duval
034a4d2e0d we now keep a copy of modifiers and key_states around to be able to fill incomplete messages and get_key_info requests
because of this, 4th bug from axeld is fixed, and R5 Keymap preferences is now working correctly


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-08 01:50:11 +00:00
Rudolf Cornelissen
ea71c0b480 added some unknown stuff for NV45(?)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-07 21:46:58 +00:00
Rudolf Cornelissen
adafd6c770 mode DMA related programming (currently disabled I hope..)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-07 21:07:11 +00:00
Michael Pfeiffer
dc8938772a Show current displayed page number and added ability to scale the page contents contributed by Dr.H.Reh.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-07 17:11:35 +00:00
Michael Pfeiffer
fe970f9d5d Added method GetScale
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-07 17:07:41 +00:00
Michael Pfeiffer
5eb50e4689 Fixed printing related bug. Image was offset by the left, top corner of the printable rectangle.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-07 17:02:23 +00:00
Jérôme Duval
34720c47f1 Added kernel benchmarks from bsd
The purpose is to compare Haiku and BeOS R5 on specific operations


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-07 15:28:48 +00:00
Stephan Aßmus
36351e2d44 cosmetic changes, and removal of some unnecessary vector conversion pipelines in Stroke and FillRoundRect
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-07 02:43:24 +00:00
Stephan Aßmus
4569b90da0 Initial version of the Painter framework, which should be usable as a drawing backend.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10603 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-07 01:58:36 +00:00
Axel Dörfler
f3d2f0ffa2 cache_module_info::node_opened() was called with the wrong argument order.
Added generic syscall to control the cache. Right now, only setting/removing
cache modules is implemented.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-07 00:55:08 +00:00
Axel Dörfler
2a5dafa804 recurse_directory() is no longer part of the build if SUPPORT_BOOTFS is
not defined. It will now also skip about all entries called "boot" (to
not load the boot modules again).
The path of preloaded images is now hacked together so that the module
image hash contains the correct path in case the images get replaced
while being used.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-06 21:46:03 +00:00
Axel Dörfler
b1e252f77f Added a SUPPORT_BOOTFS definition and made the vfs_get_module_path() the new
standard mechanism - recurse_directory() is now only used if SUPPORT_BOOTFS
is defined and vfs_get_module_path() failed.
Added standard system kernel add-ons directory to the search path list.
Renamed USER_MODULE_PATHS to FIRST_USER_MODULE_PATH as that's what it is.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-06 20:31:22 +00:00
Axel Dörfler
fb77bc372f vfs_get_module_path() now actually works: it failed to create a valid full
path, since it didn't take into account that vnode_path_to_vnode() may
actually change the provided buffer.
Also fixed a potential buffer overrun in that function (bufferSize was
not correctly changed), and added a comment about a previously undocumented
property of vnode_path_to_vnode() that vfs_get_module_path() relies on.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-06 20:20:48 +00:00
Rudolf Cornelissen
a3d7b2a4ad more NV40 arch stuff for the acc engine (not yet working)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-06 19:13:39 +00:00
haydentech
e25d0ac8e6 Change FT cache manager calls to conform to the new FreeType 2.1.8 API
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-06 18:29:02 +00:00
Rudolf Cornelissen
cc3ced500f added NV40 arch specific engine init stuff (not finished, not working yet).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-06 16:17:11 +00:00
Axel Dörfler
73bcca6b32 Added a small command to set the volume of the master gain in the audio mixer.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-06 15:32:59 +00:00
Rudolf Cornelissen
d96acb0dde more DMA related info, modified PLL type detection: all NV40+ have extended PLL's.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-06 15:09:11 +00:00
Rudolf Cornelissen
2bfa04fe4a added some info about possible DMA setup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-06 10:10:07 +00:00
Jérôme Duval
df76730ea2 comment typo
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-05 23:06:26 +00:00
Jérôme Duval
431461e9d1 fix for gcc-2.95.3_binutils-2.15
version 20041202 is needed


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-05 23:02:24 +00:00
Jérôme Duval
9964bf44e8 adding a haiku-cannaIM-cvs package
adding cannaIM to the build


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-05 14:12:53 +00:00
Matthew Wilber
969d816792 Removed silly PPMTranslator hack because it caused issues with the Haiku RTF-Translator and it really never should have been added in the first place.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-05 02:14:09 +00:00
Stefano Ceccherini
4ff5ade253 Many visual fixes to BMenu. Now it's almost undistinguable from the real thing. SeparatorItems were being drawn too dark. Fixed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-04 14:42:19 +00:00
Stefano Ceccherini
b282b9018e Implemented separator style 2, courtesy of Olivier Milla
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-04 13:13:42 +00:00
Stefano Ceccherini
5b7528754d The frame around the BMenu is now drawn by a special class (as happens in beos), and not by BMenu::DrawBackground(). Refactored BMenuWindow to support scrolling (not implemented yet). The AddItem() functions now call the private _AddItem(). Implemented AddList(), but it's not tested. BMenus are now offsetted by 2, 2, as in BeOS.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-04 12:59:49 +00:00
François Revol
a583b8b54d added a script to build the table from setmime; fix (c)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-04 10:38:32 +00:00
François Revol
d9574bb892 A kernel mime_table module, so not every fs will bundle its own.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-04 10:08:27 +00:00
François Revol
8a90bc6132 puni is already pointing outside of the string, no need for +1 here!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-04 09:21:21 +00:00
Axel Dörfler
0bf9534d45 Now stacks up group text_runs correctly - previously, the run on the stack could
still be changed by the new group (which lead, surprisingly, to wrong results :).
Added \line and \'hh commands (first part of charset support beyond plain ASCII).
Renamed GetStyle() to PrepareTextRun().
Added some support functions to copy and compare text_runs.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-03 23:55:39 +00:00
Axel Dörfler
37ec8144ed The \'hh command is now also correctly interpreted (it's not a standard command).
The Text class no longer likes '\n' and '\r' and will throw those away happily.
parse_integer() can now parse integers with different radix.
Improved debug output a bit.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-03 23:46:08 +00:00
François Revol
11ad2d6866 because uni_str is incremented in utf8_to_u_hostendian() UNICODE is moved inside the loop in _utf8_to_sjis_bendian() to avoid crashing. (it points to a single unicode char!!) (other option is to not increment uni_str, but it's kept for consistency).
some cosmetic changes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-03 22:37:46 +00:00
Stefano Ceccherini
1664b981f2 Added some todo items, cleanups. Removed the frame parameter from BMenuWindow as it's not needed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-03 16:05:05 +00:00
François Revol
a565beb2d9 report error correctly (*len = 0) when read()ing a dir; some comments; don't tell BEOS:TYPE changed for folders since they don't have it.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-03 15:27:18 +00:00
Stefano Ceccherini
4e876d126e implemented B_ITEMS_IN_MATRIX layout correctly. Small cleanups all around.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10571 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-03 13:33:03 +00:00
Stefano Ceccherini
9a8540fb4e Now menuitems are highlighted correctly, and submenus open, at least.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-03 11:34:14 +00:00
Axel Dörfler
8bf6d9ff50 No longer uses the RTF::Iterator to process the document; it now subclasses
the RTF::Worker for this task (TextOutput).
Cleaned the sources a bit, TextOutput now also contains the functionality
of the former AppServerConnection class.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-03 10:13:32 +00:00
Axel Dörfler
63c6a88ba0 Added a simple RTF::Worker class that can be subclassed in order to work
with the RTF document step by step.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-03 10:10:46 +00:00
Axel Dörfler
9932029846 Extended support of RTF features. Ie. the conversion/group context is now
maintained, and should work more or less correctly.
Monospaced fonts can now be chosen (the font table is partially parsed),
italics works, and many other things.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-03 08:38:48 +00:00
Axel Dörfler
e815584a4f We're not really yet version 1.0.0 :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-03 08:34:23 +00:00
Axel Dörfler
e709e3665e The parser now uses a BBufferIO stream to speed things up.
Text::Parse() now converts bigger chunks at once.
Default RTF element destination is visible in text now, only known
other destinations are marked that way (using a lookup table).
Added virtual method IsDefinitionDelimiter() to Element to make
definition iterating nicer.
";" now always forms a separated Text object - this fixes the
definition handling.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-03 08:33:19 +00:00
Axel Dörfler
64214d4cce Mostly adapted to the refactored RTF classes hierarchy.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-03 02:04:44 +00:00
Axel Dörfler
a7e0bca0f7 Refactored the code: put everything in the RTF namespace, separated group
functions from the former RTFElement (now RTF::Element).
Put the parsing basics into a separate class RTF::Parser (used to be in
the static RTFHeader::Parse()).
RTF::Header is now always correctly set to RTF::TEXT_DESTINATION.
Some minor other related changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-03 02:03:34 +00:00
Axel Dörfler
40d9768b92 Added a simple RTF translator.
It only supports colors and bold fonts beside plain ASCII text, but it's a
start.
The RTF* class hierarchy should get a cleanup, though (and will soon).
You'll need Haiku's StyledEdit to make use of this translator.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-02 23:28:30 +00:00
Matthew Wilber
e940fe0597 Fixed button so that it stays depressed when mouse button is down, changed to support click and drag-off, centered button label vertically as Be's version is centered. Still need to add white line below focus line, need to verify the button's value is set at the correct times, need to verify that invoke is being used properly, need to test behavior and drawing when button is disabled.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-02 20:05:39 +00:00
beveloper
153863ba18 made filename start with upper case
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-01 14:03:55 +00:00
beveloper
069df2acea Updated from OpenBeOS to Haiku
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-01 13:54:38 +00:00
beveloper
a2d91eb6ea Added OpenBeOS text screensaver, renamed to Haiku
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-01 13:52:59 +00:00
Stefano Ceccherini
c38a7df2a8 Accidentally commented the DrawContent call. I promise, this is the last commit for this year.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-31 11:52:39 +00:00
Stefano Ceccherini
92aa9dcf85 some more cleanups. The AddItem() variation which accepts a BRect parameter now calls the debugger if called when the layout is not B_ITEMS_IN_MATRIX.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-31 11:44:04 +00:00
Stefano Ceccherini
9944a2998d Now items are removed correctly. All RemoveItem() call pass now through the private RemoveItems() method. ComputeLayout now uses a switch block, and prints a warning if B_ITEMS_IN_MATRIX is used, since it's not supported yet. Some cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-31 09:44:56 +00:00
Stefano Ceccherini
7ca9166efa Now BSeparatorItem's Draw() checks the separator type. Implemented separator type "1". Please, someone with a better "artistic" skill than me, feel free to implement separator type "2" and check if the drawing of the others is correct :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10554 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-31 09:04:14 +00:00
Stefano Ceccherini
efa306a09d BMenu now does even work correctly and doesn't flicker anymore. Submenus does not yet, though, and sticky mode is not yed supported.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10553 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-30 15:37:33 +00:00
Stefano Ceccherini
b0d01b5f78 MenuWindow now uses the private window_feel "1025", which I guess we'll need to implement server side too, since it behaves differently than B_MODAL_WINDOW_FEEL. Menu items added to a menubar didn't appear immediately, so I forced an Invalidate(). Could be made better, I think.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-30 13:27:00 +00:00
Stefano Ceccherini
31e911da16 Fixed BMenuBar drawing. Managed to have BMenu working (partially) with BMenuBar.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-30 11:03:36 +00:00
Stefano Ceccherini
36d4f05908 Style changes, some checks for NULL values
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-30 10:02:39 +00:00
Stefano Ceccherini
1b925bd5ae Moved BSeparatorItem`s implementation to its own file. Will split headers later.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-30 09:54:48 +00:00
Stefano Ceccherini
ddd7b87d8e Small cleanup, added a TODO comment.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-30 09:42:46 +00:00
Stefano Ceccherini
a5e772c9c2 Fixed the other bug reported by Axel: the blinking caret spuriously drawn at a wrong position.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-30 07:59:24 +00:00
beveloper
7f7e65c79a Disable PCI device address decoding before writing to BARs.
Make header_type behave like in BeOS.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-29 22:53:24 +00:00
Stefano Ceccherini
d5aba99a5e Refresh() has to do some operations even if there is no window available.
This fixes a bug in Diskprobe, thanks to Axel for reporting.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-29 11:15:22 +00:00
Waldemar Kornewald
e91b737412 Implemented support for default interface and ConnectOnDemand within core. IPCP will probably need more tweaking, did not have a look at that.
Interface statistics are now maintained.
If I did not forget anything the core stack is now feature-complete.
Only ppp_up must be finished, bugs and hacks found, and modem support added; that's it for R1, I hope.
Everyting untested!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-27 15:02:14 +00:00
Waldemar Kornewald
eb89d62ca5 Implemented support for default interface. Not tested.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-27 14:55:07 +00:00
Stefano Ceccherini
cc9f6bbded Implemented RestoreFocus(). Thanks to Ingo and Marc for the help
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10539 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-27 14:16:56 +00:00
Stefano Ceccherini
e411c65862 Mmmmh, I love Cut & Paste...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-27 09:56:01 +00:00
Stefano Ceccherini
14260ebb3b Small style changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-27 09:48:15 +00:00
Stefano Ceccherini
446b8c194e Moved BMenuWindow to its own file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-27 09:05:16 +00:00
Stefano Ceccherini
86832512bb Now includes MenuWindow.h instead of duplicating the declaration
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-27 09:04:28 +00:00
beveloper
a7871de286 Flushing local repository changes to server. Mostly new copyright headers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-25 19:44:47 +00:00
Rudolf Cornelissen
ff20b3ad82 fixed GeForce AGP/PCIe 6600 PLL trouble (refreshrate), added fifo assignment usage remark. Note that GeForce 6600 and 6800 have the acc and overlay engines still down. Apart from that, they work (if you try the code now, the driver will still hang though..)
Hope to fix these remaining issues soon..


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-24 22:43:06 +00:00
Stefano Ceccherini
872e52f249 DOS-->BeOS endlines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-24 17:55:42 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
Jérôme Duval
2830eed70b Added dstcheck.
It is run once at system startup after app_server and co are running.
Its job is to make sure the system clock took daily saving time into account.
To do this, it compares DST from a config file with DST from current RTC info.
If they differ, a time-updated alert is showed to let the user choose what to do.
A system call was used on R5 to get the current RTC info.
Unless someone comes with a good reason to still use a syscall, it should stay as is.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-14 16:28:23 +00:00
Axel Dörfler
f4160aedf9 Renamed semaphore syscalls to the new scheme.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-14 16:07:23 +00:00
Axel Dörfler
483a56e2fa Implemented a generic syscall mechanism. For example, kernel modules can use
this during runtime to add and remove specific syscalls. You can also use this
to add debugging or temporary kernel calls without messing up the syscall
table (the syscall numbers will stay constant).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-14 15:49:20 +00:00
Axel Dörfler
a36b16ba28 Added MIME types for WMA/WMV media.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-14 11:58:37 +00:00