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