Commit Graph

57279 Commits

Author SHA1 Message Date
Owen
d64c7746c7 Add B_TRANSLATE_MARK_CONTEXT to Catalog.h and tools/CollectingCatalog.h
Fixes #13656

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
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
2017-08-06 20:25:05 +02:00
Jérôme Duval
e272017e2f Update binutils package for x86. 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.
2017-08-06 14:12:28 +02:00
Philippe Houdoin
2a081b42a9 fifo: revert broken fix 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...
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.
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.
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.
2017-08-03 09:17:46 +00:00
Automatic Committer
ddf853297f Update usb.ids from www.linux-usb.org 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.
2017-08-02 22:45:18 +02:00
Jérôme Duval
6454164d8d Include mesa_swrast on x86_gcc2, mesa_swpipe otherwise. 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.
2017-08-02 18:29:03 +02:00
Murai Takashi
8119ed92ef libpackage Jamfile: Add missing ':'
Signed-off-by: Humdinger <humdingerb@gmail.com>
2017-08-02 14:31:19 +02:00
Humdinger
06b345331b Re-add accidentally removed blank line
Removed in hrev51327, spotted by axeld. Thanks!
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.
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
2017-08-01 21:05:23 +02:00
Jérôme Duval
30bcd37201 xhci: always trace version, structural and capability params. 2017-08-01 18:55:55 +02:00
Philippe Houdoin
12b5c184b2 kernel: add fifo polling test from #7859 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.
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.)
2017-07-31 17:49:59 -04:00
Augustin Cavalier
c6c03d566e Reinstate umask test into configure now that the buildbots have been fixed. 2017-07-31 17:33:51 -04:00
Jérôme Duval
4b530fca37 Update pdfwriter and sip_python packages for x86_64. 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.
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.
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)
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.
2017-07-30 17:18:30 -04:00
Adrien Destugues
2459b6db4f CID 701865: missing break in switch. 2017-07-30 22:50:07 +02:00
Adrien Destugues
2093ede6bc CID 603359: missing break in switch/case. 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.
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.
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.
2017-07-30 19:25:16 +02:00
Adrien Destugues
979a0b6a20 xhci: Fix fuplicate trace.
Makes reading the logs a little less confusing.
2017-07-30 15:06:05 +02:00
Adrien Destugues
6f1ae3c88f XHCI: fix tracing
- The XHCI version register is at offset 2, but we can't do a 32-bit
read at that address. Instead read at address 0 and shift. Fix a freeze
on my system (this register is currently used only for tracing, but I
noticed my USB controller implements version 0.96 and not 1.0 of the
spec, so maybe this will have to change). All other registers in the
capability area are already properly aligned.
- Usual printf type mismatch error in xhci.cpp.
2017-07-30 13:39:14 +02:00
Adrien Destugues
1b707a6822 fix libdsk provides
forgot to change the library version when updating the package.
2017-07-30 10:00:43 +02:00
Adrien Destugues
0af198bcf8 HaikuWebKit 1.6.1. 2017-07-30 08:44:15 +02:00
Adrien Destugues
f0f458ebea Remove glow from boot logo.
It looks better without it.
Note: beta and "development" images not adjusted. We don't have the
wonderbrush sources in the repo for these, apparently.
2017-07-29 12:27:50 +02:00
Adrien Destugues
f40841ac86 BNetworkRequest: fix _GetLine on empty lines.
On an empty line terminated by \n, we would access the temporary buffer
(stack allocated) with an index of (uint32)-1. On 32bit machine this
would just read the byte before the array on the stack, but on 64bit it
would crash.

Check that the length is at least 1 before trying to access a character
in the array.

Fixes #13625.

Thanks to accessays for proofreading the code:
2017-07-28 21:59:19 +02:00
Wiktor
b6b792f8cb Fixed certain labels not being drawn.
BTextControl was created with label as the first argument and NULL
as the second, while constructor expects control's name to come
first and then the label. The fix was to simply add a name
argument before the label and remove the extra NULL.

Fixes #13636.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2017-07-28 21:21:56 +02:00
Adrien Destugues
615ef07db3 libnetapi: missing NULL check. 2017-07-28 21:08:54 +02:00
Alexander von Gluck IV
f806447f52 aarch64: Add aarch64 build host support
* Maybe it will be a target someday.
* 64-bit ARMv8 for those not in the know.
2017-07-27 18:45:54 -05:00
Brian Hill
3e967b3fb4 Repositories bug fix
* Remove code that tries to detect repo name from other existing repos
* Automatically enable repo after it is added
Fixes #13602
2017-07-27 19:00:06 -04:00
Jérôme Duval
6c9e01265b pthread_rwlock: use a mutex for process-private locks.
* instead of a benaphore.
* define PTHREAD_RWLOCK_INITIALIZER.
* adjust Init(), Destroy(), StructureLock() and StructureUnlock().
2017-07-27 18:33:53 +02:00