Commit Graph

39567 Commits

Author SHA1 Message Date
Axel Dörfler
105fd85c3a * Removed TypedGroupListModel - without GCC2's covariant return type handling,
it's not really worth the effort.
* Added missing libstdc++ to the build.
* This fixes the GCC4 build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-29 08:17:27 +00:00
Scott McCreary
cb23dea57a Updated bepdf OptionalPackage for alpha3.
+alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-29 07:36:21 +00:00
Alexandre Deckner
d797e0629c * Return a zero width and empty destination string when there's no destination dir. Fixes #7462 +alpha3
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-29 01:05:18 +00:00
Siarzhuk Zharski
63d46f24e2 Belarusian Localization files updated from HTA.
+alpha3



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-28 22:46:12 +00:00
Michael Lotz
305aff3f78 * Changed the way how devices are enumerated and protocol handlers are added to
handle the different device classes. Handlers are now added based on the
  application collections that the HID descriptor describes instead of by
  enumerating the different report items inside the reports. This means that a
  device is now logically treated as a mouse when it comes with an application
  collection that designates it as a mouse, instead of when there is a report
  that contains an X and a Y axis. This resolves the conflicts that gamepads
  and joysticks were added as mice due to them containing such elements. This
  therefore fixes #4499 and opens up the way to properly handle other device
  types like joysticks (#7429), gamepads, tablets (#7354, #5989 and #7481) and
  so on. I'll work on gamepads/joysticks next and see where we stand for tablets
  later.
* Added a few enumeration functions to HIDCollection to support the above.
* Fix the root collection handling. A device doesn't describe a single root
  collection and then adds everything as a child. Instead it just has multiple
  collections on level 0. We account for that now by always creating an empty
  logical collection as the root collection where all the collections of the
  descriptor get added.
* Rename the {Mouse|Keyboard}Device.{cpp|h} to
  {Mouse|Keyboard}ProtocolHandler.{cpp|h} as that more clearly describes their
  purpose. These classes are protocol handlers, i.e. they handle the ioctl based
  mouse and keyboard protocol between the driver and the input_server add-ons.
* Change a lot of stuff to use references instead of pointers where it makes
  sense (not necessarily complete yet).

I've tested this successfully on a keyboard with extended keys, a combo device
with a keyboard with extended keys and a mouse, a mouse and a gamepad (that now
doesn't do anything anymore) and found no regressions. However, since there are
a lot of very varied ways how to describe such functions with HID, it's not too
unlikely that some more curiously described devices will now stop working. These
have to be handled case by case and their usages have to be added to the added
to the appropriate handlers (or new handlers have to be written). Please test
and create bug reports (preferrably including the report descriptor that is
written out to /tmp).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-28 19:59:02 +00:00
Alexander von Gluck IV
3035edeb39 add Radeon HD2600 PCIID, Thanks Benjamin A!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-28 16:29:16 +00:00
Clemens Zeidler
bef39d09af Make the app test suite partial compile again (gcc4). Commented out the cursor and message tests because I was not sure how to fix it. The UnitTester fails to load the addon, though. It can't get the symbol from the lib, any idea?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-28 07:16:21 +00:00
Scott McCreary
d6497b0619 Roll back previous change since the new icu packages have 229 files and the old ones only had 8.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-27 22:45:43 +00:00
Scott McCreary
31327d3a86 Rebuilt icu gcc2 and gcc4 OptionalPackages, and armyknife gcc2 package for alpha3.
+alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-27 22:34:52 +00:00
Axel Dörfler
48ae3e3808 * Followed Ingo's suggestion, and added a BWindow::Layout() method.
* Changed ShowImage to use that function.
+alpha in case Ingo gives his okay :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-27 22:21:59 +00:00
Alex Wilson
c67a3f98ab Shrink Media preflet main window by removing doubled spacing in one place, and using default spacing (11.0f) in place of a custom spacing (14.0f).
+alpha


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-27 21:51:39 +00:00
Scott McCreary
9000a31cc1 Updated gcc4 build of transmission, added a gcc2 build, and removed gettext dependency for transmission.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-27 19:04:46 +00:00
Joachim Seemer
c7d810881a Updated catkeys from HTA. Replaced false Chinese catkeys with the correct ones. Looks like ReadOnlyBootPrompt should now be available in be, de, fi, fr, ja, ru, sv. All other translations should finish and validate that catalog really soon or it wont make it onto the alpha3. +alpha3
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-27 19:00:03 +00:00
Jérôme Duval
3cd099e2d4 Patch from Jérôme Leveque: Work in progress: code cleanup (includes dos newlines and 80 chars by line)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-27 18:59:25 +00:00
Jérôme Duval
d61187a1f3 Patch from Pete Goodeve (ticket #7581): MIDI Pitchbend scaled wrongly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-27 18:29:07 +00:00
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