Commit Graph

53994 Commits

Author SHA1 Message Date
Augustin Cavalier
fd2c0fa425 ReadMe: update URL of Landon Fuller's Grok, minor fixes. 2015-06-29 11:45:34 -04:00
Augustin Cavalier
b75bd04b4a netresolv: Add a quick document on how to synchronize with NetBSD. 2015-06-29 11:37:40 -04:00
Augustin Cavalier
3cc9802e89 netresolv/COPYRIGHT: Add BSD license, as it's in some of the sources. 2015-06-29 11:37:38 -04:00
Augustin Cavalier
4ae91d30cb netresolv/isc: get rid of duplicate base64.c. 2015-06-29 11:37:35 -04:00
Augustin Cavalier
cd88c756f3 netresolv: remove nonexistent directory from Jamfile. 2015-06-29 11:37:32 -04:00
Augustin Cavalier
08336907db netresolv: Get rid of BSD strsep compat code.
We already have this in our libbsd.
2015-06-29 11:37:29 -04:00
Augustin Cavalier
24a60d9b9a netresolv/resolv: Merge remaining patches from 2013 to current HEAD.
Commits merged from the semi-official Git mirror of NetBSD
trunk (https://github.com/IIJ-NetBSD/netbsd-src/ - NetResolv
is in the tree at lib/libc/netresolv/).

Commit authors/messages in chronological order follow:
---------------------------------------
From: wiz <wiz@netbsd.org>
Date: Mon, 9 Dec 2013 09:35:17 +0000
Subject: Fix typo ("then" instead of "than")

From: christos <christos@netbsd.org>
Date: Tue, 16 Sep 2014 01:30:00 +0000
Subject: close on exec hostaliases

From: christos <christos@netbsd.org>
Date: Tue, 11 Nov 2014 03:29:24 +0000
Subject: PR/48475: YAMAGUCHI Takanori: EDNS option broken with
 unbound. struct querybuf in net/gethnamaddr.c defines MAXPACKET to 64K. This
 in turn gets passed down until it reached res_nopt(..., answer, anslen), where
 the size of the buffer must fit in 16 bits. Unfortunately we end up
 being one more than the max so we end up sending a 0 as the size and
 unbound does not like that. Instead we clip now to 64K - 1, and everyone
 is happy.
 XXX: Pullup to 7.

From: christos <christos@netbsd.org>
Date: Tue, 24 Feb 2015 17:57:08 +0000
Subject: belated removal of the advertising clause.
2015-06-29 11:37:26 -04:00
Augustin Cavalier
f1b36c9050 netresolv/inet: Merge remaining patches from 2013 to current HEAD.
Commits merged from the semi-official Git mirror of NetBSD
trunk (https://github.com/IIJ-NetBSD/netbsd-src/ - inet
is in the tree at lib/libc/inet/).

Commit authors/messages in chronological order follow:
---------------------------------------
From: christos <christos@netbsd.org>
Date: Mon, 10 Feb 2014 16:29:30 +0000
Subject: PR/48585: Henning Petersen: Always set errno when returning NULL.

From: christos <christos@netbsd.org>
Date: Mon, 10 Feb 2014 16:30:54 +0000
Subject: remove unneeded code, and kill parens from return
2015-06-29 11:37:23 -04:00
Philippe Saint-Pierre
ffc3c6172b Incorrect font applied in Add-on submenu
When accessing the Tracker Add-on menu from ContainerWindow's top menu, the
font in Add-Ons submenu would change from its parent menu.
2015-06-29 11:27:50 -04:00
Philippe Saint-Pierre
ee87fbc421 Do not hardcode tab height in ResizeToFit() 2015-06-28 19:02:30 -04:00
Hamish Morrison
227af8c052 netresolv: ensure pthread_rwlock is initialized before use
Under some circumstances the pthread_rwlock protecting the name service
configuration was not initialized, and the calls to rdlock/wrlock would
silently fail.
2015-06-28 23:23:14 +01:00
Axel Dörfler
67c816c41c libnetwork: Fixed getifaddrs() implementation.
* It overwrote the request buffer, and tried to access its previous
    contents afterwards.
* It incorrectly copied sockaddrs.
* It did not initialize all members.
* It did not check for error codes from ioctl().
* It did not properly set errno in many cases, but just returned an
  error right away.
* This hopefully fixes bug #12156. Adrien obviously had a bad day :-)
2015-06-28 23:28:32 +02:00
Augustin Cavalier
8306064d44 cmedia: update to newer spinlock API. 2015-06-28 14:32:57 -04:00
Rene Gollent
37248a2fff Debugger: Add address column to functions list.
ImageFunctionsView:
- For function nodes, also display the start address of the function in
  question. Makes it somewhat more convenient to determine which function a
  function pointer actually refers to.
2015-06-27 13:20:14 -04:00
Rene Gollent
299f564e06 Debugger: Fix potential crash in VariablesView.
VariableTableModel:
- When attempting to retrieve the type for a given node, ensure
  that it actually has a value node first. This might not necessarily
  be the case if no appropriate type handler was found.
2015-06-27 12:53:26 -04:00
Rene Gollent
55c1477fbc Debugger: Minor adjustment to address value node.
AddressValueNode:
- If the address node is pointing to a function, don't bother creating
  a child, as there isn't really any useful information that can be displayed
  for such a node besides its target address, which is already shown by the
  address node anyways.
2015-06-27 12:47:19 -04:00
autonielx
6d7a90882c Update translations from Pootle 2015-06-27 06:30:55 +02:00
Philippe Saint-Pierre
2b0dad2c7e Fix segfault in Top utility
Could occur whenever the terminal exceed 96 columns (write beyond end of string).
2015-06-25 22:35:06 -04:00
Philippe Saint-Pierre
1443b2798f CID 1249930: Don't scanf uninitialized buffer
Would happen in case of a missing config file, for instance.
2015-06-25 19:29:13 -04:00
Philippe Saint-Pierre
6b05e9db3d CID 1273486: change from boolean to bitwise operator
Typo confirmed by looking at the corresponding source file from elsewhere.
+ some style fixes
2015-06-25 18:03:41 -04:00
Philippe Saint-Pierre
c5666be3b8 CID 605799: Resource Leakage in fortune 2015-06-25 18:03:41 -04:00
Philippe Saint-Pierre
94817d608d Coding style fixes 2015-06-25 18:03:41 -04:00
Alexander von Gluck IV
cc8f1d2ffd headers/os: Add gcc 5 to BeBuild.h
* While we still use gcc 4, the host tools won't
  build on gcc 5 systems without this.
* x86_64 compiles under gcc 5.10 successfully
2015-06-24 23:06:23 -05:00
Automatic Committer
dc1113e067 Update usb.ids from www.linux-usb.org 2015-06-25 05:20:30 +02:00
Automatic Committer
853d2b0cbb Update pci.ids from pciids.sourceforge.net 2015-06-25 05:20:28 +02:00
Philippe Saint-Pierre
f0b2d33bcf CID 1273599: null dereference in SATGroup
And some additional style fixes.
2015-06-24 18:58:28 -04:00
Philippe Saint-Pierre
e3e5e00627 CID 991517: Resource Leak in PackageInfo::Parse() 2015-06-24 16:26:11 -04:00
Augustin Cavalier
53711093fa BeServed: delete from tree.
Nobody did anything significant with it, so it now lives over at
https://github.com/HaikuArchives/BeServed.
2015-06-23 16:54:48 -04:00
Puck Meerburg
50e2057db0 BGridLayout: fix reversal of parameters.
CID 1210907.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2015-06-23 12:01:35 -04:00
Timothy Gu
d91933c26f HIDWriter: 0-initialize struct
Fixes CID 610984.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2015-06-23 11:59:36 -04:00
Timothy Gu
2201ddd6d0 NetFSServer: Forward errors and fix use-after-free.
At least right now, the constructor of ServerInfoSender can only fail
because of OOM.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Fixes #11716. One minor tweak by me from the original patch
(change "!sender" to "sender == NULL").
2015-06-23 11:58:23 -04:00
Augustin Cavalier
4a35186ac2 network/dns_resolver/server: Add missing break in switch.
CID 991278, but that also causes CID 991176, so both of those
are fixed. Does *not* fix #12156. Might fix some of the outstanding
NFSv4 issues but I didn't look too hard.
2015-06-22 19:31:23 -04:00
Augustin Cavalier
4fe78e3499 tests: Convert a lot of RSRCs to RDEFs. 2015-06-22 15:39:47 -04:00
Augustin Cavalier
7cee114228 rc: replace reference to CVS with 'version control'. 2015-06-22 15:23:40 -04:00
Augustin Cavalier
519b21c662 print/drivers/pdf: cleanup. 2015-06-22 15:20:56 -04:00
Augustin Cavalier
3fa198dae4 IconVader: cleanup. 2015-06-22 15:17:17 -04:00
Augustin Cavalier
8db7ed33fc Delete useless gunk (mostly old Makefiles). 2015-06-22 14:53:23 -04:00
Augustin Cavalier
114bdfb3b4 makefile-engine: fix typo.
That's what I get for not checking the diffs after a merge/rebase/reset...
2015-06-22 13:25:52 -04:00
Augustin Cavalier
a6d8195475 makefile-engine: use .PHONY for "clean". 2015-06-22 13:20:15 -04:00
Augustin Cavalier
9436959d0a makefile-engine: use mkdir -p instead of a complicated expression. 2015-06-22 13:20:12 -04:00
Augustin Cavalier
d17092ceb1 makefile-engine: whitespace / comments cleanup. No functional change. 2015-06-22 13:20:09 -04:00
Augustin Cavalier
dd9b4a3f10 build: delete DocumentationRules.
These were only used as an experiment for converting coreutils
manpages to different formats, and as coreutils is no longer in the
tree, they aren't used.
2015-06-22 13:20:07 -04:00
Augustin Cavalier
00c90992ff 3rdparty/kallisti5: convert the IOMMU HowTo to Markdown.
So that you can read it without an ODT viewer. I got permission
from Alex to do this.
2015-06-22 13:20:04 -04:00
Augustin Cavalier
e37802d3db ReadMe.Compiling: specify Bison 2.4 as the minimum.
This is the version that comes with Haiku. According to John Scipione,
2.3 doesn't work, so this must be the minimum.
2015-06-22 13:20:01 -04:00
Adrien Destugues
a558d18527 Revert "filesystems: we aren't BeOS, so we can safely use -O2(+)."
This reverts commit ae495ca8fe.

My system volume was mysteriously corrupted while booting or shutting down today,
enough to make it unbootable and KDL on attempt to mount it. I'm assuming our gcc2
still isn't safe with regard to -O2 optimization of filesystems, and revert this,
until proven wrong (eg. by running test suites and FS stress tests and finding no
issues.

Axel comented on the commit saying it probably was not a good idea, but no action was
taken. Should we setup a better commit review system?
2015-06-22 18:51:03 +02:00
John Scipione
969a5d2fac Fix mess in Tracker add-ons created in hrev48858
Revert the Tracker portions of hrev48858, they were not needed and were not
right either... sorry guys

OpenTargetFolder add-on modified slightly to use the passed in symlink(s) only,
the parent directory ref is unused, it appears to be unneeded here also.

With this and the reverted commits Zip-O-Matic and other add-ons should
work again.

Fixes #12105
2015-06-20 19:39:54 -07:00
John Scipione
134b3a7139 Revert "Zip-O-Matic: fix zipping single folder."
This reverts commit d1d90b0462.
2015-06-20 19:38:10 -07:00
John Scipione
ee5588f2ab Revert "Partially revert "Zip-O-Matic: fix zipping single folder.""
This reverts commit 1639fe99db.
2015-06-20 19:37:53 -07:00
Adrien Destugues
60295ba1f7 Move ports and protocols files back to data directory in Haiku package.
These files are required for netresolv functionality, and there is no
real use in modifying them as settings files. Restore the previous
behavior, the files are stored in data and part of the Haiku package.

This means there is no need for a fresh install from image to get the
files anymore.

Fixes #12156.
2015-06-20 11:52:13 +02:00
autonielx
fa524d60e3 Update translations from Pootle 2015-06-20 06:33:36 +02:00