Commit Graph

53916 Commits

Author SHA1 Message Date
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
Philippe Saint-Pierre
e8f7b0e586 HaikuDepot: TextChangingEvent: Init fIsCanceled
CID 1162815 and 1162816.
2015-07-02 21:41:30 -04:00
Augustin Cavalier
73df8e25af servers/app/drawing: BitmapHWInterface: Return -1.
-1 is the same as B_ERROR, but all of the other implementations of
this function "return -1", so do that to be consistent.
2015-07-02 17:32:00 -04:00
Philippe Saint-Pierre
060bd5ebb9 Tracker::BTitleView, Init fPreviousLeftClickTime
CID 1273731
2015-07-02 16:12:34 -04:00
Philippe Saint-Pierre
39ceaa9c28 eject: close file description after usage
Also reindent the switch statement. CID 702040.
2015-07-02 16:12:34 -04:00
Philippe Saint-Pierre
e2a8ef11f6 CID 702036: catattr: close file descriptor after usage 2015-07-02 16:12:33 -04:00
Philippe Saint-Pierre
bb4ab4336d Matrox accelerant: assignation to B_OK -> condition never true.
Assignation to B_OK in if condition means it will never be true. Replace with ==.

CID 991072, 991155 and 604410.
2015-07-02 16:12:33 -04:00
Philippe Saint-Pierre
11f43ff1d7 Cortex: fix copy and paste error
Comparing a format with byte_order and the context indicates a copy and paste error.

CID 991144
2015-07-02 16:12:33 -04:00
Philippe Saint-Pierre
cdec47c927 Workaround timing issues in Chart
When run on a VM (VBox, vmware), the timing calculations done were giving weird
results (< 1ms), messing with the logic (div by zero introduced).

Should take care of ticket #89.
2015-07-02 16:12:32 -04:00
François Revol
926df420ca recipe.syntax.vim: Update following SRC_URI/SRC_FILENAME change
in haikuporter.
2015-07-02 19:28:11 +02:00
Automatic Committer
09a7fa1d49 Update pci.ids from pciids.sourceforge.net 2015-07-02 05:20:31 +02:00
Philippe Saint-Pierre
02ab820d0e Backgrounds: FlattenedSize() can be negative (error status)
CID 610928.
2015-07-01 22:18:11 -04:00
Philippe Saint-Pierre
24b1f931b3 LongAndDragTrackingFilter: Unitialized member
CID 611005
2015-07-01 22:01:57 -04:00
Philippe Saint-Pierre
8d449661ca CID 743867: Memleak in DiskUsage 2015-07-01 21:42:16 -04:00
Philippe Saint-Pierre
494fe5a431 CID 1273484: Use bitwise operator to verify bitmask 2015-07-01 21:26:00 -04:00
Philippe Saint-Pierre
f4a699af83 CID 1273539: Use right variable in construction check 2015-07-01 21:19:12 -04:00
Philippe Saint-Pierre
ee056a089c match new[] operator with delete[] operator
The string ends up being deleted with the [] variant later on.

CID 602975.
2015-07-01 20:34:57 -04:00
Philippe Saint-Pierre
93bd491fb7 Logic error in TaskLoop::RunIfNeeded()
The ! operator would have priority over < and would transform currentTime before the
comparison. Moreso, the logic was reversed. It is supposed to return false if it's
not time yet to run the task, not the opposite.

CID 1273447.
2015-07-01 19:32:55 -04:00
Philippe Saint-Pierre
2bdea08d38 Check for malloc result done on wrong variable.
CID 1255090
2015-07-01 19:32:55 -04:00
Philippe Saint-Pierre
ee1265c58e Memleak in HPDirectJet printer transport
CID 605747
2015-07-01 19:32:54 -04:00
Philippe Saint-Pierre
385d90724e Memory leaks in Cortex
CID 605755, 605756, 605757 and 605758.
2015-07-01 19:32:54 -04:00
Augustin Cavalier
82652e65f7 licenses: Remove UnRAR, only used by one port.
The "unrar" port now has its own copy.
2015-07-01 18:24:27 -04:00