- 09 Eki, 2012 7 kayıt (commit)
-
-
Colomban Wendling yazdı
This makes the main toolbar look like other GTK3 application ones.
-
Colomban Wendling yazdı
Although GTK3 still have gtk_rc_parse_string(), it doesn't work anymore for our overrides, so register proper CSS for them.
-
Colomban Wendling yazdı
GtkFontButton uses GtkFontChooserDialog on GTK 3.2 so the UI is more consistent if we use it explicitly too, and GtkFontSelectionDialog is somewhat broken on 3.4.
-
Colomban Wendling yazdı
Although theoretically GtkLabel from GTK3 should be able to replace GeanyWrapLabel altogether, a bug [1] with it makes it use way too much space in our about dialog (and possibly other places), making it not really usable. So, port the GeanyWrapLabel hack to GTK3, with the appropriate additional hacks for it to work. At least it looks good and don't seem to have resizing issues now. [1] https://bugzilla.gnome.org/show_bug.cgi?id=657621
-
Colomban Wendling yazdı
This fixes the SCINTILLA_CLASS() and IS_SCINTILLA() macros on GTK3. No harm on GTK2, those macros are available since 2.0. This also makes those macros more consistent with the SCINTILLA() macro that already uses the proper GObject calls. Backported from Scintilla HG: 9cd7cf1d9af73d50b0423ed34a6693bbf7f57ac8
-
Colomban Wendling yazdı
GTK3 changed the default for expand and fill, so explicitly set them.
-
Colomban Wendling yazdı
-
- 08 Eki, 2012 11 kayıt (commit)
-
-
Colomban Wendling yazdı
-
Colomban Wendling yazdı
-
Colomban Wendling yazdı
-
Colomban Wendling yazdı
The GTK3 version of GtkLabel provides what GeanyWrapLabel is for given the appropriate settings are set, so no need to our own widget -- that would require being updated to support GTK3 anyway.
-
Colomban Wendling yazdı
Map the various horizontal and vertical deprecated constructors to their GtkOrientation-based equivalents on GTK3 to prevent most deprecation warnings.
-
Colomban Wendling yazdı
Use the GtkComboBoxText API and the GtkComboBoxEntry replacement API and map those to the old equivalents if not available. This changes the type exposed by ui_combo_box_add_to_history() from GtkComboBoxEntry to either GtkComboBox (under GTK2) or GtkComboBoxText (under GTK3). This should not be too much of an issue since GtkComboBoxEntry and GtkComboBoxtext are subclasses of GtkComboBox, but this will still emit warnings when when the calling code passes a GtkComboBoxEntry pointer to ui_combo_box_add_to_history(). However, this requires the calling code to use the same mapping as we do (GtkComboBoxText = GtkComboBox on GTK2, even on 2.24), or things will blow and it'll be hard to understand why. This wouldn't be an issue if the calling code includes our gtkcompat.h header everywhere it deals with combo boxes, which will be the case if it includes the Geany headers everywhere but probably won't otherwise. Oh dear. A possible kind of workaround may be for ui_combo_box_add_to_history() to do type-checking on its argument and use the actually correct API for that type.
-
Colomban Wendling yazdı
GtkDialog separators sere deprecated on GTK 2.22 and remove on 3.0, so define them to dummy values on GTK3. We don't get rid of them altogether because GTK 2.16 we depend on probably has separators enabled by default and we want to remove them.
-
Colomban Wendling yazdı
-
Colomban Wendling yazdı
Since many accessor are new in GTK versions we don't depend on, add a header that defines them to the direct access if they aren't available.
-
Colomban Wendling yazdı
-
Colomban Wendling yazdı
-
- 05 Eki, 2012 3 kayıt (commit)
-
-
Colomban Wendling yazdı
This makes the "wordchars" setting from filetypes.common and each specific filetype override filetype.common's "whitespace_chars" setting, rather than it overriding filetype-specific "wordchars". This makes the it easy to chose filetype-specific "wordchars", where before user had not only to update this setting, but also the filetype.common "whitespace_chars" setting if it listed one or more of the new characters for the change to actually have an effect -- and changing "whitespace_chars" for every filetype. Closes #3429368.
-
Colomban Wendling yazdı
-
Colomban Wendling yazdı
Closes #3574723.
-
- 01 Eki, 2012 1 kayıt (commit)
-
-
Colomban Wendling yazdı
-
- 30 Eyl, 2012 4 kayıt (commit)
-
-
trongthanh yazdı
-
trongthanh yazdı
-
trongthanh yazdı
-
Colomban Wendling yazdı
Closes #2130612.
-
- 28 Eyl, 2012 2 kayıt (commit)
-
-
Colomban Wendling yazdı
-
Colomban Wendling yazdı
Closes #3167355.
-
- 26 Eyl, 2012 1 kayıt (commit)
-
-
Frank Lanitz yazdı
-
- 25 Eyl, 2012 4 kayıt (commit)
-
-
Frank Lanitz yazdı
-
Colomban Wendling yazdı
If we generated methods, properties or class children tags for a variable, generate a class tag for the variable itself so the children aren't orphaned.
-
Colomban Wendling yazdı
If a property value had more than one token, the parser choked on it and failed to parse further properties of the object. Fix that by properly skipping the property's value. If that value is a sub-object, parse it recursively. Closes #3470609.
-
Colomban Wendling yazdı
Closes #3036476.
-
- 24 Eyl, 2012 6 kayıt (commit)
-
-
Colomban Wendling yazdı
This fixes parsing of the following unterminated statements: if () { foo = 42 } if () { foo = new Object() } if () { foo = ({a:1,b:2}) }
-
Colomban Wendling yazdı
-
Colomban Wendling yazdı
-
Colomban Wendling yazdı
If an `if` haven't had braces, the code used to check itself for an `else` after it, eating the next token if it wasn't actually an `else`. So, drop the check for the else altogether since parseLine() handles `else`s by calling parseIf() anyway. This fixes constructs like: if (foo) bar(); function baz() { // ... } Closes #3568542.
-
Oleg Eterevsky yazdı
-
Colomban Wendling yazdı
This makes `Foo.bar = function()` properly report a function tag "bar" with scope "Foo" rather than a function tag "Foo.bar" with no scope. Part of #3570192.
-
- 22 Eyl, 2012 1 kayıt (commit)
-
-
Colomban Wendling yazdı
There is no need to set the token position information in the loop searching for the initial token character, simply do that when we finally found the token start.
-