Commit Graph

43617 Commits

Author SHA1 Message Date
Alexander von Gluck IV
a6d45c67d7 R1A4.1: Update image file names
* Reduce CD image size slightly
2012-11-14 15:11:45 -06:00
Rene Gollent
01808ce939 Fix #9148 and probably #9128.
uninit_timers() needs to wait for the timer thread to exit before
deleting the timer mutex.
2012-11-14 09:11:23 -06:00
Michael Lotz
2acdce3560 Fix iterator in hash_remove_current() to not skip elements.
When iterator->current is NULL, hash_next() assumes we've reached the
end of a bucket (linked list) and moves to the next one. Wehn the first
element of a linked list was removed in hash_remove_current()
iterator->current was set to NULL, causing the next call to hash_next()
to skip over the rest of the list of that bucket.

To fix this we now decrement iterator->bucket by one, so the next call
to hash_next() correctly arrives at the new first element of the same
bucket. Doing it this way avoids having to search backwards through the
table to find the actual previous item.

This caused modules to be skipped in module_init_post_boot_device()
when normalizing module image paths so some of the module images ended
up non-normalized. This could then cause images to be loaded a second
time for modules that were part of an actually already loaded image.
This setup is present for the PCI module with the pci/x86 submodule
and would lead to a second copy of the PCI module image to be loaded
but without being initialized, eventually leading to #8684.

The affected module images were pretty much random, as it depended on
the order in which they were loaded from the file system, in this case
the boot floppy archive of the El-Torito boot part of ISO and anyboot
images. The r1alpha4 release images unfortunately had the module files
ordered in the archive just so that the PCI module image would be
skipped, allowing #8684 to happen on many systems with MSI support.

Since the block cache uses hash_remove_current() as well in some cases,
it is possible that transactions in its list could've been skipped.
Cursory testing didn't reveal this to be a usual case, and it is
possible that in the pattern it is used there, the bug wouldn't be
triggered at all. It's still possible that it caused rare misbehaviour
though.
2012-11-14 14:40:01 +01:00
Niels Sascha Reedijk
7614c8f885 Update userguide translations. 2012-11-07 20:08:18 +01:00
Humdinger
dbf46985ae Changing 'Blinking cursor' in settings too.
+alpha4. quick, quick..
2012-11-07 12:55:23 -06:00
Niels Sascha Reedijk
db8823a914 Update translations from Pootle 2012-11-07 19:18:26 +01:00
Alexander von Gluck IV
bf289d6ffc R1A4: Force installoptionalpackage to use R1A4 branch
* Change by mmadia
* This tests ok but may need last minute changes before
  the release
* Hopefully solves #9122
2012-11-07 10:23:23 -06:00
Alexander von Gluck IV
a46eb0dfcc R1A4: Uncomment HAIKU_OFFICIAL_RELEASE in R1A4 branch 2012-11-07 09:47:24 -06:00
Rene Gollent
34587991c2 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 08:14:33 -06:00
Rene Gollent
bd2cc50018 Persist watchpoints in TeamSettings. 2012-11-07 08:14:23 -06:00
Michael Lotz
3af5af9481 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 08:12:25 -06:00
Michael Lotz
e719d2bf5c 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 08:12:13 -06:00
Axel Dörfler
c9d6348af3 Unbroke GCC4 BRect const compatibility.
* This can be removed again next time all GCC4 packages are rebuilt for
  whatever reason.
2012-11-07 07:49:34 -06:00
Rene Gollent
f4677735ca 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-07 07:49:25 -06:00
Rene Gollent
aab6f715c9 Add TODO note. 2012-11-07 07:49:13 -06:00
Axel Dörfler
13434be8e1 Added BLayoutBuilder::{Group|Grid}::SetExplicitAlignment(). 2012-11-07 07:49:04 -06:00
Axel Dörfler
54dbbef088 BMessage::Append() is now actually working. 2012-11-07 07:48:48 -06:00
Axel Dörfler
2de44bbde7 Added BPath::IsAbsolute() method. 2012-11-07 07:48:38 -06:00
Axel Dörfler
43d413e3f7 The text control is now more flexible with its layout items.
* Before, you had to have both, the text view layout item, and the label
  layout item or else nothing would ever be visible.
* Now you can only create the text view item, and it will still work.
* Also, no matter the order you added the layout items, they would always
  put the label on the left, and the control to the right.
* You can place the label and text view layout items anywhere now, although
  you should keep in mind that the view spans over their frame unions; IOW
  they should always adjacent to each other, but not necessarily horizontally
  and left to right.
* No longer uses a fixed label spacing, but utilizes
  BControlLook::DefaultLabelSpacing() instead.
* However, the spacing is always added to the right of the label, no matter
  how you place it in the layout. Maybe one wants to add a SetLabelTextViewGap()
  like method.
2012-11-07 07:48:29 -06:00
Axel Dörfler
d780464544 Made the BRect::*Copy() methods const as they should have been. 2012-11-07 07:48:19 -06:00
Axel Dörfler
f9c3ebc53e Added Grid::AddGlue(), and SetExplicit*Size() methods. 2012-11-07 07:48:06 -06:00
Axel Dörfler
bcc420b556 Added method SetExplicitSize() for convenience. 2012-11-07 07:47:55 -06:00
Oliver Tappe
5a0a951419 BTextView uses cmd instead of ctrl for navigation
* Adjust BTextView to use B_COMMAND_KEY instead of B_CONTROL_KEY
  for wordwise navigation and jumping to the top and bottom.
  This requires a shortcut, which is only installed if there is
  none already (for the groups B_LEFT_ARROW/B_RIGHT_ARROW and
  B_HOME/B_END). As a result, wordwise navigation no longer works
  in Mail, for instance.
2012-11-07 07:45:00 -06:00
Oliver Tappe
f8e4b43426 Add BWindow::HasShortcut() 2012-11-07 07:44:48 -06:00
Oliver Tappe
c06e2f05d9 Use SHIFT to accelerate scrolling via the bar arrows. 2012-11-07 07:44:39 -06:00
Oliver Tappe
994d894370 Adjust modifier for fast scrolling to match other OSes.
* instead of any of (OPTION, COMMAND, CONTROL), use SHIFT to
  trigger accelerated scrolling via the mouse wheel
2012-11-07 07:44:28 -06:00
Oliver Tappe
ffa15d31af add test for strptime() to locale_test 2012-11-07 07:44:18 -06:00
Oliver Tappe
8e74f05de6 Drop "protected"-define from bsd-compatibility header
* drop "protected" from bsd-compat header sys/cdefs.h, as that define
  pollutes the global namespace and at least FreeBSD doesn't provide
  it anymore
* remove all uses of that macro from libedit, which seems to be the
  only user in our tree
2012-11-07 07:42:51 -06:00
Humdinger
06cac54121 Improved string of new Terminal setting. 2012-11-07 07:17:42 -06:00
François Revol
1ca1786fe6 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-07 07:17:33 -06:00
Adrien Destugues - PulkoMandy
b403867756 Use Web+ tabs close button
Fixes #9566
2012-11-07 07:17:23 -06:00
Jonathan Schleifer
0b4f4c6843 Terminal: Fix cursor blinking.
Signed-off-by: Adrien Destugues - PulkoMandy <pulkomandy@pulkomandy.tk>
2012-11-07 07:16:21 -06:00
Jonathan Schleifer
6b0d18cd44 Terminal: Make the cursor color configurable.
Signed-off-by: Adrien Destugues - PulkoMandy <pulkomandy@pulkomandy.tk>
2012-11-07 07:16:10 -06:00
Jonathan Schleifer
82d4090ea9 Terminal: Make cursor blinking an option.
Signed-off-by: Rene Gollent <anevilyak@gmail.com>
2012-11-07 07:16:00 -06:00
threedeyes
f1f8037f5a Enable NTFS partition type in PartitionMap. Now we can create ntfs partitions. 2012-11-07 07:08:48 -06:00
threedeyes
6fe49dd7c4 NTFS: renamed [NTFS File System] to [NT File System] to be consistent with Be File System 2012-11-07 07:08:34 -06:00
threedeyes
05c6916ab5 Fixed wrong parameters order 2012-11-07 07:08:21 -06:00
Siarzhuk Zharski
9d53613524 Ensure that KeymapSwitcher does not get stripped on Release build.
See #8603 for history.
2012-11-07 06:30:05 -06:00
Alexander von Gluck IV
8a0905a42c R1A4: Add KeymapSwitcher into image
* This is a modified hrev44784
2012-11-07 06:29:52 -06:00
Siarzhuk Zharski
92f0883bd9 KeymapSwitcher package updated to version 1.2.7.5
* Fixed issue with unwanted keymap switching in case UnZip started in
* background (expanding optional packages during Haiku build, for
* example). UnZip executable has no background application flag
* for unknown reason.

+alpha4
2012-11-07 06:28:11 -06:00
Niels Sascha Reedijk
15cad347fb Update translations from Pootle 2012-11-07 06:36:19 +01:00
Adrien Destugues - PulkoMandy
993467576e Update to fRiSS version 0.7
+alpha4
2012-11-06 22:05:26 -06:00
czeidler
85c13c5436 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 22:03:06 -06:00
Rene Gollent
4f47342978 Fix gcc2 warning. 2012-11-06 22:00:32 -06:00
Rene Gollent
0c89bc9813 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 22:00:11 -06:00
Jerome Duval
2d8057816a 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 14:19:36 -06:00
Alexander von Gluck IV
98ef5823a9 R1A4: Disable kernel serial debugging 2012-11-06 12:27:22 -06:00
threedeyes
e1dc5e2a7b DriveSetup: Added ntfs support. 2012-11-06 08:28:51 -06:00
threedeyes
1ebf320463 NTFS: Added simple disk_system add-on for ntfs 2012-11-06 08:28:40 -06:00
threedeyes
0b2437e2ed NTFS: Initial support for volume initialization
* Moving files taken from ntfs3g in a separate folder.
* Added files from ntfsprogs: mkntfs.c
* Initial support for initialization
2012-11-06 08:28:27 -06:00