Commit Graph

53767 Commits

Author SHA1 Message Date
Adrien Destugues
755f6d2f83 BNetworkRequest: Remove workaround that is not needed anymore
Now that netresolv handles DNS resolution properly, there is no need to
force IPv4 here.
2015-06-14 15:47:10 +02:00
Adrien Destugues
1dc3cf778e Style fixes. 2015-06-14 15:47:08 +02:00
Adrien Destugues
dd0ea64b56 Missing NULL check in network stack.
This would trigger a KDL, it's better to just fail the syscall call.
2015-06-14 15:47:05 +02:00
Adrien Destugues
8d2aee6bc8 libbind: integrate "netresolv" patches from NetBSD.
libbind development was transferred to the NetBSD project at
http://wiki.netbsd.org/individual-software-releases/netresolv/

There isn't an official release yet, but they provide a set of patches
against the latest libbind release.

* Remove all files we don't use
* Merge the changes to the remaining files
* Add some new files we need
* Move getifaddrs implementation to libnetwork (instead of libbnetapi)
so it can be used by netresolv.

Fixes #8293 : netresolv uses getifaddrs to determine if there is a local
IPv6 address. If there is not, it will not return AAAA records.
2015-06-14 15:47:03 +02:00
Adrien Destugues
7c3d316b5d Style fixes. 2015-06-14 15:46:58 +02:00
Adrien Destugues
c6ffa94f5b MediaPlayer: style fixes, print performance time of dropped frames
* Helps understanding why the frames get dropped in some cases, where
the computed performance time is not correct.
2015-06-14 15:46:56 +02:00
Adrien Destugues
404cb7e310 BReference: missing const cast when building a BReference<const>
* The internal BReference is on a non-const object so it can increment
and decrement the reference count, so we need to cast the const away.
2015-06-14 15:46:53 +02:00
Adrien Destugues
27dab5c12d freebsd_network: add __UNCONST
Needed by the new DNS resolver from NetBSD.
2015-06-14 15:46:50 +02:00
Adrien Destugues
0666a27d46 Style fixes. 2015-06-14 15:46:48 +02:00
Rene Gollent
026596dd1d Debugger: Add table cell editors for various value types.
TableCell{Bool,Enumeration}Editor:
- OptionPopUp-derived editors for their respective value types.

TableCellIntegerEditor:
- TextControl-derived editor for integer values that validates inputs
  based on the target integer size and type.

Not actually used yet, but together with the previous changes, these lay
the groundwork for the remaining part of #9708.
2015-06-13 16:57:19 -04:00
Rene Gollent
a82499551d Debugger: Add interface subclasses for table cell editors.
TableCellTextControlEditor:
- Serves as a base for editors that expose their functionality via a
  text control. Handles common functionality of watching for changes,
  validating input, and notifying listeners appropriately.
TableCellOptionPopUpEditor:
- Serves as a base class for editors where the set of possible values
  is fixed and known up front. Handles reacting to selection changes
  and notifying listeners.
2015-06-13 16:57:13 -04:00
Rene Gollent
5f5499b40b Debugger: Refactor + resolve TODO.
- Introduce interface class ValueFormatter. This one takes on the
responsibilities of formatting a value into a string, which were
previously embedded within the various TableCellValueRenderer
subclasses.
- Add implementing subclasses for the various value types.
- Introduce TableCellValueRenderer subclass TableCellFormattedValueRenderer.
  This is a simple TableCellValueRenderer implementation for the simple case
  of a renderer that does nothing more than use a formatter to present a
  string version of its corresponding Value. Since this describes all existing
  renderers, this renders them obsolete.
- Refactor the respective ValueHandler subclasses to make use of the formatters
  and new rendererer subclass.
2015-06-13 16:57:09 -04:00
Rene Gollent
7589a9affa Debugger: Extend value handler interface.
- Add new interface class TableCellValueEditor, which provides a controller
  for handling editing of table cell values, and corresponding listener
  notifications.

ValueHandler:
- Add new hook for requesting such an editor, given a corresponding
  value.
2015-06-13 16:56:54 -04:00
Adrien Destugues
5c96971937 Also fix #2880 in old IDE stack.
Just in case.
2015-06-13 21:59:19 +02:00
Adrien Destugues
dfc20f6f05 ide_isa: integrate fix for #2880
This was fixed in 2008 in the ide_pci driver, but has never been merged
in ide_isa. It probably won't matter as machine with IDE on the ISA bus
are unlikely to run Haiku.

Thanks to philcostin for finding the problem using cppcheck.
2015-06-13 21:47:53 +02:00
Janus
d31c2a427a HaikuDepot: fix wrong type for member fSize 2015-06-13 20:45:15 +02:00
Janus
2358bb2811 HaikuDepot: column "size" sorted as a number not as a string
* Fixes #12128.
2015-06-13 20:30:31 +02:00
Jérôme Duval
ca92467274 Updated cdrtools package for x86_64. 2015-06-13 18:52:06 +02:00
Jérôme Duval
0dc6b011fe malloc: implement malloc_usable_size().
* Fix #12132
2015-06-13 14:29:11 +02:00
Adrien Destugues
673259506b Link top with libstdc++
* Should fix gcc4 build
2015-06-13 14:02:00 +02:00
Adrien Destugues
95cace8de2 top: convert to C++ and use std::list
The C code would crash on my machine, and using std::list is simpler and
cleaner.

May help with #11895 as well, but I didn't have that issue on my
machine.
2015-06-13 13:41:44 +02:00
autonielx
8e1789482a Update translations from Pootle 2015-06-13 06:32:45 +02:00
Janus
35024c4a2e HaikuDepot: use default window position for single package mode.
* Fixes #12141.
2015-06-12 23:58:26 +02:00
François Revol
78b7298197 u-boot: PPC: Fix warnings 2015-06-12 23:18:33 +02:00
François Revol
a24ca25e68 PPC: disable -Werror for now
At least for the Sam port there are still things to fix in U-Boot code,
and some #warnings as well.
2015-06-12 23:03:53 +02:00
Jérôme Duval
962d4f9cd8 openssl: security update
Fix for CVE-2015-1788
Fix for CVE-2015-1789
Fix for CVE-2015-1790
Fix for CVE-2015-1791
Fix for CVE-2015-1792
2015-06-12 22:09:52 +02:00
Gerasim Troeglazov
c68a5c79b2 Updated NanoSVGTranslator for x86_gcc2 2015-06-12 22:28:05 +10:00
Axel Dörfler
9bc4bd3811 BLooperList: reset list contents after fork.
* No point in keeping those around; their threads are all gone.
2015-06-12 10:43:19 +02:00
Axel Dörfler
8a86ad7593 libbe: Fixed current_team() to work after a fork.
* This allows to start a valid looper in the forked child, for example.
2015-06-12 10:43:15 +02:00
Jessica Hamilton
0975f16f7c setarch: use a login shell; fixes #12066.
* This also updates /etc/profile to detect whether our
  parent process is a shell, and changes the banner
  message accordingly.
* Also, pipe errors to /dev/null, in case grep is not
  installed; this allows us to not require grep as a
  dependency, and let the banner message do the right
  thing.
2015-06-12 19:29:19 +12:00
Jérôme Duval
ea54368ece tcp: remove extraneous parenthesis. 2015-06-11 15:52:23 +02:00
Gerasim Troeglazov
d25e6414e4 Added Arduino IDE package for x86_gcc2 2015-06-11 23:41:00 +10:00
Jérôme Duval
944c00b892 Update cmake package for x86_64. 2015-06-11 10:55:50 +02:00
Automatic Committer
5ffe624b7b Update usb.ids from www.linux-usb.org 2015-06-11 05:20:28 +02:00
Automatic Committer
db789c8113 Update pci.ids from pciids.sourceforge.net 2015-06-11 05:20:26 +02:00
Adrien Destugues
79985c3d86 Fix reversed logic in MSG_NOSIGNAL
This should work better. Thanks to Korli for spotting the issue.
2015-06-11 00:38:42 +02:00
Jérôme Duval
e22a18e9f3 Add a feature for expat.
* Icon-O-Matic and Cortex are dependent on the feature.
* remove expat lib from the build and from the tree.
* expat package is added to regular builds.
2015-06-10 23:31:55 +02:00
Jérôme Duval
158ae5148d Updated readline package for x86_gcc2. 2015-06-10 22:19:23 +02:00
Jérôme Duval
a81e294bb7 Updated expat packages for secondary arch x86 and x86_gcc2. 2015-06-10 20:51:40 +02:00
Jérôme Duval
590e370847 Updated freetype packages. 2015-06-10 20:37:50 +02:00
Augustin Cavalier
8a5c546d42 dstcheck: swap first and second buttons, change wording...
... from "Use this time" to "Keep this time", as the question is about
keeping the status quo, not changing to some different time.

As discussed with Humdinger in #haiku.
2015-06-10 12:37:02 -04:00
Augustin Cavalier
2da6584ad0 tcp: fix build breakage caused by hrev49265.
There's currently a debate on the ML as to whether this should
be '== 0' or '!= 0', though.
2015-06-10 12:34:04 -04:00
Adrien Destugues
4b2d018be4 Implement MSG_NOSIGNAL
* Part of latest POSIX specification, this prevents send() on a closed
socket to raise a SIGPIPE signal (but EPIPE is returned).
2015-06-10 17:39:53 +02:00
Jérôme Duval
de4adb68a7 Updated dos2unix packages. 2015-06-10 13:56:20 +02:00
Jérôme Duval
b5121ca754 Updated bash packages. 2015-06-10 13:00:11 +02:00
Jérôme Duval
001b3b06b1 Updated expat package for x86. 2015-06-10 11:39:46 +02:00
Jérôme Duval
1f56c11b79 gzip: use the outsourced packages.
* remove gzip Jamfile from the build and gzip sources from the tree.
2015-06-10 11:26:51 +02:00
Jérôme Duval
45287a58ff Added packages for gzip. 2015-06-10 10:47:06 +02:00
Jessica Hamilton
a5bc477663 setarch: fix generation of new PATH environment variable.
* The insertion index didn't take into account the fact
  that some paths don't get added before the index is
  calculated. This resulted in the requested arch paths
  ending up in reverse if we were already in the
  requested arch environment.

Fixes #12125.
2015-06-10 14:16:08 +12:00
Janus
ae59605d24 Icon-o-Matic: fix variables name 2
* thanks to stippi for pointing out the problem.
2015-06-09 18:55:46 +02:00