980 Commits

Author SHA1 Message Date
beveloper
7a2702788f fixed assigned BBuffer size, the size of a buffer is now the requested size, not the allocated size
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 22:25:05 +00:00
beveloper
c0df25dada removed debug output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 22:21:56 +00:00
beveloper
bac2b3f15c When the decoder doesn't support the requested format, the raw decoder is utilized
to provide a format conversion to the requested raw format.
Added a few workarounds for applications that don't requst the required format
but instead assume to get a specific one.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 18:53:57 +00:00
beveloper
94722b265c removed debug output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 18:50:56 +00:00
beveloper
c8f5115b32 call FreeCookie() on 0 cookies, too
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 18:50:23 +00:00
Matthew Wilber
d796ec827a Updated for version macro name changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 16:55:12 +00:00
Matthew Wilber
d5b989f7ff Changed to use version macros
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-28 19:17:11 +00:00
Axel Dörfler
a7d7e9c80f Added ToDo items to some code I looked at.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-27 22:48:32 +00:00
Axel Dörfler
2d7030fe25 The group views must not B_FOLLOW_ALL unless they are the top-level group
views - that makes all sliders accessible again.
Thanks to Marcus for reporting that bug.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-24 00:37:11 +00:00
Axel Dörfler
3905fad39d Added a ToDo comment about the missing reply sending on destruction (as reported by Ingo).
You don't have to check against NULL when deleting an object.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-22 16:38:24 +00:00
shatty
faca9355a7 fixed GetNextChunk not connected bug
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-22 06:12:45 +00:00
Axel Dörfler
dc204ab22f Fixed the test for the knob position with B_DOCUMENT_WINDOW_LOOK.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-20 21:35:52 +00:00
Axel Dörfler
75c3c8f50d Fixed SetTarget() - BTW is even correctly implemented in R5.
Beautified SetBorderHighlighting().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-20 21:33:08 +00:00
Axel Dörfler
52bb9b2d33 Now takes B_DOCUMENT_WINDOW_LOOK properly into account.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-20 21:10:41 +00:00
Axel Dörfler
ecae314976 We are now updating our drawings properly on resize.
ModifyFlags() now sets B_FRAME_EVENTS if B_FULL_UPDATE_ON_RESIZE was not set.
Fixed a small bug in SetBorder().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-20 20:31:42 +00:00
Axel Dörfler
26a96b1674 New private static method BorderSize().
Correctly implemented SetBorderHighlighted(), but differently from BeBook
description (see comment).
Unlike the R5 version, correctly implemented SetBorder().
Draw() now takes SetBorderHighlighted() into account.
The BScrollView(BMessage *) constructor now searches its children for
the scroll bars, no matter in what order they are.
Corrected a drawing glitch that was also exposed in the R5 version (the
scroll bars are misplaced for anything else but B_NO_BORDER).
Renamed resizeMask to the more usual resizingMode.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-20 19:04:00 +00:00
Axel Dörfler
122e979e2d Renamed ModFlags() to ModifyFlags() and made it static.
Implemented SetTarget().
Implemented BArchivable methods, R5 compatible.
The constructor still crashes when the provided target is NULL (as R5),
but the rest now accepts it (to make it reliable against SetTarget() and
shallow archiving).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-20 15:04:09 +00:00
haydentech
72d9a71283 Remove one line of dead code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-19 19:15:15 +00:00
Axel Dörfler
5078b0fccc Removed BScrollView::InitObject(); it's not exported by libbe.so.
Now uses ModFlags() instead of direct code in the constructor.
Moved CalcFrame() and ModFlags() a bit more to the top.
Fixed initial scroll bar values (name and maximum value now match
the R5 implementation).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-19 17:44:45 +00:00
Axel Dörfler
8b35053e1a The scroll bars are now actually placed at the correct location.
The Draw() method now draws all supported borders, but no highlighting yet.
CalcFrame() now seems to work correctly.
Fixed warnings due to missing return codes from non-implemented methods.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-19 06:30:53 +00:00
Axel Dörfler
16fe6dd90f Added almost empty BScrollView implementation. It will actually create
the scroll bars, but it won't do much more yet; no border, no highlighting,
no ...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-19 03:31:13 +00:00
Axel Dörfler
f53ccd0b49 The target view of the scroll view must be moved to the origin (doesn't
matter in this context, though).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-18 11:56:10 +00:00
Axel Dörfler
69cb3c1013 Moved the TimeSourceOp() call to the beginning of the TIMESOURCE_OP event
(as described by Marcus).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-17 16:41:07 +00:00
Axel Dörfler
cd58ac9968 Minitiure optimizations for BString: eliminated a superfluous variable,
and removed the "newData" calculation, since "dataLen" already contained
the same value.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-17 04:06:44 +00:00
Axel Dörfler
b70fa5139e We now dynamically add scroll bars to the parameter web view!
Some BeOS classes really are very stupid or just inferior:
- added DynamicScrollView class that adds and removes scroll bars as needed
  and automatically takes care of the correct scroller range and proportions.
- added TabView class that is smart enough to resize its container view
  and the tab views as well.

Both classes could be used in other environments, too. DynamicScrollView
would be a nice addition to BScrollView R2 - might be put into a shared
source directory for now (or into libbe's BPrivate namespace?).
The TabView additions could almost be moved to BTabView without breaking
compatibility, just the resizing mode of the tab views have to be respected.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-17 03:54:48 +00:00
beveloper
ec276f43a0 bugfix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-16 20:54:35 +00:00
DarkWyrm
1e620294dd Reintegrated Bill Hayden's removal of malloc.h. Stupid me. :/
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 17:44:55 +00:00
DarkWyrm
539232f28e Removed a warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-12 01:22:01 +00:00
beveloper
f2ca77a1b1 provide zero media_header, and let reader or decoder set up missing values
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 00:33:05 +00:00
beveloper
ffaa002659 use the correct value (reported by mmu_man)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-09 00:32:27 +00:00
Philippe Houdoin
504447b3ca -nostdlib didn't link even with startfiles, which we needs for initialize_before() & co.
Soften to -nodefaultlibs link flag, so, which should have been in first place...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 11:19:57 +00:00
Philippe Houdoin
64a3844771 Okay, initialize_*() are not called on plain C libraries...
Re-enable _init() and _fini()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 02:28:57 +00:00
Philippe Houdoin
f856b083a7 Give an initial value to h_errno_tls, to detect if tls_allocate() is ever called.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 00:43:46 +00:00
Philippe Houdoin
a1219cfa33 Removing #undef h_errno and extern int h_errno declaration, as we must
use all the same netdb.h definition, which in turn use TLS to support
a thread-safe h_errno global variable...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 00:01:00 +00:00
shatty
fa8dbc019d new MediaFormats. node monitoring codec plugin loading. codec mods to support new codec api to retrieve supported formats.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 05:26:40 +00:00
shatty
4b7d0fbade simple BLooper to run an AddOnMonitorHandler
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-01 05:51:17 +00:00
shatty
341ea25117 semi-tested semi-implemented with horrific big methods
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-01 05:49:14 +00:00
beveloper
0f2976ab26 small api changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 01:00:11 +00:00
beveloper
a6423eea41 improved media_header usage
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 23:30:00 +00:00
shatty
e396ab580d untested version
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 00:24:03 +00:00
beveloper
7f823d473b if GetFormatFor failes, it now returns a useable wildcard format
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 23:03:18 +00:00
beveloper
df6c2e833f better buffer size suggestion
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 19:08:27 +00:00
beveloper
21aea2f3df make failures more visible
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 19:07:45 +00:00
shatty
e1431e96f3 remove references to B_OGG_FORMAT_FAMILY
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 10:59:33 +00:00
Axel Dörfler
0f18208594 BMediaFormats::InitCheck() now checks if the global lock could be initialized
to give its existance a bit more sense.
update_media_formats() no longer ASSERTS if the lock is held, but fails
if it's not locked.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-25 15:56:10 +00:00
shatty
2aa106d6b7 fixed a bug which caused one perhaps the most helpful error message ever from gcc: 101: invalid reference to a member function name, did you forget the ()?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-24 22:56:15 +00:00
shatty
a4f26c7d66 fix SetMetaData to create an area, do not bother with checking the return value from find_thread(NULL)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-24 22:19:00 +00:00
haydentech
2f4343ad60 implement tint_color()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 16:17:40 +00:00
haydentech
ce3857c204 gcc3 fix: default args not allowed in function implementation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 16:15:20 +00:00
Axel Dörfler
001103576a Accidently used its own PluginManager object instead of the global one.
Implemented BMediaDecoder::GetDecoderInfo().
Changed the documentation style to something doxygen can read.
Added some ToDo comments.
Some minor style changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-23 09:15:47 +00:00