Commit Graph

57458 Commits

Author SHA1 Message Date
Adrien Destugues
a74f88cf8f Build fix. 2017-08-21 18:52:28 +02:00
Adrien Destugues
faef86335b BTabView: fix binary compatibility.
Re-introduce missing symbol so that old apps can still be used.
2017-08-21 18:21:21 +02:00
Adrien Destugues
0d1bb791fc BControlLook: remove broken intersection check
When using BAffineTransform, the update rect is not in the same
coordinate space as the drawing rectangle. Hence, testing them for
intersection does not work, and leads to not drawing buttons which are
in fact visible.

Moreover, the code in BControlLook does not perform only drawing, it is
also expected to update the drawing rect, so other functions may reuse
it later (for example, drawing a button border also computes the
rectangle for the button background). Because of this, it is not
possible to skip the drawing completely, or we could break the layout of
the client.

Fixes #13664
2017-08-20 15:55:56 +02:00
Adrien Destugues
dd582ff9d5 Add a test for #13664
Interaction between ConstrainClippingRegion and transforms leads to
button frames and background not being drawn at all.

Also shows another problem with rounded corner buttons when mixed with
transforms.
2017-08-20 14:59:21 +02:00
Adrien Destugues
d47dec9356 Make gcc2 happy. 2017-08-20 09:48:29 +02:00
Adrien Destugues
1e80caa309 Add a white background version of the sticker
- Uses the Haiku URL instead of "inspired by the BeOS"
- Tweaked dimensions to match lastickerie.com templates (45x80mm + cutting margin)
2017-08-20 09:10:05 +02:00
Kacper Kasper
cb13fce878 BTabView: implement drawing tabs on all sides.
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2017-08-20 09:04:05 +02:00
Kacper Kasper
173e8195a4 BTabView: remove dead code.
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2017-08-20 09:04:05 +02:00
Kacper Kasper
a34769a0cc BTabView: cleanup draw function.
* Slightly changes how tabs look.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2017-08-20 09:03:52 +02:00
Adrien Destugues
dd64582866 HaikuwebKit 1.6.2. 2017-08-19 11:20:32 +02:00
Adrien Destugues
b8d9fcbeb3 Revert "ControlLook: remove some bogus clipping"
This reverts commit b277177477.
2017-08-16 17:48:58 +02:00
Adrien Destugues
b277177477 ControlLook: remove some bogus clipping
ConstrainClippingRegion was used in BControlLook to limit drawing to
inside the update rect. There are two problems with that:
- It would ignore any other clipping set by the application, as calls to
ConstrainClippingRegion are not cumulative,
- ConstrainClippingRegion ignores transforms on the view, so on a
transformed view, we would not draw anything in most cases.

If constrained clipping is needed here, it should be achieved using
ClipToPicture instead.
2017-08-16 17:44:45 +02:00
Adrien Destugues
2c1c78ae26 iwn: add missing PCI ID
Let's see if this is enough to get an extra card working?
This device ID is supported in the FreeBSD driver.
2017-08-16 14:37:58 +02:00
Adrien Destugues
b32b2f9028 DeskBar: remove app name from expanded window items
Expanded window items are listed right under the team item. So, it is
not needed (and a waste of space) to repeat the team name there.

Detect two common patterns for adding the application name to windows:

AppName: Window

and

Window - AppName

Remove both from the item labels, leaving a little more space for useful
information in DeskBar.
2017-08-15 10:55:50 +02:00
Adrien Destugues
43d60df2b0 Web+: avoid empty tab title
Use file name, if no title is provided by the page

Fixes #13663
2017-08-15 10:34:35 +02:00
Adrien Destugues
acad802d56 XModem: fix start of CRC transfer
We can send the first block immediately when we receive the "C" for the
first time.
2017-08-15 08:58:19 +02:00
Adrien Destugues
2566b22cd7 Fix Web+ crash if session file is corrupt. 2017-08-15 08:55:30 +02:00
Humdinger
ec90bfd866 Re-built Album package
Needed a rebuild due to changes in the locale kit (NumberFormat).
2017-08-14 08:57:04 +02:00
Jérôme Duval
c35666602f libroot: mktemp.c: fix gcc5 warnings. 2017-08-13 22:32:39 +02:00
Adrien Destugues
05d9795db3 Add some docs for BLayoutBuilder::Grid. 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.
2017-08-13 08:02:16 +02:00
Jérôme Duval
d784225237 tcp: Subsequent connect() call should return EALREADY.
* should fix #13662.
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>
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.
2017-08-10 10:33:41 +00:00
Automatic Committer
f7052a54cc Update pci.ids from pciids.sourceforge.net 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
2017-08-09 19:33:36 +00:00
Jérôme Duval
ed8aae4664 Update haikuwebkit package for x86_64. 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.
2017-08-07 18:12:21 +00:00
Adrien Destugues
a911a53fa6 HIG: Fix missing closing tag. 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>
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