282 Commits

Author SHA1 Message Date
Ingo Weinhold
044be4e258 Introduced a new build flag and macro RUN_WITHOUT_APP_SERVER, to allow
several things to work without a running app server (the Storage Kit to
begin with).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:18:31 +00:00
haydentech
2b7da86751 Resolved some compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 15:23:39 +00:00
Jérôme Duval
d5f2a1f371 added our input server signature in comment
added #ifndef COMPILE_FOR_R5 to avoid BPortLink linkage when needed


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 14:32:13 +00:00
Stefano Ceccherini
6276c26824 - Some more error checking in some functions
- Fixed SetMaxBytes(), and made it delete the text if it's longer than the indicated bytes
- Fixed Delete(int32, int32) as it was doing bad things if you deleted the final part of the text
- Fixed PageDown handling (at least, it looks like so)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 08:35:15 +00:00
Stefano Ceccherini
758fe00be9 Started adding input methods "clauses" support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 06:50:41 +00:00
Stefano Ceccherini
7fd612e59f And here's the blue highlight when an input method addon like the Japanese one is used (the red one isn't yet there)
Some minor changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 06:30:43 +00:00
Stefano Ceccherini
939b1a9c4c PageDown and PageUp now behave a bit better. Still not completely ok, plus the code is a mess.
Needs to cleanup


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 07:50:35 +00:00
Stefano Ceccherini
2a346d67a6 - Fixed a nasty regression which made the control unusable
- Fixed the "caret looks like a point" bug
- More work on the Styling code


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-25 06:49:43 +00:00
DarkWyrm
f9ed3ba7d5 Fixed a stupid mistake in the message to create a window
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-22 00:10:44 +00:00
Jérôme Duval
4d8f736888 Change to shared command constants
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-18 15:40:08 +00:00
Stefano Ceccherini
9705d07a5d I tought I already committed this:
Some small fixes and error checks


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-17 13:52:18 +00:00
DarkWyrm
38e110b124 Client-server messaging fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-08 22:35:25 +00:00
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