Commit Graph

53803 Commits

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