]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
This moves all LyXText related LyXFuncs to BufferView::Dispatch so that they
[lyx.git] / src / ChangeLog
1 2001-02-23  Juergen Vigna  <jug@sad.it>
2
3         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
4         which works with LyXText and putted it inside BufferView. Here now we
5         only call for that part the BufferView::Dispatch() function.
6
7         * BufferView.C (Dispatch): added.
8
9         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10         functions which needs to use a LyXText over from LyXFunc.
11         (MenuInsertLyXFile): added
12         (getInsetByCode): added
13         (moveCursorUpdate): added
14         (static TEXT): added
15
16 2001-02-22  Juergen Vigna  <jug@sad.it>
17
18         * BufferView_pimpl.C (update): call a status update to see if LyXText
19         needs it.
20
21 2001-02-20  Juergen Vigna  <jug@sad.it>
22
23         * text2.C (ClearSelection): added BufferView param for inset_owner call
24
25         * lyxfunc.C (TEXT): added this function and use it instead of
26         directly owner->view()-text of getLyXText().
27
28 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
29
30         * src/layout_forms.C: out preamble
31         * src/layout_forms.h: out preamble
32         * src/lyx_cb.C: out preamble
33         * src/lyx_cb.h: out preamble
34         * src/lyx_gui.C: out preamble
35         * src/lyx_gui_misc.C: out preamble
36         * src/lyxfunc.C: connect with guii preamble
37
38 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
39
40         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
41
42 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
43
44         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
45         whether to run bibtex.
46
47 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
48
49         * Makefile.am (lyx_SOURCES): Remove BackStack.h
50
51 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
52
53         * Makefile.am (lyx_SOURCES): removed bibforms.h
54
55         * vspace.h: doxygen
56
57         * text.C (GetVisibleRow): make several local vars const
58
59         * tabular.C: small cleanup.
60
61         * lyxserver.C (callback): use compare instead of strncmp
62
63         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
64         inlines to after class or to paragraph.C
65
66         * lyxfont.h: remove friend operator!=
67
68         * converter.h: move friend bool operator< to non friend and after
69         class def.
70
71         * combox.h: small cleanup
72
73         * buffer.h: doxygen, remove unused constructor, move inclas inlies
74         to inlines after class def.
75
76         * buffer.C (pop_tag): use string operations instead of strcmp
77
78         * bmtable.c: doxygen, small cleanup
79
80         * LaTeX.h: remove friend operator==
81
82 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
83
84         * screen.C: 
85         * lyxrc.[Ch]:
86         * lyxfunc.C: 
87         * lyxfont.[Ch]: 
88         * lyx_cb.C: 
89         * intl.[Ch]: 
90         * commandtags.h: 
91         * buffer.C: 
92         * WorkArea.[Ch]: 
93         * LyXAction.C: 
94         * BufferView_pimpl.C:
95         * BufferView.[Ch]: remove cruft
96
97 2001-02-14  Juergen Vigna  <jug@sad.it>
98
99         * lyxfunc.C: removed #if 0 unused code
100
101         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
102
103         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
104
105         * text2.C (SetSelection): added a BufferView * parameter
106
107 2001-02-13  Juergen Vigna  <jug@sad.it>
108
109         * lyxfunc.C (Dispatch): fixed protected blank problem.
110         * BufferView2.C (protectedBlank): added LyxText * parameter.
111
112         * tabular.C (AppendRow): forgot to set row_info of newly added row.
113         (AppendColumn): same as above for column_info.
114
115         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
116         (moveCursorUpdate): use a LyXText param for support of InsetText.
117
118         * BufferView_pimpl.C (doubleClick): added support for InsetText.
119         (tripleClick): ditto
120
121         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
122
123         * BufferView_pimpl.C (update): added LyXText param to honor insets.
124
125         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
126
127         * text2.C (SetSelection): set correct update status if inset_owner
128         (ToggleFree): ditto
129
130 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
131
132         * tabular.C: remove some commented code.
133
134 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
135
136         * BufferView_pimpl.C: call hideSplash()
137
138         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
139
140         * include_form.h:
141         * bibforms.h: remove
142
143         * lyxfunc.C:
144         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
145           add LFUN_CHILD_CREATE
146
147         * counters.h: fix tiny typo
148         
149         * lyx_cb.C:
150         * lyx.h:
151         * lyx_gui.C:
152         * lyx.C: move splash to frontends/xforms/
153
154         * lyx_gui_misc.C: move Include and Bibform to frontends
155
156         * lyxvc.h: clarify comment
157
158         * vspace.C: tiny housekeeping
159
160 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
161
162         * text.C (PrepareToPrint): RTL Fix.
163
164         * paragraph.C (GetUChar): New method.
165         (String):  Use GetUChar.
166
167         * buffer.C (asciiParagraph): Use GetUChar.
168
169 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
170
171         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
172
173 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
174
175         * buffer.h:
176         * buffer.C: rename to getLogName(), handle
177           build log / latex log nicely
178
179 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
180
181         * MenuBackend.C: 
182         * MenuBackend.h: remove support for reference menuitem type.
183
184 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
185
186         * BufferView_pimpl.C: housekeeping
187         * BufferView_pimpl.h:
188         * LyXView.h:
189         * Makefile.am:
190         * Timeout.C:
191         * Timeout.h:
192         * minibuffer.h: move Timeout GUI-I
193                           
194 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
195
196         * lyxrc.C (read): Update converters data-structures.
197
198 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
199
200         * LaTeX.h (operator!=): add operator != for Aux_Info 
201
202 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
203
204         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
205
206         * LaTeXLog.C: deleted, useful code moved to Buffer
207
208         * buffer.h:
209         * buffer.C: new function getLatexLogName()
210
211         * lyx_gui_misc.C:
212         * lyx_gui.C:
213         * lyxvc.C:
214         * lyxvc.h:
215         * lyxfunc.C: use frontends for LaTeX and VC logs
216
217 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
218
219         * LaTeX.h: yet another std:: that Allan forgot.
220
221         * Variables.C (set): renamed from isset(), because this clashes
222         with some HP-UX macros (grr).
223
224 2001-02-06  Allan Rae  <rae@lyx.org>
225
226         * LaTeX.h: Another bug fix.  Missing std:: this time.
227
228 2001-02-04  Allan Rae  <rae@lyx.org>
229
230         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
231         floats problem. I've left it commented out because it's not quite
232         correct.  It should also test that the current object is a table or
233         figure inset.  But I haven't gotten around to figuring out how to do
234         that.  I *think* it'll be something like: "table" == inset.type()
235
236         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
237         bool.
238
239 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
240
241         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
242         all the citation/databases/styles in the auxilary file. 
243         (run): Rerun latex if there was a babel language error.
244
245 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
246
247         * text.C (Backspace): Preserve the font when changing newline char
248         with a space.
249         (BreakParagraph): If the cursor is before a space, delete the space.
250
251         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
252
253 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
254
255         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
256         new argument (code).
257         (ChangeCitationsIfUnique): New method.
258
259         * paragraph.C (GetPositionOfInset): Handle bibkey.
260
261 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
262
263         * BufferView_pimpl.h: change type of Position::par_pos to
264         LyXParagraph::size_type. 
265
266 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
267
268         * BufferView_pimpl.C (savePosition, restorePosition): Write
269         messages to minibuffer.
270
271 2001-01-28  José Matos  <jamatos@fep.up.pt>
272
273         * buffer.C (makeDocBookFile): adds support for document language.
274         A silly restriction on the name of LatexCommand types where removed.
275         Added support for CDATA sections, allows to chars unescaped, used
276         among others in code, to avoid escape < and >.
277         
278 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
279
280         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of 
281         saved positions instrad of a stack. Furthermore, a position is
282         stored using paragraph id/paragraph position.
283
284         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
285         Remove LFUN_REF_BACK.
286
287 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
288
289         * converter.C (dvipdfm_options): New method.
290
291 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
292
293         * vspace.C (isValidLength): Fix for empty input string.
294
295 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
296
297         * LyXAction.C (init): change description of LFUN_FIGURE to
298         "Insert Graphics"
299
300 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
301
302         * LaTeX.C: add using directive
303
304 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
305
306         * MenuBackend.C (expand): Fix the sorting of the formats.
307
308 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
309
310         * lyx_main.C: tiny error message fix
311
312 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
313
314         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
315         calling fl_initialize(). This fixes the problem with ',' as
316         decimal separator in text files.
317
318 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
319
320         * trans.C (process): Fix the keymap bug.
321
322 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
323
324         * LaTeX.C (scanAuxFiles): New method. Provides support for
325         multiple bibliographies (when using the bibtopic/bibunits pacakges).
326         (scanLogFile) Scan for "run BibTeX" messages.
327
328         * buffer.C (makeLaTeXFile): Do not load the ae package when using
329         OT1 font encoding. Also, load the aecompl package if the ae
330         package is loaded.
331
332         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
333
334 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
335
336         * texrow.C (increasePos): turn two error messages into debug
337         messages. 
338
339 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
340
341         * LaTeX.C (scanAux): Handle the \@input macro.
342         (runBibTeX): Use scanAux().
343
344         * language.C (latex_options_): New field.
345
346         * LaTeXFeatures.C (getMacros): Add language macros.
347
348         * buffer.C (makeLaTeXFile): Small fix.
349
350 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
351
352         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
353
354         * text2.C: add a using directive.
355
356 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
357
358         * BufferView2.C:
359         * lyx_gui_misc.h:
360         * lyxfr1.C:
361         * lyxfunc.C: kill LyXBell.
362
363 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
364
365         * text.C (IsBoundary): Remove the error message
366         
367         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
368
369         * lyxrc.C (setDefaults): Correct initialization value for
370         font_norm_type.
371
372 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
373
374         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
375         gotoError().
376
377         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
378         and GotoNextNote().
379
380         * src/LyXAction.C: Added reference-next.
381
382         * text.C (InsertChar): Use contains instead of strchr.
383
384         * lyx_cb.C (MenuInsertLabel): Enable default value code.
385
386 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
387
388         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
389         alignment commands (when needed).
390
391         * text.C (InsertChar): Add ':' to number separator chars.