Commit Graph

50623 Commits

Author SHA1 Message Date
François Revol 7670cd86b4 Add WIP VirtualBox Guest Additions package
For now only clipboard sharing is supported. Run VBoxTray to activate it.

My first uploaded package :)
2014-07-02 00:10:26 +02:00
Ingo Weinhold 5c8bfe24ea compression_test: Add option for gzip format 2014-07-01 21:54:58 +02:00
Ingo Weinhold 72cf56a0fd BZlibCompressionAlgorithm: Basic support for gzip format 2014-07-01 21:54:58 +02:00
Adrien Destugues 3b19a78137 Update HaikuWebkit to 1.4.0 for x86_64
There are some known issues with this version (1.4.1 will follow soon), but at least it fixes the build.
2014-07-01 21:12:48 +00:00
Adrien Destugues 14d1df6644 Add gyp and python_setuptools packages.
Requested by Waddlesplash.
2014-07-01 16:45:24 +02:00
Oliver Tappe 8f49820300 Update python on x86_gcc2 to 2.6.9.
* This allows python_twisted to be installed on x86_gcc2, as it requires
  python >= 2.6.9.
2014-07-01 00:54:30 +02:00
John Scipione 844df0d7a4 ProcessController: Fix CID 701784
Unchecked return value  (CHECKED_RETURN)

If get_team_usage_info() fails set the times to 0.

Also remove unused get_team_info() call.
2014-06-30 17:23:41 -04:00
John Scipione 37add6e474 ProcessController: Check if pointers are NULL 2014-06-30 17:23:40 -04:00
John Scipione 98ec4e9467 ProcessController: style fixes to TeamBarMenuItem 2014-06-30 17:23:38 -04:00
Ingo Weinhold b3263ad3e1 Switch package kit to BZlibCompressionAlgorithm
... and remove the Zlib{Compressor,Decompressor} API.
2014-06-30 21:55:41 +02:00
Ingo Weinhold 377ecc1e55 Test program for the B[Zlib]CompressionAlgorithm functionality 2014-06-30 21:55:41 +02:00
Ingo Weinhold dcdc33b0af Add B[Zlib]CompressionAlgorithm
* BCompressionAlgorithm is a base class for classes that provide
  compression/decompression functionality. There are methods for
  compressing/decompressing a single buffer and factory methods for
  a compressing/decompressing input/output BDataIO.
* BZlibCompressionAlgorithm is a BCompressionAlgorithm implementation
  using zlib.
2014-06-30 21:55:41 +02:00
Ingo Weinhold 6a89a36aa0 Move package kit Zlib* classes to support kit
Also move to B* namespace and no longer expose the zlib dependency in
the headers.
2014-06-30 21:55:41 +02:00
Ingo Weinhold b773d89eba BDataIO: Add Flush() 2014-06-30 21:55:40 +02:00
Ingo Weinhold 60ccc119b0 packagefs: CachedDataReader: Don't implement ReadData()
It's already done the same way in the base class.
2014-06-30 21:51:17 +02:00
Ingo Weinhold 0dab9e5cb4 package kit: ReaderImplBase: Remove superfluous scratch buffer 2014-06-30 21:51:16 +02:00
Ingo Weinhold 0a62e01902 PackageWriterImpl: Remove superfluous method 2014-06-30 21:51:16 +02:00
Ingo Weinhold f1a12bcfc0 ReaderImplBase::ReadSection(): Small simplification 2014-06-30 21:51:16 +02:00
John Scipione 955ace81fd Move the search text box to the right
The "API DOCUMENTATION" text placement corresponds similar text in the
User Guide.
2014-06-30 15:22:53 -04:00
Augustin Cavalier 67e4499bbe Add search function to the API docs.
* Uses Google site search.
 * CSS taken from the User Guide Translator's CSS.

Signed-off-by: John Scipione <jscipione@gmail.com>
2014-06-30 15:22:52 -04:00
Adrien Destugues c5359c702a Update various packages for x86_64.
Some of these are haikuwebkit dependencies, and other things haikuporter decided to rebuild for some reason.
2014-06-30 20:56:02 +00:00
John Scipione 5b55bbb0a6 BString docs: Add docs for StartsWith() and EndsWith()
I'm not sure why these method docs got skipped, they are
nice to know about.
2014-06-30 14:50:20 -04:00
John Scipione ab97fc0564 Replace FindFirst() == 0 with StartsWith()
Thanks PulkoMandy.
2014-06-30 14:45:02 -04:00
John Scipione c425d6cb85 listimage: fix small memory leak
Free header when done with it.
2014-06-30 12:08:40 -04:00
John Scipione a846b0ee4e listimage: remove unused vars.
... left over from previous iterations, not sure why I didn't
get unused vars warnings.

Sorry for the noise.
2014-06-30 00:41:43 -04:00
John Scipione 69ac139b33 listimage: A bunch of small fixes.
* Use arch-independent format specifiers.
* Print pointers at a fixed length padded with 0s,
  length is eitther 8 or 16 depending on pointer width.
* Uppercase titles.
* Add an extra space between Data and Seq# columns to
  more clearly show that they represent separate titles.
* Move the Name column last because it is variable length.
  This way, all columns line up vertically and the name can
  overflow past the end, before a long path would push all
  the other columns to the right.
* Make the Name column title is left-aligned, dashes go to
  80 cols.
* Use C89 comments and C89 variable declarations.

Screenshot:
http://38.media.tumblr.com/4aea59cf15f8a7c186fc97d62916f38b/tumblr_n7yrw7nwma1r0f0hfo1_1280.png
2014-06-30 00:24:58 -04:00
John Scipione 26de917c7a listimage: style fixes
Also use puts() in place of printf() in a couple places
where no string interpolation takes place.

Replace the variable name "status" with "result", I just like
it better that way for easier grep-ability.
2014-06-30 00:22:28 -04:00
John Scipione 8127947b30 App Server: Refactor Accelerant add-on loading
... to use BPathFinder instead of iterating through each of the
(current) add-on directories.

Update copyright header, add myself to authors.

add an ATRACE() of the path once it is found.
2014-06-29 17:31:08 -04:00
John Scipione a4a7b1f48b App Server: Style fixes to AccelerantHWInterface 2014-06-29 17:31:07 -04:00
John Scipione 784d5bea5c Tracker: small refactor to FindPaths.
No functional change intended.

* Remove trailing / from Tracker, thanks Axel.
* put addOnPaths.CountStrings() in a variable.
2014-06-29 17:31:05 -04:00
John Scipione 03a7aaf926 shortcut_catcher: Add Jessica Hamilton to authors
... with permission to recognize her contributions here.
2014-06-29 17:31:04 -04:00
John Scipione 9c1ca606f0 shortcut_catcher: Small refactor to FindPaths()
Should be functionally identical.

* Removed / after Tracker, thanks Axel.
* BString::FindFirst() returns an index not a status_t so check that
  it finds the path at the start of the string (index 0).
* Put paths.CountStrings() in a count variable.

I wanted to clean this code up because I use it as a reference.
2014-06-29 16:18:08 -04:00
Humdinger 0474722732 Added application/xhtml+xml to StyledEdits supported types. 2014-06-29 19:30:22 +02:00
Oliver Tappe 0230e26b37 Tell wget to retry for connection-refused errors.
* This should help the build process to survive short-lived connection 
  problems (as they happened to buildbot slaves tonight).
2014-06-29 12:19:56 +02:00
Rene Gollent 473a74f72e Debugger: Add support for copying variable values.
- Implements a simple copy option in the variables context menu that
  allows one to copy the displayed value to the clipboard.
2014-06-28 19:47:27 -04:00
Rene Gollent 2f605e9fd7 TeamWindow: Fix accidental double message sending.
- When we explicitly handle sending B_COPY/B_SELECT_ALL, don't
  then pass control back to BWindow::DispatchMessage(), as that will
  wind up sending the message to the target view twice.
2014-06-28 19:44:59 -04:00
autonielx 632843911c Update translations from Pootle 2014-06-28 06:18:47 +02:00
John Scipione f95ad070fb MidiPlayer: Rework layout
#9882 comment:8 suggested applying a similar fix
to MidiPlayer as the one to Backgrounds, which makes
the menu fields variable width and isn't affected by the
check box.

In addition this replaces BGroupLayoutBuilder and
BGridLayoutBuilder with BLayoutBuilder templates and
replaces hardcoded spacing units with B_USE_ spacing
constants.

I also put the Volume slider on its own line and tightened
up the spacing around the scope view.

picture:
http://31.media.tumblr.com/74d93b806033d9adee83eeb2adead48d/tumblr_n7v06onPdl1r0f0hfo1_250.png
2014-06-27 23:27:01 -04:00
John Scipione d25aa3072e MidiPlayer: update readme.html 2014-06-27 22:57:06 -04:00
John Scipione 8edf74fa65 MidiPlayer: Update version to 1.0.1 final
Change the BAlert about box into a BAboutWindow.
Add Authors based on commit logs.

Unfortunately the description contained:
"Haiku MIDI Player 1.0.0 beta\n\n" which means that it
is going to get flagged for re-translation, sorry! This was
bound to happen when the version number changed,
on the bright side it shouldn't happen again in the future
since the Name and version number are separate.
2014-06-27 22:57:05 -04:00
John Scipione ef2769426f MidiPlayer: Update copyright headers
Add Haiku, Inc. for all changes 2008-2014 based on commit logs.
If people want to assign their own copyright for work they did they
probably should add there name to the copyright list.
2014-06-27 22:57:04 -04:00
John Scipione 42bcaa84c0 MidiPlayer: style overhaul 2014-06-27 22:57:02 -04:00
John Scipione e23f93739b FileTypes: Use list view color constants
...instead of hardcoding black.

Only you can prevent hard-coded colors.

Make sure to set both high color and low color so we don't get
anti-aliasing glitches.

Also, use be_control_look->DefaultLabelSpacing() instead of 5.0f.

Only you can prevent hard-coded label spacings.

Also return early if text is NULL (not set).

Fixes a small part of #10840
2014-06-27 19:07:29 -04:00
John Scipione c35a9fd0a7 FileTypes: make middle bar darker
... matching the rest of the list view borders.

* Don't draw the middle bar in DrawItem(), that already happens in
  owner->Draw(), no reason to draw it twice.
* Update copyright header.
2014-06-27 19:05:51 -04:00
John Scipione ada54af0c9 FileTypes: Style fixes 2014-06-27 18:46:33 -04:00
Arvind S Raj 6f742d85f9 Corrected check to ensure that command line options are indeed passed.
* Currently, no command line options are being passed via u-boot
  to haiku. However, the comparison doesn't ensure that cmdline
  is not an empty string - it merely ensures cmdline is not null.

Signed-off-by: Ithamar R. Adema <ithamar@upgrade-android.com>
2014-06-27 12:20:22 -07:00
Arvind S Raj cf0ba4901d Move stack to SDRAM as specified in memory map.
* After initializing the page table and enabling MMU,
  the pre-MMU stack becomes invalid leading to a fault.
  This was fixed by moving the stack to SDRAM as specified
  in LOADER_MEMORYMAP before ARM entry point start_netbsd.

Signed-off-by: Ithamar R. Adema <ithamar@upgrade-android.com>
2014-06-27 12:20:16 -07:00
Rene Gollent 3eadb2cc1d Debugger: Improvements to hrev47421.
- Isolate the filesystem query/result list building into a separate
  worker thread in order to prevent blocking the window thread in
  case the query winds up being a bit more time consuming. This
  doesn't yet handle intelligent prefetching (and associated can of
  synchronization worms), but that will come once time permits.
- Also fixes a missing break statement introduced in the aforementioned
  commit, though that one shouldn't have caused any actual harm.
2014-06-26 22:13:49 -04:00
John Scipione b43baaba36 BRoster: Remove brief desc comments
As per discussion, you'll just have to look in the Haiku Book for this.
Thanks Axel
2014-06-26 20:04:39 -04:00
John Scipione e4652fbaae BRoster: small doc fix 2014-06-26 20:02:26 -04:00