Commit Graph

44680 Commits

Author SHA1 Message Date
John Scipione
131261d2b5 Remove remaining /trunk/ before file references. 2013-02-07 21:19:06 -05:00
John Scipione
486aaa49f3 Check to make sure lastFocus is not NULL before using it.
This prevents an app_server crash on startup for me most likely
introduced in hrev45252. (Just a few commits ago)
2013-02-07 21:13:09 -05:00
Hamish Morrison
fef7dd705f HttpHeaders: header field names are case insensitive.
Whitespace before and after tokens should be ignored.
2013-02-07 19:32:14 +00:00
Axel Dörfler
4db1a8c61d app_server: reworked SetFocusWindow() logic a bit.
* The normal mouse mode now only uses the window that had focus last if that
  window is one that does not support to be the front window (such as the
  desktop).
* This should keep the logic of r41264 without the drawbacks (see #7280 for
  more information).
* Added _WindowCanHaveFocus() method.
* This should fix #7630.
2013-02-08 00:59:15 +01:00
Axel Dörfler
d6bb64d848 app_server: Added NormalMouse() and ClickToFocusMouse() methods.
* Made FocusFollowsMouse() inline.
* For convenience only.
2013-02-08 00:59:15 +01:00
Axel Dörfler
5c1b6cc3d4 Style cleanup. 2013-02-08 00:59:14 +01:00
Hamish Morrison
02deec6403 BSecureSocket: Read and Write should return 0 for closed sockets. 2013-02-07 18:42:39 +00:00
Niels Sascha Reedijk
f00edeb7e3 Automatically pick port 443 for HTTPS 2013-02-07 18:06:45 +00:00
Niels Sascha Reedijk
4e607e1aae Enable HTTPS connections.
Using more modern network classes:
 * BNetworkAddress instead of BNetAddress
 * BSocket and BSecureSocket instead of BNetEndpoint
2013-02-07 18:06:02 +00:00
Niels Sascha Reedijk
d1b6afe678 Re-enable the services kit from GSOC 2010
* Use a public domain MD5 implementation when the OpenSSL one is not available
 * No functional changes
2013-02-07 18:05:38 +00:00
Janus
9566700897 Fix7734. Avoid race conditions in ToolBar animation
Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2013-02-07 23:17:57 +01:00
Janus
74e14f5c70 Fix #8781. Display rotated images with alpha channel properly
Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2013-02-07 23:01:11 +01:00
John Scipione
51fe39ae0f Renamed stopwatch.dox to StopWatch.dox 2013-02-07 16:04:04 -05:00
John Scipione
faeb2ff331 Move syslog.dox from support to posix and put it in libroot.so 2013-02-07 15:52:25 -05:00
John Scipione
a93a16151d Fix doxygen warnings, enums can only be in 1 group 2013-02-07 15:52:07 -05:00
John Scipione
41611c9c5e Assign class docs for app and support to libbe group, not libroot 2013-02-07 15:04:05 -05:00
John Scipione
30b280b217 Style the interface diagram title as an h2 2013-02-07 14:49:43 -05:00
John Scipione
027cfe666e Bound the interface diagram.
The interface diagram for BArchivable has become too wide to fit on
the page so I've put the diagram in a box and made it scrollable.
While I'm at it give the interface diagram a silver border and
center it on the page.
2013-02-07 14:42:20 -05:00
John Scipione
db5b891db2 Move app and support class docs from libbe to libroot.
Also a few more style and spelling fixes.
2013-02-07 14:19:09 -05:00
John Scipione
6dc7e05ecf Update BBuffer class docs. 2013-02-07 02:11:09 -05:00
John Scipione
820dca4df6 Big docs cleanup.
* Fixed headers including:
  - All rights reserved not All Rights Reserved.
  - name, email@domain.com not name <email@domain.com>
  - tabs and spaces
  - Authors: not Documented by:
* Renamed string.dox to String.dox
* Renamed midixxx.dox files to MidiXxx.dox
* Moved images into images subdirectories and updated Doxfile.
* Re-format all files with tabs instead of spaces.
* Fix many spelling mistakes.
* Added all files, classes, structs, and enums to libbe group.
2013-02-07 02:01:19 -05:00
Stefano Ceccherini
8cf4ba89b6 Add a TODO comment 2013-02-06 08:28:41 +01:00
Stefano Ceccherini
8a6337d0f8 Converted the "net_interfaces" mutex into a recursive locker, and
acquire it in Interface::SetDown().
2013-02-06 08:28:41 +01:00
Matt Madia
afa494c44e Added icons with better perspective, from jstressman.
From #8747
2013-02-06 20:23:00 -05:00
Dancsó Róbert
ab23285fbd Corrected system name translation for Playground app.
Signed-off-by: Matt Madia <mattmadia@gmail.com>
2013-02-06 19:51:20 -05:00
Dancsó Róbert
054c290817 Corrected translation for "Clock" tab's strings in the Time preference app.
Signed-off-by: Matt Madia <mattmadia@gmail.com>
Note: Judging by the logs, this should have been part of hrev45037.
2013-02-06 19:36:31 -05:00
Janus
03352b04c5 Fix #7736. Avoid memory corruption
Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2013-02-05 23:31:02 +01:00
Axel Dörfler
43ee85f69c BMenuField: fixed broken view color.
* Apparently, I only tested the other case :-)
* This fixes bug #9433.
2013-02-05 23:19:20 +01:00
Axel Dörfler
fdff8a09a1 Minor cleanup.
* Slipped through; forgot to save.
2013-02-05 00:25:57 +01:00
Axel Dörfler
0a7975bfed BSlider::SetPosition() now calls BSlider's SetValue().
* Before it directly called the BControl version which doesn't really
  make any sense, and prevented visual updates.
2013-02-05 00:23:10 +01:00
Axel Dörfler
0b319bd6f3 Minor cleanup. 2013-02-05 00:22:52 +01:00
Axel Dörfler
0d7d4957aa DriveSetup: improved size slider.
* It uses size_for_string() to display all sizes which also fixes
  using MiB for one, and MB for the other size string.
* It is no longer limited to 1M granularity by itself, but can have
  arbitrary granularity as long as the number of possible values
  remain smaller than 2^31.
* This means it can also handle values beyond 4TB now.
* The sizes that are set programmatically retain their full resolution.
* CreateParametersPanel still uses 1M granularity for now, though,
  as we would otherwise need to be able to parse a size string with
  a unit.
2013-02-05 00:21:59 +01:00
Axel Dörfler
7ff0829758 Minor style cleanup. 2013-02-04 23:52:32 +01:00
Axel Dörfler
cf0ea4fbba DriveSetup: fixed crash in CreateParametersPanel.
* Changed order of calling Init() vs. _CreateViewControls(). This
  fixes bug #9422.
* The panel now hides (instead of disabling) the name or type control
  if those aren't supported, anyway.
2013-02-04 23:06:13 +01:00
Axel Dörfler
dbd6a97c7b Minor cleanup.
* Reordred methods to their declaration order.
2013-02-04 23:05:15 +01:00
Axel Dörfler
39b9d0f07f BMenuField: use panel background color as default.
* There is no reason the BMenuField should behave differently from
  any BControl here.
2013-02-04 22:11:14 +01:00
Jerome Duval
7ab100361f /dev/random: style changes and use MutexLocker. 2013-02-03 16:47:57 +01:00
Matt Madia
401bf7a0b5 Renamed Save button to Apply. Fixes #7533. 2013-02-02 14:12:12 -05:00
Matt Madia
0288eb7742 Reword an alert prompt to be less detailed, but more correct.
Resolves #6654. To note, AFAICT, this code block should never be executed.
However, I did feel comfortable removing it, in case the location of Trash
is relocated in the future.
2013-02-02 12:26:49 -05:00
fishpond
ac78048b58 /dev/random: added capability to accept writes. 2013-02-02 13:33:13 +01:00
Niels Sascha Reedijk
34c0029e93 Update translations from Pootle 2013-02-02 06:57:56 +01:00
Axel Dörfler
4ec2ca4e16 DriveSetup: renamed some files, fixed catalog.
* Already renamed the classes within those files earlier.
* The AbstractParametersPanel class was missing from the catalog.
2013-02-02 01:13:20 +01:00
Axel Dörfler
9deef7d466 DriveSetup: show content type if there is no type. 2013-02-02 01:13:19 +01:00
Axel Dörfler
443522551e Fixed design issues in BPartitionParameterEditor.
* The user of an editor needed knowledge about the editor in order to make
  use of it.
* Furthermore, the BPartitionParameterEditor exposed type specific
  functionality that it shouldn't know anything about, either.
* We may now define a number of known parameters per editor type; right now
  there is only "type" as it's needed by DriveSetup.
* Adapted all disk systems, and DriveSetup to the new API.
* Renamed CreateParamsPanel, and InitializeParamsPanel to *ParametersPanel
  in DriveSetup.
* They now share a common base class AbstractParametersPanel.
2013-02-02 01:13:19 +01:00
Axel Dörfler
a206dee38e DriveSetup: improved default window size.
* The default width will no longer make the parameters and partition type
  columns visible.
* Fixed default size of those two columns -- I did not notice that the column
  state was being restored before, and thought it would just be another oddity
  of BColumnListView :-)
* Since MainWindow maintains its size pretty much itself, the constructor no
  longer gets a BRect.
* The window will now also be resized vertically to make space for all the
  partitions (only affects first launch without settings file).
* Also made the window a bit higher by default.
2013-02-02 01:13:18 +01:00
John Scipione
b7733e0655 Move Mime.h documentation to the API docs. 2013-01-31 20:47:06 -05:00
Michael Kanis
777178a56f Call UpdateButtons on mouse_movement data for ALPS device
This fixes problem with B_MOUSE_DOWN messages produced by Thinkpad
TrackPoint buttons. Those messages have 'clicks' parameter always
equal to zero. Solution was suggested by korli. Thanks!

Fixes #8978

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>
2013-01-31 21:41:14 +01:00
John Scipione
c33a865c7c Style fixes only. 2013-01-31 14:29:15 -05:00
John Scipione
c491b5ad85 When the workspace changes use the passed in workspace screen mode
...instead of the current workspace screen mode that we are switching from.
Fixes #9415
Also don't ignore the returned the status code when updating the screen mode.
2013-01-31 14:17:31 -05:00
John Scipione
ec96e7af1a Fix warning in FilePanel.dox 2013-01-30 19:51:01 -05:00