57440 Commits

Author SHA1 Message Date
Jérôme Duval
c35666602f libroot: mktemp.c: fix gcc5 warnings. hrev51361 2017-08-13 22:32:39 +02:00
Adrien Destugues
05d9795db3 Add some docs for BLayoutBuilder::Grid. hrev51360 2017-08-13 09:05:29 +02:00
Adrien Destugues
433447be21 WebPositive: hangs when cookie jar is corrupt.
Missing error check led to endless loop trying to extract cookies from
an invalid message. Now the cookie jar is left empty instead.
hrev51359
2017-08-13 08:02:16 +02:00
Jérôme Duval
d784225237 tcp: Subsequent connect() call should return EALREADY.
* should fix #13662.
hrev51358
2017-08-11 15:51:56 +02:00
Wiktor
abb297f5db InterfaceKit: fixed BSpinner's label rendering.
A '&' (reference) was missing on a specific line, causing
font information to never be updated. Also removed extra padding
dependent on a constant variable - if it is used, the label will
be render too far down.
Fixes #12981.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
hrev51357
2017-08-10 20:23:15 +02:00
Philippe Houdoin
22b7e29bc6 libroot: mktemp.c: use rand_r() and set seed only on first call
This avoid to break caller's own srand() and having the same seed
if called twice very quickly.
Thanks david.given for a better fix for #13660.
hrev51356
2017-08-10 10:33:41 +00:00
Automatic Committer
f7052a54cc Update pci.ids from pciids.sourceforge.net hrev51355 2017-08-10 05:20:23 +02:00
Philippe Houdoin
c7a3a80cc6 libroot: make mktemp() more random
... by seeding rand() with process id, user id and current time.
This fix #13660
hrev51354
2017-08-09 19:33:36 +00:00
Jérôme Duval
ed8aae4664 Update haikuwebkit package for x86_64. hrev51353 2017-08-07 22:50:18 +02:00
Philippe Houdoin
9854a9d3d6 virtio_net: set/get actual frame size
works OK under VirtualBox now, but no robustness and performance
tests were made yet.
hrev51352
2017-08-07 18:12:21 +00:00
Adrien Destugues
a911a53fa6 HIG: Fix missing closing tag. hrev51351 2017-08-07 18:05:58 +02:00
Owen
d64c7746c7 Add B_TRANSLATE_MARK_CONTEXT to Catalog.h and tools/CollectingCatalog.h
Fixes #13656

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
hrev51350
2017-08-07 06:55:28 +02:00
Humdinger
7c86c4573f Minor changes to interface guidelines
* Sentence casing for the examples of menus etc.
* Use elipses instead of "..."
* As originally proposed in ticket #5010 [1], we went with removing
  dynamic menu item labels, e.g. "Show grid" <-> "Hide grid" from
  our apps (ProcessController, Magnify, etc.)

 [1] https://dev.haiku-os.org/ticket/5010
hrev51349
2017-08-06 20:25:05 +02:00
Jérôme Duval
e272017e2f Update binutils package for x86. hrev51348 2017-08-06 16:29:10 +02:00
Jérôme Duval
03820c114a Update binutils_x86 and binutils for x86_gcc2 and x86_64.
* starting with 2.27, binutils defaults to initfini-array instead of init and fini,
this leads to problems in Haiku, just disable for the time being.
hrev51347
2017-08-06 14:12:28 +02:00
Philippe Houdoin
2a081b42a9 fifo: revert broken fix hrev51346 2017-08-03 16:53:17 +00:00
Philippe Houdoin
4a531db1f2 networkstatus: test explicit boolean expression 2017-08-03 16:53:17 +00:00
Humdinger
337e3285ab Update CatKeysEditor package for gcc2h
Among other fixes and more translations, there's now an "Import"
feature to merge in another catkeys file.
Handy when the en.catkeys changed and you want to import the translated
catkeys file for the previous version, which already contains the
translations for the strings that haven't changed.
Hmm... hope what I wrote there is decipherable...
hrev51345
2017-08-03 14:49:43 +02:00
Philippe Houdoin
cb7833c724 networkstatus: add no NoLink and LinkNoConfig status
An interface that fail to configure due to link lost will be
reported to have "No Link" instead of to be still "Configuring...",
which was not the actual state.
hrev51344
2017-08-03 14:40:48 +00:00
Philippe Houdoin
65abebfaa7 fifo: wakeup readers not checking POLLHUP/B_SELECT_DISCONNECTED
For readers waiting in select() or simply in read(),
B_SELECT_DISCONNECTED notification didn't wake them anymore.
Now, cascade notifications to be sure to wake them, either
on POLLHUP, POOLERR/B_SELECT_ERROR or, at worst, from read().

See #7859 for details.
hrev51343
2017-08-03 11:48:02 +00:00
Philippe Houdoin
57b87ea9c3 virtio_net: add rx & tx support
Rx see lots of errors, though, but at least DHCP works now and
the interface goes up.
hrev51342
2017-08-03 09:17:46 +00:00
Automatic Committer
ddf853297f Update usb.ids from www.linux-usb.org hrev51341 2017-08-03 05:20:25 +02:00
Jérôme Duval
4d5934a2f7 xhci: handle 64 bytes context structures.
* it shouldn't harm controllers with 32-bytes context size.
hrev51340
2017-08-02 22:45:18 +02:00
Jérôme Duval
6454164d8d Include mesa_swrast on x86_gcc2, mesa_swpipe otherwise. hrev51339 2017-08-02 19:29:54 +02:00
Jérôme Duval
0b18b79ce4 libpackage Jamfile: DoCatalogs rule needs to find sources.
SubInclude should stay at the end.
hrev51338
2017-08-02 18:29:03 +02:00
Murai Takashi
8119ed92ef libpackage Jamfile: Add missing ':'
Signed-off-by: Humdinger <humdingerb@gmail.com>
hrev51337
2017-08-02 14:31:19 +02:00
Humdinger
06b345331b Re-add accidentally removed blank line
Removed in hrev51327, spotted by axeld. Thanks!
hrev51336
2017-08-02 08:56:55 +02:00
Andrew Lindesay
a1c3daa638 HaikuDepot : Streaming Icon Meta-Data Parser
More background work for later performance improvements.
This change generalizes the parsing of meta-data from
JSON streams as similarly structured meta-data is
anticipated to be carried in other payloads.  Unit tests
have also been implemented to provide coverage on this
new functionality.
hrev51335
2017-08-01 23:19:27 +02:00
Humdinger
96251548d1 Update gcc2.95 package to version 2017_07_20-1
Needed to build Haiku after Ingo's bump of the gcc2 version:
http://cgit.haiku-os.org/buildtools/commit/?id=aa5e6148654241454155fd352641bf4b97d53750
hrev51334
2017-08-01 21:05:23 +02:00
Jérôme Duval
30bcd37201 xhci: always trace version, structural and capability params. hrev51333 2017-08-01 18:55:55 +02:00
Philippe Houdoin
12b5c184b2 kernel: add fifo polling test from #7859 hrev51332 2017-08-01 18:50:36 +00:00
Philippe Houdoin
17f88a29db Fix x86_64 build 2017-08-01 18:37:39 +00:00
Philippe Houdoin
216574f371 fifo: fix #7859 2017-08-01 18:37:38 +00:00
Jérôme Duval
4c774d6f94 xhci: add some capability definitions.
* scratchpad buffer shouldn't cross the page boundary,
the maximum with the rest bytes in the page is 2048 / 8.
hrev51331
2017-08-01 17:14:07 +02:00
Augustin Cavalier
ce24655733 ReadMe.Compiling: We can work with genisoimage now.
(This commit brought to you by Finicky Buildbots In Need of Kicking.)
hrev51330
2017-07-31 17:49:59 -04:00
Augustin Cavalier
c6c03d566e Reinstate umask test into configure now that the buildbots have been fixed. hrev51329 2017-07-31 17:33:51 -04:00
Jérôme Duval
4b530fca37 Update pdfwriter and sip_python packages for x86_64. hrev51328 2017-07-31 20:28:12 +02:00
Humdinger
99e5e3fd08 Package daemon notifications
* Sentence casing
* Localize notification texts in the package kit
* Have "Package daemon" as group name and "Warning" as title
* Use ::BPrivate in Bitmap.h to solve an ambiguity (as pointed out
  by PulkoMandy). Though not needed for my changes any more, since
  a the icon of the notifying app is now shown by default.

Fixes #13590.
hrev51327
2017-07-31 19:09:38 +02:00
Jérôme Duval
ec89bb26a7 Revert "configure: Ensure that umask is not too restrictive."
Please reapply when someone is available to adjust the buildbot config.
hrev51326
2017-07-31 18:23:58 +02:00
Jérôme Duval
d9823ef5a0 PrintJob: make struct print_file_header packed.
* also struct _page_header_: on x86_64, these would align to 8 bytes, which the code
doesn't handle well.
* remove beos leftovers.
2017-07-31 17:11:53 +02:00
Brian Hill
17683fa9b6 SoftwareUpdater- add zoom feature and bug fix
* Added zoom button to window tab (and backend code to accurately
  calculate proper zoom size for displayed packages)
* No longer need to add icon to notifications since this is now done
  automatically by the BNotification constructor since hrev51299
* Create icons and setup fonts in constructors of list item classes

Bug fixes:
* Lock windows before quitting (fixes #13613)
hrev51325
2017-07-30 21:57:20 -04:00
Augustin Cavalier
70dde0b360 configure: Ensure that umask is not too restrictive.
There have been some odd bugs in the past possibly caused by this,
so guard against it.

Discussed with PulkoMandy.
hrev51324
2017-07-30 17:18:30 -04:00
Adrien Destugues
2459b6db4f CID 701865: missing break in switch. hrev51323 2017-07-30 22:50:07 +02:00
Adrien Destugues
2093ede6bc CID 603359: missing break in switch/case. hrev51322 2017-07-30 22:39:03 +02:00
Augustin Cavalier
a1ceb00059 Remove even more Locale Kit cruft.
Not included in the build and not used.
hrev51321
2017-07-30 14:46:41 -04:00
Augustin Cavalier
4e0a6a83d9 wwan: Fixup last commit.
(Forgot to comment this out.)
2017-07-30 14:40:42 -04:00
Augustin Cavalier
ff0184bed0 Remove GPL-add-ons build machinery.
No longer used by anything (it appears some old kernel drivers that
are not included in the build might use it, but I don't know why
they need it -- we already ship GPL'd code [libntfs] for the kernel
in the default build unconditionally.)

Briefly discussed with js a few weeks back.
hrev51320
2017-07-30 14:13:42 -04:00
Augustin Cavalier
dd4eae252e ac3_decoder: Remove from tree.
Not included in the build (locked behind a SubIncludeGPL);
now lives at HaikuArchives.
2017-07-30 14:06:05 -04:00
Augustin Cavalier
283b84cd62 xvid_decoder: Delete from tree.
Not included in the build (locked behind a SubIncludeGPL & commented out);
now lives at HaikuArchives.
2017-07-30 14:01:05 -04:00
Adrien Destugues
01c1bb6223 Remove more Locale Kit cruft.
BNumberFormat is the way to go for all of this. This code was not even
compiled in.
hrev51319
2017-07-30 19:25:16 +02:00