Stefano Ceccherini
37b835fc06
This should fix the build for StyledEdit (we need to link against our libtextencodings.so). Note that, for StyledEdit to work, you need our libtextencodings.so either in a lib subfolder in the stylededit folder or in a system library directory.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-08 09:47:52 +00:00
Stefano Ceccherini
5cfa0d90a5
This should fix the build of jam under linux (and gcc 3.2.2). At least, it wasn't building here.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-08 07:59:47 +00:00
Stefano Ceccherini
8ffd36efd9
Stripped down Stars demo, to test DirectWindow
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-07 06:54:51 +00:00
Stefano Ceccherini
f6dc8f8d6b
Hm, how come I removed that ?
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-06 08:40:08 +00:00
Stefano Ceccherini
fcb11fb123
Added a TODO reminder
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-06 08:12:18 +00:00
Stefano Ceccherini
88b0acbe91
Accidentally enabled debug in the latest commit.
...
The driver is fully working.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-05 07:46:30 +00:00
Stefano Ceccherini
85bbb77938
Almost completely rewritten the interrupt handler, some cleanups
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-05 07:06:26 +00:00
Stefano Ceccherini
29ed6a85c3
This should fix the build of media_decoder
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-01 09:27:27 +00:00
Stefano Ceccherini
bf7833a73a
BRegion tests results, for reference
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-31 10:58:22 +00:00
Stefano Ceccherini
015dd75715
Fixed warnings, some cleanups
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-31 06:56:34 +00:00
Stefano Ceccherini
f1ca7ea60b
Some more test cases for BRegion
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-31 06:53:40 +00:00
Stefano Ceccherini
a1e1747413
IOBase() is not supported
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-30 09:19:08 +00:00
Stefano Ceccherini
36eaad35e1
Accidentally removed Marcus name from the authors's list
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-30 08:05:42 +00:00
Stefano Ceccherini
272b2685ed
WindowScreen implemented by Caz and myself, fully working (well, at least with the pageflipper demo) on BeOS R5.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-30 07:29:49 +00:00
Stefano Ceccherini
684349b37a
Implemented link detection and speed autonegotiation
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-29 06:36:33 +00:00
Stefano Ceccherini
a88479e2a9
Should fix the build of libgame.so. It was linking against R5 libmedia.so
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-23 15:19:03 +00:00
Stefano Ceccherini
bfc3bb1838
Finished SetFullscreen() implementation
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-23 07:19:07 +00:00
Stefano Ceccherini
09ea309293
A working SetFullscreen() implementation, courthesy of Caz. Added a comment. Enlarged the license section.
...
More to come.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-22 14:23:50 +00:00
Stefano Ceccherini
3d6ebe9645
Added a missing include
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-18 07:41:04 +00:00
Stefano Ceccherini
e2aecd091e
Some tests for _BWidthBuffer_
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-18 07:40:05 +00:00
Stefano Ceccherini
e064995715
Removed an unneeded dependency
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-18 07:37:38 +00:00
Stefano Ceccherini
7446a252ed
Fixed a crash when running beshare with our BTextView (thanks to Andrew Bachmann for reporting), though it's a bit hackish, added some printfs to TextView.cpp to help finding/fixing bugs, a small optimization to WidthBuffer. Should convert and commit WidthBuffer's tests to cppunit tests sooner or later.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 07:19:27 +00:00
Stefano Ceccherini
80127f8edb
Some fixes, some warning fixed, added a lot of code for the MII handling (almost completely "stolen" from Axel's sis900 driver), not yet working.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 07:13:03 +00:00
Stefano Ceccherini
3927f78a36
... and a jamfile for it (shamelessly stolen from Axel's sis900 driver). Not (yet) included into the build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-11 12:48:22 +00:00
Stefano Ceccherini
d8ee7d30df
Driver for the Winbond 840 NIC, written by myself. It's working. It lacks speed autonegotiation, and some other cool things.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-11 11:09:38 +00:00
Stefano Ceccherini
805bba9456
Fixed the debugger "region" command (still looking for others like that one)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6938 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-09 09:53:54 +00:00
Stefano Ceccherini
7667c061fe
Simplified an expression (which was even wrong before)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-02 16:29:04 +00:00
Stefano Ceccherini
b2fece1ec0
renamed some global variables to have the "g" prefix
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6858 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-02 16:16:11 +00:00
Stefano Ceccherini
a8c7c591fa
from Korli: lib link order reversed to allow finding the symbol launch_media_server in our libmedia.so
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-26 08:34:25 +00:00
Stefano Ceccherini
e1e76c7813
Moved these files to /current/headers/private/interface
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-15 07:18:38 +00:00
Stefano Ceccherini
8db7015c26
Fixed warnings
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-15 07:17:18 +00:00
Stefano Ceccherini
1ad8f49ef2
Uncommented _BWidthBuffer_ constructor call
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-15 07:16:46 +00:00
Stefano Ceccherini
f1569dbb9e
Moved some headers here so they can be included by Globals.cpp in the interface kit folder
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-15 07:15:37 +00:00
Stefano Ceccherini
d8b4d83df2
Changed a bit the behaviour of BOptionPopUp::SetValue(). We now differ a bit from what R5 does. The old implementation is still there and just ifdeffed out, though.
...
Added some private unimplemented methods I had forgot, fixed some spelling errors, finished documenting what was missing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-08 07:26:57 +00:00
Stefano Ceccherini
37a821f6cf
BOptionPopUp and its abstract class BOptionControl, completed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-29 07:19:42 +00:00
Stefano Ceccherini
53b9eef827
Implemented AboutRequested(), reorganized a bit the connection to app server, added a call to _init_interface_kit_()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-19 07:19:14 +00:00
Stefano Ceccherini
8f62ceb96f
Started implementing _init_interface_kit_(). WidthBuffer initialization is commented until I move its header to an accessible place
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-19 07:17:19 +00:00
Stefano Ceccherini
008cfb1db2
WidthBuffer complete,
...
Changed some methods name,
reordered class members in TextViewSupportBuffer.h, now they are in the same order
OpenTracker says
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-17 07:48:58 +00:00
Stefano Ceccherini
356acd7d45
Fixed artifacts when highlighing text, added Hiroshi Lockheimer to the authors list (BTextView is based on his SteEngine), reformatted the code some more to comply with our guidelines
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-04 14:19:30 +00:00
Stefano Ceccherini
76f6f6ff76
With the help of Andrew Bachmann, I finally fixed the multi-byte charachter deleting / Undoing.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-20 14:02:58 +00:00
Stefano Ceccherini
2e7ea41af1
With the help of Andrew Bachmann, I finally fixed the multi-byte charachter deleting / Undoing.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-20 14:00:36 +00:00
Stefano Ceccherini
aa4d8c571d
Synching with the code on my hard drive... Archiving/unarchiving should (partially) work now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-17 10:34:29 +00:00
Stefano Ceccherini
e38721600a
Fixed a warning
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-17 10:31:38 +00:00
Stefano Ceccherini
5480b4590e
Another patch from Oliver Tappe: BString behaves better when the user supplies out-of bounds values in Insert(), Remove(), etc.
...
Code is refactored, and it fully complies with our guidelines.
Tests have been updated too (hint: try the replace tests with R5 and our implementation...)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 07:35:16 +00:00
Stefano Ceccherini
d8a7172a91
simplified rects_intersect(). Now it's very similar to BRect::Intersects()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 10:50:41 +00:00
Stefano Ceccherini
bdd02a033d
Added WidthBuffer to the build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 10:13:58 +00:00
Stefano Ceccherini
76f8475798
Some more work on the undo buffer. Added a quick and dirty implementation of WidthBuffer (it's needed by OpenTracker). We'll want to implement it correctly.
...
Multi-byte character insertion/deletion works now in TextView (thanks to Marc Flerackers)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 10:12:35 +00:00
Stefano Ceccherini
4be90e7fc1
Fixed a possible buffer overflow in r_or() and r_sub() (thanks to Ingo Weinhold for his advices), stripped BRegion of all his friends, and moved them into a single class (BRegion::Support()). Removed "find_small_bottom()", as we didn't use it at all. Added some debugging output to BRegion::Support (that will help fixing bugs)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 07:33:41 +00:00
Stefano Ceccherini
b17e9812fd
Fixed the long outstanding bug that made BRect::Intersects() return false when one rect was completely contained into the other. Cleaned up (a bit) the code.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5041 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-16 08:00:44 +00:00
Stefano Ceccherini
b032f97253
- Fixed text pasting
...
- Fixed text moving
- Almost completely implemented Undo capabilities
- in BTextView::GetSupportedSuites(BMessage *data): added the suites name
- fixed BTextView::Insert(int32, const char *, int32, const text_run_array *), it didn't
take offset into account
- undo is disabled by default (even if the BeBook says the opposite)
- added B_SELECT_ALL message handler
- now it doesn't select anything if the object isn't selectable
- drag message is now filled in BTextView::GetDragMessage() as it should, and not in
BTextView::InitiateDrag()
- changed all deprecated SetCursor() calls to SetViewCursor()
- added some NormalizeFont() calls, while trying to fix the multi-byte insertion bug
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5009 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-13 14:38:43 +00:00
Stefano Ceccherini
cafaa5aa29
Added a BDirectWindow implementation which works with BeOS R5 (at least, with the Chart demo app)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 13:39:39 +00:00
Stefano Ceccherini
8d1a0ee7c1
Fixed a bug in BRegion copy constructor. If one constructed a BRegion with
...
BRegion region(region), the region would have been put into an unitialized state. Took the chance to cleanup a bit the code, using some methods of clipping.h. Changed the way offset_rect works, and changed its name too. Added a note to Region.cpp
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-05 10:16:34 +00:00
Stefano Ceccherini
bf6e990eb6
Added UndoBuffer.cpp to the build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-04 09:17:10 +00:00
Stefano Ceccherini
ba92606354
Fixed SetRunArray(). It was callign StyleBuffer::SetStyleRange() with a BFont** pointer instead of a BFont* one (that fix is by Marc Flerackers, as the whole class, BTW :)). Refactored CharClassification(), also added some more separator characters. Also foreign characters should be added here (Andrew?). Fixed [Allow][Disallow]Chars(). Fixed a linking issue when we don't link to libbe.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-29 09:29:25 +00:00
Stefano Ceccherini
e6404469ad
added offsect_rect, fixed a spelling error
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-22 09:12:56 +00:00
Stefano Ceccherini
bc0ea15dd4
On behalf of Jeremy Rand, BRegion tests
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-06 06:46:06 +00:00
Stefano Ceccherini
a5b449ce66
Added BScreen implementation, which uses BPrivateScreen (not yet implemented).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-28 14:35:02 +00:00
Stefano Ceccherini
2a0863af09
Some more clipping_rects methods, based on BRects methods. Currently unused, but could be used in the Game Kit and, why not, also in the app server itself.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-22 12:49:49 +00:00
Stefano Ceccherini
19787aaf71
Removed BGA's uint32 utf8_char_len(uchar c)
...
function from this public header, since it's not safe, and it's slower than parsing bytes one by one.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-17 15:35:39 +00:00
Stefano Ceccherini
ec35b786c8
Fixed the build, and added some more comments
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-17 06:43:03 +00:00
Stefano Ceccherini
7e3a607f22
Whoops! Forgot to update this file..
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-14 09:11:38 +00:00
Stefano Ceccherini
791e557c1b
Implemented the last missing function, r_sub (it could be written a bit better, though). Moved the helper methods to a separate file, cleaned up a bit the implementation, changed some things in the license.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-14 06:22:47 +00:00
Stefano Ceccherini
336449f921
Fixed (hopefully) and uglified r_or. It wasn't just ugly enough before :P.
...
Implemented sort_trans (now I understood what it was for). Include methods should really work now. Note that r_or uses 8Kb on the stack everytime it's called, no matter how many rectangles it has to elaborate. Can be changed, though. Some cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3919 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-09 06:08:10 +00:00
Stefano Ceccherini
b98a12f022
Fixed some bugs pointed out by Marc. Thanks Marc!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-03 10:20:57 +00:00
Stefano Ceccherini
d4400ac125
A line can be too a valid rect.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-03 06:29:06 +00:00
Stefano Ceccherini
b8922a588b
Fixed some small bugs in (sub|or)_region_complex. Fixed a freezing bug in sort_rects. Implemented r_or. Now just r_sub is missing.
...
Tested Include methods and IntersectWith(). They work fine.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-03 06:26:07 +00:00
Stefano Ceccherini
319b95be85
Implemented sub_region_complex and or_region_complex. They divide the plane into horizontal bands, then pass the area to r_sub or r_or, which do the real work. Tested xxx_region_complex with R5's r_or and r_sub: they work fine. Just those last functions are missing now. Documented a bit more the private C functions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 07:16:11 +00:00
Stefano Ceccherini
e08165bb6f
Fixed an allocation bug in BRegion::set_size, started to comment BRegion with Doxygen (just the public methods and some friend functions for now). Added BRegion to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-30 08:19:26 +00:00
Stefano Ceccherini
15cfed465c
Fixed sort_rects(). Rects are sorted by their top value, not by their left as I tought in the first place. I had already fixed or_region_no_x, I just forgot to update sort_rects().
...
Fixed a typing bug in PrintToStream().
Added a comment.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-27 06:21:50 +00:00
Stefano Ceccherini
0147056b81
Added a partial implementation of BRegion
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-26 10:09:01 +00:00
Stefano Ceccherini
4f4f381f93
hrm... this should be rdef, not rsrc
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 10:24:39 +00:00
Stefano Ceccherini
359a1af6c0
Some more cleanups... finally fixed the multi workspace refresh bug.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 10:01:58 +00:00
Stefano Ceccherini
303dc7b976
Switched to rdef resource format, should finally fix the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-11 06:28:13 +00:00
Stefano Ceccherini
518c1e3f62
When you changed the refresh rate for all workspaces, then selected "cancel" the changes didn't revert... Fixed. Some more cleanups. Some code (not compiled right now, it works partially) to change the way the example screen is rendered (bitmaps instead of drawing)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-09 09:34:12 +00:00
Stefano Ceccherini
843571810d
Removed dependancies from be_setup.h (since we don't have this header in our repository)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-14 07:56:22 +00:00
Stefano Ceccherini
1783edd55c
Added a big patch from Oliver Tappe. BString now is much faster when it has to deal with very long strings. Thanks Oliver. Fixed the (in)famous LockBuffer(0)->UnlockBuffer(-1) R5 bug.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-11 19:16:18 +00:00
Stefano Ceccherini
4db3797f17
Some more tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-11 19:14:05 +00:00
Stefano Ceccherini
3e194a0eeb
Added termios.h header
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-22 16:48:04 +00:00
Stefano Ceccherini
2d4125b748
this should be the definitive (excluded bugfixes) implementation of BBufferIO. Buffered write should work fine, as buffered read did.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-22 16:40:56 +00:00
Stefano Ceccherini
d376996084
Added doxygen style comments. Fixed a bug in open() return value. The class still doesn't work as it should.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-21 19:34:45 +00:00
Stefano Ceccherini
51ee67dc8f
Fixed an obvious bug, simplified a bit the code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 12:32:09 +00:00
Stefano Ceccherini
089f7debba
Implemented buffered read in BBufferIO class, and added it to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 12:17:41 +00:00
Stefano Ceccherini
5901730132
Added a doxygen_config file for the Support kit. I hope the storage kit will excuse me for stoling their file :)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-10 16:14:55 +00:00
Stefano Ceccherini
5235e06864
When you pass a negative number as Truncate() argument, the string is truncated to a length of 0 (before Truncate() just did nothing), because it makes more sense (there isn't any problem with R5 compatibility, because here R5's BString just crashed).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-10 16:10:00 +00:00
Stefano Ceccherini
a8dee23ea0
A fix for a Replace function, some checks which makes the code
...
more robust, some style changes, some more comments.
Started to document the class with Doxygen comments.
(I made too many changes to keep the file local :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-10 10:19:56 +00:00
Stefano Ceccherini
cfe8d4a743
one more test for ReplaceSet(char, char)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-09 14:00:47 +00:00
Stefano Ceccherini
7cf3b2f4b1
Documented the class, some small changes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-02 13:01:45 +00:00
Stefano Ceccherini
005069f4e1
Changed a "" include to a <> one. Some cosmetic changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-02 11:14:33 +00:00
Stefano Ceccherini
d19f7b5dad
Fixed the behaviour of DoForEach() functions (from Isaac Yonemoto implementation)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-10 13:02:00 +00:00
Stefano Ceccherini
9c81f09d9f
Implemented some missing functions (MoveItems is still lacking), added the copyright header
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-06 14:25:05 +00:00
Stefano Ceccherini
9bf6d51b04
The header is now R5 binary and source compatible
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-06 14:24:06 +00:00
Stefano Ceccherini
d7f0501f78
Fixed a bug which caused the selected resolution not to last between reboots, and an incorrect string placement
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-04 14:26:01 +00:00
Stefano Ceccherini
da4ffe5d0b
removing the header from here
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 07:35:50 +00:00
Stefano Ceccherini
94be8cb515
BTextView implementation by Marc Flerackers (with few additions of mine). Still incomplete, it works, tough.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-02 20:14:03 +00:00
Stefano Ceccherini
a42a3ab57f
A skeleton for the BBufferIO class.
...
(Since we have a header, I think we should also have an implementation...
;-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-28 09:26:32 +00:00
Stefano Ceccherini
30d9eb3baf
Screen now uses the same preference file as R5's one, and it's compatible with it. Now revert works as it should. Some cleanups
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-27 15:45:32 +00:00
Stefano Ceccherini
22eb56e099
I accidentally broke the build. Fixed now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-27 14:41:16 +00:00
Stefano Ceccherini
b2c7cb6f60
In the R4's bebook, they say BScreen objects shouldn't be
...
constructed on the heap, and a BScreen object should be keep for
as little time as possible, because it locks the screen.
This doesn't seem to be the case in R5, but I am happier this way...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-27 11:57:39 +00:00
Stefano Ceccherini
e14977562f
Maximum refresh selectable at compile time, some minor fixes, some cleanups
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-26 06:21:36 +00:00
Stefano Ceccherini
dab5a2c577
Forgot those :)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-24 00:27:34 +00:00