Commit Graph

39537 Commits

Author SHA1 Message Date
Jérôme Duval
e761436dee Also enables the Initialize menu when the partition is also a device: Hopefully should fix #7572.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41842 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-30 21:42:35 +00:00
Clemens Zeidler
a4710c0d46 Move ServerConnection class from the IMAP add-on to libmail.so. This avoids to init SSL each time an IMAP add-on
is loaded. SMTP and POP still have this problem! TODO: use the ServerConnection class in these add-ons too.
This would also remove a lot of #ifdef SSL form these add-ons. Will not do it in the near future, feel free to fix it
...



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-30 21:36:06 +00:00
Axel Dörfler
3feabba6d9 * Applied patch by idefix that fixes IDE. Nah, that fixes launching BootManager
when mimset didn't run yet. This obviously cleans up after a change that I
  did, thanks a lot!
* This closes bug #7595.
* Also took the opportunity to clean up a bit more in this regard, and fixed a
  few coding style violations.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-30 21:17:10 +00:00
Michael Lotz
b5274bc4f6 Pass read and write calls to the protocol handlers as well, moving the default
of returning B_ERROR to the ProtocolHandler base class. Not used yet, but will
be used for the BJoystick <-> JoystickProtocolHandler.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-30 19:53:14 +00:00
Jérôme Duval
6ec9dff3f3 ppc build fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-30 19:51:45 +00:00
Ingo Weinhold
ad63c6796c Improved debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-30 18:48:10 +00:00
Oliver Tappe
d9a26469df Fix #6969 (hopefully for real this time):
* move all the isw... functions from wchar.h to wctype.h (just following version 7
  of the POSIX base specs)
* remove all declarations from wchar.h that are in wctype.h, too


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-30 18:44:22 +00:00
Joachim Seemer
1838417186 Added flag for Esperanto. Updated CountryFlags.rdef. Thanks dejam for noticing. Fixes #7614.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-30 17:56:46 +00:00
Philippe Houdoin
d28b0b06d0 Of course, when incomptability kick in, it's never limited only to
option string: FreeBSD's stat command line don't use  %s format specifier for
file size. Instead, %s specifier is unused at all and they goes with %z.
For file Zize, I guess...



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-30 13:31:56 +00:00
Philippe Houdoin
c3510ace83 When building floppy boot image on FreeBSD, the stat command line fail on
the -c/--format option which is unsupported on this platform.
Add a fallback, which should fix #7613.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-30 09:52:08 +00:00
Clemens Zeidler
b58ab52cd6 SSL should be thread safe (right?) but SSL_library_init function and SSL_load_error_strings are not, or they should be called only once...
Remove extra ssl lock, there is already one in ssl.
This fixes #7574. I have seen this or a similar bug before and it was quit reproduceable, now it seems to be fixed.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-30 05:46:10 +00:00
Scott McCreary
9b2b1098ae Updated libsdl-1.2.14 to 1.2-hg which contains several fixes for Haiku.
+alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-30 05:29:13 +00:00
Clemens Zeidler
4b4ae23e28 Workaround for #7575. There seems to be something fishy in the regex. Could somebody with experience in re_search check what
the real problem is?



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-30 04:16:31 +00:00
Clemens Zeidler
389f3fe159 Add a simple test just to check that the synchronous quit request does not crash.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-29 22:47:23 +00:00
Clemens Zeidler
f47952f723 If the looper is B_QUIT_REQUESTED synchronously. First quit and then send the reply message. Please check if this is the
correct semantics. I expected that the looper is dead when SendMessage returned. This should fix #7559 where the looper 
destructor has to be called before continuing the cleanup.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-29 22:43:50 +00:00
Matt Madia
c188658c85 Fixed the build for operating systems that are not Haiku.
Spotted by luroh. Patched by augiedoggie. Fixes #7607.
+alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-29 22:38:35 +00:00
Oliver Tappe
38f67a9da3 Update ICU packages for r1a3.
+alpha3

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-29 22:10:41 +00:00
Clemens Zeidler
806c3afaf6 Fix test app build and adjust the app path to the jam output directory.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-29 21:41:11 +00:00
Fredrik Modeen
981bdb5af9 Hope I fix more than I breake with this update of ipro1000
it's taken from freebsd driver e1000 r221505

This include alot of cards (including my HP)

I had to "remove" som parts. led was the easiest part. All code shoulc have haiku in them

The part below was perhaps needed but I could not fix the error that whas showing (located in if_em.c) aslo it works as is on my HP 8540.

static int
em_sysctl_reg_handler(SYSCTL_HANDLER_ARGS)
{
	struct adapter *adapter;
	u_int val;

	adapter = oidp->oid_arg1;
	val = E1000_READ_REG(&adapter->hw, oidp->oid_arg2);
	return (sysctl_handle_int(oidp, &val, 0, req));
}

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-29 19:27:05 +00:00
Matt Madia
b8c41a1ad8 Applied a patch by Ingo, to strip the debug info from optional packages.
To note, the reduction of block size from 2048 to 1024 was not applied.
Introduced a new build variable HAIKU_STRIP_DEBUG_FROM_OPTIONAL_PACKAGES,
which will allow users to enable/disable that functionality. In the
alpha-* and nightly-* profiles, it is enabled. Reduced the image size
for alpha-* to 690M. The size for nightly images was left untouched.
+alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-29 18:02:21 +00:00
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