Commit Graph

39552 Commits

Author SHA1 Message Date
Axel Dörfler
abed26b20a * Removed the "Standard" from "Lithuanian (Standard)" - the name without any
suffix is the standard for all other keymaps but this one.
* As a side effect, this allows ReadOnlyBootPrompt to select the right keymap
  for Lithuanian as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-27 16:09:02 +00:00
Rene Gollent
dd00f75632 Remove duplicate dependency line for curl.
+alpha



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-27 16:07:01 +00:00
Axel Dörfler
2fba0c20d1 * Now switches the keymap according to the language. If there is no matching
keymap, it falls back to US-International, as before.
+alpha


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-27 16:06:00 +00:00
Axel Dörfler
eaa910c505 * We obviously need to relayout manually, as it looks like the view is not
layouted correctly after the resize. This fixes bug #7577. Ingo, is this
  the desired behaviour of the layout engine, and if so, what's the rationale
  behind it?
* Removed extraneous FitToBounds() call in ShowImageView::SetHideIdlingCursor();
  it doesn't belong there.
+alpha


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-27 15:28:42 +00:00
Scott McCreary
a23473db54 Updated several more gcc4 and some gcc2 OptionalLibPackages for alpha3, this should now finish the
OptionalLibPackages for alpha3.
+alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-27 04:37:45 +00:00
Alexander von Gluck IV
27dde8e939 small style fix; no functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-27 02:16:00 +00:00
Alexander von Gluck IV
217c0b1d48 Add surface address high handling; set primary and secondary surface frame buffer offset
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-27 02:14:54 +00:00
Matt Madia
5ba77f6925 Partially reverted r41711, as that OpenSSL package potentially breaks other
applications. There is no need for such a change at this time.
 * http://ports.haiku-files.org/changeset/1635
 * http://dev.haiku-os.org/ticket/7534#comment:15
+alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-27 00:46:24 +00:00
Scott McCreary
fd869b573e Fixed typo in the link for libart_lgpl OptionalLibPackage, spotted by MichaelPeppers.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-26 23:15:49 +00:00
Scott McCreary
23f5aa137a Updated gcc4 OptionalLibPackages for alpha3.
+alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-26 22:46:13 +00:00
Scott McCreary
9bdbd4add5 Updated gcc2 and gcc4 vim OptionalPackages compiled by Siarzhuk Zharski
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-26 22:43:45 +00:00
Axel Dörfler
fe80b89072 * Only overwrite the keymap label with "Custom" if there actually is no keymap
selected.
* This fixes #7553.
+alpha


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41762 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-26 18:21:58 +00:00
Alexander von Gluck IV
fffb954b89 add D2 secondary surface address, not sure why it was missing in radeonhd driver
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-26 18:10:43 +00:00
Michael Lotz
caa82f7074 * Don't try to check devices that are obviously not on PCI anymore.
* Fix a warning about pci_address::segment potentially being used uninitialized.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-26 18:05:50 +00:00
Michael Lotz
7ce4456927 * After reading the routing table(s), do another run through the PCI devices and
check if all of them are assigned with a routing entry. If not, as happens for
  PCI add-on cards that ACPI isn't aware of for example, infer the routing by
  calculating it from the PCI default routing and going up through the parents
  until a matching routing entry is found. Fixes #7520.
* This will also panic (for now) in case there remain unroutable devices and
  eventually will prevent the IO-APIC to be used in these cases.
* Enabled some debug output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-26 12:35:02 +00:00
Alexander von Gluck IV
5f6744a8cd * move all register calculation into init_registers to
keep things simple to troubleshoot
* use crt offset only on evergreen, else use AMD provided
  register locations
* init_registers(crtid) is called before making register calls
  to a monitor.
* init_registers supports 1-2 displays on r600-r700
* init_registers supports 1-6 displays on r800+ (AMD eyefinity)
* restore CardBlankSet function in a more simple form
  (still needs init_registers addition)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-26 04:51:57 +00:00
Axel Dörfler
dc3bd077cd * Early work in progress of toying around with the idea to show some useful
panels when touching the screen border with the mouse while holding down the
  CTRL key.
* Right now, a simple running applications list is shown on the top/bottom, and
  a list of the windows of the current app on the left/right edge which you can
  click to front.
* Imagine you could configure this to show various panels like a shelf, a
  query window, workspaces, recent files, favourite files, folder contents,
  have a clipboard for files, ...
* Just wanted to have it in SVN even if it's only barely useful right now - I
  would be glad to hear your opinions on this, and if it's worthwhile to
  continue working on this.
-alpha


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-25 23:19:15 +00:00
Alexander von Gluck IV
2cc7e38c93 temporarly disable screen blanking; setting V/H blank start/end is what was causing empty display, disabled for now; Hardware video mode setting is close!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-25 22:42:37 +00:00
Axel Dörfler
e78a1b6a6f * Reenabled flags via the new BLocaleRoster::GetFlagIconForLanguage() method.
+alpha (also for the previous commit)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-25 17:10:27 +00:00
Axel Dörfler
702526b17f * Added BLanguage::GetIcon(), and BLocaleRoster::GetFlagIconForLanguage(). The
former just calls the latter. Getting the flag for a language is pretty
  simplistic for now, but it won't return the wrong flag, just only a few known
  ones (should be enough for ReadOnlyBootPrompt, at least).
* Ordered methods in declaration order.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-25 17:09:30 +00:00
Axel Dörfler
e050c0c678 * Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-25 15:48:34 +00:00
Scott McCreary
0bc48df539 Updated gcc4 taglib package and fixed typo in mercurial's filename.
+alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-25 13:05:42 +00:00
Rene Gollent
e7d7b1e232 Add debug option to disable the on-screen debug output's paging by default, for
cases such as USB keyboards where the keyboard no longer functions once the 
kernel is entered and the USB stack initializes.

Implements #7561.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-25 02:56:46 +00:00
Alexander von Gluck IV
b1bf2196d3 add an attempted fallback to genisoimage if mkisofs doesn't exist on the system. (debian no longer ships mkisofs) genisoimage is based on an older version of mkisofs and has issues with long filenames. The genisoimage iso-level override makes the image work and allows long filenames but may introduce issues? placed a warning to the user that genisoimage is a fallback
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-25 02:13:13 +00:00
Ingo Weinhold
e5003582d1 Reverted r41727. Accidentally committed to wrong branch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-25 00:46:11 +00:00
Ingo Weinhold
38894ae9a8 Fixed check. sigset() is supposed to return the previous signal disposition,
respectively SIG_HOLD, if the signal was blocked.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-25 00:41:57 +00:00
Michael Lotz
cb80e931f6 * Turn around finding the routing table on a PCI bridge and checking for it to
actually be a bridge. We always want to check if the device at hand is a PCI
  bridge, because in that case we need to recurse further down. We recurse now
  even if there is no routing table found for the current bridge, since that
  doesn't mean that another bridge, further below, can't have a routing table
  again. Possibly fixes #7520.
* Fix the matching function to just check for function 0 to be present instead
  of classifying it. Previously if there happened to be a cardbus bridge on
  function 0 of a multi function device, the rest of the functions of the device
  would've been ignored because we returned early due to the unsupported bridge.
* Only hand down the current bus number when recursing as that makes it clearer
  what's going on instead of handing in a partially filled out pci_address
  structure and then filling in other parts inside the function.
* Commented out getting the segment number as we don't support it at all.
* Extended debug output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-25 00:11:33 +00:00
Alexander von Gluck IV
3be5e03652 * rename graphics_memory to frame_buffer. lets keep consistant
* pass mapped frame buffer area id to accelerant
* remove my temporary hacked together frame buffer memory mapping
* completely rely on PCI BAR for now for aperture size / location instead of
  R6XX_CONFIG_FB_BASE reg.
* Remove my temporary AllocateFB function.
* set grphPrimarySurfaceAddr to physical memory frame buffer location (offset 0)
* fix P/N sync setting.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-24 22:08:54 +00:00
Michael Lotz
901c33fcd0 Replace the $(...) syntax with backticks instead.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-24 21:14:41 +00:00
Scott McCreary
4d2ca803f6 Updated several more gcc4 OptionalPackages, including sed, tar, vision, pe and others.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-24 20:36:19 +00:00
Michael Lotz
85d9520ec4 Use gsed instead of sed on Mac OS X as the builtin sed doesn't support all the
options we need. This still requires gsed to be installed from ports.
Fixes #7563.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-24 19:23:56 +00:00
Jérôme Duval
bccbe7a7b9 Patch from Pete with changes by myself (bug #7558): BMidiSynth destructor should delete be_synth.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-24 18:39:04 +00:00
Joachim Seemer
cbe53dacb8 Added Chinese and Russian flags. Fixes #7566. Thanks taos for noticing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-24 18:02:15 +00:00
Michael Lotz
35e8baa6b0 Fix typo in error output and a little automatic whitespace cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-24 17:01:35 +00:00
Scott McCreary
43eaff044c Updated a few dozen gcc4 OptionalPackages for r1a3. Note that these were all
built in an r1a3 gcc4 only environment.  
+alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-24 15:48:45 +00:00
Rene Gollent
e26b9867f0 Build fix, removed one line too many.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-24 12:34:05 +00:00
Rene Gollent
5e3eb88b1c Cleanup: no need for parsing since the kernel settings will handle semicolon separated options directly. Thanks Axel!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-24 12:10:57 +00:00
Rene Gollent
8837310ce7 * Slightly alter the semantics of the input gathering function to take the
menu item it's associated with rather than an input string. This allows it
  to calculate the position to start the input at, as well as the correct
  line to place it on. The previous solution always put the input at the
  center line, which happened to be the right place by happy coincidence
  unless one also had the menu items for viewing/saving the debug syslog
  present.
* Implement input buffer scrolling, and consequently lift the previous size
  limit on user input (it is now only limited by the size of the passed in
  buffer).
* Implement parsing of the input buffer to allow it to handle comma-separated
  options. Thus, one can now input things like "disable_smp true, serial_debug_output false"
  and it will be handled properly.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-24 03:21:51 +00:00
Michael Lotz
c05a3fa6a7 We obviously need to mask off the interrupt threshold value before overwriting
it with our new setting. Otherwise we might end up with an illegal value as the
interrupt threshold which might inhibit interrupt generation alltogether
depending on the controller implementation. This was the case for the ATI/AMD
SBx00 chipsets. Therefore fixes #5551.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-23 21:53:12 +00:00
Michael Lotz
fe81732aca Tiny cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-23 21:48:40 +00:00
Michael Lotz
ce44796e34 Introduce simplistic poll mode for EHCI. If enabled a thread will run the
interrupt handler every millisecond so it can check for interrupts to handle.
While this is certainly not ideal, it allows EHCI to run (surprisingly well
even) on chipsets that experience interrupt routing issues.
It can be enabled with the safemode setting "ehci_polling on" that can either
be entered using the new advanced debug option entry in the bootloader and/or
in the kernel settings file.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-23 20:50:21 +00:00
Alex Wilson
9b2ea762db * Fix layout problem which appeared with the introduction of CollapsingLayouter. Basically, one of the layouts expected empty columns to act like glue, which is how they worked at the time. Now use BSpaceLayoutItem::CreateGlue() to get equivalent behaviour.
* Also do a very small bit of refactoring, to have MediaFileInfoView take better charge of its max size.
+alpha


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-23 18:27:29 +00:00
Michael Lotz
2c0d5258df Of course the PIC mask register is a _mask_ and the enabled interrupts are the
ones that aren't masked. This reversed the enabled interrupts and therefore
disabled the already installed ACPI SCI handler and wrongly enabled the other
interrupt pins instead on PIC to IO-APIC handover. Probably fixes #7525.
+r1alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-23 18:01:59 +00:00
Michael Lotz
f599932f82 * Simplify APIC writes.
* Add explicit volatile keyword.
* Minor variable name cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-23 15:02:05 +00:00
Michael Lotz
2ae3d5121c Switch to using the PIT in mode 0 (interrupt on 0) instead of mode 2 (rate
generator). There are chipsets (namely ATI/AMD SBx00) where mode 2 doesn't seem
to work (the counter isn't reloaded after the countdown has completed). Mode 0
has the same resolution as mode 2 and, as interrupts are disabled at this point
in booting, is otherwise equivalent as well. I've tested this on 5 machines
available to me and it doesn't seem to have any negative effect.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-23 14:51:42 +00:00
Michael Lotz
7adc7269d8 * Re-program the timer for each loop instead of waiting for it to wrap around.
With that we will usually start right away without having to wait for the
  timer to be in the desired state, which removes roughly 116ms of spinning
  around for a normal calibration run.
* Read back the value once after programming. The delay this introduces
  accounts for the fact that the counter will only start counting down on the
  next clock cycle.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-23 13:25:44 +00:00
Michael Lotz
2d62c17d26 * Add a limit to how often we retry the calibration. It's there as an upper
bound to prevent spinning forever if we have a very unstable TSC that we
  simply can't calibrate. Shouldn't really happen though.
* Set the gate low for channel 2 on exit if we used it as the counter.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-23 12:36:43 +00:00
Michael Lotz
34d3f13c64 * Put the calibration loop into a static inline function and replace the three
copies of it with a call to that.
* Make the variable names more readable and spacing cleanup.

No functional change intended.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-23 11:15:51 +00:00
Michael Lotz
d620303480 * Use macros to make the PIT programming more readable. Yes, I know that the PIT
timer code has such definitions too, but they're not quite as verbose. Will
  eventually make the latter use these too.
* Prepare for possibly using other PIT channels for the calibration. Right now
  everything's the same still.
* Add disabled print of the resulting factors.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-23 10:33:10 +00:00
Ingo Weinhold
10919035c8 PlainTextCatalog::WriteToFile(): Escape characters in the comment string.
Hopefully undoes the string changes seen on HTA since r41629.

Note that the asymmetric escaping/unescaping (PlainTextCatalog::WriteToFile()
vs. BHashMapCatalog::SetString()) is rather broken and needs to be fixed.

+alpha I guess.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-22 21:21:01 +00:00