geda-pcb/pcjc2.git
7 years agoRefactor arc bounding box calculations to separate out thin casearc_contours/refactor-arc-bounding-box
Peter Clifton [Sun, 4 Jan 2015 01:50:18 +0000 (4 01:50 +0000)]
Refactor arc bounding box calculations to separate out thin case

The thin-arc case will be useful for arc-segments within polycurves.

7 years agoAnd working again (mostly)arc_contours/and-working-again-mostly
Peter Clifton [Sun, 4 Jan 2015 01:50:18 +0000 (4 01:50 +0000)]
And working again (mostly)

7 years agoWell on the way to completely messing up the STEP code, just by flipping the Y coord!arc_contours/well-on-the-way-to-completely
Peter Clifton [Sun, 4 Jan 2015 01:50:17 +0000 (4 01:50 +0000)]
Well on the way to completely messing up the STEP code, just by flipping the Y coord!

7 years agoAttempt to refactor the STEP emission somewhatarc_contours/attempt-to-refactor-the-step
Peter Clifton [Sun, 4 Jan 2015 01:50:17 +0000 (4 01:50 +0000)]
Attempt to refactor the STEP emission somewhat

7 years agoContinue tinkering with 3D gamesarc_contours/continue-tinkering-with-3d
Peter Clifton [Sun, 4 Jan 2015 01:50:17 +0000 (4 01:50 +0000)]
Continue tinkering with 3D games

7 years agoMore play with quad edge data-structures and STEP exportarc_contours/more-play-with-quad-edge-data
Peter Clifton [Sun, 4 Jan 2015 01:50:17 +0000 (4 01:50 +0000)]
More play with quad edge data-structures and STEP export

7 years agoWIP on quad edge playarc_contours/wip-on-quad-edge-play
Peter Clifton [Sun, 4 Jan 2015 01:50:17 +0000 (4 01:50 +0000)]
WIP on quad edge play

7 years agoPlay with quad-edge data-structure - using PCB as a framework for GL!local_customisation_pcb+gl/play-with-quad-edge-data
Peter Clifton [Sun, 4 Jan 2015 01:50:17 +0000 (4 01:50 +0000)]
Play with quad-edge data-structure - using PCB as a framework for GL!

7 years agoFix build warnings in gtkhid-gl.clocal_customisation_pcb+gl/fix-build-warnings-in-gtkhid
Peter Clifton [Sun, 4 Jan 2015 01:50:17 +0000 (4 01:50 +0000)]
Fix build warnings in gtkhid-gl.c

7 years agopolygon.c: Add option to include drills holes (from vias / pins) in the board outlinelocal_customisation_pcb+gl/polygon-c-add-option-to
Peter Clifton [Sun, 4 Jan 2015 01:50:16 +0000 (4 01:50 +0000)]
polygon.c: Add option to include drills holes (from vias / pins) in the board outline

7 years agohid/gtk (GL): Add hacky code to render outline of board, and mask cutout geometrylocal_customisation_pcb+gl/hid-gtk-gl-add-hacky-code-to-r
Peter Clifton [Sun, 4 Jan 2015 01:50:16 +0000 (4 01:50 +0000)]
hid/gtk (GL): Add hacky code to render outline of board, and mask cutout geometry

7 years ago32bit: Fix GL HID zoom out, due to over-shooting Coord data-typelocal_customisation_pcb+gl/32bit-fix-gl-hid-zoom-out-due-
Peter Clifton [Sun, 4 Jan 2015 01:50:16 +0000 (4 01:50 +0000)]
32bit: Fix GL HID zoom out, due to over-shooting Coord data-type

Nasty NASTY hack this, but it gets me working again.

7 years agoWin32: Disable the SpaceNavigator codelocal_customisation_pcb+gl/win32-disable-the-spacenavigat
Peter Clifton [Sun, 4 Jan 2015 01:50:16 +0000 (4 01:50 +0000)]
Win32: Disable the SpaceNavigator code

7 years agoPlay with locked object renderinglocal_customisation_pcb+gl/play-with-locked-object
Peter Clifton [Sun, 4 Jan 2015 01:50:16 +0000 (4 01:50 +0000)]
Play with locked object rendering

(HACK HACK HACK HACK HACK)

Did I mention this was a hacky pile of rubbish code.. the main point of
the exercise is to determine whether the usability is better or not.

7 years agoMore rubberbanding algorithm tweakslocal_customisation_pcb+gl/more-rubberbanding-algorithm-t
Peter Clifton [Sun, 4 Jan 2015 01:50:16 +0000 (4 01:50 +0000)]
More rubberbanding algorithm tweaks

7 years agoFirst attempts at improved rubberbanding logiclocal_customisation_pcb+gl/first-attempts-at-improved-rub
Peter Clifton [Sun, 4 Jan 2015 01:50:16 +0000 (4 01:50 +0000)]
First attempts at improved rubberbanding logic

7 years agoIntroduce hacky code to switch cursor when over a line we might draglocal_customisation_pcb+gl/introduce-hacky-code-to-switch
Peter Clifton [Sun, 4 Jan 2015 01:50:15 +0000 (4 01:50 +0000)]
Introduce hacky code to switch cursor when over a line we might drag

7 years agoTidy up rubberband.clocal_customisation_pcb+gl/tidy-up-rubberband-c
Peter Clifton [Sun, 4 Jan 2015 01:50:15 +0000 (4 01:50 +0000)]
Tidy up rubberband.c

7 years agodrc: HACK HACK HACKlocal_customisation_pcb+gl/drc-hack-hack-hack
Peter Clifton [Sun, 4 Jan 2015 01:50:15 +0000 (4 01:50 +0000)]
drc: HACK HACK HACK

7 years agoRemove "=" shortcut to the djopt() thingy which keeps eating my design
Peter Clifton [Sun, 4 Jan 2015 01:50:15 +0000 (4 01:50 +0000)]
Remove "=" shortcut to the djopt() thingy which keeps eating my design

ARR!! how much work have I lost to this key binding!

7 years agoChange scroll-wheel bindings to match more GTK applications
Peter Clifton [Sun, 4 Jan 2015 01:50:15 +0000 (4 01:50 +0000)]
Change scroll-wheel bindings to match more GTK applications

7 years agoAdd a hacky name-mangling thingy for loading boards
Peter Clifton [Sun, 4 Jan 2015 01:50:15 +0000 (4 01:50 +0000)]
Add a hacky name-mangling thingy for loading boards

7 years agoAdd strip hierarchy options to display refdes without any "..../" prefix
Peter Clifton [Sun, 4 Jan 2015 01:50:15 +0000 (4 01:50 +0000)]
Add strip hierarchy options to display refdes without any "..../" prefix

7 years agoRefactor poly_CreateNode() to take a pre-created VNODE structure, not a Vectorlocal_customisation_pcb+gl/refactor-poly_createnode-to
Peter Clifton [Sun, 4 Jan 2015 01:50:14 +0000 (4 01:50 +0000)]
Refactor poly_CreateNode() to take a pre-created VNODE structure, not a Vector

This helps to keep consitency with other functions adding vertices to a
contour and will be useful when additional data is added to the VNODE
structure. (Meaning it can be set the same way in all cases).

7 years agoFix to ParseGroupString()local_customisation_pcb+gl/fix-to-parsegroupstring
Peter Clifton [Sun, 4 Jan 2015 01:50:18 +0000 (4 01:50 +0000)]
Fix to ParseGroupString()

7 years agoRevert "Just make a black background."
Peter Clifton [Sat, 3 Jan 2015 23:51:35 +0000 (3 23:51 +0000)]
Revert "Just make a black background."

This reverts commit cf6c95ade3be149a5a8659bd13a80eedc4092fd2.

7 years agoDisable texturing the board's soldermask
Peter Clifton [Sat, 3 Jan 2015 23:51:34 +0000 (3 23:51 +0000)]
Disable texturing the board's soldermask

7 years agoAdd a load more hacky models for test rendering
Peter Clifton [Sat, 3 Jan 2015 23:51:34 +0000 (3 23:51 +0000)]
Add a load more hacky models for test rendering

7 years agoAdd a demonstration model for rendering ACY series resistors
Peter Clifton [Sat, 3 Jan 2015 23:51:34 +0000 (3 23:51 +0000)]
Add a demonstration model for rendering ACY series resistors

Play with some lighting effects (SLOW!!!)
Play with shaders and lighting goodness

Oops, nasty hack due to unknown code changes on merge. Left merge comments commented out for now.

7 years agoJust make a black background.
Peter Clifton [Sat, 3 Jan 2015 23:51:34 +0000 (3 23:51 +0000)]
Just make a black background.

7 years agoRe-write ghid_set_layer() for some reason (can't recall why!)
Peter Clifton [Sat, 3 Jan 2015 23:51:34 +0000 (3 23:51 +0000)]
Re-write ghid_set_layer() for some reason (can't recall why!)

7 years agoWin32: Fix build for win32
Peter Clifton [Sat, 3 Jan 2015 23:51:34 +0000 (3 23:51 +0000)]
Win32: Fix build for win32

7 years agohidgl: Attempt at fixing ORTHO view
Peter Clifton [Sat, 3 Jan 2015 23:51:33 +0000 (3 23:51 +0000)]
hidgl: Attempt at fixing ORTHO view

7 years agoPlay with perspective
Peter Clifton [Sun, 4 Jan 2015 01:44:49 +0000 (4 01:44 +0000)]
Play with perspective

7 years agoDraw polygons in a more intelligent order
Peter Clifton [Sun, 4 Jan 2015 01:44:49 +0000 (4 01:44 +0000)]
Draw polygons in a more intelligent order

A sub-compositing stencil bit "S" is used to avoid overlapping polygons.

PASS 1a. Draw all non holed "SOLID" polygons which don't clear other
         geometry.

PASS 1b. Draw all "SOLID" polygons with holes.
         --
         In addition to "S", A second stencil bit, "H" is required for
         each of these polygons. Both are masked against. After each
         polygon drawn, a new "S" stencil bit is required.

PASS 2.  Mask out all clearance holes from other geometry.
         --
         As this is a polygon ONLY layer being subcomposited, this masking
         can be done directly on the "S" bit-plane.

PASS 3a. Draw all polygons which only feature clearance holes
PASS 3b. Draw all polygons which have user-defined holes.
         --
         In addition to "S", a second stencil bit, "H" is required for
         each of these polygons. Both are masked against. After each
         polygon drawn, a new "S" stencil bit is required.

NB: In this version. PASS 2 and 3 are carried out concurrently, although
    for boards with heavily overlapping polygons, it may be faster to
    mask out clearance for everything at once.

V2: We have to force a new stencil bit for each piece of a "fullpoly" polygon
as a hole in the first POLYAREA should not prevent a second POLYAREA of the
same polygon being drawn inside that hole. In this regard, we need to treat
"fullpoly" polygons as if they contained user holes.

7 years agoTry a new, different sized VBO buffer for each upload.
Peter Clifton [Sun, 4 Jan 2015 01:44:49 +0000 (4 01:44 +0000)]
Try a new, different sized VBO buffer for each upload.

7 years agoCache polygon contour tri-strip tesselations (HACK: IN THE CORE!)
Peter Clifton [Sun, 4 Jan 2015 01:44:49 +0000 (4 01:44 +0000)]
Cache polygon contour tri-strip tesselations (HACK: IN THE CORE!)

This is a bit of a KLUDGE really, we should not push data
into the core like this.

7 years agoPlay with GLSL shader for rendering line caps and circles
Peter Clifton [Sun, 4 Jan 2015 01:44:49 +0000 (4 01:44 +0000)]
Play with GLSL shader for rendering line caps and circles

And of course.. typically, a million other little fixes:

 - Primitive rendering object changed from GL_TRIANGLES to GL_TRIANGLE_STRIP
 - Cache of tristrip data per contour (HACK: in the core)
 - Rendering using mapped VBOs rather than just arrays
 - Updated layer depth code, so we render with "z" in world coordinates
 - Space navigator joystick support fixes against later kernels

Bugs:
 - Layer depths will be wrong for reversed layer group numbering
 - Pixel shader ought to be switched off for polygon fill?
 - hidgl_draw_rect stubbed out (for benchmarking)
 - Draw Element mark stubbed out (for benchmarking)
 - Draw crosshair stubbed out (for benchmarking)
 - Draw crosshair not updated to render in world coordinates

Notes:
 - Apparently it can be better to do glVertexPointer last (so we do):
    From: http://sdickinson.com/wordpress/?p=122
    ""
    Make sure you put glVertexPointer at the end as there is a lot of work that
    goes on behind the scenes with it, and if it's set at the start, it has to
    do all that work for each gl*Pointer call, rather than once at the end.
    ""

 - We set up the array pointers before calling glEnableClientState():
    I'm not sure, but if we do this the other way around, it might cause
    the driver to hang onto our old buffers longer, or perform state setup,
    only to have to discard that work shortly after.

 - DARN: Seems that using VBOs is not a win, even on Intel 965:
    Certainly seems to fail miserably (v. low FPS) on my NVidia card.

    On Intel, sysprof shows a huge amount of time spent clflushing
    buffers, or copying to the graphics card (uncached).

    Set to use glBufferSubData by default for now.

7 years agohid/gtk (GL): I think the polygon renderer works in mask mode now
Peter Clifton [Sat, 3 Jan 2015 23:51:31 +0000 (3 23:51 +0000)]
hid/gtk (GL): I think the polygon renderer works in mask mode now

7 years agoPut back layer opacity to its old behaviour
Peter Clifton [Sat, 3 Jan 2015 23:51:30 +0000 (3 23:51 +0000)]
Put back layer opacity to its old behaviour

The exact details of this setting aren't right yet,
so revert them so I can build a release.

7 years agoPCB+GL: Fix GL headers for Win32
Peter Clifton [Sat, 3 Jan 2015 23:51:30 +0000 (3 23:51 +0000)]
PCB+GL: Fix GL headers for Win32

7 years agohid/common/hidgl: Debug out of context rendering
Peter Clifton [Sat, 3 Jan 2015 23:51:30 +0000 (3 23:51 +0000)]
hid/common/hidgl: Debug out of context rendering

7 years agoHack to avoid GL calls when we're out of context
Peter Clifton [Sat, 3 Jan 2015 23:51:30 +0000 (3 23:51 +0000)]
Hack to avoid GL calls when we're out of context

7 years agoAdd cache for board-outline
Peter Clifton [Sat, 3 Jan 2015 23:51:30 +0000 (3 23:51 +0000)]
Add cache for board-outline

This adds a cache of the board outline, to improve rendering speed
when plotting the board with an outline.

The cache is invalidated when the "outline" or "route" layer is
updated. We catch this by bodging the ClearFromPolygon() routine,
which is called for almost all layer geometry changes which might
affect us.

XXX: We really need to add a nicer place to be notified of board
layer changes!

7 years agoBoard outline polygon generation
Peter Clifton [Sat, 3 Jan 2015 23:51:29 +0000 (3 23:51 +0000)]
Board outline polygon generation

FIXME: Make this work with the GL masking polygon drawing routines, rather
       than relying on the dicer.

7 years agoAdd routines to render just a single contour
Peter Clifton [Sat, 3 Jan 2015 23:51:29 +0000 (3 23:51 +0000)]
Add routines to render just a single contour

Use them rather than the GLU tessellator

7 years agoborast: Win32: Comment #define in borast-compiler-private.h
Peter Clifton [Sat, 3 Jan 2015 23:51:29 +0000 (3 23:51 +0000)]
borast: Win32: Comment #define in borast-compiler-private.h

7 years agoFix borast not to build for non-GL enabled builds
Peter Clifton [Sat, 3 Jan 2015 23:51:29 +0000 (3 23:51 +0000)]
Fix borast not to build for non-GL enabled builds

7 years agoBentley-Ottann test implementation
Peter Clifton [Sat, 3 Jan 2015 23:51:29 +0000 (3 23:51 +0000)]
Bentley-Ottann test implementation

Code from cairo - intersection routines stripped out

7 years agoSilly space navigator interface to allow funky views
Peter Clifton [Sat, 3 Jan 2015 23:51:28 +0000 (3 23:51 +0000)]
Silly space navigator interface to allow funky views

7 years agoDraw pin / pad names first, so they don't get masked by the pad
Peter Clifton [Sat, 3 Jan 2015 23:51:28 +0000 (3 23:51 +0000)]
Draw pin / pad names first, so they don't get masked by the pad

Since we use stencil masking to ensure we don't redraw an area
multiple times, confusingly, we need to draw the text first to
ensure it isn't occluded by the pad its-self.

HACK:

We probably draw the names multiple times - as we still use the
common draw.c code which assumes it can draw labels on top of
the pads.

7 years agogtk/gl: Play with layer translucency
Peter Clifton [Sat, 3 Jan 2015 23:51:28 +0000 (3 23:51 +0000)]
gtk/gl: Play with layer translucency

7 years agoAdd support for drawing objects from the soldermask layer
Peter Clifton [Sat, 3 Jan 2015 23:51:28 +0000 (3 23:51 +0000)]
Add support for drawing objects from the soldermask layer

7 years agoMajor re-write to drawing routines
Peter Clifton [Sat, 3 Jan 2015 23:51:28 +0000 (3 23:51 +0000)]
Major re-write to drawing routines

FIXME: FULLY OF NASTY API HACKS TO draw.c

Notes from squashed patches:
  Pin and via hole cores are drawn in the appropriate colour
  Playing with stack rendering order
  Fix mask display in 3D (Allow both side masks to display at once)
  Fix rendering depths for silk and mask layers
  Fixup depth for layers and element marks
  Move more rendering to world coordinates
  Fix get_coords function
  Re-write parts of the PCB+GL set_layer function
  Fix layer on/off rendering after commit 9768e060fad7bc3dfc366da76ea1db8154005018
  Only assign stencil planes where sub-compositing is required - that is, not the far-side, mask, rat or switched off layers.
  Pass an explicit graphics context to DrawAttached and DrawMark

7 years agoTMP FIXES
Peter Clifton [Sat, 3 Jan 2015 23:51:28 +0000 (3 23:51 +0000)]
TMP FIXES

7 years agoDRAW_FUNCS: Attempt at different render order for PCB+GL
Peter Clifton [Sat, 3 Jan 2015 23:51:28 +0000 (3 23:51 +0000)]
DRAW_FUNCS: Attempt at different render order for PCB+GL

7 years agoShiny 3D eye-candy
Peter Clifton [Sat, 3 Jan 2015 23:51:27 +0000 (3 23:51 +0000)]
Shiny 3D eye-candy

Experiments in progress - don't expect this to work yet!

Squashed:
  Fix grid extents in 3D view

7 years agoCrasy test
Peter Clifton [Sat, 3 Jan 2015 23:51:27 +0000 (3 23:51 +0000)]
Crasy test

7 years agoFixup some bugs from the added soldermask layers
Peter Clifton [Thu, 1 Jan 2015 17:10:54 +0000 (1 17:10 +0000)]
Fixup some bugs from the added soldermask layers

(TODO: Finish this fixup and merge it down into the relevant patches)

7 years agodraw.c: Opencode the mask layer object drawing functions
Peter Clifton [Thu, 1 Jan 2015 17:10:54 +0000 (1 17:10 +0000)]
draw.c: Opencode the mask layer object drawing functions

Calling DrawLayer() did not render using the correct graphics context / colors.
NB: We're still using the "wrong" GC, but we now avoid selecting inappropriate
colors which prevent (say) PS export working correctly for mask layer objects.

7 years agoAdd support for a two soldermask layers, defining regions of removed mask
Peter Clifton [Thu, 1 Jan 2015 17:10:54 +0000 (1 17:10 +0000)]
Add support for a two soldermask layers, defining regions of removed mask

File-format wise, these work similarly to how silk layers are supported now:

Layer (1 to n "[NAME]")            # "ordinary" design layers
Layer (n+1 "silk")                 # bottom side silk
Layer (n+2 "silk")                 # top side silk
Layer (n+3 "bottom soldermask")    # bottom side soldermask
Layer (n+4 "top soldermask")       # top side soldermask

7 years agoAvoid hard-coding the number of extra layers in use (for 2x silkscreen)
Peter Clifton [Thu, 1 Jan 2015 17:10:54 +0000 (1 17:10 +0000)]
Avoid hard-coding the number of extra layers in use (for 2x silkscreen)

We will shorty add support for soldermask layers, so this will need changing

NOTE....... IF THE parse_y.y patch in the stg series before this gets
dropped, there is one more case where + 2 needs to be replaced with EXTRA_LAYERS

7 years agofind.c: The User varaible needs to die...
Peter Clifton [Thu, 1 Jan 2015 17:10:54 +0000 (1 17:10 +0000)]
find.c: The User varaible needs to die...

Reduce its usage to where absolutely necessary... oh, what a surprise,
another variable passing state down into add_object_to_list ()

7 years agoAdd the drc flag as a parameter
Peter Clifton [Thu, 1 Jan 2015 17:10:53 +0000 (1 17:10 +0000)]
Add the drc flag as a parameter

Ok, this is nasty.. I'm obscuring setting of the global varaible... be careful!

7 years agoAdd the bloat as a parameter
Peter Clifton [Thu, 1 Jan 2015 17:10:53 +0000 (1 17:10 +0000)]
Add the bloat as a parameter

Ok, this is nasty.. I'm obscuring setting of the global varaible... be careful!

7 years agofind.c: Refactor some common sequences into a helper function
Peter Clifton [Thu, 1 Jan 2015 17:10:53 +0000 (1 17:10 +0000)]
find.c: Refactor some common sequences into a helper function

7 years agoparse_y.y: Try to avoid two shift/reduce and reduce/reduce warnings
Peter Clifton [Thu, 1 Jan 2015 17:10:53 +0000 (1 17:10 +0000)]
parse_y.y: Try to avoid two shift/reduce and reduce/reduce warnings

TODO: Check this matches up against our expected behavior.

Removing the parsedata section ("I think") has no effect, as elements
hit the alternative | element clause within parsepcb.

HOWEVER... I need to check whether there is any other valid syntax
inside an element file, or any backwards compatibility with old formats
which we may miss with the loss of parsedata.

7 years agoPlay with grid snapping heuristics a little
Peter Clifton [Thu, 1 Jan 2015 17:10:53 +0000 (1 17:10 +0000)]
Play with grid snapping heuristics a little

Require the pointer to be inside the bounding box of a pin / pad / via before snapping.
This makse it MUCH easier to place vias in a regular grid spaced at the PCB grid spacing.

7 years agoAdd hysteresis to grid-snapping
Peter Clifton [Thu, 1 Jan 2015 17:10:53 +0000 (1 17:10 +0000)]
Add hysteresis to grid-snapping

7 years agoUpdate "missing" (automake) script to a later version
Peter Clifton [Sat, 3 Jan 2015 23:49:36 +0000 (3 23:49 +0000)]
Update "missing" (automake) script to a later version

Avoids some warnings at configure time noted with automake 1.14

7 years agoPass an explicit graphics context to DrawAttached and DrawMark
Peter Clifton [Sat, 3 Jan 2015 14:24:53 +0000 (3 14:24 +0000)]
Pass an explicit graphics context to DrawAttached and DrawMark

7 years agolesstif: Fix lesstif_use_mask and associated state to use the mask_mode enum
Peter Clifton [Sat, 3 Jan 2015 12:57:26 +0000 (3 12:57 +0000)]
lesstif: Fix lesstif_use_mask and associated state to use the mask_mode enum

7 years agohid/hidint.h: Remove header guard check, it appears not to be required
Peter Clifton [Sat, 3 Jan 2015 12:51:46 +0000 (3 12:51 +0000)]
hid/hidint.h: Remove header guard check, it appears not to be required

7 years agoUpdate header guard macro check in hidint.h to match rename
Peter Clifton [Sat, 3 Jan 2015 12:52:32 +0000 (3 12:52 +0000)]
Update header guard macro check in hidint.h to match rename

The header guard in global.h was renamed in
commit f6c2d4907583614a10918a121f45670620f1946e

Fixes an implicitly defined function warning in lesstif/main.c

7 years agolesstif: Silence two set but unused variable warnings
Peter Clifton [Sat, 3 Jan 2015 12:55:58 +0000 (3 12:55 +0000)]
lesstif: Silence two set but unused variable warnings

7 years agolesstif: Silence set but unused variable warning
Peter Clifton [Sat, 3 Jan 2015 12:13:04 +0000 (3 12:13 +0000)]
lesstif: Silence set but unused variable warning

7 years agolesstif: Silence set but unused variable warning
Peter Clifton [Sat, 3 Jan 2015 12:11:39 +0000 (3 12:11 +0000)]
lesstif: Silence set but unused variable warning

7 years agolesstif: Silence set but unused variable warning
Peter Clifton [Sat, 3 Jan 2015 12:08:42 +0000 (3 12:08 +0000)]
lesstif: Silence set but unused variable warning

7 years agoFix typo converting request_debug_draw to return a HID_DRAW structure
Peter Clifton [Sat, 3 Jan 2015 11:57:19 +0000 (3 11:57 +0000)]
Fix typo converting request_debug_draw to return a HID_DRAW structure

Fixes GTK HID built without OpenGL

7 years agohid.h: Update comment to reflect change in API
Peter Clifton [Fri, 2 Jan 2015 22:55:48 +0000 (2 22:55 +0000)]
hid.h: Update comment to reflect change in API

7 years agoPass a HID_DRAW structure for debug drawing, not HID
Peter Clifton [Thu, 1 Jan 2015 16:35:27 +0000 (1 16:35 +0000)]
Pass a HID_DRAW structure for debug drawing, not HID

Avoids passing the caller access to more functionality than required.

7 years agoautoroute.c: Add missing include required for debug drawing
Peter Clifton [Thu, 1 Jan 2015 16:55:07 +0000 (1 16:55 +0000)]
autoroute.c: Add missing include required for debug drawing

7 years agoDon't use abuse mask drawing of pin/via drawing routines to show DRC clearance during...
Peter Clifton [Thu, 1 Jan 2015 15:57:16 +0000 (1 15:57 +0000)]
Don't use abuse mask drawing of pin/via drawing routines to show DRC clearance during placement

Explicitly call the graphical drawing routines as necessary.

7 years agoDon't put generated i18n helper files under version control
Roland Lutz [Tue, 9 Dec 2014 18:53:13 +0000 (9 19:53 +0100)]
Don't put generated i18n helper files under version control

Reported-by: Sergey Alyoshin <alyoshin.s@gmail.com>
7 years agoSkip prompt on `make distcheck'
Roland Lutz [Mon, 8 Dec 2014 20:55:06 +0000 (8 21:55 +0100)]
Skip prompt on `make distcheck'

7 years agoFix menus not being translated
Roland Lutz [Mon, 8 Dec 2014 20:32:28 +0000 (8 21:32 +0100)]
Fix menus not being translated

7 years agoPCB make distcheck
Eugene Mikhantiev [Wed, 12 Nov 2014 04:33:11 +0000 (12 11:33 +0700)]
PCB make distcheck

7 years agoList real source files, not generated C files, in po/POTFILES.in
Roland Lutz [Wed, 12 Nov 2014 13:42:31 +0000 (12 14:42 +0100)]
List real source files, not generated C files, in po/POTFILES.in

7 years agoAdd support for arbitrary-depth footprint libraries
Roland Lutz [Wed, 29 Oct 2014 14:43:10 +0000 (29 15:43 +0100)]
Add support for arbitrary-depth footprint libraries

Tested-by: Kai-Martin Knaak <knaak@iqo.uni-hannover.de>
7 years agoDon't recurse into relatively-specified library directories
Roland Lutz [Sun, 21 Sep 2014 12:02:13 +0000 (21 14:02 +0200)]
Don't recurse into relatively-specified library directories

When PCB is run from the user's home directory and "." is specified
as a library directory (which may be a valid use case), PCB tries to
read the user's whole home directory.  There is no easy way to tell
if a given relative path should be searched recursively or not, so
don't do it at all.

7 years agoRemove 509-character limit on configuration values
Roland Lutz [Wed, 10 Sep 2014 19:08:56 +0000 (10 21:08 +0200)]
Remove 509-character limit on configuration values

Tested-by: Kai-Martin Knaak <knaak@iqo.uni-hannover.de>
7 years agoIf there is only one library root node, keep it expanded
Roland Lutz [Thu, 11 Sep 2014 11:52:20 +0000 (11 13:52 +0200)]
If there is only one library root node, keep it expanded

7 years agoLoad footprints recursively from subdirectories
Roland Lutz [Thu, 11 Sep 2014 11:17:52 +0000 (11 13:17 +0200)]
Load footprints recursively from subdirectories

7 years agoAdd support for recursive directories to GTK library dialog
Roland Lutz [Thu, 11 Sep 2014 10:57:39 +0000 (11 12:57 +0200)]
Add support for recursive directories to GTK library dialog

7 years agoStore full library path with menus
Roland Lutz [Thu, 11 Sep 2014 10:39:48 +0000 (11 12:39 +0200)]
Store full library path with menus

7 years agoRemove 511-character limit on configuration file lines
Roland Lutz [Wed, 10 Sep 2014 18:55:27 +0000 (10 20:55 +0200)]
Remove 511-character limit on configuration file lines

Tested-by: Kai-Martin Knaak <knaak@iqo.uni-hannover.de>
7 years agoRemove outdated copy of `mdate-sh'
Roland Lutz [Wed, 10 Sep 2014 18:30:37 +0000 (10 20:30 +0200)]
Remove outdated copy of `mdate-sh'

7 years agoAdd `test-driver' to the list of ignored files
Roland Lutz [Wed, 10 Sep 2014 18:26:33 +0000 (10 20:26 +0200)]
Add `test-driver' to the list of ignored files

8 years agoRemove unused #include "setjmp.h" from a few files
Peter Clifton [Thu, 10 Jul 2014 17:58:15 +0000 (10 18:58 +0100)]
Remove unused #include "setjmp.h" from a few files

8 years agoRemove function SearchScreenGridSlop() and use SearchObjectByLocation() directly
Peter Clifton [Sat, 5 Jul 2014 15:36:54 +0000 (5 16:36 +0100)]
Remove function SearchScreenGridSlop() and use SearchObjectByLocation() directly