270 Commits

Author SHA1 Message Date
haydentech
208b62ed86 gcc3 fix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-02 21:09:22 +00:00
haydentech
f073f5d156 Fix 2 instances of mismatched locking
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-02 21:07:55 +00:00
DarkWyrm
3ceb31b96a Pahtz's changes from PortLink/BSession/PortMessage/PortQueue to BPortLink
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-30 15:15:27 +00:00
Jérôme Duval
c7ee25fdca Splitted Globals.cpp in GraphicsDefs.cpp and InterfaceDefs.cpp to match headers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-29 10:24:31 +00:00
Stefano Ceccherini
660a04f377 Fixed some refresh bug I introduced in one of the latest commits. "Where are those millions open source code reviewers when you need them?". Word wrapping should work again. Some small style changes. Added some more TODO items and some comments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-28 08:33:28 +00:00
Jérôme Duval
0605f4d931 Extracted function declarations to private header input_globals.h
Added a IMPEXP


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-27 13:35:39 +00:00
Jérôme Duval
0270cafe71 _restore_key_map_ implemented. thanks to Jack Burton :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-27 10:22:21 +00:00
Stefano Ceccherini
41e3acb043 Added some comments, some small style changes, and some TODO items.
Simplified some code.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-23 09:58:25 +00:00
Stefano Ceccherini
a901231dac Reworked Selection, as it was simply broken before. Still not 100% correct
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-22 09:40:40 +00:00
Stefano Ceccherini
539a90858a Home / End go to the start/end of the line, not to the start/end of the buffer.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-21 07:22:22 +00:00
Stefano Ceccherini
c1fa3828af Fixed Home/End key handling. Thanks to Andrew for reporting.
I know this won't be the last one :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-20 07:41:47 +00:00
Stefano Ceccherini
18c94e1dd0 Added InlineInput.cpp to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-19 14:39:57 +00:00
Stefano Ceccherini
6adf049cfa Inline input method handling for BTextView (still lacks the blue/red highlighting). Thanks to Andrew and Koki for the hints.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-19 14:38:35 +00:00
shatty
d826fa6fa7 add scrollview to libhaiku
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-17 18:30:37 +00:00
Stefano Ceccherini
aaae158a2b Changed BTextView::GetText(), so that the real work is done by the backend. Should be much faster now.
Fixed _BTextGapBuffer_::RealCharAt(), some minor changes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-16 06:37:54 +00:00
Stefano Ceccherini
26b5401027 Added implementation of _set_menu_sem_() to Window.cpp (should it go to a different place ?), thus fixing the build (at least here, I hope I didn't forget anything else).
Thanks to Bill Hayden for reporting and sorry again for the trouble.
Changed a comment in PopUpMenu.cpp


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-14 07:41:47 +00:00
Stefano Ceccherini
1bdb4507f5 Added ZombieReplicantView, Dragger & Shelf to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-13 06:47:52 +00:00
Stefano Ceccherini
4b44b0265a Finished (or, at least fixed) BPopUpMenu, to make it do something useful (it works actually, even if not all options are tested).
Fixed build of Dragger, Shelf and ZombieReplicantView


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-13 06:46:09 +00:00
Stefano Ceccherini
06a6652107 BRect::Intersects() should return false if the passed rect is invalid
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-09 07:56:50 +00:00
Stefano Ceccherini
6fb34cf9b2 Work in progress, almost synched with the code on my hard drive:
Moved some functionalities to private methods,
some small fix.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-07 07:04:37 +00:00
Adi Oanca
7c680a3569 Implemented a method for the update process. Rearanged some code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 20:39:03 +00:00
Stefano Ceccherini
edc6e254f3 Fixed the outstanding BRegion bug. It turned out that rects_intersect() returned true in some cases when called with an invalid clipping_rect. Added an ASSERT() call to BRegion::_AddRect(), which would've saved my day.
Added some comments


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-01 06:16:00 +00:00
Stefano Ceccherini
eb1086edb6 A fix for some broken code, adjusted some comments, adjusted copyright notice
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-30 11:00:26 +00:00
Stefano Ceccherini
a5f7275d76 Adding some more or less complete classes from Marc Flerackers
(BDragger, BShelf and ZombieReplicantView). Not yet added to the build


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-29 12:20:32 +00:00
Stefano Ceccherini
39ffb98012 Added some comments and some (commented, for now) code as an example for the app_server communication.
DarkWyrm (or Adi, or whoever else), please feel free to implement the needed code on the app_server side when you want ^_^ (or when it's possible, not so important right now)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-29 08:24:33 +00:00
Axel Dörfler
8a2005e28a Added all missing classes to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 13:15:08 +00:00
Axel Dörfler
2847a12df4 Fixed compilation and applied our style guide.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 13:12:06 +00:00
Axel Dörfler
af53a136d1 Added Marc Fleracker's BPopUpMenu implementation - it does not yet compile, though.
Thanks to Jack Burton for making this available.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 12:57:32 +00:00
DarkWyrm
d302fd5997 Implemented get_scroll_bar_info properly
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 12:41:42 +00:00
Stefano Ceccherini
f3e0a5e9a5 Just a quick fix for some obviously wrong code. Added SetDrawingMode(B_OP_COPY) in AttachedToWindow, before starting work on asynchronous mouse tracking.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 09:50:51 +00:00
Axel Dörfler
ca18770764 Forgot to turn off mangling, thanks to Marcus for pointing this out.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 09:47:22 +00:00
Axel Dörfler
bbc3515ba2 Added missing header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 09:46:33 +00:00
Stefano Ceccherini
ddffb5d813 Forgot to add Screen.cpp & PrivateScreen.cpp to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 09:27:04 +00:00
Stefano Ceccherini
624df6c6b5 Rewrote some parts BPrivateScreen (in a hurry) to make libbe compile
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 08:12:32 +00:00
Axel Dörfler
84591cffe1 Began exporting of R4.5 compatibility functions, just as an example.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 22:59:27 +00:00
Axel Dörfler
db11bebffc Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 21:36:42 +00:00
Axel Dörfler
ed52cdfd58 Fixed the build by disabling MouseDown/Up/Moved() methods.
Added missing BMenu::sMenuInfo storage.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 21:35:45 +00:00
Axel Dörfler
71786a380c Added missing private AddShortcut variant.
Minor style update.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 21:32:52 +00:00
Axel Dörfler
bb776f87af Added missing function get_scroll_bar_info() - it's not implemented correctly,
though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 21:23:25 +00:00
Axel Dörfler
2f070ad2c1 Added missing constants from GraphicsDefs.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-26 16:09:13 +00:00
Axel Dörfler
3b36eca242 Added global const B_ORIGIN. Applied our coding style.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-26 15:24:10 +00:00
Stefano Ceccherini
5a5aa2e3c5 Now it checks (on KeyDown()) if the entered charachter is allowed, and it doesn't insert (and beeps) if not.
More documentation,
some more cleanups,
started implementing input methods messages handling (but don't hold your breath)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-25 10:00:29 +00:00
Stefano Ceccherini
75ad89705f - Started documenting the class
- Added the B_INPUT_METHOD_AWARE flag to the constructor
- Fixed an obvious error in ResolveSpecifier()
- Added some ToDO items


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-24 13:46:58 +00:00
Stefano Ceccherini
a667ca3cde Implemented MakeResizable more correctly (at least, it looks like it). Replaced LONG_MAX with the right lines number in Refresh() calls. Started work to make the widget double buffered. More cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 15:20:51 +00:00
Stefano Ceccherini
7889e7c9ed Fixed a crash when undoing an "internal text drop", some cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-21 12:56:46 +00:00
Adi Oanca
5b7dc94cde chnaged a mesage code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-19 13:09:08 +00:00
Adi Oanca
5929c56ed0 ::MoveBy() fixed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 18:10:07 +00:00
Adi Oanca
1889be2a4d hidden state was wrongly reported
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 11:53:44 +00:00
Stefano Ceccherini
895207da06 Implemented BTextView::SetText(BFile *.... etc.)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8038 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 09:51:10 +00:00
Stefano Ceccherini
e3a2e77198 Be nice and explain why we don't free fBasePtr. Implemented Area()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8037 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 08:36:18 +00:00