Closed Bug 544190 Opened 14 years ago Closed 14 years ago

QCore version needed to replace message_pump_glib.cc

Categories

(Core :: IPC, defect)

Other
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.3a2

People

(Reporter: romaxa, Assigned: romaxa)

References

Details

Attachments

(2 files, 5 obsolete files)

Currently QtPort is not compiling  message_pump_glib.cc, we need to write Qt version for this functionality
Attached patch Qt version for message pump (obsolete) — Splinter Review
Assignee: nobody → romaxa
Attachment #426289 - Flags: review?(jones.chris.g)
Attachment #426289 - Flags: review?(jones.chris.g) → review?(mozbugz)
Comment on attachment 426289 [details] [diff] [review]
Qt version for message pump

lets get ted to look at the build change... I think it is fine, but I haven't added or thought about adding any MOC commands.  Maybe he is aware of issues that I am not.

Not sure if we add contributor lines to chrome licensed files?
+// Contributor Oleg Romashin <romaxa@gmail.com>


Not sure about this comment:
+  // Make sure we only run this on one thread.  GTK only has one message pump

Maybe you should make ProcessNextNativeEvent because you are not using the return result of dispatcher->processEvents.


In your header, please comment as to what a MessagePumpQt qt_pump; is.


I do not think that ProcessNextNativeEvent, or &pump have to be public, do they?

look good so far!
Attachment #426289 - Flags: review?(mozbugz) → review-
Comment on attachment 426289 [details] [diff] [review]
Qt version for message pump

ted, can you provide feedback on the config rules
Attachment #426289 - Flags: review?(ted.mielczarek)
Attached patch dougt comments updated. (obsolete) — Splinter Review
Attachment #426325 - Flags: review?(mozbugz)
Attachment #426325 - Flags: review?(ted.mielczarek)
Attachment #426325 - Flags: review?(mozbugz)
Attachment #426325 - Flags: review+
Attachment #426289 - Flags: review?(ted.mielczarek)
Attachment #426289 - Attachment is obsolete: true
Attachment #426349 - Flags: review?(mozbugz)
Comment on attachment 426349 [details] [diff] [review]
More fixes, and removed ProcessNextNative event function

innerdiff fail.  comments below:


>+moc_%.cc: %.cc $(GLOBAL_DEPS)
>+	$(REPORT_BUILD)
>+	$(ELOG) $(MOC) $(shell echo $(_VPATH_SRCS) | sed "s/.cc//").h $(OUTOPTION)$@
>+

Ted needs to review this part.

>+namespace {
>+
>+static int sPokeEvent;

Go ahead and add a comment above this.


grep for glib in these files.  i do not think that any apply
Attachment #426349 - Flags: review?(mozbugz) → review-
Attachment #426349 - Attachment is obsolete: true
Attachment #426387 - Flags: review?(mozbugz)
Attachment #426325 - Attachment is obsolete: true
Attachment #426387 - Attachment is obsolete: true
Attachment #426486 - Flags: review?(mozbugz)
Attachment #426387 - Flags: review?(mozbugz)
Attachment #426325 - Flags: review?(ted.mielczarek)
what happened to the 

#if (QT_VERSION >= QT_VERSION_CHECK(4, 4, 0))

check?
Yep, debian stable still using Qt 4.4.3.... we need that check.
Attachment #426486 - Attachment is obsolete: true
Attachment #426520 - Flags: review?(mozbugz)
Attachment #426486 - Flags: review?(mozbugz)
Attachment #426520 - Flags: review?(mozbugz) → review+
pushed in
http://hg.mozilla.org/projects/electrolysis/rev/eb57ae66e03f
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Ups wrong bug.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Keywords: checkin-needed
please bump the copyright to 2010.
Attached patch Copyright fixSplinter Review
Pushed in:
http://hg.mozilla.org/mozilla-central/rev/70ef55e0f2f5
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → FIXED
Assuming "checkin-needed" keyword no longer applies.

Also, this caused minor bustage:
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1266530142.1266533266.28256.gz

> TEST-UNEXPECTED-FAIL | check-sync-dirs.py | build file copies are not in sync
> TEST-INFO | check-sync-dirs.py | file(s) found in:               /builds/moz2_slave/mozilla-central-macosx/build/js/src/config
> TEST-INFO | check-sync-dirs.py | differ from their originals in: /builds/moz2_slave/mozilla-central-macosx/build/config
> TEST-INFO | check-sync-dirs.py | differing file:                 ./rules.mk
> In general, the files in '/builds/moz2_slave/mozilla-central-
> macosx/build/js/src/config' should always be exact copies of originals in
> '/builds/moz2_slave/mozilla-central-macosx/build/config'.  A change made to
> one should also be made to the other.  See 'check-sync-dirs.py' for more
> details.
> make[1]: *** [check] Error 1
> make: *** [check] Error 2
> program finished with exit code 2

This bug's changes to the file "config/rules.mk" need to be mirrored in js/src/config.
Keywords: checkin-needed
Target Milestone: --- → mozilla1.9.3a2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: