Commit Graph

48641 Commits

Author SHA1 Message Date
Adrien Destugues
de9cdfb46c Update HaikuWebkit to version 1.2.1.
* This fixes the crash on trying to download something, and has some new
features as well.
2013-12-11 17:30:00 +01:00
Adrien Destugues
824dd0a834 Reintroduce BUrlResult and add BDataRequest
* BUrlResult is back, with ContentType and Length methods.
* BHttpResult subclasses it and use HTTP header fields to implement
those
* Introduce BDataRequest for "data" URIs. These embed the data inside
the URI, either as plaintext or base64 encoded.
2013-12-11 17:29:25 +01:00
François Revol
d43ede6002 Add an icon for Open Cubic Player (ocp)
The best I could do, feel free to fix.
2013-12-11 08:27:25 +01:00
Ingo Weinhold
781671ad5b dump_mapping_info(): Remove problematic initializer
Fixes gcc 2 build.
2013-12-10 23:17:43 +01:00
Ingo Weinhold
523b866f89 HaikuImage*: Create missing writable dirs in ~/config
Also reduce code duplication by moving the respective code to
HaikuImageCommon.
2013-12-10 23:17:43 +01:00
Stephan Aßmus
96c5f7eda4 HaikuDepot: Fixed some inconsistencies in List.h 2013-12-10 23:07:16 +01:00
Stephan Aßmus
55ef89adc2 HaikuDepot: Update the correct view for given notification 2013-12-10 22:36:49 +01:00
Stephan Aßmus
a60a23f886 HaikuDepot: Clean up how PackageInfo is populated
* Remove the stuff from constructor, which cannot be known at the time
   (icon and changelog).
 * Added setters for those and notification handling (not yet in the
   listeners).
 * Add more PackageInfoListener flags.
 * Populate categories and dummy user ratings for "wonderbrush". This
   code was still in from testing, but the package name is actually
   different in real PM.
2013-12-10 22:36:48 +01:00
Puck Meerburg
eb8e4edca5 MediaReplicant: Middle button mute/unmute support
* Add mute/unmute support by clicking middle mouse button
  on media replicant;
* Fixes #7468.

- GCI 2013
2013-12-10 21:25:25 +01:00
Freeman Lou
93d99e8353 DriveSetup: propose to force unmount if umount failed
* Propose to repeat unmount attemp with force unmount flag in case the unmount
  attempt was unsuccsessful;
* Fixes #8548;

- GCI 2013
2013-12-10 21:25:23 +01:00
Freeman Lou
5ff76056f7 Screenshot: Alt-D/H/A/F s.cuts to select target folder
* Fixes #7987.

- GCI 2013
2013-12-10 21:25:20 +01:00
Freeman Lou
7470dfe2d3 DiskUsage: Change background color to parent one
* Fixes #7985.

- GCI 2013
2013-12-10 21:25:17 +01:00
Thomas Schmidt
ab967391f4 ps: Support -o option to customize team info columns
* Add option -o to customize team info columns output;
* Fixes #10156.

- GCI 2013
2013-12-10 21:25:15 +01:00
Ezo
f43a6c9aab Devices: implement copy to clipboard in device info page
* Add support for copy to clipboard on device information pages;
* Fixes #8880.

- GCI 2013
2013-12-10 21:25:12 +01:00
Ezo
579c4d6e5f StyleEdit: non-modal Find/Replace windows implementation
* Switch to non-modal floating windows for Find/Replace dialogs,
  preserve parameters of the previous search in this editor session;
* Fixes #10053.

- GCI 2013
2013-12-10 21:25:10 +01:00
Ingo Weinhold
b28411fdfe HaikuPorts x86_gcc2: Add missing libpcre_devel package 2013-12-10 21:06:32 +01:00
Ingo Weinhold
c259766f94 KDL "mapping" command: Allow specifying a thread ID
... instead of only a team ID.
2013-12-10 19:13:56 +01:00
Ingo Weinhold
5d3978dbe7 KDL "mapping" command: Fix argument check
It wasn't possible to actually specify the second argument (team ID).
2013-12-10 19:13:08 +01:00
Ingo Weinhold
a3fe978f8a boot loader: Always show 4 GB memory limit safemode option
On x86 we mainly want to disable PAE, which is now also used with less
memory as long as NX support is available. Ideally we'd check this
condition as well and only add the menu item, if the kernel would
enable PAE.
2013-12-10 19:12:16 +01:00
Ingo Weinhold
fc7801bc6f boot loader: apply_boot_settings(): Replace string literal 2013-12-10 19:08:07 +01:00
Ingo Weinhold
647b768f54 x86: Disable PAE, if 4 GB memory limit safemode is set 2013-12-10 19:07:01 +01:00
Ingo Weinhold
9bdb5e0a92 kernel safemode: Add functions to get options early
Add get_safemode_option_early() and get_safemode_boolean_early() to get
safemode options before the kernel heap has been initialized. They use a
simplified parser.
2013-12-10 19:05:47 +01:00
Ingo Weinhold
7a1e706df7 safemode.h: Update coding style 2013-12-10 17:07:20 +01:00
Stephan Aßmus
84ec24f2ff CharacterStyleData: Added some comments in the header 2013-12-10 12:41:46 +01:00
Stephan Aßmus
415a1d65ee HaikuDepot: Display when some info is unavailable. 2013-12-10 12:41:46 +01:00
Stephan Aßmus
42434b0d5a MarkupParser: Make the normal text styles available. 2013-12-10 12:41:45 +01:00
Rene Gollent
dad4ae32f1 Debugger: Fix race condition.
- For the functionality added to address #10283, we need to wait until we
receive the Team listener's thread state change notification before submitting
the report generation request, else the thread might not actually be stopped
yet when the generator walks the thread list. Should fix some lingering issues
with stack traces sometimes not being returned when using this mode of
operation.
2013-12-09 18:40:45 -05:00
Jérôme Duval
67ba05e6db FloppyBootImage: removed special case for x86_64
* completes hrev46470
* to be noted, adding generic_x86 for x86_64 let Haiku crash on boot.
2013-12-09 19:48:13 +01:00
Adrien Destugues
668ff59870 haiku_secondary: provide libtiff.
This will be removed when we use the libtiff package from haikuports (as
we do for libjpeg and libpng already), but for now the lib is built and
bundled in the package, so we might as well add a provides entry for it.
The main package already does so.
2013-12-09 13:07:45 +01:00
Stephan Aßmus
3c0c19bbf0 HaikuDepot: Should fix 64-Bit build. 2013-12-09 12:25:53 +01:00
Stephan Aßmus
964e6ee15a Shelf: Save() leaked a previous fStream. Untested.
Also, a few style-cleanups along the way.
2013-12-09 12:19:02 +01:00
Stephan Aßmus
870554ac69 HaikuDepot: Hide *_source and *_devel packages by default
* Renamed "Package" main menu to "Tools"
 * Added "Option" menu, containing the two options to show *_devel and
   *_source packages, defaulting to off.
2013-12-08 23:10:37 +01:00
Stephan Aßmus
d543cbfcf6 HaikuDepot: Show message when no package is selected.
the instable layout was irritating. Clicking a package and having the
package info area expand upward could even lead to the clicked packed
to be hidden in the listview. Now a message is displayed and the package
info area already has the correct height.
2013-12-08 14:17:06 +01:00
Stephan Aßmus
1aa7edf0c3 TextDocumentView: Added plain-text copying to the clipboard
* Make the focus view on MouseDown()
 * Also added reaction to focus and window activation changes.
2013-12-08 14:17:05 +01:00
Stephan Aßmus
a9fcf3d6b5 Paragraph+TextDocument: Added GetText() method
* GetText() extracts the text from a certain range as BString.
 * Probably fixed TextDocument::ParagraphAt(), though it is still untested.
2013-12-08 14:17:04 +01:00
François Revol
e36ad522d6 Fix 24d0e21f51 correctly
CreateSubRequest() could still return an error and break out of the
while loop without exiting the outer for loop.

Instead we reset the error code before entering the for loop.
2013-12-08 11:34:07 +01:00
François Revol
664e3fba9b Partially revert 24d0e21f51
This reverts the extra for loop condition from
"do_iterative_fd_io_iterate(): Support sparse files".

When reading a file with more than 8 block_runs, get_vecs() would
return B_BUFFER_OVERFLOW which would never create any subrequest due
to the test on error == B_OK on the loop, but instead just fail.

Except for the get_vecs() return code, where it is not wanted,
the test made no sense as all other assignments are tested directly
or passed around with break.

Works for me but I don't guarantee it's completely correct.
2013-12-08 01:43:02 +01:00
Rene Gollent
e8948527c2 Debugger: Implement #10283.
- When constructing the CLI interface, also pass along the target thread ID
if one was specified.
- If our only reason for starting is to save a report, and we've been given
a specific thread to target, rather than just a team, ensure that the target
thread is in a stopped state prior to saving the report.
2013-12-07 11:15:17 -05:00
Rene Gollent
ffe61f274b Debugger: Extend CLI stop command.
- "stop" now allows optionally specifying a thread ID to stop an arbitrary
thread in the team, rather than always targetting the current one.
2013-12-07 09:59:00 -05:00
Ingo Weinhold
00b42dde0d FD kernel tracing: Capture kernel-only stack traces
* When exec()'ing we'd otherwise get (harmless but annoying) messages
  from vm_page_fault(). With syscall tracing enabled we can get userland
  stack traces anyway.
* Simplify by using TRACE_ENTRY_SELECTOR().
2013-12-07 15:44:22 +01:00
Ingo Weinhold
0a4cbd786c X86VMTranslationMapPAE: Extend kernel tracing
* Beside the physical address also print the PTE flags.
* Also trace Protect(), ClearFlags(), ClearAccessedAndModified().
2013-12-07 15:44:22 +01:00
Ingo Weinhold
3c70914f66 ktracing: TraceOutput::PrintStackTrace(): Fix duplication 2013-12-07 15:44:22 +01:00
Stephan Aßmus
64e87fbaca TextDocumentView: Fix detecting pressed Shift-key. 2013-12-07 15:12:05 +01:00
Stephan Aßmus
2201cea886 TextDocumentView: Selection polishing, I-Beam cursor 2013-12-07 14:40:08 +01:00
Stephan Aßmus
1d70e2ccd4 TextDocumentLayout: Fixed LineIndexForOffset()
It stepped over a wrong number of lines when skipping to the
ParagraphLayout containing the text offset.
2013-12-07 14:40:08 +01:00
Stephan Aßmus
287e53bd89 TextDocumentView: Lock the view focus in MouseDown() 2013-12-07 14:40:07 +01:00
Michael Lotz
57d8dd92ef pthread_join: Retry when interrupted as mandated by POSIX.
The spec explicitly states that pthread_join shall not return EINTR, so
we have to retry the wait when it gets interrupted instead of letting
the error code through.
2013-12-07 14:15:05 +00:00
Stephan Aßmus
03765c1d99 TextDocumentView: Implemented beginnings of mouse-selection 2013-12-07 12:31:35 +01:00
Stephan Aßmus
26fd5e9804 TextDocumentLayout: Added TextOffsetAt()
It iterates over the ParagraphLayoutInfos and finds
the one which must contain the location. Untestet.
2013-12-07 12:31:34 +01:00
Stephan Aßmus
e174294891 ParagraphLayout: Added TextOffsetAt()
It returns the text offset at a given coordinate, and whether
the coordinate was more to the left or more to the right of the
glpyh center.
2013-12-07 12:31:34 +01:00