]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fd8057f05a07ac2cf5d5503d49d3435b6bc6eec4
[lyx.git] / src / ChangeLog
1 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2
3         * ShareContainer.h (get): add std:: qualifier
4
5 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6
7         * ShareContainer.h: define a proper ShareContainer::value_type
8         type (and use typename to please compaq cxx)
9
10 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11
12         * lyxparagraph.h: move serveral local vars to
13         ParameterStruct/ParagraphParameters., use ShareContainer in
14         FontTable., make vars in FontTable private and add getter and
15         setter.
16
17         * paragraph.C: changes because of the above.
18
19         * lyxfont.h: remove copy constructor and copy assignment. (the
20         default ones is ok), move number inside FontBits. move inlines to
21         lyxfont.C 
22
23         * lyxfont.C: add number to initializaton of statics, move several
24         inlines here. constify several local vars. some whitespace
25         cleanup. Dont hide outerscope variables.
26
27         * Spacing.h: add two new constructors to match the set methods.
28
29         * ShareContainer.h: new file, will perhaps be moved to support
30
31         * ParameterStruct.h: new file
32
33         * ParagraphParameters.h: new file
34
35         * ParagraphParameters.C: new file
36
37         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
38         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
39
40         * BufferView_pimpl.C: ParagraphParameter changes.
41         * buffer.C: Likewise.
42         * bufferview_funcs.C: Likewise.
43         * text.C: Likewise.
44         * text2.C: Likewise.
45         
46 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
47
48         * lyxfind.C (LyXReplace): do not redefine default argument in
49         implementation. 
50         (IsStringInText): ditto
51         (SearchForward): ditto
52         (SearchBackward): ditto
53
54 2001-03-06  Juergen Vigna  <jug@sad.it>
55
56         * lyxfind.C (IsStringInText): put parentes around expressions.
57
58 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
59
60         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
61         
62 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
63
64         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
65
66         * stl_string_fwd.h: add comment
67
68         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
69
70         * tabular.h:
71         * tabular.C: remove unused DocBook methods
72
73         * intl.C:
74         * language.C:
75         * paragraph.C:
76         * buffer.C:
77         killed DO_USE_DEFAULT_LANGUAGE
78
79 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
80
81         * lyx_gui.C: do not include language.h.
82
83         * bufferview_funcs.C (ToggleAndShow): do not provide optional
84         arguments in function implementation.
85
86 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
87
88         * BufferView_pimpl.C: add <ctime>
89
90 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
91
92         * BufferView_pimpl.C: add using std::find_if
93
94 2001-02-27  José Matos  <jamatos@fep.up.pt>
95         
96         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
97         by OnlyPath.
98         
99 2001-02-11  José Matos  <jamatos@fep.up.pt>
100
101         * buffer.C (makeDocBookFile): command styles now have a parameter as
102         "title" by default.
103
104 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
105
106         * layout_forms.[Ch]: removed
107         * lyx_cb.[Ch]: out character
108         * lyx_gui.C: out character
109         * lyx_gui_misc.C: out character
110         * bufferview_funcs.C: : out character,
111         added toggleall as parameter in ToggleAndShow
112                    
113 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
114
115         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
116
117         * text2.C (SetCurrentFont): Disable number property at boundary.
118
119 2001-02-26  Juergen Vigna  <jug@sad.it>
120
121         * lyxfunc.C (getStatus): added a string argument override function so
122         that this is correctly called from LyXFunc::Dispatch if it contains a
123         do_not_use_argument which is used!
124         (Dispatch): added check for "custom" export and call appropriate func.
125
126 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
127
128         * lyxrc.C: Add language_command_local, language_use_babel and
129         language_global_options.
130
131         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
132
133         * buffer.C (makeLaTeXFile): Use language_use_babel and 
134         language_global_options.
135
136 2001-02-23  Juergen Vigna  <jug@sad.it>
137
138         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
139         which works with LyXText and putted it inside BufferView. Here now we
140         only call for that part the BufferView::Dispatch() function.
141
142         * BufferView.C (Dispatch): added.
143
144         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
145         functions which needs to use a LyXText over from LyXFunc.
146         (MenuInsertLyXFile): added
147         (getInsetByCode): added
148         (moveCursorUpdate): added
149         (static TEXT): added
150
151 2001-02-22  Juergen Vigna  <jug@sad.it>
152
153         * BufferView_pimpl.C (update): call a status update to see if LyXText
154         needs it.
155
156 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
157
158         * vc-backend.C (revert): implement for CVS
159         (getLog): implement for CVS
160
161 2001-02-20  Juergen Vigna  <jug@sad.it>
162
163         * text2.C (ClearSelection): added BufferView param for inset_owner call
164
165         * lyxfunc.C (TEXT): added this function and use it instead of
166         directly owner->view()-text of getLyXText().
167
168 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
169
170         * src/layout_forms.C: out preamble
171         * src/layout_forms.h: out preamble
172         * src/lyx_cb.C: out preamble
173         * src/lyx_cb.h: out preamble
174         * src/lyx_gui.C: out preamble
175         * src/lyx_gui_misc.C: out preamble
176         * src/lyxfunc.C: connect with guii preamble
177
178 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
179
180         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
181
182 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
183
184         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
185         whether to run bibtex.
186
187 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
188
189         * Makefile.am (lyx_SOURCES): Remove BackStack.h
190
191 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
192
193         * Makefile.am (lyx_SOURCES): removed bibforms.h
194
195         * vspace.h: doxygen
196
197         * text.C (GetVisibleRow): make several local vars const
198
199         * tabular.C: small cleanup.
200
201         * lyxserver.C (callback): use compare instead of strncmp
202
203         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
204         inlines to after class or to paragraph.C
205
206         * lyxfont.h: remove friend operator!=
207
208         * converter.h: move friend bool operator< to non friend and after
209         class def.
210
211         * combox.h: small cleanup
212
213         * buffer.h: doxygen, remove unused constructor, move inclas inlies
214         to inlines after class def.
215
216         * buffer.C (pop_tag): use string operations instead of strcmp
217
218         * bmtable.c: doxygen, small cleanup
219
220         * LaTeX.h: remove friend operator==
221
222 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
223
224         * screen.C: 
225         * lyxrc.[Ch]:
226         * lyxfunc.C: 
227         * lyxfont.[Ch]: 
228         * lyx_cb.C: 
229         * intl.[Ch]: 
230         * commandtags.h: 
231         * buffer.C: 
232         * WorkArea.[Ch]: 
233         * LyXAction.C: 
234         * BufferView_pimpl.C:
235         * BufferView.[Ch]: remove cruft
236
237 2001-02-14  Juergen Vigna  <jug@sad.it>
238
239         * lyxfunc.C: removed #if 0 unused code
240
241         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
242
243         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
244
245         * text2.C (SetSelection): added a BufferView * parameter
246
247 2001-02-13  Juergen Vigna  <jug@sad.it>
248
249         * lyxfunc.C (Dispatch): fixed protected blank problem.
250         * BufferView2.C (protectedBlank): added LyxText * parameter.
251
252         * tabular.C (AppendRow): forgot to set row_info of newly added row.
253         (AppendColumn): same as above for column_info.
254
255         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
256         (moveCursorUpdate): use a LyXText param for support of InsetText.
257
258         * BufferView_pimpl.C (doubleClick): added support for InsetText.
259         (tripleClick): ditto
260
261         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
262
263         * BufferView_pimpl.C (update): added LyXText param to honor insets.
264
265         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
266
267         * text2.C (SetSelection): set correct update status if inset_owner
268         (ToggleFree): ditto
269
270 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
271
272         * tabular.C: remove some commented code.
273
274 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
275
276         * BufferView_pimpl.C: call hideSplash()
277
278         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
279
280         * include_form.h:
281         * bibforms.h: remove
282
283         * lyxfunc.C:
284         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
285           add LFUN_CHILD_CREATE
286
287         * counters.h: fix tiny typo
288         
289         * lyx_cb.C:
290         * lyx.h:
291         * lyx_gui.C:
292         * lyx.C: move splash to frontends/xforms/
293
294         * lyx_gui_misc.C: move Include and Bibform to frontends
295
296         * lyxvc.h: clarify comment
297
298         * vspace.C: tiny housekeeping
299
300 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
301
302         * text.C (PrepareToPrint): RTL Fix.
303
304         * paragraph.C (GetUChar): New method.
305         (String):  Use GetUChar.
306
307         * buffer.C (asciiParagraph): Use GetUChar.
308
309 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
310
311         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
312
313 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
314
315         * buffer.h:
316         * buffer.C: rename to getLogName(), handle
317           build log / latex log nicely
318
319 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
320
321         * MenuBackend.C: 
322         * MenuBackend.h: remove support for reference menuitem type.
323
324 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
325
326         * BufferView_pimpl.C: housekeeping
327         * BufferView_pimpl.h:
328         * LyXView.h:
329         * Makefile.am:
330         * Timeout.C:
331         * Timeout.h:
332         * minibuffer.h: move Timeout GUI-I
333                           
334 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
335
336         * lyxrc.C (read): Update converters data-structures.
337
338 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
339
340         * LaTeX.h (operator!=): add operator != for Aux_Info 
341
342 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
343
344         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
345
346         * LaTeXLog.C: deleted, useful code moved to Buffer
347
348         * buffer.h:
349         * buffer.C: new function getLatexLogName()
350
351         * lyx_gui_misc.C:
352         * lyx_gui.C:
353         * lyxvc.C:
354         * lyxvc.h:
355         * lyxfunc.C: use frontends for LaTeX and VC logs
356
357 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
358
359         * LaTeX.h: yet another std:: that Allan forgot.
360
361         * Variables.C (set): renamed from isset(), because this clashes
362         with some HP-UX macros (grr).
363
364 2001-02-06  Allan Rae  <rae@lyx.org>
365
366         * LaTeX.h: Another bug fix.  Missing std:: this time.
367
368 2001-02-04  Allan Rae  <rae@lyx.org>
369
370         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
371         floats problem. I've left it commented out because it's not quite
372         correct.  It should also test that the current object is a table or
373         figure inset.  But I haven't gotten around to figuring out how to do
374         that.  I *think* it'll be something like: "table" == inset.type()
375
376         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
377         bool.
378
379 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
380
381         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
382         all the citation/databases/styles in the auxilary file. 
383         (run): Rerun latex if there was a babel language error.
384
385 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
386
387         * text.C (Backspace): Preserve the font when changing newline char
388         with a space.
389         (BreakParagraph): If the cursor is before a space, delete the space.
390
391         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
392
393 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
394
395         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
396         new argument (code).
397         (ChangeCitationsIfUnique): New method.
398
399         * paragraph.C (GetPositionOfInset): Handle bibkey.
400
401 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
402
403         * BufferView_pimpl.h: change type of Position::par_pos to
404         LyXParagraph::size_type. 
405
406 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
407
408         * BufferView_pimpl.C (savePosition, restorePosition): Write
409         messages to minibuffer.
410
411 2001-01-28  José Matos  <jamatos@fep.up.pt>
412
413         * buffer.C (makeDocBookFile): adds support for document language.
414         A silly restriction on the name of LatexCommand types where removed.
415         Added support for CDATA sections, allows to chars unescaped, used
416         among others in code, to avoid escape < and >.
417         
418 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
419
420         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of 
421         saved positions instrad of a stack. Furthermore, a position is
422         stored using paragraph id/paragraph position.
423
424         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
425         Remove LFUN_REF_BACK.
426
427 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
428
429         * converter.C (dvipdfm_options): New method.
430
431 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
432
433         * vspace.C (isValidLength): Fix for empty input string.
434
435 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
436
437         * LyXAction.C (init): change description of LFUN_FIGURE to
438         "Insert Graphics"
439
440 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
441
442         * LaTeX.C: add using directive
443
444 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
445
446         * MenuBackend.C (expand): Fix the sorting of the formats.
447
448 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
449
450         * lyx_main.C: tiny error message fix
451
452 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
453
454         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
455         calling fl_initialize(). This fixes the problem with ',' as
456         decimal separator in text files.
457
458 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
459
460         * trans.C (process): Fix the keymap bug.
461
462 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
463
464         * LaTeX.C (scanAuxFiles): New method. Provides support for
465         multiple bibliographies (when using the bibtopic/bibunits pacakges).
466         (scanLogFile) Scan for "run BibTeX" messages.
467
468         * buffer.C (makeLaTeXFile): Do not load the ae package when using
469         OT1 font encoding. Also, load the aecompl package if the ae
470         package is loaded.
471
472         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
473
474 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
475
476         * texrow.C (increasePos): turn two error messages into debug
477         messages. 
478
479 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
480
481         * LaTeX.C (scanAux): Handle the \@input macro.
482         (runBibTeX): Use scanAux().
483
484         * language.C (latex_options_): New field.
485
486         * LaTeXFeatures.C (getMacros): Add language macros.
487
488         * buffer.C (makeLaTeXFile): Small fix.
489
490 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
491
492         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
493
494         * text2.C: add a using directive.
495
496 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
497
498         * BufferView2.C:
499         * lyx_gui_misc.h:
500         * lyxfr1.C:
501         * lyxfunc.C: kill LyXBell.
502
503 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
504
505         * text.C (IsBoundary): Remove the error message
506         
507         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
508
509         * lyxrc.C (setDefaults): Correct initialization value for
510         font_norm_type.
511
512 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
513
514         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
515         gotoError().
516
517         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
518         and GotoNextNote().
519
520         * src/LyXAction.C: Added reference-next.
521
522         * text.C (InsertChar): Use contains instead of strchr.
523
524         * lyx_cb.C (MenuInsertLabel): Enable default value code.
525
526 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
527
528         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
529         alignment commands (when needed).
530
531         * text.C (InsertChar): Add ':' to number separator chars.