Commit Graph

50812 Commits

Author SHA1 Message Date
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
John Scipione
1909b63bab BRoster: whitespace 2014-06-26 20:01:30 -04:00
Adrien Destugues
29db2f7f69 Fix off-by-one error
This would cause the last char before the hostname to sometimes stay
bold and not be properly reset to a regular font.

Fixes #10982.
2014-06-26 14:34:07 +02:00
Adrien Destugues
eef22dfb75 Revert "Remove haiku_host/Errors.h"
This reverts commit f105756e27.

The host header gets included if this file is missing , rather than the
one in the build tree. Fix the build again.
2014-06-26 08:01:00 +02:00
John Scipione
78d6fb3c8e open: get kTrackerSignature variable from tracker_private.h
Update copyright.
2014-06-25 19:34:23 -04:00
John Scipione
ade169709b open: style fixes 2014-06-25 19:33:18 -04:00
John Scipione
807a7aa09a Roster: print when sending B_READY_TO_RUN 2014-06-25 19:32:27 -04:00
John Scipione
732c579702 Roster: style fixes.
* Check if == NULL or == 0 explicitily
* Use NULL instead of 0 as default value for pointers in header.
* other little stuff, new lines, comments
2014-06-25 19:31:24 -04:00
Oliver Tappe
9760ac0d19 Update packages buildbot_slave and python_zope.interface.
* To avoid problems caused by the varying python versions used by the 
  different architectures, switch those packages from 'any' to explicit
  architecture.
2014-06-25 23:21:39 +02:00
Adrien Destugues
f105756e27 Remove haiku_host/Errors.h
The only purpose of this was to use the installed version of Errors.h,
which isn't strictly needed and create some annoyance when new error
codes are added.
2014-06-25 23:01:13 +02:00
John Scipione
798a273725 BString docs: Fix a bunch of other stuff.
A lot of clarification.

Also, sometimes "the object" was used to refer to the BString you're doing
stuff to and sometimes "the BString" was used, settle on "the BString".
2014-06-25 15:39:08 -04:00
John Scipione
79c6af799c BString docs: Remove extra "to" in AppendChars() string param
Thanks stippi for noticing this oversight.
2014-06-25 15:39:07 -04:00