Граф коммитов

50 Коммитов

Автор SHA1 Сообщение Дата
Jacek Caban 90ce391b92 Bug 797316 - Fix -Werror=conversion-null errors in Windows-only code (ipc/ part) r=bent
--HG--
extra : rebase_source : e20bd1677b784a9279db1655dea2bcaffb346774
2012-10-04 10:32:45 +02:00
Ms2ger 711f1fd480 Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones 2012-09-17 10:37:20 +02:00
Randell Jesup 65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Cameron McCormack bf43c7e164 Back out bug 725475 due to breaking scrolling on some machines 2012-03-08 17:21:09 +11:00
Cameron McCormack b10f0feaf0 Bug 725475 - Use more hidden scrollbars to tempt Synaptics drivers into giving us scrolling messages. r=jmathies 2012-03-08 13:16:47 +11:00
Jim Mathies 5fc873d79e Bug 679240 - Split total channel timeout into two discrete wait periods. Avoids aborting children after system sleep. r=bsmedberg 2012-01-06 12:17:03 -06:00
Niko Matsakis fce15e5c44 Bug 699319 - Part 1: Abstract out the mTransport and I/O thread into the Link abstraction. r=cjones 2011-11-30 08:24:46 -08:00
Makoto Kato 7a9046338e Bug 696049 - Battery API: Windows backend. r=mounir,jimm 2011-12-05 19:34:27 +09:00
Jim Mathies 69722d7d17 Bug 693890 - Build fix for disable-accessibility link errors post the landing of bug 677883. r=davidb 2011-10-12 11:50:31 -05:00
Jim Mathies 5a9bfe4768 Bug 677883 - Bypass deferred message processing for accessible tab windows. Fixes occasional wm_getobject query failures, which must be responded to. r=davidb 2011-10-11 11:11:35 -05:00
Jim Mathies 4c1e056938 Bug 626975 - Trap Google Earth out-of-process messages destined for plugin instances. Prevents spurious incalls on the browser which violate our rpc rules. r=bent 2011-07-27 17:15:25 -05:00
Jim Mathies 56de4d1f15 Bug 648935 - Process native events during calls to WaitForNotify in the child process when nested native event loops are detected in the parent. r=bsmedberg. 2011-05-18 06:57:08 -05:00
Jim Mathies f81f1189fb Bug 648935 - When paint events are deferred in WindowsMessageLoop, temporarily validate the plugin until painting can occur. r=bent. 2011-05-18 06:57:08 -05:00
Chris Jones f7c811a3e7 Bug 556214, part 3: IPC code wants to be using non-reentrant Monitor. r=bent 2011-04-29 14:21:57 -05:00
Chris Jones 31aa2c4e77 Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Jim Mathies b98bf75175 Bug 641705 - Don't drop win app shell gecko processing events in ipc's windows message loop processing. r=bsmedberg 2011-03-25 18:17:35 -05:00
Jim Mathies 786df8b68b Bug 607326 - Fix for ASSERTION: Received 'nonqueued' message 126. r=bent, a=final. 2010-11-05 10:19:05 -05:00
Jim Mathies ce89cd5c59 Bug 545892 - Always pass WM_NCPAINT events to the default event procedure. r=bent, a=beta7 2010-10-27 08:48:09 -05:00
Jim Mathies 70cc2cf4f8 Bug 596094 - Restore plugin subclass when Flash resets it in full screen mode (ipc enabled case). r=bent, a=betaN 2010-10-21 16:52:48 -05:00
Jim Mathies 7766ea7adc Bug 545892 - Fix for plugins kill aero glass / browser window sometimes loses aero glass effect. r=bent, a=final. 2010-10-15 13:32:35 -05:00
Benjamin Smedberg dd8b532430 Bug 449129 - abort a plugin process if a plugin attempts to spin an event loop while painting, r=jmathies 2010-06-23 10:18:00 -04:00
Benjamin Smedberg 041170d975 Bug 561871 part B: don't use Windows events to enter/exit a nested event loop within an RPC stack frame, because delivery of those events isn't always associated with the correct stack frame, and also because the events can be lost if they race with an incoming RPC reply message. Instead, keep a linked list (on the stack) of RPC frames globally and per-channel, to associate requests to enter a nested event loop with the correct frame, r=jimm
--HG--
extra : rebase_source : 694186dde4643904752c67e0c6eb7a6ad1dd2082
2010-04-28 11:01:09 -04:00
Jim Mathies d31cfd01ff Bug 545338 - RPCChannel should use events rather than thread messages for NotifyWokerThread. r=bent. 2010-03-25 16:53:10 -05:00
Chris Jones cc1789ceb6 Bug 554262 - [OOPP] Silverlight context menu hangs the browser. r=bent, jmathies. 2010-03-24 16:49:54 -05:00
Jim Mathies 5ac0744b15 Bug 553606 - [OOPP] Limit spin loop to a call depth of one. r=bent. 2010-03-24 16:49:05 -05:00
Jim Mathies ae654dfa10 Bug 551242 - [OOPP] Hang (caught by hang detector) with flash and alt key. r=bent. 2010-03-10 19:16:44 -06:00
Jim Mathies 5b4cb41272 Bug 550784 - [OOPP] Flash deadlocks during script evals that trigger focus related events. r=bent. 2010-03-10 19:15:55 -06:00
Ben Turner 068cab70bf Bug 543942 - 'crash at [@ free | mozilla::ipc::windows::DeferredSettingChangeMessage::~DeferredSettingChangeMessage() ]' r=jimm. 2010-02-18 12:12:44 -08:00
Ben Turner 0717fbcf30 Bug 545760 - '[OOPP] Fix a few bad DefWindowProc messages that slipped through'. WM_SETICON. r=jimm. 2010-02-18 12:11:31 -08:00
Ben Turner 385d205a08 Bug 545760 - '[OOPP] Fix a few bad DefWindowProc messages that slipped through'. WM_STYLECHANGED. r=jimm. 2010-02-18 12:11:31 -08:00
Ben Turner a1542736c3 Bug 545053: Implement IPC hang detection for windows. r=jimm
--HG--
extra : transplant_source : %3E%B1-b%1E%F5%5B%5B%DB%C4%97%19Y%82%3A%28%A7%8Ew%96
2010-02-11 12:19:21 -08:00
Jim Mathies 6d16384b41 Bug 538918 - Fix for bug 545338, don't drop into WaitForNotify() when spin loop unwinds. r=bent.
--HG--
extra : transplant_source : %CA%8B%E6%0B%3E%FC%AEK%B2PH%D5l%BEh%D4oj%E2Y
2010-02-11 14:03:24 -06:00
Jim Mathies d9ef9492f1 Bug 538918 - Move Init() above mutex unlock - attempted test hang fix.
--HG--
extra : transplant_source : W%0D%05%B8%D64%E7%16%3A%DFf%9B%F7%89%AA%27%C4%D3%7C%AA
2010-02-11 11:25:39 -06:00
Jim Mathies 7e56c9b1fc Bug 538918 - Don't delete gNeuteredWindows until the stack unwinds.
--HG--
extra : transplant_source : %9E%F8G%92P%1D%3D%1E%3B%BDYZ%E0%E8%C8%0ET%1C4p
2010-02-10 22:51:05 -06:00
Jim Mathies 713894c25d Bug 538918 - Don't test the stack depth on entering WaitForNotify(). r=cjones.
--HG--
extra : transplant_source : %5D%07%E1%C6Q%F4%E0%DE%BD%89%BDb%EE%8FSo%06l-%1B
2010-02-10 20:30:21 -06:00
Benjamin Smedberg 39aeab8388 Followup to bug 538918 - Don't leak gNeuteredWindows, r=jimm
--HG--
extra : transplant_source : %1D%9C%3Eg%A2%ACV%3DY%F3%92%C8b%BDxB%3A.e%A7
2010-02-10 17:18:19 -05:00
Jim Mathies 02e1abfaad Bug 538918 - follow up patch: IsMessagePending should use PeekMessage, not the stacks for detection.
--HG--
extra : transplant_source : %3D%E4_%CE7m%FE%8F%B0S%DC%9F%FAF%D7%40%5D%83%C1/
2010-02-09 22:47:44 -06:00
Ben Turner 52f8f2919a Bustage fix
--HG--
extra : transplant_source : %C9%C5%A7%A1%24%E55%A5%3DBj%F4%90%B8%A0%FD%8F%E6%B0%B9
2010-02-09 16:12:41 -08:00
Chris Jones 3ea312dfdf Bug 540004, part 2: Detect hangs while awaiting synchronous IPC replies (on POSIX). r=bent
--HG--
extra : transplant_source : %B8U2%20%5C%1B%06%85%F4%23%DA%CCw%C7%CB%D1%F2%9D%16%1A
2010-02-09 18:02:54 -06:00
Jim Mathies b6a87b5083 Bug 538918 - [OOPP] Modal system dialogs cause UI freeze w/windowless controls. r=bent, cjones.
--HG--
extra : transplant_source : %28B%08h%F29L%BE%BBEh%E8%92%22%2A%8E%A8%00F%83
2010-02-09 16:34:38 -06:00
Benjamin Smedberg b3e9aaa1a4 Commit remaining piece of bug 543788, r=jimm 2010-02-11 15:50:32 -05:00
Ben Turner 3340d7af3d Bug 542821 - 'Process startup event gets dropped on the floor by deferred messaging'. r=jimm.
--HG--
extra : transplant_source : %3A%2B%5E%7C%F6l%5D%5E6%C1%992%B9%2AA1%83%9A%E4%D5
2010-02-03 13:09:55 -08:00
Ben Turner 8ce4327d88 Bug 542617 - 'Deferred message loop mishandles WM_NCCALCSIZE'. r=jimm.
--HG--
extra : transplant_source : o%DD%22%21%91%F6%14%1D%C0H%BFsu%12%12%06%0B%81JM
2010-01-28 10:03:37 -08:00
Ben Turner 136dcf7e39 Bug 539061 - 'OOPP: ASSERTION: Received "nonqueued" message 31, 10'. r=jimm. 2010-01-15 12:35:53 -08:00
Ben Turner 0469fa577a Add WM_MOUSEACTIVATE to list of deferred messages 2009-12-02 18:51:29 -08:00
Ben Turner 8f022ce032 Add WM_CAPTURECHANGED to the list of delayed messages. 2009-12-01 15:09:33 -08:00
Ben Turner 445ec72ed9 Bug 526361 - 'Defer nonqueued messages received during synchronous IPC calls'. r=jimm+rs. 2009-11-18 15:18:08 -08:00