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

223 Коммитов

Автор SHA1 Сообщение Дата
Neil Deakin dbb5179c04 Bug 701760, merge <select> and popup manager rollup handling, so that select elements don't cancel out any popup rollup listeners, r=mats 2012-10-26 09:15:22 -04:00
Karl Tomlinson a6c5033f1a b=793501 attach DocumentViewer to top GTK widget r=roc
--HG--
extra : transplant_source : F%94%EC%07%23%7B2L%BCr%28%C5%088%06%FD%CD%9A%BAe
2012-10-23 11:46:45 +13:00
Karl Tomlinson d78f616130 b=793501 invalidate new regions of even toplevel resized windows r=roc
--HG--
extra : transplant_source : %F1%A6%EDiKo%13%8D%8B%F5%7E%F9%2A%D2%D6%AC_%CA%ED%90
2012-10-23 11:40:50 +13:00
Karl Tomlinson 337feb8044 b=793501 don't log child window XIDs as this has the side effect of creating X Windows early r=roc
--HG--
extra : transplant_source : -%3AP%3F%8F4V%F3%C2K%B7s%89%DA%0D%3A%DC6O%97
2012-10-23 11:40:24 +13:00
Karl Tomlinson aee0e92d79 b=793501 don't use a separate GdkWindow for MozContainer (unless necessary) r=roc
--HG--
extra : transplant_source : %FA1%A7%EA%3D%D8a%87%F4%E0%93%9FeP%89%EB%DD%DAI%12
2012-10-23 11:39:59 +13:00
Karl Tomlinson b52f17890d b=793501 remove unused event handler parameters r=roc
--HG--
extra : transplant_source : %E9%E8%FD1/%11u6%A2C%91%0B%5C%BA%C0P%E2%17S%09
2012-10-23 11:33:30 +13:00
Karl Tomlinson 06d7fccaeb b=793501 set gFocusWindow on fallback instead of early, which interfered with container window focus change detection in SetFocus() r=roc
--HG--
extra : transplant_source : %AD%07%A7%EB/%D6M%F3i%21%85d%8D%E8%92K%D6%1D%1F8
2012-10-23 11:31:53 +13:00
Mike Conley 998dbff9fa Bug 746775 - Clicks to close a context-menu in a panel are also consumed by the panel. r=jmathies,enndeakin. 2012-10-29 12:54:52 -04:00
Matt Woodrow c26250b08d Bug 797431 - Add a flags parameter to PaintWindow. r=roc 2012-10-15 17:53:37 +13:00
Trevor Saunders 000b6e89a1 bug 798595 - remove useless prmem.h includes r=ehsan 2012-10-04 02:14:06 -04:00
Karl Tomlinson 0efeffb9df b=408284 don't shape for transparency on ARGB windows r=roc
--HG--
extra : rebase_source : d4e07ba252b1ec13c887ecab2f06361752890b3b
2012-10-03 19:53:57 +13:00
Chris Coulson 134089aa9e b=408284 use ARGB visuals for popup windows when window manager is compositing r=karlt
--HG--
extra : rebase_source : c562667491b564562f5350a9b8a5f0b7d882be7e
2012-10-03 19:53:53 +13:00
Chris Coulson 9acc7f79b0 b=408284 let MozContainer widgets inherit parent colormap instead of explicitly setting rgb colormap r=karlt
--HG--
extra : rebase_source : 1b7f60d38ffa20c404c777a5ba1e1cc3383f19a0
2012-10-03 19:53:46 +13:00
Karl Tomlinson 7e9d459eaf b=408284 clear transparency bitmap when window is hidden r=roc
--HG--
extra : rebase_source : ac16e4b25da2684fd7fd80a6d16ceb2ae2d4caaf
2012-10-03 11:37:06 +13:00
Karl Tomlinson 552b3ebfca b=408284 no need to apply transparency bitmap on each show r=roc
--HG--
extra : rebase_source : 5f75d84bbf2ae142f85287da0b1998219fe4585e
2012-10-03 11:36:08 +13:00
Karl Tomlinson 8cbe6991f8 b=795812 shape out translucent windows where alpha < 1/2 r=roc
--HG--
extra : rebase_source : 86d6d748e7e87ab527b8ee88e3dee1abb16133be
2012-10-03 11:35:28 +13:00
Jonathan Kew ed41d7aef7 bug 674373 pt 4 - pass device-to-CSS pixel ratio to LookAndFeel code when requesting a font style. r=roc 2012-09-29 12:35:08 +01:00
Isaac Aggrey 481e7dfb0b Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Matt Woodrow a67ae37664 Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc 2012-08-29 17:39:01 +12:00
Ed Morley aba3a8f5ef Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Matt Woodrow 4d096475d2 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-08-29 17:38:58 +12:00
Karl Tomlinson 45af265b62 b=794285 restore support for building against GTK+ 2.10 r=glandium
--HG--
extra : transplant_source : %D0%2B6%19%96%99%8D%21%F5%5D8%92%FC%1E%1D%BB%B77h%81
2012-09-27 12:23:00 +12:00
Isaac Aggrey d159f53557 Bug 789847 - Remove PR_CALLBACK usage from tree 2012-09-25 11:18:38 -05:00
Mike Hommey a94a46d3c8 Bug 793634 - Force builds to be compatible with gtk 2.18/glib 2.22. r=karlt 2012-09-25 14:47:18 +02:00
Karl Tomlinson 2df1083025 b=792305 don't update mask bits outside the mask r=roc
--HG--
extra : rebase_source : 682a8780f0e54d082ad2f35c1b074c3fe2d82817
2012-09-24 11:17:31 +12:00
Karl Tomlinson 84c46e7900 b=792305 delay shape mask update from resize to expose r=roc
--HG--
extra : rebase_source : 6b00c1e4d31fc1d5b6dc4d09882591da82dc622d
2012-09-24 11:15:48 +12:00
Marco Castelluccio 6002e5ebc8 Bug 630346 - Use basic layers for windows with transparency r=karlt
--HG--
extra : rebase_source : c078915a7455b61e0aff76af3cea735c4342a219
2012-09-24 11:22:28 +12:00
Jim Mathies 063a9840ee Bug 726615 - Completely remove MozTouch event support from mc. r=smaug 2012-09-22 14:28:08 -05:00
Mats Palmgren a010be09b8 Bug 791518 - Use correct GDK type for gtk_selection_data_get_length() return value to avoid signed to unsigned conversion of -1 and subsequent crash. r=karl 2012-09-18 01:05:05 +02:00
Martin Stransky bea330233d Bug 627699 - Port GTK2 to GTK3, gtk-rest. r=karlt 2012-09-13 21:56:59 -04:00
Martin Stransky 10937e51d2 Bug 627699 - Port GTK2 to GTK3, nsBidiKeyboard patch. r=karlt 2012-09-13 21:56:58 -04:00
Randell Jesup 65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari 7cc4ff3d65 Remove two unused variables, no bug
--HG--
extra : rebase_source : 1d2fb26b146037905d729c0bc68105969c63de61
2012-08-27 17:30:56 -04:00
Ehsan Akhgari 4271b89117 Bug 579517 - Part 8: Automatically convert some more NSPR numeric type usages that were landed on mozilla-inbound; r=bsmedberg 2012-08-22 12:32:21 -04:00
Ehsan Akhgari 2d709c2f52 Merge the landing of bug 579517 to mozilla-inbound 2012-08-22 12:12:15 -04:00
Karl Tomlinson 68419dd744 b=671820 implement async nsIFilePicker::Open and make sync Show close window on response r=roc
--HG--
extra : transplant_source : %AC%C4%9AB%03%FC%29tE%3D%10X%7F%B4%ED%B6%07%D8%5C%BC
2012-08-22 16:56:55 +12:00
Masayuki Nakano de98e3c2b9 Bug 784246 KeymapWrapper::GuessGDKKeyval() should return GDK_colon for NS_VK_COLON r=karlt 2012-08-21 13:35:23 +09: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
Neil Deakin 6b29afdf4b Bug 743975 - remove the event handler argument to widget creation methods, r=tn 2012-08-15 14:53:09 -04:00
Neil Deakin 2e9eced59a Bug 743975 - use a widget listener interface instead of the remaining events that don't need an event, r=tn,jmathies,netzen,smichaud,karlt,blassey,chrisjones 2012-08-15 14:52:42 -04:00
Neil Deakin e7d98cacc8 Bug 743975 - remove NS_DESTROY event, r=smaug 2012-08-15 14:52:41 -04:00
Neil Deakin fb4d59f2de Bug 743975 - remove accessibility events from widget, replace with a nsBaseWidget::GetAccessible method, r=trevsaunders 2012-08-15 14:52:37 -04:00
Neil Deakin 2ed511feda Bug 743975 - move theme and window size done events to direct calls, r=smaug 2012-08-15 14:52:35 -04:00
Masayuki Nakano 2daeb34973 Bug 719320 part.13 Replace legacy mouse scroll event dispatchers with D3E wheel event dispatcher on GTK r=karlt 2012-08-12 10:42:37 +09:00
Masayuki Nakano 5c5f0a16d2 Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst 2012-08-12 10:42:34 +09:00
Mike Hommey 70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Martin Stransky 67790755e0 Bug 544088 - Support Xt plugins OOP. r=karlt 2012-08-01 16:34:08 -04:00
Neil Deakin b0640922cf Bug 357725, support minimum and maximum size constraints on windows and popups, r=mats,jmathies,karlt,smichaud,sr=neil 2012-07-30 20:43:29 -04:00
David Zbarsky c6b51c42c1 Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones 2012-07-30 17:42:26 -07:00
Aryeh Gregor c81630fddb Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ehsan Akhgari 41025b2553 Bug 777829 - Remove ThemeRenderer::mWindow since it's never used; r=karlt
--HG--
extra : rebase_source : 3898c17e3fe6740b6cecbe0665b9b60710d356b4
2012-07-26 16:12:03 -04:00
Ehsan Akhgari bf1a9c264b Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more widget parts); blanket-r=bzbarsky
--HG--
extra : rebase_source : 6fa3942059662d5d2095de119b20bc63db1f553b
2012-07-26 15:17:33 -04:00
Ehsan Akhgari b0034ff749 Remove an unused local variable (no bug)
--HG--
extra : rebase_source : 4b35da5a24f61289d9d36a195d0154028d629249
2012-07-26 15:17:26 -04:00
Mark Capella eddd048c93 Bug 775041 - Make nsIWidget::IsEnabled return bool, r=roc, f=ms2ger 2012-07-23 01:19:08 -04:00
Mark Capella ab782c26b2 Bug 769998 - Make nsIWidget::IsVisible return bool, r=roc, f=ms2ger 2012-07-19 04:57:50 -04:00
Masayuki Nakano 7e4f389cbe Bug 751749 part.4 Give higher priority to Meta than Super and Hyper due to better compatibility with Web applications r=karlt 2012-07-19 10:28:17 +09:00
Masayuki Nakano 4c95259d7e Bug 751749 part.2 Support Win key for a modifier of shortcut key and access key r=smaug, enn 2012-07-19 10:28:16 +09:00
Masayuki Nakano 2af10c1908 Bug 751749 part.1 Decide one modifier for a modifier flag r=karlt 2012-07-19 10:28:16 +09:00
David Zbarsky 9a61d96c70 [Bug 774505] Don't include Layers.h everywhere r=cjones 2012-07-18 12:31:40 -04:00
Masayuki Nakano ade943befb Bug 769190 part.2 Rename nsInputEvent::IsWin() and widget::MODIFIER_(SCROLL|WIN) to nsInputEvent::IsOS() and widget::MODIFIER_(SCROLLLOCK|OS) r=smaug 2012-07-06 09:42:05 +09:00
Ehsan Akhgari cf18ee9122 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
David Zbarsky d2ee12f6f9 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Matt Woodrow 31125260ee Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Bonnie Surender 2b42bacc22 Fixing bug 715041. Add support for Idle API. r=bent, jst 2012-06-29 01:32:21 -07:00
Martin Stransky 6253dcfcb0 Bug 627699 - Port GTK2 to GTK3, gtk2compat.h extension. r=karlt 2012-06-27 20:15:32 -04:00
Mats Palmgren 21b1a88e69 Bug 575294. part=4/5 r=roc 2012-06-23 03:13:56 +02:00
Martin Stransky 37980f4c1c Bug 627699 - Port GTK2 to GTK3, export gtk2compat.h; r=karlt 2012-06-19 10:59:03 -04:00
Ryan VanderMeulen 5f2a19ee6e Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen 6d6c4efbab Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Ehsan Akhgari 97dfc24320 Bug 761051 - Use image/jpeg as the standard internal transferable image type, but continue respecting image/jpg as well; r=roc 2012-06-07 19:27:07 -04:00
Ehsan Akhgari 3010661bb0 Backout changeset 125438dda903 (bug 761051) because of Bq bustage 2012-06-07 19:49:37 -04:00
Ehsan Akhgari b68ab964cb Bug 761051 - Use image/jpeg as the standard internal transferable image type, but continue respecting image/jpg as well; r=roc 2012-06-07 19:27:07 -04:00
Geoff Lankow 5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Phil Ringnalda d203ecbd62 Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2012-06-03 12:04:40 -07:00
Mats Palmgren f8e32e8cae Back out bug 575294, bug 726264. (cset 1727de7d26ec, 6bcea3a628d8, 011c1c8e9cc7, 0be261a5042b, d51338c5cd0c) 2012-06-03 18:05:00 +02:00
Mats Palmgren 07de03112a Bug 575294. part=3/4 r=roc 2012-06-02 01:41:54 +02:00
Masayuki Nakano d7c1972483 Bug 757049 Don't use length of UTF-16 for character counts of UTF-8 used by GTK APIs in nsGtkIMModule::OnRetrieveSurroundingNative() and nsGtkIMModule::DeleteText() r=karlt 2012-06-03 12:27:48 +09:00
Phil Ringnalda 5c667d253b Back out deac5d31bc12, 8622c5680fb3, 205d2e0d297c (bug 575294), 5ba42170426e (bug 726264), a5444e23c668 (bug 575294) for bug 759243 2012-05-28 22:48:52 -07:00
Trevor Saunders 5d33ad118a bug 759033 - nsAccessible -> Accessible and nsAccessibleWrap -> AccessibleWrap r=surkov
--HG--
rename : accessible/src/atk/nsAccessibleWrap.cpp => accessible/src/atk/AccessibleWrap.cpp
rename : accessible/src/atk/nsAccessibleWrap.h => accessible/src/atk/AccessibleWrap.h
rename : accessible/src/base/nsAccessible.cpp => accessible/src/generic/Accessible.cpp
rename : accessible/src/base/nsAccessible.h => accessible/src/generic/Accessible.h
rename : accessible/src/mac/nsAccessibleWrap.h => accessible/src/mac/AccessibleWrap.h
rename : accessible/src/mac/nsAccessibleWrap.mm => accessible/src/mac/AccessibleWrap.mm
rename : accessible/src/msaa/nsAccessibleWrap.cpp => accessible/src/msaa/AccessibleWrap.cpp
rename : accessible/src/msaa/nsAccessibleWrap.h => accessible/src/msaa/AccessibleWrap.h
rename : accessible/src/other/nsAccessibleWrap.cpp => accessible/src/other/AccessibleWrap.cpp
rename : accessible/src/other/nsAccessibleWrap.h => accessible/src/other/AccessibleWrap.h
2012-05-28 21:18:45 -04:00
Mats Palmgren a2292bda42 Bug 575294. part=3/4 r=roc 2012-05-29 02:50:42 +02:00
Nicolas Silva 800d1e70c4 Bug 751176: Fix blinking of video and canvas when using OMTC on Linux. r=jrmuizel
OnExposeEvent was not handled correctly with OMTC.

--HG--
extra : rebase_source : 23dff95ce65b7b72d5ebf3380004fb62ca0b82bb
2012-05-04 13:07:34 -04:00
Martin Stransky 3f7545944c Bug 627699 - Port GTK2 to GTK3, r=:karlt 2012-05-28 10:39:57 +12:00
Takanori MATSUURA 92faf33a5c Bug 751521 - Separate pixman detection from cairo. r=glandium 2012-05-26 08:44:00 +02:00
Nicolas Silva e27726999d Bug 722012 - Fixes crash on Gtk widget destruction when using OMTC on linux. r=karlt
--HG--
extra : rebase_source : 5562c7e466bd54fecd69e8a9b4c469e24493542f
2012-05-23 10:17:44 -04:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Masayuki Nakano d814848599 Bug 447757 part.4 Clean up modifier keycode mapping on GTK r=karlt, sr=smaug 2012-05-17 16:04:16 +09:00
Masayuki Nakano 0f1fccdb6f Bug 447757 part.3 Use unshifted char of printable keys for computing keycode on GTK r=karlt 2012-05-17 16:04:16 +09:00
Masayuki Nakano 78d9f9880a Bug 447757 part.2 DOM keycode for printable keys in Numpad should be computed by switch r=karlt 2012-05-17 16:04:16 +09:00
Masayuki Nakano e84b02e09a Bug 447757 part.1 Compute DOM keycode for non-printable key from table first r=karlt 2012-05-17 16:04:16 +09:00
Oleg Romashin e31c73c104 Bug 754866 - Make mozilla.widget.disable-native-theme export shared bool across widgets. r=roc 2012-05-15 09:01:48 -04:00
Matt Brubeck 60b5d7f292 Back out c209fea124e1 (bug 754198) because of Win64 build failure 2012-05-11 13:23:49 -07:00
Fabrice Desré 5397f4846a Bug 754198 - Warning treated as error in jemalloc.c. Build busted. [r=jlebar,bsmedberg] 2012-05-11 12:34:24 -07:00
Julian Seward 56d498cd5e Bug 753118 - Fix uninitialized value in nsWindow::Destroy. r=karlt 2012-05-09 21:00:05 -04:00
Wolfgang Rosenauer f28a46d374 Bug 749739 - New email sound notification file cannot contain spaces (Linux - Thunderbird 12). r=karlt 2012-05-09 13:27:02 +02:00
Karl Tomlinson 2480357c30 b=751774 handle no drag service during shutdown r=roc
--HG--
extra : transplant_source : %20%EE%CD%93%CE%A9%C2%DF%B3%1F1%07%CB%19E.%F3%20%B8%0B
2012-05-04 15:34:50 +12:00
Karl Tomlinson 632012d2ac b=751429 handle modifier changes in periodic synthetic mouse events for drag sources r=roc
--HG--
extra : rebase_source : 08c12b5e4e2acb7e65ff29168356312eb9185d97
2012-05-03 18:24:20 +12:00
Karl Tomlinson 932d9c2d5b b=750061 Put the hidden drag widget in the window group of the source node so that the gtk_grab_add during gtk_drag_begin is effective r=roc
--HG--
extra : rebase_source : 8ce17ca75be2b681f08489446bb8fdb2d651fe46
2012-05-03 18:23:59 +12:00
Karl Tomlinson c733bc0e16 b=750961 disable motion hints to avoid gdk_event_request_motions unless on Maemo r=roc
--HG--
extra : rebase_source : 8f688b33d050a9d972da13aaf49607f300138f63
2012-05-03 18:23:31 +12:00
Masayuki Nakano 093f5c5462 Bug 166240 part.3 Add support KeyboardEvent.location on GTK r=karlt 2012-05-03 17:35:02 +09:00