Commit Graph

50794 Commits

Author SHA1 Message Date
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
John Scipione
e0016ffde9 Style fixes to BRoster, move docs to doxygen.
Keep the brief description as a regular comment above each public method.

Leave the docs of private methods.

Some variable renaming mostly because of abbreviations.

Add documentation for all the public methods and app_info members and defines
that didn't have docs in the cpp file.
2014-06-25 15:35:09 -04:00
Ithamar R. Adema
5e58d0c597 sync arm bootstrap package list with x86_64
This also adds the libtool_cross_generic package to ARM bootstrap,
which seems to be required for building ncurses successfully. I did
not have the time to verify that this is the case for x86_64 too, so
I'm not yet adding it to there (yet).
2014-06-25 17:30:30 +02:00
Adrien Destugues
621c9d1243 Update bookmark bar item BMessage on file rename.
The ref stored in the message must be replaced to point to the new file
name. Fixes #10962.
2014-06-25 11:13:02 +02:00
Adrien Destugues
158ae74373 Escape reserved characters when converting paths to urls
* Introduce and use BUrl::BUrl(const BPath&)
* The path is url-encoded, and the protocol is set to "file"

Fixes #10964.
2014-06-25 10:45:03 +02:00
Adrien Destugues
6bcbdcc3c0 Use current Errors.h when building libbe_build
This allows adding new error codes to the libbe_build without breaking
the build on older Haiku versions.

Fixes the build for the newly introduced B_PARTIAL_READ and
B_PARTIAL_WRITE.
2014-06-25 08:59:14 +02:00
John Scipione
2ea139b8a3 BString docs: Document undocumented methods 2014-06-24 20:45:51 -04:00
John Scipione
c4b9309a99 Update Support Kit docs, add \since
Also add preliminary documentation for BObjectList.
2014-06-24 19:30:54 -04:00
John Scipione
29e8fa5922 Style fixes to Support Kit files 2014-06-24 19:30:54 -04:00
Rene Gollent
2661ce4605 Debugger: Implement #10970.
- If a source file cannot be found, and the user clicks the item to locate it,
  Debugger now attempts to query all volumes for the corresponding filename.
  If any are found, they are presented in a menu, along with an option to
  locate the file manually as before (since the file may potentially live on
  an unindexed volume). If no matches are found via query, we fall through to
  the file panel directly as before.
2014-06-24 17:39:04 -04:00
Joseph R. Prostko
f7566626e5 Add packages for Fossil SCM 1.29
* These packages are for x86_gcc2, x86, and x86_64
2014-06-23 23:03:43 -04:00
Ingo Weinhold
5ede33ed15 BDataIO: Hopefully fix native build 2014-06-23 23:18:00 +02:00
Ingo Weinhold
84297881bb Remove BPackageKit::[...]::AbstractDataWriter and friends
* FDDataWriter and ZlibDataWriter weren't used anymore.
* AbstractDataWriter was implemented only by PackageFileHeapWriter,
  which was only used by WriterImplBase.
* Add a PackageFileHeapWriter::AddDataThrows() which has semantics
  equivalent to the previously inherited WriteDataThrows().
2014-06-23 22:58:15 +02:00
Ingo Weinhold
32832cbe47 Remove BPackageKit::BDataOutput
Use BDataIO instead.
2014-06-23 22:58:15 +02:00
Ingo Weinhold
0d8b44e25b BDataIO: Add methods {Read,Write}Exactly() 2014-06-23 22:58:15 +02:00
Ingo Weinhold
dec78bb27c Add new error codes B_PARTIAL_{READ,WRITE} 2014-06-23 22:58:15 +02:00
Ingo Weinhold
98759fe6e6 BDataIO: Provide default implementations for Read()/Write()
This makes the interface somewhat more suitable for unidirectional use,
since one doesn't have to implement the other, not needed method.
2014-06-23 22:58:14 +02:00
Oliver Tappe
4e37addd2f Add HAIKU_PORTER_EXTRA_OPTIONS variable.
* This can be used to add arbitrary options to invocations of 
  haikuporter.
2014-06-23 17:19:45 +02:00
Jessica Hamilton
6b87960fe6 WebPositive: rename DownloadCanceled to match semantics. 2014-06-23 20:01:31 +12:00