2010/6/14 Tor Lillqvist :
> For anybody new looking into it, I certainly recommend using
> cross-compilation. Have a look at the spec files for the
> cross-compiled GTK+ stack (and much more) for Windows in the OpenSUSE
> Build Service. See
> http://download.opensuse.org/repositories/windows:/mingw
Hello
Here is my use use case (in Inkscape). I have a set of sliders
(GtkScale) that control some values in the document. I want to update
the view of the document in real time, but only push the change on the
undo stack when the drag is finished. But the only signal I can
connect to is value-chan
W dniu 27 lipca 2010 18:06 użytkownik Alberto Ruiz napisał:
> Hi there,
> You can just connect to the GtkRange's GtkAdjustment value-changed
> signal for the view update.
The problem is not the view update but the undo stack update. It
should only be updated when the drag is finished.
Regards, K
W dniu 27 lipca 2010 23:32 użytkownik Sven Neumann napisał:
> You could implement undo compression as we do in GIMP. Multiple
> consecutive position changes are compressed into a single undo step.
> This can be easily implemented by looking at the top-most step on the
> undo stack and checking if
2010/8/4 Havoc Pennington :
> automake is fine, but libtool is a real problem. It seriously
> lengthens compile/install times in a way that's probably wasted tens
> of thousands of developer hours over the years, *at least*. In all
> honesty, most likely any of us who write a lot of C code could ge
2010/8/5 Simon McVittie :
> ... but it appears to be distribution-hostile, at least in its current state:
>
> http://www.mail-archive.com/debian-de...@lists.debian.org/msg281373.html
>
> Yes, autofoo also results in embedding a copy of itself in tarballs, but
> distributions who have a newer/mor
2010/9/2 Havoc Pennington :
> See bugs:
>
> https://bugzilla.gnome.org/show_bug.cgi?id=395578
> https://bugzilla.gnome.org/show_bug.cgi?id=491507
>
> I'm attaching a patch which proposes some API to make GdkPixbuf
> support the cairo RGB24/ARGB32 formats.
> In this patch, there's no actual code to
Hello
There's a patch available for bug #522131 which severely affects the
usability of GOption on Windows. There is a patch available, but it
needs review. Can one of the developers look at it? It would enable a
few cross-platform applications to drop a dependency on popt.
https://bugzilla.gnome
2011/4/6 Kean Johnston :
> Everyone,
>
> WARNING: long, detailed message. If you don't care about Win32, move on.
Other annoying Windows issues specific to glib:
1. GOption fails hard for filenames which are in a language different
than your Windows. E.g. Chinese or Russian filenames on English
W
2011/4/10 Tim Evans :
> A combination of GetCommandLineW and CommandLineToArgvW can get you the
> arguments as wchar_t strings which could then be converted to utf8. Is this
> just something that glib needs to provide a convenience function for?
> g_win32_get_utf8_argv() maybe?
This is not about a
2011/4/10 Hans Breuer :
> Unfortunately none of the patches in bug #522131 fullfilled all the
> requirements. And I do no have a good idea to solve it in GLib either.
> The same problem was solved application specific to Dia with
> https://bugzilla.gnome.org/show_bug.cgi?id=570592
What exactly are
2011/4/18 Alberto Ruiz :
> So yeah, .RPM/.DEB is absolutely fine for system level components
> (platform, shell...). But for applications, I have to say I really
> don't agree at all that it is the right mechanism, unless you come up
> with a sandboxed approach for apps installed by the user.
Appa
2011/5/27 Havoc Pennington :
> Config schemas that contain type checking and default values are part
> of the program; the program is either incorrect, or redundant in a way
> likely to create bugs, without the schemas. If schemas were just docs
> or something, it would be a different situation.
I
2011/7/12 Dieter Verfaillie :
> I have been dreaming of having an msys-python port though (considered by
> most to be even more "exotic" than cross-compiling Python itself, I guess).
> Would make jhbuild, but also other tools written in Python that need to
> run at build-time like gi-scanner, much
W dniu 12 lipca 2011 19:17 użytkownik Dieter Verfaillie
napisał:
> Fair enough, using a custom build tool on Windows is your choice,
> not mine ;)
Maybe I wasn't clear enough. I worked on *getting rid* of this
Windows-only build tool, but didn't succeed yet. FWIW, Waf appears to
work best for me.
Hello
I recently finalized the removal of all deprecated Glib symbols from
Inkscape [1]. Now I'm exploring removing some of the deprecated GTK
symbols.
This site [2] has a link to a list of deprecated symbols in HTML
format, but there is no text file which could be used with the
provided egrep com
2011/9/8 Kean Johnston :
>> Note that many of us build programs with MinGW, so for such suite to be
>> useful, it should provide GCC-compatible import libraries.
>
> If MinGW can't use standard microsoft import libraries that (from my
> perspective) is Someone Else's Problem.
If you have the DLL,
2011/9/26 Jernej Simončič :
> Won't that fail on filenames that have characters outside of the active
> codepage instead?
You can use g_win32_locale_filename_from_utf8() to obtain a short
filename (8.3) that will refer to the filename with unrepresentable
characters. You can then use it with "narr
2011/9/26 Kean Johnston :
> Despire the
> coolness of Windows supporting time fields 64-bits wide for the least amount
> of pain it would probably be best if the time fields were left at 32-bits
> (although it would be really cool and forward thinking if we used 64-bits),
FWIW I'm in favor of 64 b
2011/9/26 Jernej Simončič :
> But which is more likely to happen - user having a filename with foreign
> characters, or user having a symlink (which on Windows can only be created
> by administrators)...
Based on the bugs reported against Inkscape that were caused by this
kind of filename, I would
2011/9/26 Kean Johnston :
> Plus I am
> fairly sure (but not 100%) that MBCS can represent all of the characters
> UTF-16 can (which is what the _wstat function uses).
MBCS is misleadingly named in Microsoft documentation. It is not
always a multibyte encoding. It is a locale-specific encoding tha
2012/5/22 John Emmas :
> So for example, if the input string is "Göran" (encoded as UTF-8) I get the
> wrong output (hopefully, you can see that the 'o' has an umlaut).
> g_filename_to_uri encodes 6 characters and returns "G%C3%B6ran" instead of
> encoding just 5 characters to return the correc
2013/2/4 Matthias Clasen :
> Hi everybody,
>
> a while ago, we've talked about getting a handle on the enormous
> number of open bugs in glib and gtk.
This bug, which makes GOption useless on Windows and has accumulated
93 comments so far, could be easily fixed (it has patches) if someone
finally
2013/7/17 Emmanuele Bassi :
> GAction replaces GtkAction; images on menus have been discouraged for
> years, and the whole menu system has been replaced by GMenu XML
> descriptions that can be exported on the session bus.
GAction has no functionality for accelerators, icons, or automatically
creat
2013/7/18 Emmanuele Bassi :
> support for those features has already been developed and it is going
> to be added to GAction before we release GLib 2.38 and GTK 3.10, and
> improved in the future so that it matches with the overall spirit and
> design of the API. if you want to influence where the
2013/9/11 Emmanuele Bassi :
> as the author of GtkRecentAction, I'm honestly not concerned.
> GtkRecentAction was a stop-gap that covered users of the old
> EggRecent* API, and was never really useful; in a sense, it was a
> class used to paper over a deprecation. shoving a bunch of recently
> used
2013/10/17 Jasper St. Pierre :
> I think the thing that we'd want is to have a separate RTL icon theme that
> inherits from the LTR icon theme, but overrides some icons with flipped
> icons. This can be done with a few tweaks to the icon-theme specification,
> and in GTK+.
I vaguely recall that on
2013/10/15 Ryan Lortie :
> "Any icon that comes before a menu item’s text should be laid out as
> if it is the beginning of the text..."
>
> and
>
> "In particular, icons of this sort should not go inside the margin..."
>
> (...)
>
> GtkImageMenuItem puts its icon in the margin. We don't eve
2014-06-21 3:00 GMT+02:00 Jasper St. Pierre :
> To better support Wayland with fewer copies and less drawing artifacts, I've
> pushed some potentially breaking changes to GDK, namely around
> gdk_cairo_create and gdk_window_begin_paint_region.
>
> https://git.gnome.org/browse/gtk+/commit/?id=d48adf
2014-06-24 3:02 GMT+02:00 Jasper St. Pierre :
> May I ask why you can't paint in the draw signal? GDK already tracks
> invalidated windows marked by exposes and gdk_window_invalidate_rect itself.
> It should be as efficient as drawing in an idle handler, and also cooperates
> with the paint clock,
> On Mon, Jun 23, 2014 at 9:59 PM, Paul Davis
> wrote:
> as Jasper noted in his reply, but i'll describe differently: it is one thing
> to draw (even in a separate thread) in a cairo surface that can later to
> used during an actual redraw. and certainly many programs have excellent
> reasons to d
2014-08-05 20:06 GMT+02:00 Simon McVittie :
> In particular, Linux distributions *hate* waf. One of the reasons is:
>
>> Currently waf does basically same thing, you haven't to have waf
>> installed to build, the 'waf' python script will require only python
>> installed, as 'configure' requires bas
2014-08-05 15:41 GMT+02:00 Bernhard Schuster :
> If this ever happens, I hope for waf to get some traction, it is way faster
> and has the power of py and also prevents all the version incompatibility
> issues on different host machines as one can ship the waf with the
> repository itself (or as a
2014-08-06 21:43 GMT+02:00 Colomban Wendling :
> Le 06/08/2014 21:30, Krzysztof Kosiński a écrit :
>> [Waf] does not require silly lists of files to work
>
> If that refers to using globs in the build system files, don't. Glob
> showed on many a situation to be the
till doesn't fix the problem if argv is modified, causing
unobvious breakage.
I would favor solution #2, since it's the simplest and least probable
to cause confusion, but bug commenters apparently wanted to go with
#6. I sent a few patches implementing #6
If anyone is interested in fixing this highly annoying bug that
prevents serious projects from using GOption on Windows, please see
the new patch I created:
https://bugzilla.gnome.org/show_bug.cgi?id=522131
It defines a new structure, GCommandLine, that can be created from
various sources. The "de
On Jan 11, 2016 7:03 PM, "张海" wrote:
>
> Yes, but the point of my previous email is that the third-party
GC_malloc() might eventually call malloc() itself, and by defining a
malloc() in my program, GC_malloc() will again call into my malloc() and
then GC_malloc() until stack overflow. Do you think
37 matches
Mail list logo