Commit Graph

53937 Commits

Author SHA1 Message Date
John Scipione
e8aeed6eef Fix BRoster::Launch documentation const mismatch 2015-07-07 16:22:29 -07:00
John Scipione
49a56113ef Fix typo: on => one 2015-07-07 16:22:27 -07:00
John Scipione
046d20afd1 BScrollView::ScrollBar return val docs past tense 2015-07-07 16:22:25 -07:00
John Scipione
5a2ed95c23 Clarify ScrollView::ScrollBar() direction parameter in docs 2015-07-07 16:22:23 -07:00
John Scipione
c466b4daeb IK: Change orientation param name to direction
for ScrollView::ScrollBar in ScrollView.h and the documentation. This makes
the parameter name consisent and fixes a doxygen warning.
2015-07-07 16:22:22 -07:00
Alexander von Gluck IV
0de3a59590 radeon_hd: ss_probe reads the pixel clock; set before calling.
* CID 743876
2015-07-07 15:16:36 -05:00
Humdinger
310cd0e731 Added Vacuum package.
See http://www.vacuum-im.org.
Thanks Diver!
2015-07-07 20:16:53 +02:00
Augustin Cavalier
93c67e52f3 docs/user: Add/update some '\sa's. 2015-07-07 11:57:42 -04:00
Augustin Cavalier
0426b7e7e8 docs/user: Fix documentation of BTab::SetLabel. 2015-07-07 11:57:40 -04:00
Alexander von Gluck IV
bf8fe3ddb3 radeon_hd: Add Hawaii,Topaz,Tonga,Carrizo chips/cards 2015-07-07 10:27:44 -05:00
Julian Harnath
db8517e2d7 netresolv: use thread-safe version of res functions
* Make getaddrinfo() and friends thread-safe by using the thread-safe
  versions of the res functions.

* NetBSD offers two versions of the res functions: one in res_state.c
  from the netresolv directory, defined as weak symbols. It is the
  legacy version and only for single-threaded applications.
  A thread-safe version of the functions is in res_state.c inside
  their libpthread directory. An application that uses pthreads on
  NetBSD will then use the non-weak symbols from the pthreads
  library.

* On Haiku, the thread-safe version is now always used. The
  res_state.c is taken from NetBSD's libpthread directory, and then
  only struct _nres from the other file is added to it.

  Please keep this in mind for future updates of netresolv, do not
  accidentally replace it with the single-threaded version.

* This e.g. fixes WebPositive just hanging when opening websites
  (even in situations where no IPv6-related problems apply), waiting
  forever to resolve names.
2015-07-05 13:26:02 +02:00
Michael Lotz
29e8040d58 log_overlay: Fix 64 bit build and add to image. 2015-07-05 10:40:01 +02:00
Michael Lotz
1a776b25ce fat: Fix debug build after creation time cleanup in hrev49339. 2015-07-05 10:09:01 +02:00
Ingo Weinhold
fb29004aaf disk device manager: Remove obsolete include path
virtualdrive hasn't been used for a long time. Should help with #12162.
2015-07-05 09:40:13 +02:00
Michael Lotz
dbaafd15c0 fat: Remove directory from dlist on unlink, not in remove_vnode.
The removal of the vnode happens later than the actual unlink. As part
of the unlink, the vnode cache is already updated to mark the unlinked
directory invalid. This means its entry in the directory list needs to
be removed as well. Otherwise, if a directory list entry is looked up
in the time between unlink and remove_vnode, the assertion which checks
the validity of the directory list entries would fail.
2015-07-04 23:32:08 +02:00
Michael Lotz
adc769a79f fat: Fix function name in debug output. 2015-07-04 23:32:07 +02:00
Michael Lotz
b241080102 fat: Fix corruption of file data with removed directory entries.
Directory entries are cached using the block cache, so the cached
blocks need to be discarded when directories are removed/shrunk.
Otherwise freed directory blocks that were reused for file data would
later be clobbered when the block cache was flushed.

The forced cache sync for removable media hid the problem for these
devices. It was easily triggered on non-removable media however.
2015-07-04 23:32:07 +02:00
Michael Lotz
de3763846d fat: Whitespace cleanup only. 2015-07-04 23:32:06 +02:00
Michael Lotz
59891eb49c fat: Remove cluster cache init and data structure.
The cluster cache was used before porting to the file map API and is
not and can not be used there anymore.
2015-07-04 23:32:06 +02:00
Michael Lotz
b8cacf4e62 fat: Remove commented out code, now in dosfs_get_file_map(). 2015-07-04 23:32:05 +02:00
Michael Lotz
17a45292ec fat: Greatly simplify and clean up dosfs_get_file_map().
There's no real need to distinguish between first/middle/last parts of
the file and much of the initialization can be done simpler.

This also checks for overflows when truncating the requested length. On
64 bit platforms this would always happen due to the kernel file map
code requesting (size_t)-1 (i.e. unlimited) extents. This lead to the
file end being reached when building the map from a position unequal 0,
which would happen for files fragmented enough to need more than the
default of 8 supplied vectors. An IO error was returned in that case,
rendering the file partially unreadable.
2015-07-04 23:32:04 +02:00
Alexander von Gluck IV
7e24b659c4 build: Convert to external libedit build package
* Drop lib/edit and matching bsd header
* Convert Debugger to libedit build package
* Should solve problems with libedit consumers
  not defining _BSD_SOURCE
* Progress on #10267
2015-07-04 15:29:05 -05:00
Alexander von Gluck IV
d1620177b9 x86_gcc2: Update libedit packages to 2015_03_21_3.1-2 2015-07-04 15:09:57 -05:00
Alexander von Gluck IV
3847e19f7f jam: Make DownloadLocatedFile1 more aggressive. 10s timeout == retry 2015-07-04 14:01:00 -05:00
Philippe Saint-Pierre
dfcbef64f6 Erratum hrev49359: Compare size with 0 rather that B_OK
Thanks Ingo!
2015-07-04 14:11:34 -04:00
Janus
58df0d94f3 BeDecorator: fix title text color 2015-07-04 20:01:35 +02:00
Janus
9bd024edbe WinDecorator: fix some glitches
* The decorator now draws the titlebar.
* The titlebar is font sensitive.
* The minimize button is usable.
* The buttons are pressable.
* Fix a redraw issue.
2015-07-04 19:57:47 +02:00
autonielx
bcc99269a3 Update translations from Pootle 2015-07-04 06:36:12 +02:00
Philippe Saint-Pierre
76a1eb689c userlandfs: Fix access mask check
CID 1255052 and CID 1255053
2015-07-03 16:14:09 -04:00
Philippe Saint-Pierre
189c10b089 Tracker: check result of FlattenedSize() for error 2015-07-03 14:48:40 -04:00
Philippe Saint-Pierre
a495c5e69a NetBuffer: Check result of FlattenedSize() for error
CID 610923
2015-07-03 14:31:57 -04:00
Philippe Saint-Pierre
5889eb7c47 PDF Printer: Check FlattenedSize() result for error
CID 610903
2015-07-03 14:27:31 -04:00
Philippe Saint-Pierre
bd97c88ac3 Deskbar: check dynamic_cast results
CID 1108236 and CID 1108237
2015-07-03 14:14:57 -04:00
Philippe Saint-Pierre
f6662e3233 mail_daemon DeskbarView: init fLastButtons
CID 610256
2015-07-03 13:55:58 -04:00
Philippe Saint-Pierre
e04f294fe8 GopherRequest: fixes for null dereference
CID 1249920
2015-07-03 13:35:08 -04:00
Philippe Saint-Pierre
be61575ce6 Cortex: fix for possible null-dereference
CID 600442
2015-07-03 13:14:37 -04:00
Philippe Saint-Pierre
8108282b32 jpeg translator: exif_parser: Missing break statement
CID 1273786 and CID 1273787
2015-07-03 11:32:45 -04:00
Philippe Saint-Pierre
03c41782bb agg: avoid writting beyond the array size
Potentially trying to add two new items to an array without enough room left.

CID 991455
2015-07-03 11:32:45 -04:00
Philippe Saint-Pierre
217e35d624 FindPanel: Reorder operations to avoid leak
CID 1234656
2015-07-03 11:32:44 -04:00
Rene Gollent
b3f2ebf008 Debugger: More work on signal configuration.
- Introduce SignalDispositionEditWindow for add/editing disposition
  exceptions.

SignalsConfigView:
- Factor out helper class SignalDispositionMenu. Use accordingly in
  SignalsConfigView and SignalDispositionEditWindow.
- Watch table selection changes to update button statuses appropriately.
- On add/edit request, show disposition edit window.
- Listen for disposition changes from team and react accordingly.

UiUtils:
- Add helper function to map signal defines to strings.

Together with the previous set of commits, this implements #9720.
2015-07-02 22:38:08 -04:00
Rene Gollent
b66f61af9b Debugger: Add config view for signals.
SignalsConfigView:
- Provide basic configuration for signal dispositions.

TeamSettingsWindow:
- Add signals view to tab list.
2015-07-02 22:38:08 -04:00
Rene Gollent
10b962261a Debugger: Layout changes to team settings window.
TeamSettingsWindow:
- Split out functionality into separate views for images and exceptions,
  which in turn are held in dedicated tabs.
2015-07-02 22:38:08 -04:00
Rene Gollent
c3c2ab3169 Debugger: Code reorganization, no functional change.
- Rename BreakConditionConfigWindow to TeamSettingsWindow,
  and move to own dedicated subfolder. Adjust callers accordingly.
  Preparation work for other changes to come.
2015-07-02 22:38:08 -04:00
Rene Gollent
24fe478ef8 Debugger: Start watching signal events.
TeamDebugger:
- Add signal events to debug event mask. Upon receipt of such an event,
  stop the target thread. WIP.
2015-07-02 22:38:07 -04:00
Rene Gollent
601a9f1d23 Debugger: Add handling for signal debug messages.
DebugEvents:
- Add definition for SignalReceivedEvent.

DebuggerInterface:
- Generate SignalReceivedEvent upon receipt of
  B_DEBUGGER_MESSAGE_SIGNAL_RECEIVED.
2015-07-02 22:38:07 -04:00
Rene Gollent
86a5bc31a5 Debugger: Add persistent settings classes for signal dispositions.
- Add class TeamSignalSettings for storing signal disposition settings,
  and add instance to TeamSettings.
- Adjust TeamDebugger to load signal settings.
2015-07-02 22:38:07 -04:00
Rene Gollent
14a55dce06 Debugger: Add signal settings and listener hooks.
Team:
- Add settings and accessors for signal dispositions.
- Add event definitions and listener hooks for signal disposition
  changes.
2015-07-02 22:38:07 -04:00
Rene Gollent
8e5da927ea Debugger: Add definitions for signal dispositions.
- Add header for defining the possible signal dispositions that can be
  configured.
- Add corresponding UI helper function to map to a string
  representation.
2015-07-02 22:38:07 -04:00
Rene Gollent
17cbae24ce Debugger: Add SignalInfo model class.
- Represents information about a signal being delivered to the team.
2015-07-02 22:38:06 -04:00
Philippe Saint-Pierre
ce3124335f package_daemon::FSTransaction: Init fIsFinished
CID 1108429.
2015-07-02 21:41:31 -04:00