Commit Graph

37612 Commits

Author SHA1 Message Date
Axel Dörfler
a2f6e5ac9c Added missing BMessage::{Get|Set}String() methods.
* Forgot to add those before accidentally.
2012-11-12 23:56:14 +01:00
Jerome Duval
25a627d880 hda: fixes KDL on HDMI, some digital quirks
* avoid crashing in case of lack of playback or record stream
* set format on digital output widgets
* accept digital output on the output path
2012-11-12 21:14:43 +01:00
Ithamar R. Adema
4b2a1d798b ARM: implement arch_cpu_user_memcpy/memset/strlcpy functions
Remove the dummies from the C code and implement them in assembly,
due to the label referencing issues with the fault handler.

This code is ripe for optimisation, my ARM assembly is pretty
basic ;)

Does work though, and gets us one step closer to a full arch.
2012-11-12 20:03:48 +01:00
Ithamar R. Adema
75b285a969 ARM: Fix incorrect panic message.
As noted during BeGeistert and today again by kallisti5, there's a
Pentium reference in the ARM bootloader code.

Correct the message to something more appropriate....

Thanks to Rene for the suggestion ;)
2012-11-12 18:08:41 +01:00
Rene Gollent
22fc56ce8c Correct an oversight. Thanks Ingo! 2012-11-11 12:03:28 -05:00
Rene Gollent
4f9eec722c Add watchpoint capabilities hook to Architecture.
Will be used by the watchpoint manager and/or watchpoint UI to
present and/or handle the relative limitations of the current platform.
2012-11-11 11:32:30 -05:00
Ithamar R. Adema
36b41db7aa Merge common ARM CPU/MMU code
This is to make sure all ARM platforms will benefit from planned work on this
MMU/CPU code. The less code duplicated, the better.

Compile-tested for all supported ARM platforms
2012-11-10 03:03:24 +01:00
François Revol
1346bfbf69 urlwrapper: Handle the doi: URI scheme
The DOI (Digital Object Identifier) is a unique identifier
for (scientific and other...) publications.
While the doi: URI scheme was only a draft, it's not totally unlikely
that we ever hit such a URI, in this case we just redirect to the
official DOI website.
cf. http://tools.ietf.org/html/draft-paskin-doi-uri
2012-11-10 00:51:23 +01:00
Ithamar R. Adema
3d49fa31ec VMCache: Fix broken trace statements 2012-11-10 00:32:30 +01:00
threedeyes
70f32936e9 ICNSTranslator: Minor fixes
* documentIndex not zero-based
* more error handling
* memory leak
2012-11-09 04:15:30 +00:00
threedeyes
0810cfe451 ICNSTranslator: Add icon number for multi-element files 2012-11-09 02:35:37 +00:00
threedeyes
69fb792e76 ICNSTranslator: Fix memory leak 2012-11-09 00:46:22 +00:00
threedeyes
9940067990 Add MIME type for Apple icon 2012-11-08 23:40:10 +00:00
Jerome Duval
5ad12a800d vm_page_allocate_page_run: use a mask to enforce the boundary
* use a mask to enforce the boundary as suggested by Ingo. Thanks!
2012-11-09 00:21:41 +01:00
threedeyes
122e78a5b9 Added translator for Apple icons (icns)
* Read/Write up to 1024x1024 icon sizes.
* All build-in icon sizes available as pages in ShowImage.
* Support only 32-bit icon colors (rgb32 and rgba32) now.
2012-11-08 22:28:47 +11:00
Jérôme Duval
62cff38e78 usb_asix: fix for 88772B
* select RX header format type 1 for AX88772B.
* should help with #8238
2012-11-07 23:55:13 +01:00
Rene Gollent
4549786bad Code reorganization. 2012-11-07 23:19:23 +01:00
czeidler
9abf4591d5 Ok there are some more, thanks Rene. 2012-11-07 21:45:43 +01:00
czeidler
71d45a0f76 Coding style. 2012-11-07 21:37:40 +01:00
Humdinger
a095f503dc Changing 'Blinking cursor' in settings too.
+alpha4. quick, quick..
2012-11-07 19:49:51 +01:00
Ithamar R. Adema
e2b8ceb23c ARM/int: remove CPU fault handler debug output 2012-11-07 17:08:15 +01:00
Ithamar R. Adema
f86b582848 ARM: Cleanup of port support code.
This also implements the fault handler correctly now, and cleans up the
exception handling. Seems a lot more stable now, no unexpected panics or
faults happening anymore.
2012-11-07 16:24:22 +01:00
Ithamar R. Adema
0cf5ecba12 ARM: Add asm_offsets.cpp
This will generate asm_offsets.h which makes our assembly code
easier to maintain by preventing hardcoded offsets for fields within structures.

(copied from X86 and removed the X86 specifics)
2012-11-07 16:24:22 +01:00
Ithamar R. Adema
ff163585ec ARM/threads: Disable debug output
Tracing was accidently switched on by a previous commit.
2012-11-07 16:24:21 +01:00
Ithamar R. Adema
0e5d97e97e ARM/vm: small formatting change and trace fix.
Copy some minor changes over from the X86 paging implementation to keep
the two reasonably aligned. Smaller diff ;-)
2012-11-07 16:24:21 +01:00
Rene Gollent
0ba9bff27d Revert preservation of watchpoints in settings. 2012-11-07 15:26:18 +01:00
Rene Gollent
12c53499e7 More UI support for watchpointgs.
- BreakpointTableModel now encapsulates both breakpoints and watchpoints.
- Extended BreakpointView and TeamWindow to handle enable/disable/removing
  watchpoints as well.
2012-11-07 14:52:00 +01:00
Rene Gollent
c1e45a1e82 Persist watchpoints in TeamSettings. 2012-11-07 14:52:00 +01:00
Michael Lotz
1b1484de7b Workaround possible spurious interrupts in marvell yukon.
This comes from a similar patch in FreeBSD r234666 but does the check
and acknowledge in the case where we don't have any other interrupts.
Since the interrupt isn't used it is never unmasked and therefore the
check against the interrupt mask will always fail if the TWSI IRQ is
the only interrupt that happened. In that case an interrupt storm would
be triggered that lasts until any other valid interrupt comes along, is
handled and both are acknowledged.

This may help with #8454 on some cards that exhibit the spurious TWSI
IRQs.
2012-11-07 14:33:09 +01:00
Michael Lotz
c72218a094 Disable duplicated interrupt disable code in marvell yukon.
Since we now implement HAIKU_CHECK_DISABLE_INTERRUPTS there is no need
to do it again in the interrupt handler. Further, store and carry over
the interrupt status from the hook to the interrupt handler as that is
cleaner and just in case reading the register somehow clears it. May
help with #8454.
2012-11-07 14:28:49 +01:00
Humdinger
63dffc0194 Improved string of new Terminal setting. 2012-11-07 13:22:33 +01:00
threedeyes
cfeeb9ae6f Enable NTFS partition type in PartitionMap. Now we can create ntfs partitions. 2012-11-07 10:43:49 +00:00
threedeyes
1aa6f64953 NTFS: renamed [NTFS File System] to [NT File System] to be consistent with Be File System 2012-11-07 09:24:46 +00:00
threedeyes
a8199d692a Fixed wrong parameters order 2012-11-07 08:39:30 +00:00
Rene Gollent
7c9e4b9a44 Fix gcc2 warning. 2012-11-06 21:57:24 +01:00
Rene Gollent
2a2e3bafa2 Add UI hooks for watchpoints.
This gets basic watchpoint support working. Right clicking on a variable
and picking Watch now opens a prompt with the inferred address, size
and watch type for the user to adjust.

Still needs some work to get them to show/be modifiable in the breakpoints
tab and to get them to respect architectural restrictions (i.e. on x86 we
can realistically only do 2 hardware watchpoints and those are restricted
to write watch), at least until we support software emulated watchpoints.
2012-11-06 20:57:15 +01:00
Axel Dörfler
1cd0e20c56 Unbroke GCC4 BRect const compatibility.
* This can be removed again next time all GCC4 packages are rebuilt for
  whatever reason.
2012-11-06 20:54:34 +01:00
czeidler
6078d891b4 Move stacked windows to a different workspace correctly.
When moving a window of a stacked window group to a different workspace all windows in the stack have to be moved. This fixes #8855.
2012-11-06 20:09:15 +01:00
Jerome Duval
8ddec5b565 vm_page_allocate_page_run: fix previous commit
* remove superfluous codes
* when aligning, sPhysicalPageOffset would be substracted twice
+alpha4

Signed-off-by: Ingo Weinhold <ingo_weinhold at gmx dot de>
2012-11-06 19:40:47 +01:00
Rene Gollent
7bcbf187d0 Optimize column preferred width calculation a bit.
Move calculating the width of the column title itself out to
OutlineView::GetColumnPreferredWidth(). Previously, each pass would
compute the width of both the field itself and the column title,
leading to considerable redundant work. Also, take outline level indent
into account in the resulting width. Should improve performance a bit.
2012-11-06 16:29:19 +01:00
Rene Gollent
9b64b5d241 Add TODO note. 2012-11-06 13:26:41 +01:00
Rene Gollent
7b74c56650 Cleanup: move expression parsing for types to SourceLanguage. 2012-11-06 12:22:06 +01:00
Rene Gollent
4235cb3e33 Start adding the underlying infrastructure for watchpoint support. 2012-11-06 11:46:27 +01:00
John Scipione
553b6b2123 Fix gcc2 build along with some (minor) style issues 2012-11-06 00:45:53 -05:00
Rene Gollent
662b04ff7d listsem didn't actually support the -s option its help listed.
Minor cleanups.
2012-11-06 01:04:44 +01:00
Jérôme Duval
f5a14b17df vm_page_allocate_page_run: fix for aligned page allocations
* don't enforce a zero boundary or a zero alignment
* when going to the next range, takes alignment into account.
  It could previously just be enforced again through alignment and loop infinite.
* it should help with some FreeBSD based drivers
2012-11-06 00:41:08 +01:00
François Revol
3704c0f8b1 Add a totally useless Shelf screensaver
* Allows dropping replicants, and showing them later on when idle.
* Needs some cleanup.
2012-11-05 23:15:50 +01:00
czeidler
24ad8261a9 Integrate patch from jessicah #8937. Thanks!
- navigate in a single S&T group using (win + left and right arrows)
- minor fixed to the patch
- enable switching between S&T groups on the same desktop again (win + up and down arrows)

Hope window key + arrow keys does not collide with to many apps?
2012-11-05 22:25:46 +01:00
Rene Gollent
35cadd6f3c Add watchpoint support in DebuggerInterface. 2012-11-05 20:48:33 +01:00
François Revol
ca0d271159 Terminal: Add a tooltip when in fullscreen mode
* When in full screen mode, add a tooltip with the window title,
and a keyboard shortcut hint so one knows how to get out of it.
Should help with #7356
* 80 column cleanup
2012-11-05 20:03:53 +01:00