Commit Graph

51140 Commits

Author SHA1 Message Date
François Revol d53fe46d17 Add a non-const compatibility BRoster::Launch() call
BartLAuncher needs this one...
2014-08-09 01:20:25 +02:00
Jérôme Duval 3aeed6607c include strings.h where appriopriate...
instead or additionally to string.h, in preparation for functions move.
* moves str[n]casecmp() functions and others to strings.h.
* strings.h doesn't include string.h anymore.
* this solves #10949
2014-08-08 22:40:37 +02:00
François Revol 1c9081d343 Add a package for Moe. How did I live without it??? 2014-08-08 19:59:06 +02:00
Arvind S Raj 82d287ddcb Reserve 8MB space for kernel before RAM_loader
...so that kernel does not overwrite the loader.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #11067.
2014-08-08 17:39:33 +02:00
Zhuowei Zhang 2ba49c8804 Fix debugger only displaying 16 bits of 64-bit integers in the memory inspector
Signed-off-by: Oliver Tappe <zooey@hirschkaefer.de>
2014-08-08 14:09:13 +02:00
Adrien Destugues 178be2a6d5 Style fix. 2014-08-08 09:15:38 +02:00
Adrien Destugues 51a0d540e5 Even more optimization of this list iteration.
I hope everyone is happy, now.
2014-08-08 08:37:13 +02:00
Arvind S Raj fea7eea417 Check if gARMPagingMethod is null
in arch_vm_translation_map_is_kernel_page_accessible. Fix borrowed from x86
(commit 428b9e758c).

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #11107.
2014-08-08 08:37:12 +02:00
François Revol 295ded8c41 Fix gopher
fInputBuffer was shadowing the base class member...
2014-08-08 00:35:20 +02:00
Alexander von Gluck IV 57891e9363 app_server/html5: Fix CanvasMessage header guard 2014-08-07 21:21:36 +00:00
Alexander von Gluck IV 30bd14fabd app_server/html5: Fill in uninitalized member; CID 611419 2014-08-07 21:19:34 +00:00
Alexander von Gluck IV 1dc0615477 app_server/html5: Fill in uninitalized members; CID 611418 2014-08-07 21:15:45 +00:00
Alexander von Gluck IV 2a3020ac9d app_server/html5: Drop unused and uninitalized members 2014-08-07 21:10:17 +00:00
François Revol e4860647b2 Add opensound package
Just fixed a crash in there, so it should now work ok.
2014-08-07 22:54:01 +02:00
François Revol c35639a9ed Also add a Jamfile MIME type 2014-08-07 15:23:16 +02:00
François Revol 2501fb7082 Add a type for makefiles
Pe provides one already but it doesn't have a sniff rule.

For now we only match the BeOS/Haiku template header string.
2014-08-07 15:22:48 +02:00
Adrien Destugues 848bfaa602 More style fixes to ehci. 2014-08-07 13:51:36 +02:00
Adrien Destugues 267d1d780c More efficient clearing of the entryList.
As pointed out by Ingo, using RemoveAt(0) here is needlessly
inneficient.
2014-08-07 13:50:25 +02:00
Adrien Destugues 1ec28f7117 improved Vim coding guidelines checker
* Avoids highlighting some matches when inside C++ comments
* Add operators << and >>
* Automatic initialization when opening Vim in the Haiku source
directory (if you use the same directory layout as me)
* Matches are highlighted in red, rather than reusing the "Search" match
group. You can pick another color by editing the "highlight Style"
definition.

Improvements are still welcome.
2014-08-07 13:17:57 +02:00
Adrien Destugues a48beaced0 More style fixes. 2014-08-07 13:17:54 +02:00
François Revol 948f0320c9 Add names to the BeHappy icon
Since it's almost a simple marble, it's an interesting model,
I used it for ARAnyM. HAving names makes it easier to change.
2014-08-07 11:23:49 +02:00
François Revol 40dc5eb53e Change the marble to a coin on the ARAnyM icon
- makes it look like a coin like the original icon with a
recessed part,
- cleanup,
- add a bee shadow.
2014-08-07 11:23:29 +02:00
Adrien Destugues fd8d809fa1 Style fix. 2014-08-07 10:33:23 +02:00
Adrien Destugues 6289332b7b Remove device ID known not to work.
Does not fix #10606. Let's at least leave VESA working for owners of
this card.
2014-08-07 09:34:37 +02:00
Adrien Destugues 9cd25f4c05 Build fix. 2014-08-07 09:06:29 +02:00
Adrien Destugues 15f61ef94c CID992461: Memory leak
Fixes #10362.
2014-08-07 08:48:29 +02:00
Puck Meerburg 5c2781ea61 Fix Coverity bug 992388: Missing break in switch
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #10342
2014-08-07 08:35:19 +02:00
Adrien Destugues 2afa6a58e1 Style and 80-column fixes. 2014-08-07 08:12:58 +02:00
Jessica Hamilton 4b0b03de1d Add BeCJK input method to HaikuPorts repository. 2014-08-07 17:28:43 +00:00
François Revol f1d963a418 Offset the bee in ARAnyM icon so it's not blurry at 32x32 2014-08-07 02:16:34 +02:00
François Revol 3d21494d80 Add an icon for ARAnyM 2014-08-07 02:10:51 +02:00
François Revol 0dd565ee64 Harddisk icon variations with "Be" and Zeta logos
So many partitions around and they all looked the same...
2014-08-07 01:35:27 +02:00
Jessica Hamilton 297f6f3d28 Add canna input method to HaikuPorts repository 2014-08-07 10:00:47 +00:00
Oliver Tappe 63cc55477c Fix #11101: Broken Haiku repository creation.
* Invoking jam from Haiku's checkout directory (instead of the output
  directory) caused the repository creation to fail because of relative
  paths to package files being used. Now we make sure that HAIKU_TOP
  is an absolute path to avoid problems like these.
2014-08-06 23:49:00 +02:00
Akshay Jaggi b1c9a1a31d Fix Short Packet EHCI Transfers
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #10867.
2014-08-06 22:19:31 +02:00
Colin Günther 6063c02ef9 FFMPEG Plugin: Fix bug and refactor input buffer padding.
- Fixes a bug using realloc with a memory area that is declared const which
  lead to a crash in MediaPlayer playing big_buck_bunny_720p_stereo.ogg.
- The refactoring introduces a strict separation between const memory areas
  (chunk data read from GetNextChunk()) and mutable memory areas
  (fVideoChunkBuffer) by using a copy operation instead of a casted
  assignment operation.
- Updated documentation accordingly.
- Besides fixing the bug, there is no functional change intended.
2014-08-06 14:28:40 +02:00
Colin Günther 6defcb6c6d FFMPEG Plugin: Refactor out loading next video chunk.
- Main reason for refactoring was to increase readability of
  _DecodeNextVideoFrame() by simplifying it. Refactoring was tested
  successfully for no functional change with mpeg2_decoder_test.
- Reindented the method definition in the header file so that the new method
  _LoadNextVideoChunkIfNeededAndUpdateStartTime() fits into 80 chars per line.
  Reindentdation is applied to methods only as the member variables have no
  space left for reindentation.
- Update documentation accordingly.
- Fix wording of audio part to audio path.
- No functional change intended.
2014-08-06 14:28:39 +02:00
Colin Günther 2d83b8419c FFMPEG Plugin: Implement video input buffer padding.
- Padding is required by FFMPEG for correct operation of all video decoders.
  FFMPEG performs some speed optimizations under the hood that may lead to
  reading over the end of the chunk buffer wouldn't there have been padding
  applied.
- Note: Padding is required for audio decoders, too. I will tackle this in some
  later commits. For the time being we have a degradation in code reuse, due to
  different memory ownership of chunk buffers in audio and video decoder path.
  Audio path must not care about freeing chunk buffers whereas video path must.
- Fix coding style and some typos.
- Update documentation accordingly.
2014-08-06 14:28:37 +02:00
François Revol cb721c5963 Add a nasm test for ELF generation
We should probably only test this when targetting x86 arch...
2014-08-06 01:05:50 +02:00
Alexander von Gluck IV 14ed9dd5fc x86: Update tar package in repo to 1.27.1-2
* Tested functional
2014-08-05 18:23:55 +00:00
Adrien Destugues 47f04acb74 Hide the bookmark bar when there is no matching folder.
* Defaulting to the complete bookmark list doesn't make much sense
* Don't crash when not showing the bar
* Some style fixes.
2014-08-05 11:14:21 +02:00
Jérôme Duval 4dc5ce8fd8 mknod[at](): moves from unistd.h to sys/stat.h
* this solves #10883.
2014-08-04 19:03:08 +02:00
Colin Günther a335ec823a FFMPEG Plugin: Implement flushing of video frames from decoder.
- Video frames still contained in the video decoder are now flushed when there
  are no encoded data chunks left (signaled by B_LAST_BUFFER_ERROR).
- New code was successfully tested with mpeg2_decoder_test. The last test image
  is now decoded, too, resulting in a bump of the expected number of decoded
  images.
- Refactor code to support flushing -and- keep the readability at a sane level.
- Remove some uncommented code for the sake of readability.
- Documentation updated accordingly.
2014-08-04 18:38:16 +02:00
Adrien Destugues 09785ce274 smpeg: update to a version with a working libstdc++ dependency.
Stop-gap solution to make smpeg installable until the separate libstdc++
package is available. Then it will hopefully have a reliable "compat"
version we can depend on.
2014-08-04 17:49:01 +02:00
Adrien Destugues f0fbad6aa1 Add tests for data URIs. 2014-08-04 16:56:38 +02:00
Adrien Destugues 417351fceb HttpTest: use BReferenceable APIs for the BUrlContext. 2014-08-04 16:55:19 +02:00
Adrien Destugues 7bc2acc216 UrlRequest: fix race condition
* The thread could set fRunning to false before the caller had set it to
true, leading to a stalled request.
* Happened easily when testing "data" requests, which are fast since no
I/O is involved.
* Possibly also helps with stalled redirects on Google search I've been
seeing for some time.
2014-08-04 16:54:54 +02:00
Adrien Destugues a4e5af66f1 Make URL decoding even more solid.
* Thanks to korli for pointing remaining issues.
2014-08-04 16:52:40 +02:00
Adrien Destugues 781c9f2a8f Data URIs: don't decodewith invalid length.. 2014-08-04 16:51:49 +02:00
Adrien Destugues 89b4e98a8f Move signal hack to BNetworkRequest
* This is used to unlock sockets when a read is pending after a close
* It is not needed on requests that don't use a socket.
2014-08-04 16:25:48 +02:00