54014 Commits

Author SHA1 Message Date
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 ae495ca8fe9e48dea982cf522c5c54c56dffb9fd.

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 d1d90b0462faa82489e446a6e25337602939993e.
2015-06-20 19:38:10 -07:00
John Scipione
ee5588f2ab Revert "Partially revert "Zip-O-Matic: fix zipping single folder.""
This reverts commit 1639fe99dbbea9204ba8cf5edb5b67697da70b0e.
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
Augustin Cavalier
d39c3c2b2f accelerants/via: fix the build. 2015-06-19 16:15:26 -04:00
Augustin Cavalier
1b50980188 .gitignore: add .pyc and .pyo files. 2015-06-19 15:40:40 -04:00
Augustin Cavalier
2e1e784763 checkstyle: add #! line, fix filemode. 2015-06-19 15:39:50 -04:00
Augustin Cavalier
6eafb4b041 Replace a few references to Subversion with Git.
There are a whole bunch more of these around, but these were the
ones I was confident replacing.
2015-06-19 15:36:52 -04:00
Augustin Cavalier
b87e672a05 ReadMe.Compiling: rework to Markdown, cleanup links.
There are still probably issues with the walkthroughs in here,
but I don't cross-compile Haiku very often so someone else should
fix those.
2015-06-19 15:17:14 -04:00
Alexander von Gluck IV
b5c4af8ba8 GPT: Expand our known GUID's
* Try to standardize between the names
  to make them easier to understand
* Avoid terms like "File system" as it can
  confuse users (these are just partitions)
* We don't want to list *every* GUID here,
  just the ones most desktop users *might* see
  (we skip things like cepf)
2015-06-19 09:09:06 -05:00
Alexander von Gluck IV
5bca1dd7af GPT: Fix creation of GPT disk systems; resolves #10298
* The alternate / backup block wasn't defined
  leading to an invalid configuration.
* This was compounded with another issue that
  was resolved a while back with GPT
* gdisk now identifies GPT systems created with
  Haiku as valid
2015-06-18 16:09:48 -05:00
Automatic Committer
6f9cf70738 Update pci.ids from pciids.sourceforge.net 2015-06-18 05:20:28 +02:00
Adrien Destugues
50440c4220 Remove gethostbyname_r and gethostbyaddr_r from headers
* They were not in BeOS.
* They are also not in netresolv, they are deprecated and getaddrinfo
should be used.
2015-06-17 21:30:02 +02:00
Adrien Destugues
fa57a184e4 APR: update to 1.5.2.
Fixes #12166.
2015-06-17 21:27:57 +02:00
Adrien Destugues
2d6b0e967b Revert "Missing NULL check in network stack."
This reverts commit dd0ea64b5607e6310c582f62c4275dab7510c4f6.
2015-06-17 21:27:56 +02:00
Janus
29355b23a7 Tracker: reduce distance between rows with big fonts 2015-06-17 11:10:18 +02:00
Janus
38b2eae6db Tracker: fix selection glitch with some fonts
* This problem was present for the fonts with total height
  greater than 19 and smaller than 20.
* Reduce distance between row with big fonts.
* Fixes #11615.
2015-06-15 04:08:14 +02:00
Adrien Destugues
032d5b4b59 netresolv: really enable IPV6.
* Fixes setting of IPv6 address for localhost
* Maybe helps with #12156
2015-06-16 21:42:49 +02:00
Humdinger
f024ffe6b9 Updated QuickLaunch, UberTuber, youtube-dl 2015-06-16 09:06:57 +02:00
Adrien Destugues
23b5556fe4 VideoProducer: fix the fix. 2015-06-15 21:00:14 +02:00
Adrien Destugues
854d187f2b VideoProducer: fix 64bit build. 2015-06-15 20:47:21 +02:00
Adrien Destugues
b2b4946fa0 usb_webcam: move header generation to multiarch block
* With the HDRGRIST change the headers must now be generated for each
architecture.
2015-06-15 20:19:59 +02:00
Adrien Destugues
d465855013 netresolv: enable IPv6, remove useless Jamfile stuff 2015-06-15 19:36:19 +02:00
Adrien Destugues
f15fb39b20 Properly fix Lex/Yacc dependency following Ingo's advice
* By setting HDRGRIST to match SOURCE_GRIST in MultiArchDirSetup, the
include scanning in Jam will work properly: the generated header will
have the same grist as what the include scan looks for.
* Remove the now unneeded workaround from netresolv Jamfile.
2015-06-15 19:27:12 +02:00
Jessica Hamilton
56b2d534cb netresolv: add an explicit include for nsparser.h
The grist for nsparser.h doesn't include the architecture
despite using MultiArchSubDirSetup, so we need to
explicitly include the correctly gristed header.
2015-06-15 14:44:25 +12:00
Jessica Hamilton
6f19d31cd4 package_daemon: queue post-install scripts to run after reboot
* Creates symlinks to the post-install scripts into the
  administrative/queued-scripts directory.
* Upon reboot, post-install scripts in the queued-scripts
  are run, and then the symlinks to the scripts removed.
* This solves the issue of post-install scripts not being
  run when the package is installed/upgraded along with the
  system packages, as experienced with the latest upgrade
  to the bash package.
2015-06-15 13:36:13 +12:00
Adrien Destugues
5b57e337e9 Remove two old scripts still trying to use SVN.
* The HTA website is no more and we switched to pootle with a different
way to commit the translations.
* Git has no properties so the propset script can't be used anymore.
2015-06-14 17:52:04 +02:00
Adrien Destugues
f02ad7a5ea Remove "stubgen" from tools folder.
* Not used directly by the build system or even included in jamfiles
* Was mostly untouched (save for an OpenBeOS to Haiku rename) since the
migration from CVS.
* Get it from upstream if you need it: https://github.com/mjradwin/stubgen
2015-06-14 17:48:58 +02:00
Adrien Destugues
87aab8e742 Use complete name for libbsd.
* Maybe fixes the dependency detection?
2015-06-14 16:41:27 +02:00
Adrien Destugues
842d399404 rename libbind to netresolv.
* Match current upstream project name
* Improve tab-completion pattern by removing common prefix with libnetapi
2015-06-14 15:47:18 +02:00
Adrien Destugues
f972422c66 Add a simple DNS caching system to BNetworkAddress
netresolv (and libbind) won't cache DNS requests, which can result in a
lot of DNS requests being made for the same host. Implement a simple
cache in RAM (local to each application) which will keep the most
recently requested addresses cached. This can speed up loading of an
HTTP page a lot, by saving a DNS request for each resource stored on the
same server as the main page.
2015-06-14 15:47:13 +02:00
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