Commit Graph

827 Commits

Author SHA1 Message Date
beveloper
7a115dc75d integrating codec API, added some MediaExtractor functionality
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-23 23:50:27 +00:00
beveloper
d859148201 integration of codec API into BMediaFile and BMediaTrack
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-23 22:19:21 +00:00
beveloper
bce1ab5efd another round of codec API changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-23 18:17:35 +00:00
Stefano Ceccherini
76f6f6ff76 With the help of Andrew Bachmann, I finally fixed the multi-byte charachter deleting / Undoing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-20 14:02:58 +00:00
Stefano Ceccherini
2e7ea41af1 With the help of Andrew Bachmann, I finally fixed the multi-byte charachter deleting / Undoing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-20 14:00:36 +00:00
Axel Dörfler
b22232f591 Implemented the missing BView::IsHidden(BView *lookingFrom), fixed
BView::IsHidden().
Commented a ToDo: item in BView::Hide().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-19 14:56:32 +00:00
Stefano Ceccherini
aa4d8c571d Synching with the code on my hard drive... Archiving/unarchiving should (partially) work now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-17 10:34:29 +00:00
Jérôme Duval
8b9700ad24 GetInstancesFor must accept a NULL iocount and consider it as 1
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-17 10:12:21 +00:00
DarkWyrm
f30761e5ee Last-minute tweaks to fix control_scrollbar()'s Set Double command
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-16 18:25:29 +00:00
DarkWyrm
9107dffadc Converted display and interaction with scrollbar buttons from using BViews to having them be part of the scrollbar itself
Double and single modes should look the right way


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-16 17:52:05 +00:00
DarkWyrm
745d0b4a95 Implemented a function to allow for R1's prefs to work like R5's
Serious speedups on redraw - needs a little more work
Added the beginnings of thumb tracking
Implemented rapid-fire small-step scrolling when holding down a scroll button
Tweaks to button-drawing code


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 20:47:53 +00:00
Tyler Dauwalder
ce80ee567b - Renamed CDDA to AudioSession
- Added DataSession


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 08:38:42 +00:00
DarkWyrm
2e4c9e2113 Attachment data bugfixes related to fDataSize
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-14 00:22:30 +00:00
Stefano Ceccherini
5480b4590e Another patch from Oliver Tappe: BString behaves better when the user supplies out-of bounds values in Insert(), Remove(), etc.
Code is refactored, and it fully complies with our guidelines.
Tests have been updated too (hint: try the replace tests with R5 and our implementation...)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 07:35:16 +00:00
Jérôme Duval
4691dc7ff8 MediaFiles support added
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 10:24:42 +00:00
haydentech
2ef7083364 Janitorial work
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-10 19:50:27 +00:00
haydentech
84e57fc918 Fix line array bugs, missing breaks, gcc3 incompatibilities, and a few typos
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-10 19:47:16 +00:00
haydentech
64b98d2378 gcc3 namespace fix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-10 19:45:55 +00:00
beveloper
9a4592531d latest api changes...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-04 01:32:33 +00:00
François Revol
9326cb6d82 better error report from BDeskbar::RemoveItem(), though OpenDeskbar should be fixed too
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-31 19:53:37 +00:00
Matthew Wilber
c9cccf232a Changed BBitmapStream to behave more like Be's implementation while still checking for bad input.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-30 12:32:25 +00:00
Philippe Houdoin
7dab5189a7 Fix warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 22:33:23 +00:00
Philippe Houdoin
b42a6ce4af Fix warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 21:55:55 +00:00
Matthew Wilber
73e65d4da8 Changed TranslationUtils' manor of handling relative paths to match how Be's TranslationUtils handles them. Before, relative paths had the current directory as the base, now, relative paths use the folder containing the running application as the base. This issue prevented programs like Eden from loading properly with the OpenBeOS Translation Kit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 15:35:54 +00:00
Tyler Dauwalder
2094b5ffbb Updated to use new parametersSize params where applicable.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 08:36:17 +00:00
Stefano Ceccherini
bdd02a033d Added WidthBuffer to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 10:13:58 +00:00
Stefano Ceccherini
76f8475798 Some more work on the undo buffer. Added a quick and dirty implementation of WidthBuffer (it's needed by OpenTracker). We'll want to implement it correctly.
Multi-byte character insertion/deletion works now in TextView (thanks to Marc Flerackers)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 10:12:35 +00:00
Stefano Ceccherini
4be90e7fc1 Fixed a possible buffer overflow in r_or() and r_sub() (thanks to Ingo Weinhold for his advices), stripped BRegion of all his friends, and moved them into a single class (BRegion::Support()). Removed "find_small_bottom()", as we didn't use it at all. Added some debugging output to BRegion::Support (that will help fixing bugs)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 07:33:41 +00:00
ejakowatz
b07c31a73f Finished up some scripting-related items.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-18 04:55:28 +00:00
beveloper
ca16f5cb03 start of media kit codec plugin API
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-17 23:55:19 +00:00
Waldemar Kornewald
8c911f6ce6 h_errno is now declared in each file that uses it.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-17 13:57:33 +00:00
Stefano Ceccherini
b17e9812fd Fixed the long outstanding bug that made BRect::Intersects() return false when one rect was completely contained into the other. Cleaned up (a bit) the code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5041 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-16 08:00:44 +00:00
DarkWyrm
83f9647173 Updates to sync with (hopefully) final tweaks to messaging protocols
Implemented BSession::DropInputBuffer with code from Adi


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5013 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-13 23:34:12 +00:00
Waldemar Kornewald
e3cdd30a7a Quick and dirty fix of the DNS resolver bug. Now "ping localhost" works again! :))
The problem was that netdb.h defined a macro that always replaced h_errno with a function call so that libnet.so failed when res_query (and all other functions using h_errno, but this is where the bug occured for me) tried to assign a new value to h_errno which of course failed because it was actually assigned to the return value of _h_errnop().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-13 14:42:18 +00:00
Stefano Ceccherini
b032f97253 - Fixed text pasting
- Fixed text moving
- Almost completely implemented Undo capabilities
- in BTextView::GetSupportedSuites(BMessage *data): added the suites name
- fixed BTextView::Insert(int32, const char *, int32, const text_run_array *), it didn't
  take offset into account
- undo is disabled by default (even if the BeBook says the opposite)
- added B_SELECT_ALL message handler
- now it doesn't select anything if the object isn't selectable
- drag message is now filled in BTextView::GetDragMessage() as it should, and not in
  BTextView::InitiateDrag()
- changed all deprecated SetCursor() calls to SetViewCursor()
- added some NormalizeFont() calls, while trying to fix the multi-byte insertion bug


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5009 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-13 14:38:43 +00:00
shadow303
a74c4d3064 Replace floating point math with bit shifts
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-12 22:23:06 +00:00
shadow303
16ce773582 Fix & rename 16-bit routines to 15-bit
Add real 16-bit routines


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-10 20:37:32 +00:00
DarkWyrm
99991325e3 Bugfixes. AFAIK everything works properly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-04 21:51:16 +00:00
DarkWyrm
45799af7b5 Tweaked all messaging classes to comply with new message protocol policies
AppServerLink no longer inherits from BSession
Modified client files which talk to the server to sync with changes in messaging classes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4942 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-04 19:08:06 +00:00
DarkWyrm
591d280e6c Added PortMessage::ReadString and PortLink::AttachString to support BSession-style string attachments
Tweaks to startup code for BApplication
Tweaked PortQueue to utilize the BSession workaround for PortMessages
Tweaks to message protocol for BCursor


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4939 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-04 00:55:53 +00:00
DarkWyrm
8123b61c01 Eliminated a memory allocation bug
Added a sensible workaround for BSession message code packaging


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-03 23:28:46 +00:00
DarkWyrm
b8b711a00d BSession no longer a parent class
Removed deprecated reply functions
Global protocol change - reply port attached last, not first
Still uses BSession-style messaging (msg code attached to buffer followed by attachement data)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-03 22:23:17 +00:00
DarkWyrm
55c8a39e56 Conversion of PortLink::FlushWithReply calls from deprecated API calls
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-03 22:21:37 +00:00
DarkWyrm
582e2dddd5 Conversion to BSession messaging
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-03 00:37:56 +00:00
DarkWyrm
5e69d02601 Moved BSession messaging code to ServerProtocol.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-03 00:02:19 +00:00
DarkWyrm
39cdc12637 Conversion to BSession API
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-02 01:02:10 +00:00
DarkWyrm
594cf26a76 Conversion over to BSession API
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-02 01:01:45 +00:00
DarkWyrm
2dd8584cff Implemented some functions referenced elsewhere to remove linker errors
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 23:43:48 +00:00
beveloper
51e7b01fac changed timeout calculation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4918 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 17:01:06 +00:00
beveloper
2feec67c73 changed debug output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-01 17:00:38 +00:00