Ingo Weinhold
4eb57a1d3d
Added WARNING macro.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 16:06:31 +00:00
Nathan Whitehorn
fa38d4cac8
Fixed an error in the install script
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 06:11:06 +00:00
Nathan Whitehorn
4635fa1597
Changed credits to Haiku, separated out version history from readme, updated version history, and updated contact information.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 06:01:32 +00:00
Nathan Whitehorn
82f183b2de
Bumped MDR version number to 3.0.2.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 05:43:05 +00:00
Ingo Weinhold
d0e2e53903
* Added missing MessagingCommandHandler methods.
...
* Added a class for handling "send message" commands and install by
default. At least in theory messages issued by the kernel should now
be delivered to the target. Still untested.
* Added lock to protect the command handler map.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 01:17:09 +00:00
Ingo Weinhold
c6dbc50e2b
* Added per-port sanity limits. We limit the number and summed size of
...
messages.
* We now maintain a second message list per port, which is sorted by
timeout time. Thus we can drop timed out messages as early as possible.
* Fixed a bug which caused messages to disappear in the port list.
* Now delete a port not only when an error occurred when delivering a
message, but also when it is empty.
* More debug output.
Seems to be working well now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 00:54:59 +00:00
Ingo Weinhold
0353d33137
Added kernel util header for DoublyLinkedList.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 00:48:08 +00:00
Ingo Weinhold
634f747e29
Now we use the MessageDeliverer to send asynchronous messages to other apps. Seems to work when the target port is not full. The other case has not been tested yet.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 17:49:32 +00:00
Ingo Weinhold
f64fc02f89
Added another DeliverMessage version for broadcasting.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 17:45:59 +00:00
shadow303
b9717a7150
Long overdue fixes for internal API change, now if I could just unbork my system enough to test them...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 00:19:38 +00:00
Stephan Aßmus
aaea96798d
the version for B_OP_COPY that ignores the pattern and uses the color from the AGG renderer directly, thus the renderer color needs to be set up correctly, which Painter does take care of
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 21:49:00 +00:00
Stephan Aßmus
884e8bc6b5
flag for using a solid version of a DrawingMode, currently only B_OP_COPY actually has an implementation
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 21:45:59 +00:00
Stephan Aßmus
597841da50
trying to optimize for B_SOLID_XXXX, implemented separate _SetPattern function, which encourages usage of a special DrawinMode instance, but it is currently not used, because it didn't give much speedup.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 21:44:38 +00:00
Jérôme Duval
a77de570a2
useful pieces of code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 18:46:36 +00:00
Stephan Aßmus
4f6cd6ef55
some additional status information
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 13:10:06 +00:00
Stephan Aßmus
d4734e04d1
support for switching the alpha drawing mode when the blending mode changes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 13:07:21 +00:00
Stephan Aßmus
8eca754bfd
support for the rest of the drawing modes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 13:05:37 +00:00
Stephan Aßmus
3741b755dc
huge clean up
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 13:02:27 +00:00
Stephan Aßmus
681c4b3ba5
rest of the drawing modes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 12:59:17 +00:00
haydentech
c0e4d12489
AS_LAYER_POP_STATE was inadvertantly deleting the entire layerdata stack instead of just popping the top one off
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 23:16:28 +00:00
Ingo Weinhold
d306a4652c
* Added a timeout to the delivery functions. This is the time after which
...
the message will be finally dropped. Makes sense for periodic message
runners for instance.
* Set the target of a BMessage before flattening it. Thus there will be
space in the flattened header for it.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 15:18:29 +00:00
Axel Dörfler
e4e9b6a7a4
The input_server now works on R5 and on Haiku (depending on COMPILE_FOR_R5).
...
Fixed two minor warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 03:45:13 +00:00
Ingo Weinhold
56833e831f
Implemented the actual message sending. The implementation is complete now, but still untested.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 02:20:28 +00:00
Jérôme Duval
3d64143151
added code for a bottom line window, not working
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 23:42:59 +00:00
Adi Oanca
faa0ed6a33
s/(c) 2001-2002, OpenBeOS./(c) 2001-2005, Haiku, Inc.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 20:44:09 +00:00
Ingo Weinhold
757bc7b934
Renamed Referencable to Referenceable (mainly to make Axel happier :-).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 16:10:03 +00:00
Ingo Weinhold
2c17b743c7
Implemented all missing functionality save the actual sending of a
...
flattened message. Support for this needs to be added to BMessage first.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11034 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 16:05:26 +00:00
Ingo Weinhold
42be32659a
TRoster is no longer a friend of BMessenger -- use BMessenger::Private.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 15:08:15 +00:00
Ingo Weinhold
35d70f9eca
The MessagingService is now a singleton. Added creation of the MessageDeliverer.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 15:06:42 +00:00
Ingo Weinhold
c36e75d1cb
Added Referencable.cpp and MessageDeliverer.cpp.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 15:04:52 +00:00
Ingo Weinhold
2467cef0f0
This class encapsulates the service delivering messages without dropping
...
them immediately when the target port is full at the moment. It's not
quite complete. The data structures are there, but the actual delivery is
still missing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 15:04:05 +00:00
Ingo Weinhold
47e01f5075
Added helper class Referencable (a simple base class for reference counting).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 15:00:12 +00:00
Ingo Weinhold
73895a69a0
* Added the class MessagingCommandHandler, instances of which can be
...
registered as handlers for specific commands sent by the kernel.
(Beautifully object-oriented :-)
* Fixed a bug regarding MessageArea creation (the object was deleted
twice on error).
* Actually resume the command processor thread.
* Turned the class into a singleton.
* Now always process all commands found in an area (should minimize
latencies).
Modulo bugs the class is now complete.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 14:58:37 +00:00
Adi Oanca
574540edd2
Removed a redundant BMessage when mouse button was pressed. This message is already sent by WinBorder::MouseDown(). Window content was redraw when a window became active. Removed some code that anyway was not used. It will be replaced by the new window manager which is comming soon.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11012 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 21:04:23 +00:00
Adi Oanca
c4e214743d
All 'Invalidate' methods are now private, intended for RootLayer's use only.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 20:59:27 +00:00
Adi Oanca
304feb8ad5
RebuildAndForceRedraw() is not needed anymore
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 20:57:51 +00:00
Adi Oanca
bd1ede2ae9
Yes... I really don't remember why I haven't subclassed FMWList from BList...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 17:34:47 +00:00
Adi Oanca
383461c7ee
3 global variables (gRedrawReg, gCopyRegList, gCopyList) went into RootLayer's property
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 17:18:19 +00:00
Ingo Weinhold
dd43b03ce1
Added the messaging service and a compatibility file for the R5 test registrar.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 01:32:17 +00:00
Ingo Weinhold
0a1eb226fb
Start the messaging service. Due to missing kernel functionality the
...
initialization still fails.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 01:31:02 +00:00
Ingo Weinhold
cdab464e30
New macro for non-fatal, but nevertheless serious errors.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 01:29:24 +00:00
Ingo Weinhold
c72f8221e0
File we only compile in for the obos_registrar, the one for testing under R5. Contains dummies for syscalls not existent there.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 01:28:33 +00:00
Ingo Weinhold
9e4d0f686e
The beginning of the registrar-side kernel->userland messaging service.
...
The passing of commands from kernel to registrar should be complete now,
only the actual message delivery is missing.
Completely untested yet.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 01:26:39 +00:00
DarkWyrm
c0dc91fc00
Since last checkin version had no description:
...
Huge amounts more debug output available
Resolved several timing issues
Fixed a major problem with sending mouse messages to the server when emulating the input server
There are still stability issues with initial startup
Still some drawing problems
It *works*!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 18:59:50 +00:00
DarkWyrm
2471ba9f3d
Cleaned up driver init section of Desktop -- worry about multiple drivers only with AccelerantDriver
...
RootLayer: debug output fixes and removed a compiler complaint
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 18:22:48 +00:00
DarkWyrm
c36b4a4409
messaging fixes to RootLayer and ViewDriver
...
minor tweaks to ServerWindow
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 15:39:01 +00:00
DarkWyrm
7605e77d21
Added GetFamilyAndStyle
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 13:40:11 +00:00
Adi Oanca
63f09583e3
Oups. Layer::MoveBy/ResizeBy() escaped me. :-) The actions they used to perform are now executed only by RootLayer's thread.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 23:25:41 +00:00
Adi Oanca
b4fe86df56
Yes... B_FULL_UPDATE_ON_RESIZE on Layer resize not with every redraw. :-D
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 21:51:39 +00:00
Philippe Houdoin
5af2ee7384
Ooops, rollback, this stupid change was erronously still lying there...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 21:35:39 +00:00
Philippe Houdoin
5a9677b8ed
Fixed the "unused frame variable" warning.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 21:26:18 +00:00
Adi Oanca
ed446d324d
ServerWindow.cpp:
...
* made MonitorWin thread wait until associated WinBorder is hidden
and RootLayer's lock is acquired.
RootLayer.cpp:
* added 2 public methods for calculating visible regions.
ALL:
* all previous 'Invalidate' methods now call RootLayer's ones.
That's it, all region calculations are done in the context of the
high priority thread: WorkingThread.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-22 20:51:12 +00:00
Adi Oanca
864a2c6456
Window showing/hiding is now done in RootLayer::WorkingThread's context
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10938 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 21:18:25 +00:00
Adi Oanca
f6e53a25ec
No need to lock anymore when calling ServerWindow::SendMessageToClient()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 21:16:15 +00:00
Adi Oanca
6a257c30a9
Moved window moving code from ServerWindow. CPU consuming operations now run win WorkingThread's context. Added locking mechanism for WorkingThread. Removed locking arround ServerWindow::SendMessageToClient().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 21:13:00 +00:00
Adi Oanca
1cd22df0dc
Added 2 private methods for showing/hiding WinBorders. Added a BLocker member.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 21:09:06 +00:00
Adi Oanca
fde7aed2ee
Moved 'Invalidate' calls in RootLayer.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 21:06:59 +00:00
DarkWyrm
56bead3235
Implemented ServerFont::SetFamilyAndStyle(id,id)
...
Other API tweaks to ServerFont
Style changes in ServerFont
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 13:13:08 +00:00
DarkWyrm
de48335a77
Added handlers for a few unhandled and unimplemented BView calls
...
BView::GetMouse won't block the app for now, at least
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 02:01:28 +00:00
Stephan Aßmus
08f1d3c965
refactoring and cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 23:26:13 +00:00
Stephan Aßmus
34651df507
extracted general blending function
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 23:24:02 +00:00
Stephan Aßmus
f71ffba994
implemented more drawing modes, refactored a little, still work left to do...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10918 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 23:07:07 +00:00
Stephan Aßmus
95ff0e4fe8
Maybe I have actually nailed bitmap scaling, though I would think that the BView implementation doesn't exactly follow the Be Book. Could be I'm overlooking something. Anyways, Painter seems to behave like the original now. The previous revision had a compile error too for aliased drawing.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 22:57:17 +00:00
Adi Oanca
84b62fccc0
* closing a window no longer takes you to debugger
...
* send mouse_[move/up/weel] only if the cursor is inside a window(not
above decorator)
* added WinBorder::MouseWheel()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 18:39:08 +00:00
Adi Oanca
8357c93db5
Fixed that annoying cursor bug where the window dissapeared on moving
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 17:30:37 +00:00
Stephan Aßmus
30fd3eb18a
line profile is now cached by being a member of Painter, as was suggested by Maxim, it's too heavy an object for being created on the fly
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10905 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 15:23:23 +00:00
Stephan Aßmus
db94952b4f
updated info
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10904 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 14:54:42 +00:00
Stephan Aßmus
8cd6385cfe
adopted for different PatternHandler version
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 14:27:08 +00:00
Stephan Aßmus
cb8e43abdf
now integrated with Haiku build system, so no more need for this
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 14:23:07 +00:00
Stephan Aßmus
2e4822e67d
new B_OP_ADD drawing mode
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 14:15:58 +00:00
Stephan Aßmus
9e89de2ca6
adopted to different PatternHandler version
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 14:14:50 +00:00
Stephan Aßmus
1b837c4b6b
there can only be one
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 14:13:10 +00:00
Stephan Aßmus
7ca3c69091
added some convinience functions to handle rgb_color additionally to RGBColor
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 14:10:11 +00:00
Stephan Aßmus
0a86682dd0
this code is part of the Painter testing framework, and thus doesn't belong here
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 12:53:26 +00:00
Stephan Aßmus
ba35b5d77d
this file has been moved to headers/private/servers/app
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 12:44:07 +00:00
DarkWyrm
7a5829aab1
Made modifications to send keyboard messages to client applications
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-19 18:59:41 +00:00
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
DarkWyrm
49de8aa416
Moving to the headers/private/servers/app because of DisplayDriver dependency
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-12 22:33:53 +00:00
shatty
fdaa370452
use BONE_COMPATIBLE instead of TARGET_PLATFORM
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-11 11:07:25 +00:00
DarkWyrm
b5602a834c
fixed a bug in ViewDriver which caused it to not send mouse wheel messages
...
Added a method to CursorHandler to get the mouse position
Mouse messages are now sent to the client window
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-06 20:04:39 +00:00
DarkWyrm
929bab19c4
Fixed a long-standing bug with displaying focus and some tweaks to Desktop focus code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-06 16:54:05 +00:00
haydentech
f260cedb5a
Implement bare-bones AS_SYNC message handling - this fixes a problem whereby app_server<->client communications would come to a stop since the client expected a reply from this message and would never get one because it was unimplemented
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-01 16:18:44 +00:00
Nathan Whitehorn
f26833fccb
Fixed some problems with installation, updated docs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-31 01:41:51 +00:00
Nathan Whitehorn
c3a2f3930f
Fixed a bug that would cause queued messages stored in IMAP directories not to be sent if IMAP mail was checked before queued mail was sent. This the last known bug in MDR.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-30 19:34:01 +00:00
Jérôme Duval
215b876d6e
Improved method support : method replicant is working
...
Readding of replicant or reset of method replicant menu still to be done
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 13:47:51 +00:00
Jérôme Duval
c393770444
fixed devices showed as stopped when they were running
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-26 09:33:45 +00:00
Jérôme Duval
9e7f8b786d
removed input_server signature
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-22 13:44:02 +00:00
Jérôme Duval
e98e8b43c0
removed Draw() method
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-22 13:31:10 +00:00
Jérôme Duval
f40fc44ef4
Added initial method addons support
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-22 13:05:35 +00:00
Nathan Whitehorn
c4a3b4837b
Made PPP state detection work on BONE. This was the last nonworking MDR feature after the import, so Haiku mail daemon builds should now be fully functional with or without SSL and with or without BONE. Yay.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-19 03:57:39 +00:00
Nathan Whitehorn
123862f8f8
Rephrased the SSL warning in the install script, as POP3 now depends on SSL too.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-19 03:33:55 +00:00
Jérôme Duval
7cc945c1ef
added debug stuff
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 22:46:50 +00:00
DarkWyrm
134d6bb787
Removed a couple stupid cursor-related bugs
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 21:31:15 +00:00
shatty
0566c7b352
quit taskbar closer to install and restart after install
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-18 02:27:27 +00:00
DarkWyrm
720dc8a4d1
DrawString updates the pen position
...
Removed a bug preventing use of antialiasing in DrawString
StrokeLine updates the pen position now
Added a couple forgotten break statements to a few cases in DispatchMessage
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-16 22:42:08 +00:00
DarkWyrm
37aec728fa
Updated the various drivers to match the DisplayDriver::StrokeLineArray changes
...
Removed dead code from ServerApp.h
Added to ServerWindow support for area-based messages and implemented code for AS_STROKE_LINEARRAY
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-16 02:02:27 +00:00
DarkWyrm
8fd1ad6fb0
Dead code removal from BGet++
...
API modifications for ServerApp to support PortLink messages sent via an area
Added a RAM-based PortLink message reader to handle reading from an area
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-14 01:23:00 +00:00
Jérôme Duval
ddf8a11463
Fixed restart problem
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-13 20:00:19 +00:00
Michael Phipps
dce72ace8b
Fixed all known bugs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-09 23:18:56 +00:00
Jérôme Duval
90c2fee933
Fixed events filtering
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 16:03:36 +00:00
Jérôme Duval
2f54a688b0
added keymaps info
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 14:22:08 +00:00
Jérôme Duval
6336159bbb
Added package files inspired from ../mail (aka the mail daemon)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 13:59:12 +00:00
Jérôme Duval
6f1fb05e1f
Added a haiku-inputkit-cvs package
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-07 09:45:36 +00:00
Jérôme Duval
0a279d91af
changed signature to original, needed for compatibility
...
change AddOnManager deletion
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-06 13:49:45 +00:00
Jérôme Duval
abc3b04ccf
implemented BInputServerFilter::GetScreenRegion. Tested with R5 screen_saver filter successfully.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-06 09:28:36 +00:00
Jérôme Duval
01a9b4267c
change debug macro
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 23:44:07 +00:00
Jérôme Duval
ca75e4d057
Added a looper to handle devices related requests
...
Before it was deadlocking when an addon asks for a new keymap on a notification message
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 23:33:14 +00:00
DarkWyrm
76d4213d60
Removed a couple of unnecessary includes
...
(Hopefully) patched a crash under the BApplication Quit2 test
Speedup for CursorManager::RemoveAppCursors
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 23:00:47 +00:00
Nathan Whitehorn
db0fafd55e
Fixed compilation with the new GCC.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 21:46:06 +00:00
Jérôme Duval
1a813abdc9
Changed some printf to PRINT macro
...
Now uses BScreen to constrain mouse cursor
Now handles gracefully screen resolution changes
Yeah it works!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 20:42:08 +00:00
Jérôme Duval
d6ec7f9972
removed unused field
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 22:59:08 +00:00
Jérôme Duval
963e8ab1a9
added support for R5 app_server communication
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 22:55:27 +00:00
Jérôme Duval
935d9cfc2d
fixed a bug about safemode, noticed by John '[Beta]' Drinkwater. thanks.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 22:44:33 +00:00
Jérôme Duval
549360d822
i don't even wonder why i have to do this, i simply do it
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 16:02:20 +00:00
Jérôme Duval
9bc892a8da
added some support for R5 app_server communication
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 15:24:49 +00:00
Nathan Whitehorn
82a393590f
Finished converting the mail daemon to use rdefs instead of binary resource files.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 23:37:34 +00:00
Nathan Whitehorn
43c1e26809
Made the packaging system better, with readmes and a better install script.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 03:49:35 +00:00
Jérôme Duval
33140fa001
added file debug output for daemon mode
...
added some R5 app_server communication init
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-29 15:42:47 +00:00
Nathan Whitehorn
ebab3a7e9c
Fixed some library dependency issues that broke compilation on systems that don't have Haiku MDR installed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-27 19:47:06 +00:00
Jérôme Duval
3278758030
change field name of mouse position
...
change device message handling a bit
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-26 22:41:00 +00:00
Jérôme Duval
62cdfcd034
Now uses a global header
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-24 12:41:10 +00:00
DarkWyrm
e841a5da12
Making some headway on the cursor redraw problems when moving windows. Not quite fixed yet, though
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-21 23:10:23 +00:00
Nathan Whitehorn
0d21a7f43f
Added packaging for the mail daemon, added build support for SSL mode (although it currently relies on manually uncommenting things in the Jamfile). PPP state detection still broken.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-21 20:23:32 +00:00
Nathan Whitehorn
497210fa2f
Fixed typo in the Jamfile that prevented the mail daemon resource file from being added correctly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-21 19:26:22 +00:00
DarkWyrm
8dd37bd51b
s/OpenBeOS/Haiku/
...
Bugfixes to graphics cases in ServerWindow
Added assignment operator to GraphicsBuffer
Style fixes for ServerCursor and ServerBitmap
Implemented and integrated CursorHandler to clean up DisplayDriver code some
Hotspot bugfix for ServerCursor(cursordata *)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 22:50:02 +00:00
Nathan Whitehorn
f7215ac853
Imported MDR. Some code still not entirely functional -- I haven't been able to figure out how to detect SSL, so IMAP and POP have it turned off. PPP auto-detect is also not functional at the moment. Other than that, it seems to work beautifully. Packaging will come later.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 22:31:50 +00:00
DarkWyrm
98ecc9715d
Added to Utils a function to compute polygon boundaries
...
Moved Utils to libappserver - DisplaySupport needs it
Tweaked PicturePlayer to match polygon function tweaks
Added Shape, Region, and Polygon handling to ServerWindow
Removed ServerWindow::DispatchGraphicsMessage
Numerous small tweaks to DisplayDriver
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-17 10:27:58 +00:00
DarkWyrm
82cd90d8c9
Added support for stroking and filling rectangles, roundrects, arcs, beziers, and ellipses
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 22:21:26 +00:00
DarkWyrm
a3d34bb143
Added a couple of conversion methods for BPoints
...
Did some serious playing with update code in ServerWindow and Layer
BView::StrokeLine calls draw to the screen(!!!)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-14 00:51:51 +00:00
DarkWyrm
b5eb4481e8
Some minor API cleanups
...
Documented quite a few functions while refamiliarizing myself with the desktop code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-09 00:54:21 +00:00
DarkWyrm
8a715d82f6
turned off debug output in AppServer.cpp and ServerApp.cpp
...
system palette is now hardcoded using Ingo's BBitmap code for a speedup and the ability to reference the server's system palette without the server actually running
Added some utility classes to make finishing DisplayDriver easier and cleaner
Removed a stray debugger call in DisplayDriver
Added a display mode conversion function to Utils.cpp
Began conversion of BitmapDriver to utilize PixelRenderer class where appropriate
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8855 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-05 00:52:45 +00:00
DarkWyrm
30f5b3138d
Converted BGet memory pool manager to a class. Now we have the foundation for sending large objects (BRegion, BShape, etc) to the server
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 00:55:05 +00:00
Jérôme Duval
0548f831d5
complete register and unregister
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 21:56:41 +00:00
Jérôme Duval
83589f8917
added BInputDevice server side
...
added set_modifier_key server side
now changes locks in the current keymap, it can then be reloaded
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 21:15:23 +00:00
Jérôme Duval
c1706cd270
minor fix
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 22:28:11 +00:00
Jérôme Duval
dbf6aa568b
integration of the system keymap, loaded when settings one loading fails
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 22:06:54 +00:00
Jérôme Duval
b7a80e2d41
added a systemkeymap generation based on US-International keymap, it is hardcoded in the Jamfile for now
...
fix a bug in MouseSettings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-31 16:51:53 +00:00
Jérôme Duval
f907d7292a
now only system addons are loaded when safemode is true
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-29 19:34:35 +00:00
Jérôme Duval
6346dac055
implemented safemode info
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-29 19:23:50 +00:00
Jérôme Duval
6d5bdc6eb2
removed unused files
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-29 16:43:53 +00:00
Jérôme Duval
00740cc502
Integrated MouseSettings and KeyboardSettings
...
update license info
clean up
removed node monitoring messages handling
fixed several message handlers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-29 15:20:34 +00:00
DarkWyrm
8436893ffd
Remove a couple desktop-related files no longer needed
...
More specific TODO comments so we can use grep to understand in a general sense what still needs done
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-29 15:01:44 +00:00
Ingo Weinhold
db10640de9
Got rid of the Storage Kit's kernel abstraction layer, which was
...
unfortunately quite slow and made some things more complicated than they
needed to be.
Implemented a few missing things (e.g. BSymLink and node locking).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-28 20:14:46 +00:00
Jérôme Duval
97c19e92aa
Complete DeviceManager, need testing though.
...
Fix crash with TeamMonitor when quitting.
Moved app signature to a common place
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 13:14:17 +00:00
Jérôme Duval
b69a5532ae
reworked device manager
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-27 06:46:21 +00:00
haydentech
54b32ef066
Fixed crashing bug related to incorrect bounds checking
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 20:29:03 +00:00
haydentech
22b5b23866
Initial implementation of CopyBitmap - more work is needed
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 18:42:48 +00:00
Jérôme Duval
6e6fa57fb5
Added a device manager for devices monitoring
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 16:11:24 +00:00
Jérôme Duval
cba20309fd
minor debug info
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-26 14:04:22 +00:00
Jérôme Duval
7a0168dc97
Don't traverse link when looking for names
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-24 00:06:22 +00:00
Jérôme Duval
e6c0b53ddc
Added filtering. Commented now former unused addon code.
...
We now load and manage device and filter addons successfully.
Tested with nervous and InputRecorder devices and InputRecorder filter.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-23 21:50:09 +00:00
DarkWyrm
49de2e8b4f
server no longer turn into a zombie if closed with an app running
...
ServerApp now supports workspace activation along with client notification
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-22 22:33:57 +00:00
DarkWyrm
478bbd8507
Cruft removal -- server replies should be SERVER_TRUE if function call was successful and SERVER_FALSE if not
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-22 00:27:15 +00:00
Jérôme Duval
c78e2a47c0
Added support for COMPILE_FOR_R5 flag, it enables to launch input_server without libopenbeos.so
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-20 12:55:31 +00:00
Jérôme Duval
bcacea13ec
messages reply with status
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-19 22:27:52 +00:00
Jérôme Duval
173f7185f4
AddOnManager improved, initializations, message handling improved
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-19 22:09:27 +00:00
Jérôme Duval
5359f0d4cc
added an addon manager directly from our media server, not finalized
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-19 16:00:09 +00:00
Jérôme Duval
de79eb2a1c
code clean up, added addon monitoring code from storage kit
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-19 11:43:20 +00:00
Jérôme Duval
35c6c5b791
replaced .. by DOTDOT, removed linkSharedLibraries
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-19 11:35:08 +00:00
Jérôme Duval
407d7a9aa9
Clean up, added missing message handlers
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-18 15:38:30 +00:00
Jérôme Duval
a612e9ccb4
Fix for when there is no map for a type. Thanks Marcus !
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-16 22:45:27 +00:00
beveloper
28a06094b2
Modified media_server and media_addon_server cration/terminatio.
...
Now uses application mime sig for start/stopping. Much better
compatibility with libbe.so restarting functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-15 20:43:01 +00:00
beveloper
e69659acb4
Added PlayMediaFile() which is executed every time libbe.so wants to play a sound event.
...
Added missing license to SystemTimeSource, and changed main.cpp license to BSD license.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-15 14:19:39 +00:00
beveloper
8f30ef9e20
Switch to Be Inc media server signature, to allow libbe.so sending messages to the server.
...
Added support for system sound events. They are triggered by libbe.so sending a message to the media addon server.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-15 12:14:06 +00:00
beveloper
c80e05b8fc
Switch to Be Inc media server signature, to allow libbe.so sending messages to the server.
...
Also removed icons as they are most probably copyrighted and not free to use.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-15 12:12:31 +00:00
beveloper
abc3c2e95f
witch to Be Inc media server signature, to allow libbe.so sending messages to the server
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-15 12:09:25 +00:00
DarkWyrm
5a9fed59c3
I hate forgetting to check in files. :(
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-12 12:43:36 +00:00
DarkWyrm
3a340a8613
Messaging fixes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-08 22:34:36 +00:00
DarkWyrm
4a10a4f0ea
Fixed a quit bug in ViewDriver
...
Slightly improved ServerScreen::SupportsResolution
Implemented a DPMS hack for ViewDriver and DirectDriver
Moved various supporting classes from DisplayDriver.cpp to DisplaySupport.cpp
Added server-side support for BWindow::SetSizeLimits
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-07 20:30:58 +00:00
haydentech
d0eca0f8aa
One of the ServerBitmap constructors was ignoring the flags parameter
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-03 15:25:03 +00:00
haydentech
8af8de70ab
Some of the recent improvements Adi made were inadvertantly removed by the BPortLink patch
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-03 15:17:44 +00:00
DarkWyrm
842c3caec8
Minor header tweak
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-30 15:38:38 +00:00
DarkWyrm
ad56ce66a3
Pahtz's changes to use BPortLink systemwide, with a few minor other changes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-30 15:16:59 +00:00
Jérôme Duval
439d3bfb0f
now unused files
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-29 16:26:04 +00:00
Jérôme Duval
7b2445b2ce
input_server messages ids are shared : they go to private headers
...
#include fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-29 13:29:24 +00:00
Jérôme Duval
ce9ad52de6
Removed public headers, Input.cpp is in kits/interface/ already
...
Filled default hooks in Device Filter Method
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-29 12:42:14 +00:00
haydentech
41e9b8c42a
gcc3 fixes necessary to compile and link the registrar
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-28 16:23:46 +00:00
Stefano Ceccherini
f7021a391f
Fixed a nasty bug
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-27 07:15:43 +00:00
Philippe Houdoin
c075a6b85c
Created an haiku-printingkit-cvs package.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-26 22:03:44 +00:00
haydentech
5a97e40589
Some double-buffered drivers cannot Invalidate when the buffer is held
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-22 15:36:15 +00:00
haydentech
b2af3a1973
Fixed an errant line draw that occurred with titled and floating windows
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-21 16:52:55 +00:00
haydentech
66950a7925
Quick fix to conform BitmapDirver to the new DisplayDriver function prototypes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-20 15:31:39 +00:00
haydentech
052e575afa
Fix font drawing when using a double-buffered driver
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-20 15:29:24 +00:00
haydentech
c4eb8432a3
Remove duplicated code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-20 15:28:03 +00:00
Adi Oanca
5ff9c0d972
there was a compile error
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-14 16:56:43 +00:00
Adi Oanca
b0a5df7a0f
app_server, sometimes needs to hide some windows without affecting a window's original hidden state. For that I introduced 2 new methods in WinBorder and made Layer::IsHidden() virtual.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-11 11:08:36 +00:00
Adi Oanca
038d30aae7
Removed locking from Workspace class. Rootlayer should be the only one who uses this class. Also changed Workspace::AddLayerPtr() into AddWinBorder.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-11 10:01:01 +00:00
Adi Oanca
eac978a987
Cleanp continues. Removed 2 methods from Workspace class because were related to rebuild/redraw stuff. Workspace should only care about corect window placement and order.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-10 10:54:20 +00:00
Adi Oanca
0732418e3b
Cleanup started in Workspace and RootLayer classes. Some 'Invalidat' code moved from Workspace to Desktop class.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-10 06:28:41 +00:00
Adi Oanca
30d6c7b854
Damaged decorator redrawing with previous CI. Got that repaired now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-08 21:12:53 +00:00
Adi Oanca
826375885f
Umm, decorator was fully redrawn if another window went over it. This should happen in resizing only. Fixed that now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-08 19:15:57 +00:00
Adi Oanca
eb93dd6e36
Cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-06 20:51:16 +00:00
Adi Oanca
16039b760a
This is it. Update code is ready. At leat I think so. Testing is next. Uh, didn't thought this could be this easy. :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 20:37:13 +00:00
Adi Oanca
eebc640361
Update code start.
...
I know we are in a feature freeze moment, but I thought about update_code and concluded it is not that hard to
implement. Shoud be ready shortly. IMO, it is very good if this code would be ready for this FF. It would make
the app_server more... tight. :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-05 15:23:29 +00:00
Adi Oanca
cebad2e20f
Fixed window selection with the mouse. Works fine only for normal windows. Next: same thing for modal and floating windows.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-01 20:01:32 +00:00
Adi Oanca
1e367fecba
Used the new RebuildAndForceRedraw() method. Just that. Sorry, cannot concentrate this late. :-(
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 21:38:16 +00:00
Adi Oanca
357cfe11c2
added RebuildAndForceRedraw() method
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 21:01:36 +00:00
DarkWyrm
a596e677c7
AppServer.cpp: removed a memory leak from new_decorator
...
decorators now set appropriate fonts for their context
WinBorder: tweaked some debug output settings
Layer: tweaked some debug output settings
PicturePlayer: added some tentative code and notes for escapements in DrawString case for player
CursorManager: update to resemble OT style
RootLayer: removed testing-purposes-only Draw() function
Implemented methods to read in workspace data
Workspace: Janitorial work
Added methods for packing and unpacking settings
Added some members for holding basic settings
Desktop: Moved workspace data functions to RootLayer
Other files: Janitorial work
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-26 02:15:48 +00:00
mahlzeit
e0438418fd
Haiku be thy name.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-25 08:47:00 +00:00
Adi Oanca
a635ede332
Same as before. Some code for window selection/moving with the mouse.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 21:43:24 +00:00
DarkWyrm
91032d1ca0
Disabled some code until I can figure out the changes in FT2's font cache subsys
...
tem from 2.1.4 to 2.1.8
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 14:43:34 +00:00
Adi Oanca
a68bab127c
I'm in the middle of corect window drawing while using the mouse.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-20 20:02:32 +00:00
beveloper
24b7442c3f
reordered declarations to match initialization order
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-20 19:10:50 +00:00
Adi Oanca
c233705d66
semaphore related work. ServerWindow has a few methods guarded by a semaphore. Same for WinBorder.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-19 13:04:50 +00:00
Adi Oanca
8491b62602
Cleanup for ServerWindow object
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-19 10:23:14 +00:00
Adi Oanca
e26d667afe
Fixed window focus state drawing in ServerWindow::Show(). Changing focus with the mouse does not work, yet. Tomorrow, I'll fix that.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 22:27:46 +00:00
Adi Oanca
c7ad7fe18e
Some imprudence for me. All decorators got (re)drawn instead of the one in question. Fixed that.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 19:13:06 +00:00
Adi Oanca
54d800ec02
Commented a line because it made app_server crash on window resize. DefaultDecorator needs to be rewriten.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 17:16:41 +00:00
Adi Oanca
ead47553f2
Decorator-resize redrawing fixed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 15:24:36 +00:00
Adi Oanca
560a22494e
Windows properly displayed. I mean, both, its border and top_layer are
...
shown. Some redrawing problems remain while resizing... They will be
fixed soon.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 11:50:17 +00:00
Adi Oanca
0573400f8a
Damn vi. I'll use nano next time. Sorry about my previous blank message.
...
Trying to make windows visible again. :-)) Made decorator until now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 14:39:21 +00:00
Adi Oanca
d754f1a3d6
*** empty log message ***
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-16 06:40:26 +00:00
DarkWyrm
a3031ab19b
Added cases for Minimize buttons in decorators
...
Buttons on up-to-date decorators now work properly
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-14 20:32:21 +00:00
beveloper
1cfaf7b6c5
fixed screensave includes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 22:59:59 +00:00
DarkWyrm
4f4af1fe79
Janitorial work -- mostly moving style closer to OT guidelines
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 18:21:57 +00:00
DarkWyrm
8988c68b1d
Plugged a couple memory leaks and code fix to WindowBroadcast()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 14:58:24 +00:00
DarkWyrm
70e337a0b4
Janitorial work and minor ServerWindow tweaks
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 14:47:36 +00:00
DarkWyrm
a64bba1208
Janitorial work, mostly
...
API tweaks in WinBorder
Removal of some unnecessary TODO comments
Decorators now draw buttons when clicked
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 02:46:48 +00:00
Adi Oanca
885eed5c44
a little cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-02 20:44:46 +00:00
Waldemar Kornewald
dcc710213d
Removed net server because it is not needed anymore.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 15:01:21 +00:00
haydentech
759fcf143d
FontStyle::Name() was returning the path, not the name. It looked like an unfinished cut-n-paste from Path().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-26 16:41:29 +00:00
haydentech
5c210a480b
gcc3 warning and error fixes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-26 16:38:58 +00:00
shadow303
43404a847e
Rename clippReg to clipReg
...
Implement drawing and clipping for display driver - drawing and clipping should work including pensizes. Drawmodes, line caps, and line joins aren't supported yet. Some implementations will need to be revamped.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-20 01:31:28 +00:00
Jérôme Duval
36995be7f5
removed unused rsrc
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-19 09:25:22 +00:00
Philippe Houdoin
9f1208bd84
Stop assuming we build on a BONE system, start linking agaisnt *our* libsocket.so
...
& libbind.so librairies.
Should unbroke the NetworkingKit target.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-19 06:15:48 +00:00
Adi Oanca
e81b5ee3a8
window resizing support
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 19:27:59 +00:00
Adi Oanca
d312bebc4c
a little member we need for resizing
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 19:26:28 +00:00
Adi Oanca
31776f9842
resize support
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7603 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 19:24:18 +00:00
Adi Oanca
385e94dbf4
modified a little how the _full region is built for the top_layer
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 19:21:51 +00:00
Adi Oanca
37811ae65e
little fix for the cursor to be displayed better
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 19:19:45 +00:00
Adi Oanca
766a6dfd11
modified resize methods
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 19:17:34 +00:00
Adi Oanca
56f043ed2d
modified Resize methods
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-16 19:15:36 +00:00
mahlzeit
78a088fe02
Added Christian Packmann's code for parsing raw MIDI streams.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-14 14:47:55 +00:00
mahlzeit
5de1932a25
Fixed warnings of the geekgadgets compiler.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-13 18:16:06 +00:00
DarkWyrm
bcb8907775
I'm baaaaaack! :P
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-12 10:55:47 +00:00
Michael Phipps
f141dd5709
Re-styled and (hopefully) finalized.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 22:41:30 +00:00
DarkWyrm
da08bdd09d
Checkin for Caz (without pain, even!) which adds rudimentary DrawBitmap support
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-16 17:52:31 +00:00
Waldemar Kornewald
0a628cf2fc
Nothing special. Just bringing the cvs version up-to-date with my private version.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-15 16:05:40 +00:00
Waldemar Kornewald
64002c3e10
Thank you, Jack Burton, for telling me. Sorry. Did not checkin this file.
...
BTW, this is the first checkin with our own netstack and ppp implementation!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-08 11:13:14 +00:00
Adi Oanca
0029e79802
added a small but important comment
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-04 20:32:23 +00:00
Adi Oanca
24cbcac721
added support for moving with the help of the mouse.
...
added preliminary support for DEcorator buttons
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-04 20:30:20 +00:00
Adi Oanca
4251c0e465
added a memeber to know the WinBorder wich received the mouse down event
...
used that memeber to move the window arroud - with the help of the mouse
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-04 20:28:14 +00:00
Adi Oanca
9baac8ab74
small fix to make a WinBorder unhidden
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-04 20:26:17 +00:00
Adi Oanca
cf00cb08ee
fixed some bugs and workarrounds
...
added support for resolution change - in fact, fixed it
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-04 20:24:59 +00:00
Adi Oanca
faf78a3ae0
removed fBackColor member
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-03 15:09:10 +00:00
Adi Oanca
950e269c8e
modified PrintToStream method
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-03 15:08:09 +00:00
Adi Oanca
009bee6435
nothing important . Really! :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-03 15:06:45 +00:00
Adi Oanca
3350f57dd7
modified the way BView data is received.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-03 15:05:49 +00:00
Adi Oanca
979f50e101
added a PrintToStream method
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-03 15:01:10 +00:00
Adi Oanca
51adcc8405
consted a few parameters
...
modified line functions - made them work
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-03 15:00:16 +00:00
Waldemar Kornewald
60abfca048
Initial checkin of skeleton net_server.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-01 11:12:36 +00:00