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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Axel Dörfler
dd2e2231b0
Fixed a warning.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-14 11:56:29 +00:00
Jérôme Duval
1e5cafe522
changed location for some filesystem addons
...
This implies to clean this location before the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 21:26:58 +00:00
Jérôme Duval
0c46f3c6e9
add lowercase short filenames support
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 21:13:45 +00:00
Jérôme Duval
e0169612c9
added serial_mouse to the build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 14:22:09 +00:00
Rudolf Cornelissen
a8a807c705
(hopefully) completed global 3D engine initialization.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 13:34:28 +00:00
Rudolf Cornelissen
ad6f3cd184
added programming of set of unknown registers for 3D acc setup
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 12:04:17 +00:00
Axel Dörfler
071ac2932a
Implemented bfs_get_vnode_name().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 02:43:42 +00:00
Axel Dörfler
299e521546
Added buffer size parameter to Inode::GetName().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 02:43:02 +00:00
Axel Dörfler
c02ff3b775
Reenabled query support for the Haiku kernel.
...
Implemented bfs_rewind_query().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-12 20:51:50 +00:00
Axel Dörfler
467954408f
Added Query::Rewind() method - not yet tested.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-12 20:50:45 +00:00
Axel Dörfler
0ddccfdc7a
We now have atomic_test_and_set() and atomic_set() in the kernel directly.
...
Removed Metrowerks support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-12 20:49:51 +00:00
Axel Dörfler
62986df7c4
Added a MakeEmpty() method.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-12 20:48:40 +00:00