Commit Graph
100 Commits
Author SHA1 Message Date
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
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
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
Augustin Cavalier 11384b58ba bin/coreutils: Remove; now unused since previous commit. 2017-07-23 11:08:34 -04:00
Augustin Cavalier 95295296cd multiuser: New implementation of su.
We're still using the (now-deprecated) coreutils su, so this is
a replacement for that. It functions almost equivalently,
and supports the major arguments (-l, -c).

(Note that login/su to a non-root user is presently busted, though.
See #13583.)
2017-07-23 11:07:36 -04:00
Augustin Cavalier eed40cb8c5 multiuser_utils: Add bool chngdir option to setup_environment. 2017-07-23 11:07:36 -04:00
Augustin Cavalier 5cc11bf479 login: Use read_password from multiuser_utils.
Also fix some extant bugs.
2017-07-23 11:07:36 -04:00
Augustin Cavalier ec1421184a multiuser: Move setup_environment from login to multiuser_utils. 2017-07-23 11:07:36 -04: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 <[email protected]>
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
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 6544bef00a HaikuDevel: Include libprint.a and libprintutils.a.
It's essentially impossible to build printer drivers outside the tree
without these (and I'm presently trying to outsource the PDFWriter.)
2017-07-01 18:21:31 -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 5c4c4e9180 fssh_time: Fix following time_t changes. 2017-06-30 18:14:47 -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
Augustin Cavalier ab76614d65 ideinfo & idestatus: Remove.
They're useless without the old IDE stack.
2017-06-28 17:55:39 -04:00
Augustin Cavalier 7aae2f7475 userguide: Actually sort the language menu. 2017-06-24 00:19:23 +02:00
Augustin Cavalier b988c71571 Update userguide translations 2017-06-17 20:50:50 +02:00
Augustin Cavalier 0bb2d0ecad docs/user: Status codes are defined in Errors.h, not Error.h. 2017-06-14 18:05:31 -04:00
Augustin Cavalier ba25f57aad Tracker: More B_PRId32 -> B_PRIdTIME. 2017-06-10 21:17:38 -04:00
Augustin Cavalier 45de4ebf98 CharacterMap: Miscellaneous sentence-casing fixes after previous commits. 2017-06-06 22:10:26 -04:00
Augustin Cavalier 9f6dbb5ff0 Fix the build following the 64-bit time_t switch. 2017-06-06 17:38:17 -04:00
Augustin Cavalier 39efd913c1 Switch to a 64-bit time_t everywhere except 32-bit x86.
Thus, BeOS compatibility is preserved (and there is no risk of
breaking GCC5<->GCC2 interoperation on hybrid builds.)

This commit only makes the actual change, the build fixes are
in the next commit.
2017-06-06 17:38:17 -04:00
Augustin Cavalier 6ad3d25212 real_time_clock: Change _user_{get|set}_timezone argument to int32.
Both the user-mode syscalls.h and the kernel-mode one define it
as an int32, not a time_t, and as it's a timezone offset not
an actual time, there's no reason it needs to be one.
2017-06-06 17:38:17 -04:00
Augustin Cavalier b70a58f95a pthread.h: Remove PTHREAD_RWLOCK_INITIALIZER macro.
This reverts commit 17286dc70a.

As discussed on the mailing list. As it turns out, this was less
than half of an actual implementation of this macro, and there's
technically no way to implement it without introducing (theoretical)
race conditions, in the current design anyway.
2017-05-29 10:54:41 -04:00
Augustin Cavalier affb4e25fe runtime_loader: Remove EXEMODE hack.
This reverts commit 6af29d4f83.
I'll have a look at our buildbot config and see if it needs fixing.
2017-05-28 12:42:12 -04:00
Augustin Cavalier 6af29d4f83 runtime_loader: Ensure EXEMODE is set.
Stopgap solution for #12373.
2017-05-26 15:31:55 -04:00
Augustin Cavalier c72855f6c0 libMicro: Remove from tree.
Upstream libMicro builds and runs on Haiku with minimal changes now
(no recipe as it does not have an INSTALL mechanism). I submitted
a pull request with those to upstream, but for now you can get them
from https://github.com/waddlesplash/libMicro.
2017-05-12 17:20:29 -04:00
Augustin Cavalier 7f06022487 Remove ancient, unused, useless ICH stub. 2017-05-12 16:48:49 -04:00
Augustin Cavalier fc474c326c modem: Style fix. 2017-05-12 16:32:04 -04:00
Augustin Cavalier a8ae893bc3 Tracker: Fix B_UNDO/B_REDO forwarding to a focused BTextView. 2017-04-29 15:09:05 -04:00
Augustin Cavalier 56f9e8b759 Tracker: If a BTextView is focused, do not force-forward clipboard events to it.
In its original state this code just forwarded all clipboard messages to the
focused view, which sometimes was a BTextView or the like which knows nothing
about Tracker's custom clipboard events, and thus would wind up in an infinite
loop.

Now, the messages are left to be handled by the focused view if a BTextView
is selected (e.g. in a file panel, or in Tracker's navigator), but otherwise
forwarded directly to the BPoseView.

Fixes #12721.
2017-04-29 15:00:05 -04:00
Augustin Cavalier 0d3051a20b modem: Fix logic errors and some style issues.
Thanks Axel for the review!
2017-04-29 14:08:18 -04:00
Augustin Cavalier bef731a331 modem: Adapt to the new network stack.
This is my first time using most of these API calls to the network stack, so,
reviews most welcome.
2017-04-26 22:16:11 -04:00
Augustin Cavalier 207606e0c9 ppp/modem: Trim trailing spaces. 2017-04-25 14:32:47 -04:00
Augustin Cavalier bf1bf4e9d4 ppp: Cleanup Jamfiles. 2017-04-25 14:29:48 -04:00
Augustin Cavalier 5d614ec377 tracker: We now target only Haiku since the layout merge, so use B_REDO. 2017-04-25 11:19:32 -04:00
Augustin Cavalier df2961ae19 usb_serial: Fix typo Alex made. 2017-04-25 11:06:56 -04:00
Augustin Cavalier 3f2162c629 tests/kits/net: Remove old version of the DialUpPreflet.
Hopefully there aren't any more copies of this hiding in the tree....
2017-04-25 10:56:42 -04:00
Augustin Cavalier 5495e4f674 netperf: Remove from tree.
Not actively used and there is a recipe available.
2017-04-25 10:55:29 -04:00
Augustin Cavalier 9c80c788c0 HaikuPorts/x86_gcc2: Add the gnuefi any-arch package. 2017-04-23 21:16:35 -04:00
Augustin Cavalier 0fb349bc5d network_settings/dialup: Initial move to layouting. 2017-04-20 15:54:12 -04:00
Augustin Cavalier adae1a12b8 network_settings/dialup: Update copyright headers.
Also reformat the rdef to match the other network_settings.
2017-04-20 15:54:12 -04:00
Augustin Cavalier 922badcfe1 network_settings/Jamfile: Add dialup SubInclude.
(Still not included in the build, of course.)
2017-04-20 15:54:12 -04:00
Augustin Cavalier 15d60d5e45 stickit_BJoystick: Remove unused .proj file. 2017-04-18 16:02:49 -04:00
Augustin Cavalier c6c3303630 network_settings/dialup: Remove unneeded/unused posix directory. 2017-04-18 15:58:21 -04:00
Augustin Cavalier 9390158822 network_settings/dialup: Fix the build.
Badly needs layouting and a lot of other fixes to get it
working with the new PPP stack. But it's a start.
2017-04-18 15:40:10 -04:00
Augustin Cavalier 0a694375a9 network preflet: Add B_NETWORK_INTERFACE_TYPE_DIAL_UP. 2017-04-18 15:39:40 -04:00
Augustin Cavalier a325aa030f DialUpAddOn: Move to add-ons/network_settings/dialup. 2017-04-18 14:21:26 -04:00
Augustin Cavalier 8dcdf72d72 Update userguide translations 2017-04-15 22:40:25 +02:00
Augustin Cavalier b95e90657e docs/user: Update search URL following docs migration. 2017-04-15 16:28:06 -04:00
Augustin Cavalier 17f5ac9149 libroot: Restore exit() call after debugger().
Thanks PulkoMandy for the review.
2017-04-14 18:29:29 -04:00
Augustin Cavalier a5d208c7d6 libroot: abort() should behave like a crash, not just a 'failure' exit.
Calling debugger() means that the crash dialog will be shown, and so
users will not be left wondering why an app just spontenously disappeared.
2017-04-14 16:07:02 -04:00
Augustin Cavalier ad05d1f087 libs/agg: Remove GPC.
It was licensed with a "no commercial usage allowed" license, which if
we were using it would be a gray area at best. We weren't using it at all,
and AGG seems to have disabled building it by default, so just remove it
from the tree entirely.

Briefly discussed on IRC.
2017-03-18 19:27:45 -04:00
Augustin Cavalier 59bdca5dd4 kernel/x86/arch_int: Style fixes.
Thanks Axel for the review.
2017-02-27 18:14:26 -05:00
Augustin Cavalier 0414166a29 kernel/x86/arch_int: Move cast after NULL check.
Spotted by Lioncash (via IRC). No functional change intended.
2017-02-25 15:28:25 -05:00
Augustin Cavalier 7abafe9f3f Revert "Revert "Switch from DejaVu to Noto font""
This reverts commit 2423ba8470.
2017-02-19 12:09:33 -05:00
Augustin Cavalier 2423ba8470 Revert "Switch from DejaVu to Noto font"
This reverts commit 945566ff43.

As discussed on the mailing lists and with Humdinger off-list:
 * The general design concensus tends slightly towards DejaVu, as metrics
   of DejaVu look much better (DejaVu 12 and Noto 13 are roughly the same size,
   but Noto has much wider margins with that)
 * While Noto does have a wider set of fonts with support for lots of
   different languages, DejaVu actually has built-in support for more
   Unicode languages (the default Noto has, as far as I can tell, only
   Latin/Greek/Cyrillic [2416 glyphs], while DejaVu also has Armenian, Georgian,
   and a few other scripts too [5119 glyphs].)
 * The worse rendering of DejaVu appears to have been somewhat rectified by
   disabling the average-based subpixel filter in app_server.
2017-02-18 14:36:36 -05:00
Augustin Cavalier 024752cf16 ppp/modem: Update the Jamfile to make it start building again.
It fails, of course, because it hasn't been ported to the new stack.
(I made an attempt at that, but quickly wound up in code that I didn't
understand enough to migrated...)
2017-02-11 16:33:18 -05:00
Augustin Cavalier b6f76ebe71 s/OpenBeOS License/MIT License/ universally, as they're the same thing.
Fixes #8681.
2017-02-09 22:09:56 -05:00
Augustin Cavalier 6c9415e3ca BJson: Use the normal "input, output" argument ordering instead of the reverse.
Update all in-tree consumers of the BJson API to match. Also added
const-qualifiers to the BString versions of the API, and added the leading
"_" to the header guards.
2017-02-09 13:43:26 -05:00
Augustin Cavalier aae431375e BJson: Fixes, tweaks, and behavioral changes based on the JSON Minefield Tests.
As found on http://seriot.ch/parsing_json.php -- anything using the API
presently with valid JSON should have no troubles, but more valid JSON
that previously didn't work now does (e.g. JSON with root array nodes, not
root map nodes), and invalid JSON that silently succeeded before now fails.

Not all the bad cases from that testsuite now fail, and not all of the good
ones pass, but the few that remain are odd things that wouldn't map well to
the BMessage API (e.g. root string nodes, etc.) or are other behaviors that
make sense to leave as they are for compatibility reasons.
2017-02-08 21:35:42 -05:00
Augustin Cavalier ae0dad00b7 app_server: Remove erroenous comment as per Julian's review. 2017-02-04 16:06:53 -05:00
Augustin Cavalier d10e64f851 app_server: Enable the RGB subpixel rendering codepath.
This change will have no effect if your FreeType was compiled without subpixel
rendering support, but since FreeType is now binary compatible between versions
with and without subpixel rendering, all you have to do after this change
is to recompile and reinstall FreeType.
2017-02-02 19:55:56 -05:00
Augustin Cavalier 1de2d72812 Partially revert "ReadMe & docs: The Haiku Book has moved to www.haiku-os.org/docs/api."
This mostly reverts commit 75b219d35a.
The changes to the image URLs in Alert.dox are still needed, so I
didn't revert those.

As per discussion on the mailing list and IRC.
2017-02-01 15:23:54 -05:00
Augustin Cavalier 75b219d35a ReadMe & docs: The Haiku Book has moved to www.haiku-os.org/docs/api. 2017-02-01 11:22:01 -05:00
Augustin Cavalier 92b020b5ea docs/user: Update infobox CSS to match the new colors. 2017-01-28 13:33:19 -05:00
Augustin Cavalier 44460faf4d docs/user: Make string literals in code blocks gray.
Class and function reference links are also blue, so this distinguishes
them from each other.
2017-01-28 13:26:20 -05:00
Augustin Cavalier 9dc2625de0 docs/user: Remove duplicate "ingroup interface" from layout docs.
Since the "Layout" group is a member of the "Interface" group,
Doxygen automatically adds the "Interface" group to all pages
in the "Layout" group, meaning that having an explicit "ingroup Interface"
created duplicate group tags.
2017-01-28 13:22:53 -05:00
Augustin Cavalier 3d7aa45e7a docs/user: Fix duplicate and erroneous BTabView class definition. 2017-01-28 13:19:14 -05:00
Augustin Cavalier bd7dc5223f docs/user: Make more code blocks and the like appear in monospace fonts. 2017-01-28 13:17:41 -05:00
Augustin Cavalier 38e1208a75 docs/user: Add $projectname to the page title.
Doxygen used to add this to $title itself, but now it doesn't, so we
have to change our template.
2017-01-28 13:02:44 -05:00
Augustin Cavalier 8d38dd18f1 docs/user: Updates for Doxygen 1.8.
Surprisingly, after disabling the new Markdown support in the Doxyfile,
everything else pretty much worked out of the box. Only a number of CSS
changes were needed to adapt.

I wonder why nobody ever did this back in 2012 when 1.8 first came out...
2017-01-25 21:45:42 -05:00
Augustin Cavalier b01e48c6fb Tracker: Warn if there is < 5% of free space left on the drive.
Previously it would warn only below 20MB of free space, if this was
less than 10% of the drive's capacity. This is obviously ridiculous now.
The first suggested patch used a simple 10% as the new criteria, but that's
a little high -- 100GB out of a 1TB drive is still a bunch of space left.
5% seems like a more appropriate choice here, and preserves a behavior
closer to the original 20MB on smaller (older) drives (5% of 500MB = 25MB.)

If this turns out to be too annoying for some users, we can make the check
more refined than it is now, but I don't think that will be necessary.

Fixes #4520.
2017-01-22 15:24:26 -05:00
Augustin Cavalier 1aacfd6940 Repositories: Use std::min and std::max to fix the x86_64 build. 2017-01-07 14:33:50 -05:00
Augustin Cavalier 07558eb152 build: Add the Repositories preflet to the regular image. 2017-01-07 13:59:20 -05:00
Augustin Cavalier 02b11c1982 LegacyPackageInstaller: Fix strnlen/strncmp usage.
I should have my "License to C" revoked...
2017-01-05 16:51:21 -05:00
Augustin Cavalier bdf0ed4231 LegacyPackageInstaller: Ignore files which do not end in ".pdb".
The LegacyPackageInstaller's data folder is (and has always been)
"~/config/packages", which is of course the same directory that Haiku's
(relatively) new package management system uses. We don't want the
"administrative" folder and any HPKGs in that directory to show up in
the "installed legacy packages" list, so ignore them.
2017-01-05 12:06:30 -05:00
Augustin Cavalier 4b235ebeb9 test_app_server: Fix the build.
It doesn't work, however; it throws an error message about failing to connect
to a port, which I presume was caused by the launch_daemon changes. If
Axel could take a look at it, that'd be much appreciated...
2016-12-17 14:03:13 -05:00
Augustin Cavalier 7127f7320a FontEngine: Fix warnings (and thus the build) of subpixel rendering code. 2016-12-17 14:03:13 -05:00
Augustin Cavalier 3798bf90cb Use the kDesktopWindowLook/kDesktopWindowFeel constants from WindowPrivate.h...
... instead of redefining them, or including a private Tracker header to
get them.
2016-10-22 04:24:49 -04:00
Augustin Cavalier 49a2d53d35 Magnify: Write an actual image for "save image", not a C++ data header.
I've no idea why this was what "save image" did, but apparently it's
done so since this code was imported into the trunk in the very first
commit. Now it saves PNGs, which is what users expect.

Fixes #5011.
2016-10-22 03:23:21 -04:00
Augustin Cavalier 79d6f0870e PoorMan: Fix 'resizing mode or flags swapped', trim trailing space. 2016-10-22 02:57:04 -04:00
Augustin Cavalier 71452e9833 3rdparty/qtcreator: Totally new version of the create_project_file script.
Qt Creator now has a "generic project" mode, in which it just acts
as an auto-completing code editor. I tried using it on the entire
Haiku project at once, but it's just too much for Qt Creator to handle.
So instead, I created a script which generates project files for
any given directory in the tree, as well as sets up the proper include
directories. The project files themselves are .gitignore'd; use the script
to create them.

Works on Haiku. Did not test on Linux with a crosstools setup; but
it should work there too.
2016-10-22 02:09:56 -04:00
Augustin Cavalier cfe0adf0fb Tracker: Remove unused definition. 2016-10-22 02:07:27 -04:00
Augustin Cavalier 13cf3fecae Tracker: Remove unused Cursors.h header. 2016-10-22 02:07:27 -04:00
Augustin Cavalier 87534026de docs/develop: Create a 'bluetooth' directory.
Presently contains only oco's final blogpost, for posterity's sake.
2016-10-19 19:18:14 -04:00