Commit Graph

48275 Commits

Author SHA1 Message Date
Murai Takashi
11ed104c2d AddressTextControl.cpp: Fix ordered comparison between pointer and zero.
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

ticket : #13598
2017-07-14 09:39:43 +02:00
Automatic Committer
a7ba98ee5b Update pci.ids from pciids.sourceforge.net 2017-07-13 05:20:24 +02:00
Jérôme Duval
2d4d0f0ac1 Revert "vfs.cpp: Fix gcc6 crash."
This reverts commit 5b55f6dba9.
2017-07-12 17:36:24 +02:00
Alexander von Gluck IV
0cc293cf32 raspberrypi_arm: Drop old Raspberry Pi 1 boot loader.
* We transitioned to u-boot quite some time ago
* We also are dropping < ARMv7 support
2017-07-11 14:39:13 -05:00
Murai Takashi
5b55f6dba9 vfs.cpp: Fix gcc6 crash.
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2017-07-11 17:24:07 +02:00
Alexander von Gluck IV
a01d0e5ae5 arm: Enable mmu tracing. (We're going to need it for a while) 2017-07-10 15:16:55 -05:00
Alexander von Gluck IV
aba7320584 u-boot/arm: Add missing floppyboot to mmc 2017-07-10 14:53:04 -05:00
Alexander von Gluck IV
f5d7446b5b u-boot: Correct loader base naming 2017-07-10 13:34:29 -05:00
Alexander von Gluck IV
1b3c81feeb u-boot: Fix mmc build without target boards 2017-07-10 09:02:56 -05:00
Alexander von Gluck IV
1e82d7bd25 kernel/arm: Work out more board_config's via fdt 2017-07-10 08:19:44 -05:00
Alexander von Gluck IV
e40cea64bd u-boot/arm: Initial steps to drop target board requirements 2017-07-09 22:51:50 -05:00
Alexander von Gluck IV
855fc5a0d3 platform/u-boot: Build all fdt's and include in u-boot mmc
* Eventually BoardSetups and target boards will go away.
* Include all known fdt's in the mmc image
* This gets us closer to target board-less arm
* Changing hardware is as simple as plugging a new fdt
  into u-boot's startup script.
* Drop my original rpi1 work.  We're targetting ARMv7
  minimum.
2017-07-09 22:19:51 -05:00
Brian Hill
acfd5c8676 SoftwareUpdater improvements and fixes
Improvements:
* Close box on window tab replaces cancel button
* Final window quit button made default
* Window frame and details checkbox option saved to settings file and
  restored upon start of application
Bug fixes:
* Fixed strings not truncating properly in scroll view
* Application was unnecessarily aborting the Haiku shutdown process
* Window corner grabber now not shown when window is not resizable
2017-07-09 22:49:52 +00:00
Jerome Duval
8412d1d17a userlandfs: this being NULL is undefined beheviour.
this is now checked before calling the methods.
2017-07-06 21:22:18 +02:00
Paul LeoNerd Evans
c95da8e700 libvterm: Adjust linebreaking of 'break' statements to avoid gcc warnings of misleading indentation 2017-07-06 21:22:05 +02:00
Automatic Committer
3d225b1a54 Update pci.ids from pciids.sourceforge.net 2017-07-06 05:20:20 +02:00
Alexander von Gluck IV
144e404b2d libroot/ppc: Add missing stack_trace 2017-07-04 19:28:13 -05:00
Alexander von Gluck IV
b3d3ee5a2f libroot/ppc: Stub out emitted GCC atomics on ppc32
* gcc will emit 64-bit (_8) atomic functions on 32-bit
  powerpc architectures. This stubs them out for now
  with a warning.
* We could do more here, but i'm just getting PPC
  bootstrapped to get the nightly builds going again.
* We could also just completely drop PPC.. but it was
  pretty close pre-pm... so I'd hate to lose that work.
2017-07-03 13:05:47 -05:00
Augustin Cavalier
9175f4f04a netresolv: Merge patches from 2015 to current HEAD.
Commits merged from the semi-official Git mirror of NetBSD
trunk (https://github.com/IIJ-NetBSD/netbsd-src/).

Commit authors/messages in chronological order follow:
---------------------------------------
From: maya <maya@netbsd.org>
Date: Tue, 9 May 2017 02:56:44 +0000
Subject: Avoid shift of negative signed integer. this is UB. NFC.
2017-07-03 12:17:47 -04:00
Augustin Cavalier
bbb7a5b327 libs/util: Delete unused portions.
We only include 4 .c files of this in the build, so delete everything
else.
2017-07-03 12:02:38 -04:00
Alexander von Gluck IV
9c8119e02c kernel/smp: Add a comment for some obsecure knowledge
* I was ready to rip this out until PulkoMandy set me stright.
* Add a comment so others understand the impact here.
2017-07-03 09:43:07 -05:00
Fredrik Holmqvist
3eee68eb9a Revert "Check needs extra paranthesis to aviod ambiguity."
This reverts commit 4e219110d4.
The commit also added the mask that caused ambiguity.
It shouldn't be there.
2017-07-03 07:32:41 +02:00
Alexander von Gluck IV
7f47ae44c2 openfirmware: Fix build post get_boot_partitions changes
* Thanks jessicah!
2017-07-02 22:57:53 -05:00
Fredrik Holmqvist
4e219110d4 Check needs extra paranthesis to aviod ambiguity.
Build fails with an ambiguity warning on x86_64 cross compile otherwise.
2017-07-02 22:33:17 +02:00
Dale Cieslak
061b9eeccf Memory leaks and locking issues in GetUnicodeBlocks and IncludesUnicodeBlock
- GetTransformedFace *must* be paired with PutTransformedFace otherwise
the font style never gets unlocked.
- Also use FcCharSetDestroy when done with a fontconfig charset to
prevent leaked memory.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

ticket: #13526
2017-07-02 08:38:58 +02:00
Augustin Cavalier
c7258f02db PDF Writer & PDFlib: Remove from tree.
Now supplied via HaikuPorts packages.

I *think* this was the last component in the tree with a
non-OSI license.
2017-07-01 18:46:58 -04:00
Augustin Cavalier
6a075fc1af POP3: Actually return B_TIMED_OUT not just B_ERROR on timeouts. 2017-07-01 04:59:17 -04:00
Augustin Cavalier
d1136c5a97 SMTP: Use B{Secure}Socket for communication. 2017-07-01 04:59:17 -04:00
Augustin Cavalier
c86d497164 SMTP: Remove STARTTLS support.
* It's vulnerable to man-in-the-middle attacks (which can't really be fixed)
 * It's rather nasty to implement (and prevents us from using BSecureSocket)
 * Nearly all servers I know of which support STARTTLS also support plain
   TLS also.
2017-07-01 04:59:17 -04:00
Augustin Cavalier
9980b6b47c IMAP: Remove direct usage of OpenSSL.
It already uses BSecureSocket without checking for USE_SSL,
so just assume we have SSL no matter what.
2017-07-01 04:59:17 -04:00
Augustin Cavalier
92bfd0e09e POP3: Remove direct usage of OpenSSL.
It already uses BSecureSocket without checking for USE_SSL,
so just assume we have SSL no matter what.
2017-07-01 04:59:17 -04:00
Augustin Cavalier
954b54ba8d kits/mail: Remove OpenSSL logic from Jamfile.
Nothing in the Mail Kit proper uses OpenSSL directly anymore
(confirmed with a grep for USE_SSL as well as "openssl"),
so we don't need this logic anymore.
2017-07-01 04:59:17 -04:00
Augustin Cavalier
1cc5dd9dd9 Remove UseLibrary Headers alm ; from Jamfiles that aren't using it.
Now to take a look at moving the really gnarly mail networking code
over to B{Secure}Socket...
2017-06-30 20:11:21 -04:00
Augustin Cavalier
8108c0dc3f mail_daemon: Delete old READMEs. 2017-06-30 19:48:59 -04:00
Augustin Cavalier
f8f0ac7ecb drivers/network: Re-sort the Jamfile.
It still had comments about FreeBSD 7/8 drivers, when we're mostly
on 9.2/9.3 with bits of 10 now.
2017-06-30 17:06:08 -04:00
Augustin Cavalier
19e366c3ac bcm440x/bcm570x: Remove.
Not included in the build (they were locked behind a SubIncludeGPL),
not really touched since 2007, and entirely supplanted by the
broadcom440x/broadcom570x drivers from FreeBSD.
2017-06-30 15:49:10 -04:00
Humdinger
6dc536b180 Web+: changed string in Downloads window
While "Hide" may be technically more correct, "Close" is more
widely used in Haiku and accurately describes what the user
sees.
2017-06-30 18:02:56 +02:00
Jessica Hamilton
8253046311 hda: prevent buffer overrun for associations array. 2017-06-29 13:56:54 -07:00
Sergey Avilov
a5fb17bc65 package_daemon: fix an issue with package overwrite
When overwriting a package the sequence is: remove old, add new package.
On remove we add package to ToBeDeactivated set. This is ok.
On adding new package there is a check if package exists or not. On true
return. But package still in ToBeDeactivated set.

Fixes #10038

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2017-06-29 16:45:21 -04:00
Sergey Avilov
d70f22ac30 package_daemon: fix crash on system update
We can't delete old volume state while it's still active and can be
accessed until reboot.

Fixes #10898

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2017-06-29 16:37:54 -04:00
Automatic Committer
5c0ae35297 Update usb.ids from www.linux-usb.org 2017-06-29 05:20:21 +02:00
Augustin Cavalier
ab76614d65 ideinfo & idestatus: Remove.
They're useless without the old IDE stack.
2017-06-28 17:55:39 -04:00
Adrien Destugues
ff5c2dc23b FileListener: does not need to be asynchronous.
The asynchronous listener is meant to be used when the functions are
meant to be called from the main thread (or another looper the listener
is explicitly atached to).

For this to work, the request should be attached to
listener->SynchronousListener(), which was not the case here. Assume it
is fine for the functions to be called from the HTTP thread directly
then (if I'm wrong, revert this and attach the synchronous listener to
the http request, however wihout further changes it will just move the
execution of the callbacks to the main thread, which may not be the
right place either).

This fixes a crash when exiting WebKit while playing a youtube video
(somehow the handler isn't cleanly deleted and removed from the main
looper there - going without a handler at all fixes this).
2017-06-28 22:19:18 +02:00
Alexander von Gluck IV
402ec26eda ide: Remove last ide fragments.
* Missed in previous commit.
2017-06-28 08:51:24 -05:00
Alexander von Gluck IV
7600fdd8e2 ide: Remove old IDE bus + stack.
* Hasn't been used for quite some time
* Everything was ported over to a new ATA stack
  some time ago.
* No huge regressions were seen from the new ATA
  stack.
2017-06-28 08:13:37 -05:00
Jessica Hamilton
85b0c3209d hda: increase max association count.
* On MacBook Air 6,2, HDA driver has an association count of 19. Prior
  to this fix, this would corrupt the hda_multi pointer.
2017-06-27 10:57:19 +12:00
Adrien Destugues
bb0d0ea2e3 pc_serial: cleanup, no functional changes
- Improve readability of code to detect serial debug
- Rename usb_serial_* functions to pc_serial_* (code was copied from the
  USB serial driver)
2017-06-25 07:54:02 +02:00
Victor
af5001925e Fixed (again) the way URL locking works.
URL input is considered locked when it is focused and original text was
changed. Pressing ESC will now change URL input's text to the current URL.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2017-06-25 07:40:35 +02:00
Adrien Destugues
4c9ec29000 pc_serial: if kernel debugger is disabled, use the port
This makes it a lot easier to use and test pc_serial, even on machines
with a single serial port (COM2 is getting even more rare than COM1
these days).
2017-06-24 21:57:43 +02:00
Pedro Pinto
856da1f3ff Add missing include with Partition class definition
* Fixes a compilation error while compiling the u-boot loader for
  the ARM platform.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
2017-06-23 17:30:27 -04:00