Commit Graph

751 Commits

Author SHA1 Message Date
Adi Oanca
aea21365e7 Cursor operations are made through RootLayer's(ATM, the only one) CursorManager and visible settings directly call RootLayer's DisplayDriver.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-19 18:00:05 +00:00
Adi Oanca
3b5df3c151 'cursormanager' not global anymore
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-19 17:55:50 +00:00
Adi Oanca
eb7b20d820 RootLayer now has a stack allocated CursorManager
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-19 17:54:03 +00:00
Adi Oanca
f9ef06250c FindCursor is now public
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-19 17:52:53 +00:00
DarkWyrm
4e9042b685 Fix build
Remove a NULL pointer reference in debug code


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-19 17:35:17 +00:00
Adi Oanca
4431e07a3a a BList member is allocated on stack now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-19 16:46:36 +00:00
DarkWyrm
0d9d87e7f2 Debug output tweaks and changed temporary cursor-related debugger calls to printf's to make other development less annoying
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-19 15:12:35 +00:00
Ingo Weinhold
1f071637ed Don't link against the libfreetype.so in ~/config/lib as we don't build it
anymore. If you want to have a symlink there, just create it.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-19 14:23:43 +00:00
DarkWyrm
b8fb69518c Reintegrating Bill Hayden's changes to FontStyle::ConvertToUnicode in some currently-disabled code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10858 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 23:18:37 +00:00
Adi Oanca
fe93751f01 Moved CursorData.cpp into libappserver.so
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 22:31:08 +00:00
Adi Oanca
e32785759f Fixed cursor bug; made some cursor handlers temporaly unavailable. :-D - this is part of moving PollerThread into RootLayer class.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 22:23:34 +00:00
haydentech
9e711e9327 malloc.h is deprecated, use stdlib.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10850 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 19:45:22 +00:00
Ingo Weinhold
5513a4cb69 Changed signature.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 01:20:09 +00:00
Ingo Weinhold
48f570b5c7 * The settings file is now called "HaikuRosterSettings" instead of
"OpenBeOS...".
* Obtain the path of the settings dir via find_directory().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 01:19:23 +00:00
Ingo Weinhold
769ba00e93 * Changes due to moving RegistrarDefs stuff into the BPrivate namespace.
* Rename the main thread after creating the BApplication. Then at least
  the roster will be ready for use.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 01:17:35 +00:00
Ingo Weinhold
d8247d2bd9 Changes due to moving RegistrarDefs stuff into the BPrivate namespace.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-18 01:14:50 +00:00
DarkWyrm
d86ffbc9c4 Changed keyboard nav color to match R5 even though we use Dano's attributes
BFont::GetHeight now works properly


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 20:08:40 +00:00
Axel Dörfler
9f8a0739b6 The daemon now runs on top of our kernel, so it should now write to
the real syslog.
Also, find_directory() now makes sure that the path to the syslog
actually exists.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 14:49:14 +00:00
DarkWyrm
80b0522e29 Fixed style name -> face translation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 02:20:57 +00:00
DarkWyrm
4bd87f4887 Retooled the API and implemented some of the message handlers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 02:05:50 +00:00
Adi Oanca
f4687e882c * moved input handling code from Desktop class to RootLayer
* PollerThread was replaced by WorkingThread(RootLayerX)  thread which is created every time a RootLayer object is created and destroyed when deleted.
* ViewDriver now initializes the "inputServer" port because it is one of the first objects instantiated by the server.
* changed the way a RootLayer(ex Poller) quits. The thread is not killed anymore, it is been asked to quit nicely. This prevents (future) deadlocks.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-16 21:35:02 +00:00
Ingo Weinhold
54dd704038 Added support for the DEBUG_PRINTF macro.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-15 21:49:59 +00:00
Ingo Weinhold
807ea2fa80 More informative debug output. The MIME manager keeps on getting spurious what == 0xffffffff messages under Haiku. Needs to be investigated.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 15:36:22 +00:00
Ingo Weinhold
dca399f444 Use the BApplication constructor that returns an error code instead of the one that just exit()s on error, so that we can at least print the error.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 15:33:57 +00:00
Stephan Aßmus
9f3445e1bf added tests for using the pen location version of DrawString
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 02:22:26 +00:00
Stephan Aßmus
6303609fca added support for retrieving the position of the virtual next char, for some reason the kerning is handled correctly across multiple calls to RenderString, it must somehow make sense from looking at the code, but I don't follow it this late in the night...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 02:19:23 +00:00
Stephan Aßmus
8837f9f78d DrawString now modifies the pen position
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 02:16:44 +00:00
DarkWyrm
d9558e8396 Sync with stippi's version of PatternHandler with integration tweaks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 01:34:20 +00:00
Nathan Whitehorn
d864e822ca Bumped MDR version number to 3.0.2
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 23:09:44 +00:00
Jérôme Duval
b1c75e39b3 Fixed EnqueueMethodMessage() so that Eventloop port is released
WatchPort process adapted to this behavior :
we go through message processing without messages. in fact method messages musn't be processed as device messages.
Even if buggy, Canna method is now working with StyledEdit (with Input Method aware views typically).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 13:13:14 +00:00
Ingo Weinhold
58b5124e46 Replace ClipboardTree by Clipboard, a class just representing a clipboard.
The clipboards are managed in a simple string->Clipboard map.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-13 00:45:55 +00:00
Ingo Weinhold
92b98fe111 Build the Haiku registrar (linked against our libroot and libbe). Haven't checked, if it works yet.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 14:35:47 +00:00
Ingo Weinhold
c10206311d The case for data-only-based MIME type sniffing was missing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 03:42:21 +00:00
Ingo Weinhold
132c664be7 Added TODO. The implementation should be revised. BClipboard::{Local,System}Count() is broken and I can see why. Instead of just fixing that a reimiplementation is probably best.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-12 03:41:06 +00:00
Jérôme Duval
e3c78aded7 Added input method key switching (alt+space)
Added code to enable deskbar replicant loading after input_server is started


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-11 00:34:37 +00:00
Jérôme Duval
91f8300536 Add some method switching support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-10 17:08:27 +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
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
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
Nathan Whitehorn
d72c6cc87b Fixed issue with old libtextencodings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-08 23:42:06 +00:00
Nathan Whitehorn
98757be96d Updated install script to deal with new spam filter, updated README, etc.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-07 04:14:44 +00:00
DarkWyrm
9655bd6c06 Removed a couple of deadlocks caused by missing DisplayDriver unlocks
remove possible NULL pointer crash in LayerData
Added low-level clipping to ViewDriver
Some minor UI tweaks to WinBorder


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-24 20:07:41 +00:00
Michael Pfeiffer
aabf541645 Removed default value from parameter list.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 14:41:12 +00:00
Waldemar Kornewald
dceee0de1e Changed license headers. Consider net_server as dead.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 12:56:05 +00:00
shatty
7f7f792a0e address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 06:04:59 +00:00
shatty
2ea5445386 comment out unused kPrinterData
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 06:01:26 +00:00
shatty
cfbb37030e address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 05:53:41 +00:00
shatty
a056136c4c address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 04:08:38 +00:00
shatty
6040be9931 use NETWORK_LIBS for linking, define BUILDING_R5_LIBNET if necessary
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-20 21:10:54 +00:00