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