[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: pcb.git: branch: master updated (2fc9c5152036a45fb3c026526bd5538390028c0f)
The branch, master has been updated
via 2fc9c5152036a45fb3c026526bd5538390028c0f (commit)
via 3b2a77744f50a33bb1507aa8062c51e0934a5b89 (commit)
via 62235fc3b9aa4190ad46fc2469843402dda6cafb (commit)
from c88c00726b67e5e1ef75de5aba7a4abb3ed4647c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
=========
Summary
=========
README.cvs | 101 ----------------------------------
README.git | 135 ++++++++++++++++++++++++++++++++++++++++++++++
doc/.gitignore | 4 ++
src/hid/gtk/gui-dialog.c | 48 ++++++++++++++++
4 files changed, 187 insertions(+), 101 deletions(-)
delete mode 100644 README.cvs
create mode 100644 README.git
=================
Commit Messages
=================
commit 2fc9c5152036a45fb3c026526bd5538390028c0f
Author: Bert Timmerman <bert.timmerman@xxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>
Apply filters to load filechooser dialogs. [1988982] [2686963]
Applies filters to the filechooser dialogs when loading layouts,
layouts (to buffer), elements (to buffer) and netlists.
Default behaviour is to not filter in the filechooser dialog.
Choosing a predefined filefilter in the filechooser dialog filters
on registered mime types, lowercase and uppercase file extensions.
Predefined filters are selected upon the action chosen in the "File"
pulldown menu.
:100644 100644 5993b14... 32ec48e... M src/hid/gtk/gui-dialog.c
commit 3b2a77744f50a33bb1507aa8062c51e0934a5b89
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>
Replace 'README.cvs' with 'README.git'. [2810417]
Provide information on how to use git to access the PCB repository.
Fixes bug #2810417.
:100644 000000 0d817f5... 0000000... D README.cvs
:000000 100644 0000000... 27b4fd8... A README.git
commit 62235fc3b9aa4190ad46fc2469843402dda6cafb
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>
Add some generated .texi files to doc/.gitignore.
:100644 100644 1cff071... 74eaad7... M doc/.gitignore
=========
Changes
=========
commit 2fc9c5152036a45fb3c026526bd5538390028c0f
Author: Bert Timmerman <bert.timmerman@xxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>
Apply filters to load filechooser dialogs. [1988982] [2686963]
Applies filters to the filechooser dialogs when loading layouts,
layouts (to buffer), elements (to buffer) and netlists.
Default behaviour is to not filter in the filechooser dialog.
Choosing a predefined filefilter in the filechooser dialog filters
on registered mime types, lowercase and uppercase file extensions.
Predefined filters are selected upon the action chosen in the "File"
pulldown menu.
diff --git a/src/hid/gtk/gui-dialog.c b/src/hid/gtk/gui-dialog.c
index 5993b14..32ec48e 100644
--- a/src/hid/gtk/gui-dialog.c
+++ b/src/hid/gtk/gui-dialog.c
@@ -262,6 +262,7 @@ ghid_dialog_file_select_open (gchar * title, gchar ** path, gchar * shortcuts)
GtkWidget *dialog;
gchar *result = NULL, *folder, *seed;
GHidPort *out = &ghid_port;
+ GtkFileFilter *no_filter;
dialog = gtk_file_chooser_dialog_new (title,
GTK_WINDOW (out->top_window),
@@ -272,6 +273,53 @@ ghid_dialog_file_select_open (gchar * title, gchar ** path, gchar * shortcuts)
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
+ /* add a default filter for not filtering files */
+ no_filter = gtk_file_filter_new ();
+ gtk_file_filter_set_name (no_filter, "all");
+ gtk_file_filter_add_pattern (no_filter, "*.*");
+ gtk_file_filter_add_pattern (no_filter, "*");
+ gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (dialog), no_filter);
+
+ /* in case we have a dialog for loading a footprint file */
+ if (strcmp (title, _("Load element to buffer")) == 0)
+ {
+ /* add a filter for footprint files */
+ GtkFileFilter *fp_filter;
+ fp_filter = gtk_file_filter_new ();
+ gtk_file_filter_set_name (fp_filter, "fp");
+ gtk_file_filter_add_mime_type (fp_filter, "application/x-pcb-footprint");
+ gtk_file_filter_add_pattern (fp_filter, "*.fp");
+ gtk_file_filter_add_pattern (fp_filter, "*.FP");
+ gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (dialog), fp_filter);
+ }
+
+ /* in case we have a dialog for loading a layout file */
+ if ((strcmp (title, _("Load layout file")) == 0)
+ || (strcmp (title, _("Load layout file to buffer")) == 0))
+ {
+ /* add a filter for layout files */
+ GtkFileFilter *pcb_filter;
+ pcb_filter = gtk_file_filter_new ();
+ gtk_file_filter_set_name (pcb_filter, "pcb");
+ gtk_file_filter_add_mime_type (pcb_filter, "application/x-pcb-layout");
+ gtk_file_filter_add_pattern (pcb_filter, "*.pcb");
+ gtk_file_filter_add_pattern (pcb_filter, "*.PCB");
+ gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (dialog), pcb_filter);
+ }
+
+ /* in case we have a dialog for loading a netlist file */
+ if (strcmp (title, _("Load netlist file")) == 0)
+ {
+ /* add a filter for netlist files */
+ GtkFileFilter *net_filter;
+ net_filter = gtk_file_filter_new ();
+ gtk_file_filter_set_name (net_filter, "netlist");
+ gtk_file_filter_add_mime_type (net_filter, "application/x-pcb-netlist");
+ gtk_file_filter_add_pattern (net_filter, "*.net");
+ gtk_file_filter_add_pattern (net_filter, "*.NET");
+ gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (dialog), net_filter);
+ }
+
if (path && *path)
gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (dialog), *path);
commit 3b2a77744f50a33bb1507aa8062c51e0934a5b89
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>
Replace 'README.cvs' with 'README.git'. [2810417]
Provide information on how to use git to access the PCB repository.
Fixes bug #2810417.
diff --git a/README.cvs b/README.cvs
deleted file mode 100644
index 0d817f5..0000000
--- a/README.cvs
+++ /dev/null
@@ -1,101 +0,0 @@
-# $Id$
-#
-
-This file describes how to build from CVS sources. If you are building from a
-released version or snapshot, please refer to the 'INSTALL' document instead.
-Take the time to read this file, it's not that long and it addresses some
-questions which come up with some frequency.
-
--------------
-Prerequisites
--------------
-
-You will need the following tools to obtain and build a CVS version of pcb:
-
-To download and track sources you will need:
-
-cvs
-ssh
-
-To compile you will need a C compiler, a lex (or flex) and a yacc (or bison)
-implementation. If you do not have lex or yacc, try installing:
-
-bison -- ftp://ftp.gnu.org/pub/gnu/bison/
-flex -- ftp://ftp.gnu.org/pub/non-gnu/flex/
-
-In addition you will need recent versions of:
-
-autoconf -- ftp://ftp.gnu.org/pub/gnu/autoconf/
- Please note that version 2.13 is too old. Current development
- is done with 2.59.
-
-automake -- ftp://ftp.gnu.org/pub/gnu/automake/
- The developers use the 1.9.* versions of automake. Older versions
- have not been as well tested (or tested at all). Versions 1.7 and
- older are too old and will not work.
-
-gettext -- ftp://ftp.gnu.org/pub/gnu/gettext/
- You will need version 0.14.x, or 0.16.x or higher
-
-intltool -- ??
- You will need version 0.35.0 or higher
-
-texinfo -- ftp://ftp.gnu.org/pub/gnu/texinfo/
- You will need at least version 4.6 to be able to build
- the documentation.
-
-perl -- Version 5 or newer. This is needed for building the documentation.
-
-latex -- This is needed for building the documentation.
-
-You can find the version of autoconf, automake, and makeinfo by running them with the
---version flag.
-
-If you do not wish to build the documentation, use --disable-doc when you run
-configure. When building from a release tarball, the documentation comes preformatted.
-
----------
-Check out
----------
-
-If you already have a checked out PCB source tree, please proceed to the
-'Updating' section.
-
-To check out sources from the anonymous CVS server, run the following:
-
- cvs -z3 -d:pserver:anonymous@xxxxxxxxxxxxxx/home/git/pcb.git co master
-
----------
-Updating
----------
-
-To update an already checked out copy of the PCB source tree, run these commands
-from your top level pcb directory:
-
- cvs -z3 update -PdA
-
-----------------------------------
-Bootstrapping with the auto* tools
-----------------------------------
-To create the configure script and the Makefile.in's
-you will need to run
-
-./autogen.sh
-
-from the top level pcb directory. This will run the various auto* tools
-which creates the configure script, the config.h.in file and the various
-Makefile.in's.
-
-
-At this point you can proceed to configure and build PCB as outlined in
-the INSTALL document.
-
--------------------
-Building a Snapshot
--------------------
-The file README.snapshots documents what is currently done to create a
-snapshot release for PCB. Most of what is in there has to do with the
-cvs repository and how we tag and branch the sources. If you are interested
-in building your own .tar.gz file from CVS sources, you can still use
-the information in README.snapshots as a guide.
-
diff --git a/README.git b/README.git
new file mode 100644
index 0000000..27b4fd8
--- /dev/null
+++ b/README.git
@@ -0,0 +1,135 @@
+=======================
+ Building PCB from git
+=======================
+
+This file describes how to build from git sources. If you are
+building from a released version or snapshot, please refer to the
+'INSTALL' document instead. Take the time to read this file, it's not
+that long and it addresses some questions which come up with some
+frequency.
+
+-------------
+Prerequisites
+-------------
+
+You will need the following tools to obtain and build a git version of
+PCB:
+
+git -- To download and track sources you will need the 'git'
+ version control tool installed.
+
+To compile you will need a C compiler (such as 'gcc'), a 'lex' (or
+'flex') and a 'yacc' (or 'bison') implementation. If you do not have
+'lex' or 'yacc', try installing:
+
+bison -- ftp://ftp.gnu.org/pub/gnu/bison/
+flex -- ftp://ftp.gnu.org/pub/non-gnu/flex/
+
+In addition you will need recent versions of:
+
+autoconf -- ftp://ftp.gnu.org/pub/gnu/autoconf/
+ Please note that version 2.13 is too old. Current development
+ is done with 2.59.
+
+automake -- ftp://ftp.gnu.org/pub/gnu/automake/
+ The developers use the 1.9.* versions of automake. Older
+ versions have not been as well tested (or tested at all).
+ Versions 1.7 and older are too old and will not work.
+
+gettext -- ftp://ftp.gnu.org/pub/gnu/gettext/
+ You will need version 0.14.x, or 0.16.x or higher
+
+intltool -- https://edge.launchpad.net/intltool/+download
+ You will need version 0.35.0 or higher
+
+texinfo -- ftp://ftp.gnu.org/pub/gnu/texinfo/
+ You will need at least version 4.6 to be able to build
+ the documentation.
+
+perl -- Version 5 or newer. This is needed for building the
+ documentation.
+
+latex -- This is needed for building the documentation.
+
+You can find the version of autoconf, automake, and makeinfo by
+running them with the '--version' flag.
+
+If you do not wish to build the documentation, use '--disable-doc'
+when you run configure. When building from a release tarball, the
+documentation comes preformatted.
+
+------------------------
+Clone the PCB repository
+------------------------
+
+If you have previously cloned the PCB source tree, please proceed to
+the updating section.
+
+To clone the PCB repository to your computer, run:
+
+ git clone git://git.gpleda.org/pcb.git
+
+This will download the entire version control history for PCB to
+your computer, and will take some time.
+
+--------
+Updating
+--------
+
+To update your git repository with the latest changes, simply run:
+
+ git pull
+
+----------------------------------
+Bootstrapping with the auto* tools
+----------------------------------
+To create the configure script and the Makefile.in's
+you will need to run:
+
+ ./autogen.sh
+
+from the top level PCB directory. This will run various programs
+from the GNU autotools to create the 'configure' script, the
+'config.h.in' file and the various 'Makefile.in's.
+
+At this point you can proceed to configure and build PCB as outlined
+in the 'INSTALL' document.
+
+-------------------
+Building a Snapshot
+-------------------
+
+The file 'README.snapshots' documents what is currently done to create
+a snapshot release for PCB. Most of what is in there has to do with
+the cvs repository and how we tag and branch the sources. If you are
+interested in building your own .tar.gz file from git sources, you can
+still use the information in 'README.snapshots' as a guide.
+
+------------------
+Advanced git usage
+------------------
+
+If you wish to use git to track your own changes to PCB, use git to
+contribute patches back to the community, or gain 'push' permissions
+for the PCB git repository, please see the gEDA wiki for more
+information:
+
+ http://geda.seul.org/wiki/geda:scm
+
+------------------------
+Using CVS instead of git
+------------------------
+
+It is still possible to use CVS to access the PCB sources. You can
+checkout the latest version using the command:
+
+ cvs -z3 -d:pserver:anonymous@xxxxxxxxxxxxxx/home/git/pcb.git co master
+
+And update them using:
+
+ cvs -z3 update -PdA
+
+..
+ Local Variables:
+ mode: rst
+ End:
commit 62235fc3b9aa4190ad46fc2469843402dda6cafb
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>
Add some generated .texi files to doc/.gitignore.
diff --git a/doc/.gitignore b/doc/.gitignore
index 1cff071..74eaad7 100644
--- a/doc/.gitignore
+++ b/doc/.gitignore
@@ -37,3 +37,7 @@ thermal.png
pcbfile.texi
version.texi
actions.texi
+fractional_size.texi
+letter_size.texi
+metric_size.texi
+wire_size.texi
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs