Axel Dörfler
f974492c2d
Imported ViewState.cpp|h 1.2 from OpenTracker CVS.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-04 13:06:39 +00:00
Axel Dörfler
1f9f5e4e63
Fixed warning.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-04 13:05:48 +00:00
Axel Dörfler
784166f253
Imported ContainerWindow.cpp 1.39 from OpenTracker repository.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-03 22:43:20 +00:00
Stefano Ceccherini
c585b1f46d
GetEscapements() didnt' take the font spacing into account. Looks like the spacing is ignored by the font backend, though, am I correct?
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-03 11:46:55 +00:00
Stefano Ceccherini
0b77c8eb4f
Cleanups
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-03 09:19:04 +00:00
Stefano Ceccherini
de20f0faca
some changes, fixed a rendering bug
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-02 12:23:38 +00:00
Axel Dörfler
00529536d2
Fixed my previous commit - now dragging a bitmap is working again. Thanks Stefano!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-29 09:00:55 +00:00
Jérôme Duval
d479db5589
added mangling for gcc4, deskbar replicants are now loaded correctly
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 21:11:01 +00:00
Axel Dörfler
979fca9d83
Minor cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 15:59:04 +00:00
Axel Dörfler
8cebe02569
Tracker now also sets the preferred application when installing the Person
...
MIME type to the People app.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 15:54:22 +00:00
Stefano Ceccherini
633d2d3d4e
don't hide the cursor when the menu pops up
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 13:53:42 +00:00
Stefano Ceccherini
1e17db8ac6
put common code for Insert() methods into DoInsertText(), this avoids an extra strlen() call
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 13:28:13 +00:00
Stefano Ceccherini
7d8ee43e80
now checks the real lenght of the passed buffer in BTextView::Insert(). Seems to fix bug 675
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 13:08:01 +00:00
Stefano Ceccherini
25ba188a07
added a parameter to _BTextGapBuffer_::GetString() so that the caller knows how many bytes are really returned. password mode looks better now
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 12:27:31 +00:00
Axel Dörfler
e0091c79d8
* Drag messages can now also be started with a NULL bitmap pointer and an invalid
...
drag rectangle - this fixes bug #596 , as Cortex obviously relies on this.
* Added a comment on how dragging without a bitmap should be done (app_server should
directly support this without needing to drag real bitmaps).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 12:11:45 +00:00
Stefano Ceccherini
f70a414b8b
fixed broken endlines in case there were TAB charachters (bug 865). A better solution is also coming.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 12:00:14 +00:00
Stefano Ceccherini
3091f56a1a
more bugs fixed in keyboard text selection
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 11:38:56 +00:00
Stefano Ceccherini
a09f0db169
fixed some remaining bugs in keyboard selection, reimported code for up/down keys handling
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 10:13:29 +00:00
Stefano Ceccherini
7184af5e4e
improved keyboard text selection.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-28 10:01:07 +00:00
Jérôme Duval
6867aa9263
uses cmath and cstring instead of string.h and math.h (thanks Stefano!)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-27 08:38:56 +00:00
Axel Dörfler
cc347633b9
This fixes bug #851 - GLTeapot unlocks the window before indirectly calling
...
BWindow::UpdateIfNeeded(); BPopUpMenu::Go() should be independent of this.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-26 21:06:20 +00:00
Jérôme Duval
4a718fa33d
fix for gcc4
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-26 17:24:00 +00:00
Stefano Ceccherini
9205b41148
fixed word by word selection
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-26 15:07:19 +00:00
Stefano Ceccherini
6343dc9855
Implemented working asynchronous mouse tracking, dropped synchronous tracking. Selecting text is now also much faster. Auto scrolling is missing for the moment, though
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18942 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-26 14:41:53 +00:00
Jérôme Duval
e2ba090e41
fixed some gcc4 warnings
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-25 21:49:41 +00:00
Jérôme Duval
3354a9cc67
B_MESSAGE_NOT_UNDERSTOOD is better than B_ERROR for what fields
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-25 21:21:28 +00:00
Jérôme Duval
ccc3d07d9e
match BView::Archive() signature, avoids a warning with gcc4
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-25 21:18:49 +00:00
Jérôme Duval
c7580d1694
put back errors in scripting replies : it's part of the BeOS behavior
...
MethodReplicant is now working again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-25 20:27:19 +00:00
Jérôme Duval
dd24c10596
fix warning
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-25 20:21:32 +00:00
Jérôme Duval
9f6275e0e4
fixed build for gcc4, from eNigMa
...
tested also for gcc2.95
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18914 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-23 22:02:21 +00:00
Jérôme Duval
74ef7b9cb8
forgot these files, gcc4 build fix
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-21 12:39:49 +00:00
Jérôme Duval
c332e7f74e
fixed build for R5 : now uses inttypes.h because it's present on R5 also
...
HaikuBuildCompatibily.h exposes INT64_MAX based on limits.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-21 12:29:49 +00:00
Jérôme Duval
3347e0c60b
links against stdc++ as it could be needed depending of the cpp headers implementation
...
found by eNGIMa on gcc4
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-20 15:53:55 +00:00
Jérôme Duval
7d725e0df4
added weak symbols for inet_addr and inet_ntoa, normally exported by libnet.so
...
should be enough for bug #860 , feel free to drop them if a libnet.so is created
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-19 16:17:02 +00:00
Marcus Overhagen
5858929e12
fixed previous fix
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-17 17:49:30 +00:00
Marcus Overhagen
891a127fec
various gcc 4 related build fixes
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-17 17:34:22 +00:00
Marcus Overhagen
3ec18e87d6
various GCC 4 build fixes
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-17 15:08:41 +00:00
Stefano Ceccherini
d67b1efc99
Fixed broken endlines. This breaks a bit more 'password mode', but it wasn't 100% working yet anyway
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-17 13:34:15 +00:00
Marcus Overhagen
6636d6b74f
fixed two warnings
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-17 01:06:23 +00:00
Stephan Aßmus
e20af02a1d
* now draws disabled icons fine when they are B_RGBA32
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 18:14:17 +00:00
Stephan Aßmus
358b3c8e76
* don't mess so much with the drawing and blending mode when
...
drawing icons, most importantly, don't switch from compositing
to pixel alpha, this fixes the drag bitmap generation, now
it looks beautiful
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 18:13:11 +00:00
Stephan Aßmus
ebe10933dd
* when the group of dragged icons was a bit larger, the
...
bitmap was not completely transparent, but had a faint
shadow, I removed this, though it seemed to be on purpose,
I have no idea why... it looked like a bug
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 18:11:19 +00:00
Stephan Aßmus
a89fb19365
* on R5, invalid BRects cannot be used with FillRect(), Haiku is
...
compatible now. This fixes the last remaining drawing bug in
SoundRecorder.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 17:54:17 +00:00
Stefano Ceccherini
575a68b317
Implemented BTextView::HideTyping(). Now it will display B_UTF8_BULLET
...
chars instead of the real text if this option is enabled. Note that
there are problems with the text width, i.e. the calculation is still
done with the "real" chars, leading to text corruption.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 14:51:18 +00:00
Stefano Ceccherini
3a70724f43
Finally nailed that bug which caused text not to be drawn in some cases... OffsetAt() was returning 1 instead of 0 if you clicked on an empty BTextView due to a bug in NextInitialByte() . Some cleanups
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 13:17:47 +00:00
Stefano Ceccherini
277a78abf5
some cleanups
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-14 12:11:29 +00:00
Jérôme Duval
deb109cc84
fix some signatures, cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-13 14:11:42 +00:00
Jérôme Duval
769952f1a1
clean method signature to match the doc
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-13 13:30:33 +00:00
Jérôme Duval
55815ae60b
restored glapi.c as it seems needed by libGL.so, maybe it should be placed in another object file
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-12 13:42:29 +00:00
Axel Dörfler
946d88f90b
We're now using the same priorities for windows as BeOS does - this should improve
...
the responsiveness of the GUI, and should also fix bug #742 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-12 11:11:22 +00:00
Jérôme Duval
d75df30b25
fix R5 build as suggested by Stefano (please check :))
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-12 09:58:48 +00:00
Jérôme Duval
98e3c1a41e
removed glapi.c from libmesa.a as suggested by phoudoin
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-12 09:49:49 +00:00
Jérôme Duval
225a60f167
only load user addons when not in safe mode
...
fixes bug #842
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-12 08:45:29 +00:00
Stephan Aßmus
aac40c99c2
* Tracker makes sure certain mimetypes exist and copies icons from
...
its resources -> now also the vector icons (thanks Jérôme for
the hint)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-11 15:12:50 +00:00
Stephan Aßmus
59deaf10bc
various changes to improve integration of vector icons
...
* Deskbar uses 32 bit icons now
* vector icons are now correctly converted to B_CMAP8 bitmaps
if no B_CMAP8 icon is available
* small fixes in Tracker (window mode menu)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-11 10:52:01 +00:00
Marcus Overhagen
6e184da0bf
use copy operator instead of memcpy
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-10 18:42:55 +00:00
Jérôme Duval
1b6515a714
deactivated SSE for now
...
cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-08 12:56:41 +00:00
Jérôme Duval
1d08e70ac5
added a call to _mesa_make_current
...
not yet working but a bit better :
GLTeapot display is now white instead of black :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-07 21:13:53 +00:00
Jérôme Duval
9a2240212a
passed options to the renderer
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-07 14:36:43 +00:00
Jérôme Duval
b785569a0d
added a simple GLRendererRoster
...
imported missing pieces of mesa
GLView now gets a renderer correctly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-07 14:02:34 +00:00
Jérôme Duval
10bb21518c
moved mesa addon to opengl addons
...
misc clean up
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-06 14:35:26 +00:00
Jérôme Duval
07a6f763c2
moved GLRenderer.h to public opengl headers
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-06 09:47:34 +00:00
Jérôme Duval
51f05ea6fc
work in progress on Mesa renderer
...
TODO : reorganization for GLRenderer.h MesaRenderer.* and libmesa.a
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-05 16:00:15 +00:00
Jérôme Duval
c2c939699f
remove CVS dir
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-05 11:03:53 +00:00
Ingo Weinhold
6bfd06d1ff
BRoster::Launch() eventually launches the application in question
...
in several steps:
1. early pre-registration with the registrar ("I wanna launch the
app, make sure noone interferes.")
2. load the app image
3. finish pre-registration with the registrar ("I have launched
the app, here is its team ID.")
4. start app main thread
5. send "on launch" messages to the app (argv, refs, others)
If the app is already running or being launched, 1. fails with a
conclusive error code and returns the team ID and the pre-registration
token of the app. Steps 2 - 4 are skipped and only the messages are
delivered using the team ID returned by 1.
This change fixes a race condition: The failed early pre-registration
request obviously cannot return the team ID, if the other thread
launching the app has not finished step 3 yet. Thus the argv/refs
message would not get delivered and Launch() would not return the
correct team ID.
Now we wait for the pre-registration to be finished in this case, using
the former _IsAppPreRegistered() mechanism, which already provided
such a waiting feature for one request. It has been extended to
accomodate an arbitrary number of waiting requests and renamed to
_IsAppRegistered().
This fixed bug #763 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-31 17:54:16 +00:00
Axel Dörfler
1c1c6688d1
Make sure "otherTeam" is -1 when it's not found in the reply.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-30 16:15:57 +00:00
Stephan Aßmus
7fb6186f3c
* integration of vector icons with the registrar and the mime data base
...
* additional versions of SetIcon[ForType] and GetIcon[ForType] in BMimeType
and BAppFileInfo, which handle flat vector icon data
* changes in Tracker to support scalable icons (currently broken for
non-vector icons and needs cleanup) and drawing icons correctly with alpha
channel (large parts of this work done by Michael Lotz)
If someone feels like looking over the changes, that would be much
appreciated! :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-29 17:06:23 +00:00
Axel Dörfler
241b048033
* Fixed build of libnetapi.so - it probably won't work for now, though, have a look
...
at the comment in r5_compatibility.h.
* Intentionally broke source compatibility and removed all that outdated Nettle stuff.
* Also, I took the liberty of making m_init private and rename it to fInit - again, this
will only affect source compatibility.
* Rewrote NetEndpoint.h
* Fixed quite a few small bugs around the code that I touched, for example in NetAddress,
SetTo() never set fInit, and therefore could be wrong.
* Some cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-29 00:19:23 +00:00
Axel Dörfler
6fdccb80f5
Moved libnetapi.so sources into the src/kit/net/ directory - they don't yet build, though.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-28 21:46:23 +00:00
Stefano Ceccherini
a1ae75b608
updated jamfile, once again (could've done all at the same time)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-28 10:24:56 +00:00
Stefano Ceccherini
b31b14e033
Renamed BTextView folder to textview_support
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-28 10:24:24 +00:00
Stefano Ceccherini
5f3269c93b
Updated Jamfile
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-28 10:23:01 +00:00
Stefano Ceccherini
91b381a952
Moved TextView.cpp out of the BTextView (soon to be renamed) folder
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-28 10:22:14 +00:00
Stefano Ceccherini
096e7f3b92
Adjusted license headers
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-28 10:10:27 +00:00
Stefano Ceccherini
b12f75cfdc
More changes to StyleBuffer. Now BTextView::AutoResize() has a minimum
...
size of 3 pixels. To be verified, but seems to work better.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-28 10:06:18 +00:00
Marcus Overhagen
49811b3ae3
removed usage of memcpy where not needed
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-27 20:30:39 +00:00
Ingo Weinhold
9ecf9d1c1d
Merge from layout management branch.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-26 16:21:15 +00:00
Axel Dörfler
967302c5b7
Fixed a stupid copy&paste bug.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-24 12:33:15 +00:00
Stefano Ceccherini
6545a394e7
More cleanups
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-24 10:09:11 +00:00
Axel Dörfler
fa407130aa
Now this should nail down bug #762 pretty well: BView::GetMouse() no calls the
...
private BWindow::_StealMouseMessage() which makes sure only messages for the
preferred handler are stolen, and also, that nothing gets lost that shouldn't
get lost.
Also updates the fLastMouseMoved view in case the message is actually removed
due to GetMouse().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-24 09:52:12 +00:00
Stefano Ceccherini
c944ee6c2d
First try at cleaning up StyleBuffer.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-24 09:41:22 +00:00
Stefano Ceccherini
37f49a44b4
If show() fails, deselect the parent menu item.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-24 08:57:05 +00:00
Axel Dörfler
5ce268a62d
You shouldn't eat mouse moved messages outside of the mouse down/up cycle.
...
At least there is a pending bug in BView::GetMouse() that causes this restriction.
This fixes bug #762 for now (will do the part in GetMouse() next).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-24 08:53:28 +00:00
Stefano Ceccherini
a8945c367b
added +1 to the textrect width in AutoResize(). Maybe it needs still more space. Fixes bug 764.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-23 10:11:44 +00:00
Stefano Ceccherini
f60d8e0b59
Replaced Unlock() with UnlockFully() in BWindow's destructor, fixes bug
...
406
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-23 06:42:09 +00:00
Stefano Ceccherini
f9d284011a
invalidate the null style in BTextView::MakeEditable(). Fixes bug 362
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-22 15:25:24 +00:00
Stefano Ceccherini
0adbde4a9e
Don't invoke the highlighted item if menu was closed using the ESC key
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-22 09:04:21 +00:00
Stefano Ceccherini
136869d8c0
Don't start tracking if user clicked and released mouse button on a zone without any item.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-22 08:55:52 +00:00
Stefano Ceccherini
e8db36f1d2
Don't scroll to the selection when calling BTextView::Insert(). This fixes bug 506
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-21 12:42:01 +00:00
Axel Dörfler
4b66b0e0ee
Imported ContainerWindow.cpp 1.38. This fixes bug #298 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-20 11:43:06 +00:00
Stefano Ceccherini
27f1bc8217
Don't activate the window, because it will steal the focus from the current active window, and clicking elsewhere won't close the menu
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-18 10:26:29 +00:00
Stefano Ceccherini
6636dcac56
BTextView::DrawLines() was drawing some text over some already existing one. Fixes bug 738 (and also the weird text redrawing in Terminal and StyledEdit)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-17 08:00:27 +00:00
Stefano Ceccherini
4e338ac6df
Started implementing menu keyboard navigation. Does only work for menubars because menu windows never get keyboard focus. Any idea how to solve this, since menu windows are B_AVOID_FOCUS both in beos and haiku?
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-17 06:12:48 +00:00
Stefano Ceccherini
bfb0aa18d3
some adjustments at the menu width calculation. Menus are generally a bit less 'compacted' now. Might need review
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-13 06:06:00 +00:00
Stefano Ceccherini
509c95da0e
Added s small workaround in BMenu::OkToProceed() to fix deskbar not opening the be menu under heavy load (or, always, under qemu) if the mouse button was released too soon. Beos seems to do something similar, although it's a hack
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-13 05:39:00 +00:00
Axel Dörfler
95e5d8a86c
* Turns out GCC 4 didn't like my latest changes in Shelf.cpp.
...
* Further cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-11 20:28:33 +00:00
Axel Dörfler
ed0d15ba46
* Use max_c() instead of max() in C++ files.
...
* Updated license header.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-11 20:06:09 +00:00
Axel Dörfler
78aa8eea3d
* Added get_uint32_color() again, the previous "hack" doesn't compile
...
on GCC 4.
* Fixed buggy scripting error responses: "error" is only included on
error, and B_ERROR (-1) can hardly be a candidate for the
BMessage::what field (uint32).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-11 20:01:26 +00:00
Axel Dörfler
6e0e4ca6b2
* Fixed bug that let the dragger not hide in the Deskbar (was in ListManage(), now
...
in _AddToList()).
* Cleaned up BDragger and BShelf a bit, moved private classes into the BPrivate
namespace, renamed private methods to have the '_' prefix.
* Rewrote Dragger.h.
* Is that static dragger list needed at all? And if so, for what?`
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-11 19:26:37 +00:00
Axel Dörfler
4f459891dd
* Imported files from OT-current:
...
- InfoWindow.cpp 1.17, .h 1.5
- TrackerSettingsWindow.cpp 1.9
- ContainerWindow.cpp 1.37, .h 1.7
- DialogPane.cpp 1.4
* This also fixes bug #718 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-11 13:23:10 +00:00
Axel Dörfler
943da1a9b7
Arrow-up/down will now select the first item in the list if there is no selected
...
item yet.
This fixes bug #728 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-11 09:38:18 +00:00
Stefano Ceccherini
8ba08d23c4
fClickOffset wasn't maintained when Select() was called. Should improve problem described in bug 494 a bit
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-08 15:39:31 +00:00
Stefano Ceccherini
b6bf3346f3
When calculating the menu frame, take the resizeToFit parameter into account. This fixes bug 574, although the implementation isn't probably completed yet. Needs more investigation.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-08 14:07:09 +00:00
Axel Dörfler
c22d69bf1f
* Completed the previous commit and merger of the team/network/new_stack branch.
...
* Removed ppp_up and pppcontrol from the image for now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-08 13:07:07 +00:00
Axel Dörfler
5adca30a18
Merge of branches/team/network/new_stack - not yet complete as SVN does only support
...
replacing files when merging when you don't have deleted them manually (for some reason,
it only works as part of the merge operation, and we didn't copy the whole tree to
have "a fresh start" - next time we know better, at least if SVN still suffers from
that same limitation).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-08 12:33:33 +00:00
Axel Dörfler
9319c7b88f
We don't add the Alt-w shortcut to modal windows anymore
...
by default, thanks to Darkwyrm for pointing to this.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-07 21:34:07 +00:00
Stefano Ceccherini
ea4eba9f14
Simplified a bit a part of FindLineBreak. Removed a now useless comment
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-03 13:12:54 +00:00
Axel Dörfler
f1d0add2ca
_AddReplicant() now calls CanAcceptReplicantView(), too, which fixes the incorrect
...
replicant positioning upon add, a.k.a. bug #639 : Deskbar relied on that method
being called to add positioning information to the replicant.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-02 20:47:27 +00:00
Axel Dörfler
4fec945a03
Stefano's investigations did the trick: added MenusBeginning()/MenusEnded() in
...
the shortcut evaluation.
This fixes bug #531 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-02 10:16:10 +00:00
Stefano Ceccherini
0354c3c2d5
Added missing return statement
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-01 09:30:17 +00:00
Stefano Ceccherini
7212229343
The BWindow destructor is called with the window locked, but we need to unlock to acquire the menu semaphore. Updated BBitmap to lock he window on quit too. This fixes last problem mentioned in bug 406
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-15 13:12:01 +00:00
Stefano Ceccherini
cf2ef43abd
fixed a small problem with StealFocus and RestoreFocus
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-14 12:09:49 +00:00
Jérôme Duval
17408188c5
SetValue now avoids itself switching off
...
also added an ASSERT to check the current radio button is still on after the switching off process
this fixes the weird behavior in the password window of the ScreenSaver prefapp
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-12 11:27:04 +00:00
Jérôme Duval
99e5e6e8d2
fix R5 build
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-12 09:58:23 +00:00
Jérôme Duval
67bdea52ce
hope no one minds with this Dano-like version of BMessage::PrintToStream()
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-10 20:00:07 +00:00
Jérôme Duval
11235ae729
"class" is added by BArchivable::Archive(), no need to duplicate
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-10 17:38:12 +00:00
Ithamar R. Adema
f9d5f90ecc
Added missing ColumnTypes.cpp/.h to sourcetree, and added it to the build.
...
This should make our BColumnListView completely usable.
(ColumnTypes files were taken from imkit SVN)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-09 17:09:25 +00:00
Jérôme Duval
3a543720c4
archives with BControl
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-08 13:26:55 +00:00
Jérôme Duval
9fcdf0e92c
MenuItem::Archive uses BArchivable::Archive
...
inverted the enable state when initing the BMenu
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-08 12:56:18 +00:00
Jérôme Duval
9b224ec82e
add item frames to BMenu archive
...
add class names to BMenuItem archives
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-08 00:38:31 +00:00
Stefano Ceccherini
8cc767ee45
call BView::Archive() first, pass deep when needed
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-07 20:23:00 +00:00
Stefano Ceccherini
056abb9e93
partially reverted to an old version, should fix strange problems with menufields
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-07 19:45:23 +00:00
Stefano Ceccherini
931aebe962
Deleting replicants now works
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-07 19:16:50 +00:00
Jérôme Duval
bbcfef1f6c
archive deep when needed, restore menu items
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-07 16:01:37 +00:00
Jérôme Duval
f1cc26391b
archives menu items in menu archive
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-07 15:51:40 +00:00
Jérôme Duval
77f879871f
added back previous copyright notices, they were mysteriously replaced by our own copyright notice
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-06 08:56:18 +00:00
Stefano Ceccherini
b92418a82c
Check for NULL text, otherwise strlen() can crash. Might even fix bug 677
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18044 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-05 19:50:08 +00:00
Stefano Ceccherini
9d9c1564b8
One of the BMenu::AddItem() variations crashed if the passed item was NULL. Fixes bug 465
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-04 12:37:59 +00:00
Jérôme Duval
955bc004af
little cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-04 09:44:40 +00:00
Jérôme Duval
b8fc177d9c
* default source BRect is now offset to B_ORIGIN because Bitmap bounds lefttop could be something else than (0,0). This caused some bugs in Haiku SoundRecorder app
...
i* thus the NOTE in Painter isn't valid anymore
* in Painter::_DrawBimap() moved scale computation after potential changes to BRects
* fix typo : right => bottom. This caused a bug in Haiku Mouse preferences app
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-03 19:49:51 +00:00
Jérôme Duval
eddeb67808
the data type is now consistent with the one used in input_server
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-02 18:39:45 +00:00
Jérôme Duval
b523823433
off all notes when stopping
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-02 11:55:43 +00:00
Jérôme Duval
e2e2e542ed
fix a crash in SetVolume, fix debug build
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-02 11:15:18 +00:00
Jérôme Duval
deca617c6b
position is relative : add to the top left point of the original rect
...
fixes bug #700
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-30 19:24:06 +00:00
Axel Dörfler
64f10d7d89
Cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-30 12:40:15 +00:00
Axel Dörfler
2009d9e5f1
Imported AutoMounter.cpp 1.9 - debug build fix by Jerome Duval.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-28 11:37:28 +00:00
Stephan Aßmus
29c171b18f
reverted my "build fix" since it actually breaks the build on R5
...
... the problem is local to my machine... sorry about that!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-27 14:14:37 +00:00
Axel Dörfler
d48519fa80
Can now be built for BeOS targets as well.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-27 11:44:24 +00:00
Axel Dörfler
00363f807c
Can now be compiled again under BeOS.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-27 11:43:06 +00:00
Jérôme Duval
3f990ca3cc
now links with be
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-27 09:24:57 +00:00
Stephan Aßmus
75acb8cbf8
synced with rev 1.12 from OT rep, fixed build on R5
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-27 09:18:25 +00:00
Stephan Aßmus
f8262c2b19
sync to rev 1.62 from OT rep: use the event time instead of the current system time for appending or starting a new match when typing ahead to select a pose
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-27 09:16:31 +00:00
Jérôme Duval
58ad2aba29
added BColumnListView to libbe.so
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-26 15:53:41 +00:00
Axel Dörfler
aded7d13c1
Imported InfoWindow.cpp 1.16, and .h 1.4 from OpenTracker current.
...
This fixes bug #694 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-26 11:34:41 +00:00
Jérôme Duval
f425cb84a0
fix the build, sorry for the long delay
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-25 22:34:09 +00:00
Axel Dörfler
190650c3c7
Imported SettingsViews.cpp 1.11, .h 1.9, TrackerSettingsWindow.cpp 1.8, .h 1.3,
...
and SelectionWindow.cpp 1.3.
This fixes bug #656 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-25 10:46:00 +00:00
Axel Dörfler
d134f89267
* Sending a forwarded message that had required a synchronous reply, can now be sent
...
again with a synchronous reply - the "reply done" flag wasn't cleared before sending.
* Improved error message in case the buffer for flattening the message couldn't be
allocated. BTW this would be a good place to use the new writev_port() function and
don't do any allocation at all.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17914 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-23 14:44:21 +00:00
Jérôme Duval
4e0eae1865
patch from Olivier Coursiere for better error output in ping
...
change the size parameter type of several functions in sys/socket.h to match POSIX
compat libs and legacy headers keep the original R5 type (though I make a change for this)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17911 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-23 12:22:26 +00:00
Axel Dörfler
7b3d36e5aa
* BEntry::GetStat() and BNode::GetStat() used sizeof(struct stat) for the kernel
...
syscall, but they could not know if R5 code called them (in which case the stat
size has a different size). We now always only return the R5 stat structure here.
This fixes bug #420 . We might want to find a different solution to this problem,
though.
* Be got SYMLINK_MAX wrong - it's not the maximum number of links (that's SYMLOOP_MAX),
but the maximum size of a symlink buffer. Added missing SYMLOOP_MAX and SYMLINK_MAX
constants to limits.h.
* Fixes MAXSYMLINKS to use SYMLOOP_MAX, instead of SYMLINKS_MAX (which doesn't exist
in POSIX specs, but we (intentionally) break source compatibility here).
* Reenabled the Haiku versions of stat(), fstat(), and lstat() when build for Haiku.
* Removed OpenBeOS namespace stuff from the files I touched.
* Removed superfluous StorageDefs.Private.h, whyever that ended up in a public header
is beyond me.
* Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-21 13:49:16 +00:00
Axel Dörfler
8ebbfab333
When the B_COMMAND key is pressed, the event will not be forwarded to the target
...
handler anymore, no matter if a shortcut existed or not.
This fixes bug #498 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-20 15:20:18 +00:00