Commit Graph
53287 Commits
Author SHA1 Message Date
Humdinger 97f5ebc1ae Sentence casing... 2015-03-29 19:48:53 +02:00
Michael Lotz 0e24bb020b UserlandFS: Fix detection when a file system should be deleted.
This was a regression from hrev39870 where a private Referenceable class
was replaced with BReferenceable. Referenceable::RemoveReference()
returned a boolean to indicate whether the last reference was released
while BReferenceable::ReleaseReference() returns the previous reference
count.

A file system would therefore be deleted when any but the last reference
to it would be released (when multiple volumes of that file system were
mounted and one of them was unmounted) and leaked otherwise (when only
one volume of that file system was mounted and then unmounted).

Fixes #11718.
2015-03-29 17:46:47 +02:00
Michael Lotz 5f396f6a00 UserlandFS: Some whitespace cleanup. 2015-03-29 16:25:18 +02:00
Michael Lotz ffba66060b UserlandFS: Make 64 bit clean and enable build for x86_64.
I did not bother to fix the BeOS kernel emulation, so this part is
still left out of the x86_64 build.
2015-03-29 16:25:17 +02:00
Gerasim Troeglazov 47ff5824b8 Update djvutranslator and djvuviewer packages 2015-03-29 12:13:53 +00:00
Murai Takashi cddfcf2f87 Fix incorrect initialization.
Signed-off-by: Jérôme Duval <[email protected]>
2015-03-29 11:01:31 +02:00
Jérôme Duval 5c63f9d60d Makes the Haiku package depend on Expander extraction tools
.. for regular builds. Helps with #11928.
2015-03-29 11:01:30 +02:00
Alexander von Gluck IV 3f80e2801f loader/fatfs: Fix tracing 2015-03-28 17:36:53 -05:00
Alexander von Gluck IV 115ac6bcae arm/mailbox: Load mailbox base from FDT in loader 2015-03-28 16:56:50 -05:00
Jérôme Duval f5e61f7174 libroot.so: libc-lock.h: use a pthread mutex based impl.
* based on current glibc sysdeps/nptl/bits/libc-lock.h file.
* include missing headers which were previously included by libc-lock.h.
* This fixes #11182.
2015-03-28 22:02:53 +01:00
Alexander von Gluck IV c6a4fee579 loader/u-boot: Use FDT serial info to create uart
* drop my fdt tests
* we have to call fdt parsing code *after* cpu_init (why?)
* pass fdt pointer to all FDT support calls to avoid confusion
  once we get into the kernel land
* look for PL011 compatible uart and use it
* Add some saftey checks to serial putc code to avoid null*
* fdt_node_check_compatible returns 0 on success not 1
* fdt_get_device_reg needs to add the SOC base to the result
* fdt_get_device_reg might need to add the second range cell
  instead of reg?
2015-03-28 15:52:16 -05:00
Alexander von Gluck IV 3d02d66b03 rpi2: Begin using internal FDT 2015-03-28 14:33:58 -05:00
Alexander von Gluck IV 7b1ea45c34 FDT: Add dts for Raspberry Pi 2 from upstream FreeBSD
* Next steps are to begin using reg-addresses instead of
  hard coding them at build time.
2015-03-28 08:39:57 -05:00
Michael Lotz 3384ca1a7b rootfs: Fix wrong comparison for buffer reuse on rename.
The comparison to decide whether or not to reuse the name buffer when
renaming a rootfs entry was reversed. For renames where the new name
was longer than the old one this resulted in writing beyond the name
buffer and corrupting random kernel memory.

A likely candidate for this to be triggered was when a audio cd was
renamed due to a CDDB lookup, as the placeholder "Audio CD" is quite
short and the actual CD name is usually longer.

Fixes: #10259. Possibly fixes the related #9528 and #9858.
2015-03-28 12:18:29 +01:00
Gerasim Troeglazov 3dc2b74b6f Add DjVuViewer and DjVuTranslator packages for x86_gcc2 2015-03-28 10:13:53 +00:00
Gerasim Troeglazov 01aff382a7 Add djvulibre packages for x86_gcc2 2015-03-28 09:52:33 +00:00
Jérôme Duval c5b66b40ab use macro instead of attributes for weak aliases. 2015-03-28 09:41:40 +01:00
Jérôme Duval d789b5e208 ice1712: fix debug build 2015-03-28 09:41:39 +01:00
autonielx 83d05088a3 Update translations from Pootle 2015-03-28 06:31:11 +01:00
Jérôme Duval 452809de11 Update libpng packages. 2015-03-27 23:16:13 +01:00
Augustin Cavalier 1f35b0186b pkgman: fix build. 2015-03-27 16:59:18 -04:00
Augustin Cavalier 74de74358a pkgman: fix problems pointed out by Jerome & Axel. 2015-03-27 16:47:54 -04:00
Jérôme Duval 8ee7375aa0 don't redefine __weak_reference. 2015-03-27 21:40:47 +01:00
Augustin Cavalier c771066bd2 pkgman: cleanup output.
This makes the progressbars disappear after the download is complete,
as well as reducing the number of lines for most actions to 1 instead
of 3-4.
2015-03-27 16:16:13 -04:00
Jessica Hamilton 8667d6c758 pkgman: replace install/uninstall pairs with upgrade text.
Signed-off-by: Augustin Cavalier <[email protected]>
I fixed some bugs and removed some code duplication.
2015-03-27 16:16:11 -04:00
Augustin Cavalier e22040efac pkgman: make progressbar work properly when the width is < 70. 2015-03-27 16:16:09 -04:00
Jérôme Duval 9f543f8044 Fix unittests build. 2015-03-27 20:37:23 +01:00
Jérôme Duval b43255eb85 Update icu packages. 2015-03-27 20:24:02 +01:00
Jérôme Duval 4a9c56f6c7 x86_64: fenv.c needs __weak_reference()
* the weak symbol feenableexcept wasn't available.
2015-03-27 20:16:57 +01:00
Axel Dörfler 49b69c86d3 ifconfig/Network: gcc4 build fix. 2015-03-27 15:26:51 +01:00
Axel Dörfler 5f03af766a Added new network settings add-ons to the image.
Conflicts:
	build/jam/packages/Haiku
2015-03-27 13:25:32 +01:00
Axel Dörfler 386b6f15e6 Network: disabling/enabling devices is now working.
* Disabled the "renegotiate" button for now -- this will move to the
  interface add-ons, at least some day.
2015-03-27 13:25:31 +01:00
Axel Dörfler 81ba2a0474 Network: fixed DNS server label. 2015-03-27 13:25:31 +01:00
Axel Dörfler 8b8bd796f4 Network: give static IP focus.
* InterfaceAddressView now gives the address control focus when
  "static" mode is selected.
2015-03-27 13:25:30 +01:00
Axel Dörfler 0a6b562313 net_server: fixed configuring disabled interfaces.
* BNetworkSettings now set unspecified addresses to their empty family
  specific addresses, instead of using AF_UNSPEC.
* This allows the net_server to set those addresses on the address
  specific stack interface.
2015-03-27 13:25:30 +01:00
Axel Dörfler 4621cda5bf Style fix. 2015-03-27 13:25:29 +01:00
Axel Dörfler d044457531 BNetworkAddress::IsEmpty() now detects empty ipv4/6.
* Until now, only AF_UNSPEC addresses could be empty.
* Now, the unspecified IPV4/IPv6 address is considered empty, too.
* This corresponds to how the kernel modules handles this.
2015-03-27 13:25:29 +01:00
Axel Dörfler 687d0bc272 DriverSettingsMessageAdapter: fixed converter signature.
* The ConvertFromDriverSettings() method missed the current value
  index.
* Completed unit tests, and enabled them all.
2015-03-27 13:25:28 +01:00
Axel Dörfler 9f218b4e2d DriverSettingsMessageAdapter: fixed various issues.
* _AddParameter() would ignore all BMessage::Add*() errors.
* _ConvertFromDriverParameter() would ignore most intermediate error,
  but would fail badly over some incorrect settings file.
* Also, it checked for the parent value for each parameter, which
  doesn't make any sense, but would add as often as there are
  parameters -- which also may be none, in which case the value
  got ignored.
2015-03-27 13:25:28 +01:00
Axel Dörfler 6a29020593 Network: made the revert button (somewhat) work.
* DNS add-on does not yet support it, the rest does.
* However, there seems to be some problems with the net_server when
  changing interfaces -- not just with revert.
2015-03-27 13:25:27 +01:00
Axel Dörfler 3d7aaa308c Network: added notify settings updated method.
* And call it from the DNS client -- this is the only add-on that does
  not trigger a configuration or settings update, so we have to notify
  the changes manually.
2015-03-27 13:25:27 +01:00
Axel Dörfler 235571538b Network: added ability to sort ServiceListItems correctly.
* Added ServiceListItem::Label() method.
2015-03-27 13:25:26 +01:00
Axel Dörfler 3d3eb8da69 Network: telnet and ftp are now using ServiceListItem, too. 2015-03-27 13:25:26 +01:00
Axel Dörfler ee834bb870 Network: moved commonly used classes into app.
* This way all add-ons share the same code, and also the same
  translations.
2015-03-27 13:25:25 +01:00
Axel Dörfler 1a47b15dfa Network: interface list item now used BControlLook spacing.
* Instead of hard-coded values.
2015-03-27 13:25:25 +01:00
Axel Dörfler d0b107f311 Network: added IPAddressControl.
* Based on Adrien's previous work in the DNS settings view.
* The IPv* and DNS add-ons are now using it.
2015-03-27 13:25:18 +01:00
Axel Dörfler 06cdb6558f _BTextInput_: Only invalidate parent when in a window.
* Otherwise there is nothing to it.
* Removed comment and commented out invalidation. Seems to work
  just fine without it, and I cannot think of a reason why it should
  be there.
2015-03-27 13:24:10 +01:00
Axel Dörfler ccc3ced21c _BTextInput_: style cleanup. 2015-03-27 13:24:10 +01:00
Axel Dörfler 8bc3ecb054 Added BTextControl::TextLength() method. 2015-03-27 13:24:09 +01:00
Axel Dörfler d95c5011bd Network: SSH list item now indicates a running server.
* This will be moved into the network preferences, so that it can be
  used from other add-ons, as well.
2015-03-27 13:24:09 +01:00