aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Jonas Koelker points out that the backspace key didn't work in GTKSimon Tatham2009-12-20
| | | | | | | | | | Guess, because Guess expected ^H whereas GTK generated ^?. Other puzzles that use Backspace do it by being prepared to see either, which seems wasteful. Now the midend normalises both into ^H, so front ends can generate whichever they like while puzzles can safely just look for ^H. [originally from svn r8786]
* Minor bug fixes from James Harvey.Simon Tatham2009-12-17
| | | | [originally from svn r8785]
* Patches from Frode Austvik to modify the effects of the mouseSimon Tatham2009-12-17
| | | | | | | | | | buttons in several games if STYLUS_BASED is defined: in games where you can set a puzzle element to 'on', 'off' or 'not yet set', when it's hard to mimic a second mouse button, it's better to have the one 'button' cycle between all three states rather than from 'on' back to 'unset'. [originally from svn r8784]
* Patch from Frode Austvik to tinker with the GTK interface ifSimon Tatham2009-12-17
| | | | | | | | compiling gtk.c with STYLUS_BASED defined: most notably, it provides a row of numeric 'keys' made of GTK button widgets for puzzles that want a numeric keypad. [originally from svn r8783]
* Patch from Frode Austvik to permit passing CFLAGS in to the UnixSimon Tatham2009-12-17
| | | | | | makefile. [originally from svn r8782]
* Another wording tweak from Helge Kreutzmann.Jacob Nevins2009-12-13
| | | | [originally from svn r8780]
* Fix for the grid generation in the presence of particularly strangeSimon Tatham2009-11-16
| | | | | | grid types. [originally from svn r8750]
* Add a precautionary pair of initialisations to placate optimisers,Simon Tatham2009-11-10
| | | | | | | and asserts to check that the preinitialised values are never actually used. [originally from svn r8745]
* Remove ASCII-art arrows. Missing \dash (Debian bug #522439).Jacob Nevins2009-11-05
| | | | [originally from svn r8736]
* Beat up on Black Box docs, after Debian bug #548472.Jacob Nevins2009-11-04
| | | | [originally from svn r8735]
* Typo fixes from Debian bug#554341.Jacob Nevins2009-11-04
| | | | [originally from svn r8734]
* Single mouse clicks to toggle individual grid edges stopped workingSimon Tatham2009-10-13
| | | | | | | | in r8414 as a side effect of reorganisation in interpret_move(). Reinstate them. [originally from svn r8692] [r8414 == 54801998744a69786a49ebe0688942ae7b57525b]
* Add a couple of missing checks in validate_desc(), without whichSimon Tatham2009-09-16
| | | | | | | bogus game IDs were getting as far as new_game() and failing assertions. [originally from svn r8655]
* Minor rewording and typo-correction.Simon Tatham2009-09-16
| | | | [originally from svn r8654]
* Aha, I've managed to prove that my inadequate error highlighting isSimon Tatham2009-09-16
| | | | | | | actually just about adequate after all. Large comment added containing some discussion and the proof. [originally from svn r8653]
* Error-highlighted trees look nicer with a different-coloured trunk.Simon Tatham2009-09-13
| | | | | | | Also added a comment worrying about the universality of my error highlighting mechanism. [originally from svn r8647]
* Redo Mines and Inertia's mine graphics using an actual circle ratherSimon Tatham2009-09-13
| | | | | | | than an approximating octagon, to improve the look when zoomed to high resolution. [originally from svn r8646]
* Tweak to the promptness of error highlighting display.Simon Tatham2009-09-12
| | | | [originally from svn r8645]
* About time I got round to this: error highlighting for Tents.Simon Tatham2009-09-12
| | | | [originally from svn r8644]
* Fix width/height braino introduced in r5844.Simon Tatham2009-09-09
| | | | | [originally from svn r8643] [r5844 == 865e8ad6ca3d83ad2a585ceeb1809e9f68c18a20]
* Add execute permission to the .exe files inside the zip file.Simon Tatham2009-08-28
| | | | [originally from svn r8634]
* More defensive-coding fixes from James H.Simon Tatham2009-07-01
| | | | [originally from svn r8605]
* Patch from Mark Wooding: when I did r7980 I had completely failed toSimon Tatham2009-06-21
| | | | | | | | | notice that there was an _official_ way to have menu items marked as selected or unselected, which is the GtkRadioMenuItem class. Replace my ad-hoc use of bullet characters with that. [originally from svn r8601] [r7980 == ae6c7381272f84c0fd398f6d3e496f571ba42ec8]
* Patch from Mark Wooding: use gdk_event_request_motions() whereSimon Tatham2009-06-21
| | | | | | | | available, which magically seems to eliminate most if not all of the update lag when dragging a point in a large (say 250-point) Untangle. I don't fully understand how this works, but it seems to! [originally from svn r8600]
* Patch from Mark Wooding: stop setting GTK_EXPAND for the x-directionSimon Tatham2009-06-21
| | | | | | | | | | | | on labels in tables. The effect is that if you resize (e.g.) Solo's configuration panel, the labels to the left of the various input boxes will remain just big enough to fit their text in, and all the extra space will be taken up by the useful part, i.e. the input boxes themselves. Previously the labels and input boxes would expand in a 1:1 ratio, causing lots of space to the right of the label text that wasn't used for anything. [originally from svn r8599]
* Patch from Mark Wooding: one-pixel fix to the alignment of theSimon Tatham2009-06-21
| | | | | | bottom and right edges of the Tents keyboard cursor. [originally from svn r8598]
* Patch from Mark Wooding (though somewhat tampered with by me): haveSimon Tatham2009-06-21
| | | | | | | | | | | | Loopy mark LINE_NO grid edges with very faint lines, instead of leaving them totally undrawn. Helps in complex grid types where the line layout isn't entirely obvious to a player not already familiar with it. Disableable by setting LOOPY_FAINT_LINES=n in the environment, just in case anyone turns out to seriously dislike it. (You could probably disable it via LOOPY_COLOUR_6 too, but you'd have to know the exact shade of your background to get that right.) [originally from svn r8597]
* Memory management and other fixes from James H.Simon Tatham2009-06-17
| | | | [originally from svn r8596]
* Fix a misdesign I must have missed when I reviewed the Killer patch:Simon Tatham2009-04-30
| | | | | | | | | | | | | | | | | merge_some_cages() was written in the assumption that it would always be able to do something, in that it returned void on success and if it couldn't find anything to do it would just loop round forever trying the same things over and over again. Now it makes a methodical list of the pairs of cages which are merge candidates, goes through them in a random order until it finds a viable one, and returns a boolean indicating whether it succeeded or ran out of candidates. A test case which previously hung and now does not is "solo --generate 1 7jxkdt#12345-10". [originally from svn r8541]
* check_valid() wasn't checking that Killer cages contain at most oneSimon Tatham2009-04-29
| | | | | | | of each digit, and - perhaps more importantly - the display code wasn't highlighting violations of that rule as an error. Fix both. [originally from svn r8540]
* It's been a new year for some time now.Jacob Nevins2009-03-19
| | | | [originally from svn r8494]
* Patch from James H to provide 16-bit-int cleanliness in Killer Solo.Simon Tatham2009-03-02
| | | | [originally from svn r8489]
* Patch from James H to abstract out of Dominosa the code whichSimon Tatham2009-03-02
| | | | | | | randomly generates a tiling of a rectangle with dominoes, since he wants to reuse that function in another puzzle. [originally from svn r8488]
* Make menus accessible from the keyboard in the Gtk front-end.Jacob Nevins2009-03-01
| | | | [originally from svn r8486]
* Fix cosmetic glitch in the interaction between Killer and JigsawSimon Tatham2009-02-24
| | | | | | modes. [originally from svn r8463]
* Make icon building cope with Solo's increased default tilesize as of r8455.Jacob Nevins2009-02-23
| | | | | [originally from svn r8459] [r8455 == 3d6de1eb47af21a9d9c0e6390b115febbf8b1d91]
* Fix duplicate keyword.Jacob Nevins2009-02-22
| | | | [originally from svn r8458]
* A substantial patch to Solo from Bernd Schmidt, adding support forSimon Tatham2009-02-22
| | | | | | | | the 'Killer Sudoku' puzzle type. As a side effect I've had to increase the default tile size of Solo, so that the extra numbers drawn in the squares in Killer mode were still legible. [originally from svn r8455]
* Introduce some infrastructure to permit games' print functions toSimon Tatham2009-02-22
| | | | | | draw dotted lines. No puzzle yet uses this, but one's about to. [originally from svn r8453]
* Fix the Java front end's vertical text positioning whenSimon Tatham2009-02-22
| | | | | | | | | | ALIGN_VNORMAL is in use: ALIGN_VNORMAL indicates that the supplied y-coordinate denotes the _baseline_ of the text, not its top, so adding on 'asc' to convert to the baseline is wrong. This only affects Tents, at present. [originally from svn r8452]
* Keyboard control patch for Bridges, from James H.Simon Tatham2009-02-05
| | | | [originally from svn r8446]
* Lee Dowling points out that duplicating the entire grid dataSimon Tatham2009-02-05
| | | | | | | | structure in every game_state is terribly wasteful. Move all the constant bits of it (i.e. everything except the per-square 'blue' flag) into a ref-counted shared structure. [originally from svn r8444]
* Keyboard control patch for Black Box, from James H.Simon Tatham2009-01-28
| | | | [originally from svn r8439]
* Keyboard control patch for Twiddle, from James H.Simon Tatham2009-01-28
| | | | [originally from svn r8438]
* Keyboard control patch for Pattern, from James H.Simon Tatham2009-01-27
| | | | [originally from svn r8435]
* Keyboard control for Map, from James H.Simon Tatham2009-01-27
| | | | [originally from svn r8434]
* Reorder if statements in Unequal's interpret_move() so that pressesSimon Tatham2009-01-26
| | | | | | | | | | | | | | | | | of 'h' and 'm' are treated as digits if a square is selected, and only treated as special commands otherwise. This renders very large games (just about) playable. Idea from Ben Hutchings's collection of Debian patches, although I had to redo his (trivial) patch myself since the code has changed recently. (Addendum after committing: hmm, I see Jacob already applied the original version of the patch a while back. Looks as if the recent keyboard control change reintroduced the problem. Still, re-fixed now.) [originally from svn r8433]
* Patch from James H to add keyboard control in Sixteen and NetslideSimon Tatham2009-01-26
| | | | | | (and also belatedly document the keyboard support in Unequal). [originally from svn r8432]
* Switch over to using the new-style GtkFileChooser in place of theSimon Tatham2009-01-26
| | | | | | | deprecated GtkFileSelection, at least when the latter is available. Patch mostly due to Ori Avtalion. [originally from svn r8431]
* Add an automatic check for HAVE_SENSIBLE_ABSOLUTE_SIZE_FUNCTION bySimon Tatham2009-01-24
| | | | | | | | using PANGO_CHECK_VERSION. (Irritatingly, the latter is not available in all versions of Pango, so we have to be cautious about using it at all. *sigh*) [originally from svn r8430]