]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Squash a couple of warnings, one at compile time and one at run time.
[lyx.git] / src / ChangeLog
1 2004-03-27  Angus Leeming  <leeming@lyx.org>
2
3         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
4         insetlist always contains non-null pointers to insets.
5
6 2004-03-26  Angus Leeming  <leeming@lyx.org>
7
8         * src/BufferView_pimpl.C:
9         * src/CutAndPaste.C:
10         * src/buffer.C:
11         * src/iterators.C:
12         * src/output_plaintext.C:
13         * src/outputparams.h:
14         * src/paragraph_funcs.C:
15         * src/rowpainter.C:
16         * src/text.C:
17         * src/text2.C:
18         * src/frontends/controllers/ControlErrorList.C:
19         * src/frontends/gtk/FileDialogPrivate.C:
20         * src/frontends/gtk/GPainter.C:
21         * src/frontends/gtk/GToolbar.C:
22         * src/frontends/qt2/QRef.C:
23         * src/mathed/math_scriptinset.C: squash compiler warnings.
24
25 2004-03-26  Angus Leeming  <leeming@lyx.org>
26
27         * ispell.C (LaunchIspell::start):
28         * lyx_cb.C (AutoSaveBuffer::start):
29         invoke run(DontWait) rather than runNonBlocking().
30
31 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
32
33         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
34
35 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
36
37         * kbsequence.C (print): adjust
38
39         * kbmap.C (printKeySym): rename and change signature
40         (printKey): use LyXKeySym::print()
41
42 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
43
44         * undo.C: add using std::advance to compile for stlport
45
46 2004-03-24  Angus Leeming  <leeming@lyx.org>
47
48         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
49         it leads to a crash when no buffer is present.
50
51 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
52             Martin Vermeer  <martin.vermeer@hut.fi>
53
54         * lyxfunc.C (dispatch): 
55         * bufferparams.C (readToken): use the new LColor::setColor 
56
57         * LColor.[Ch] (setColor): new version that takes two strings as
58         argument and creates a new color entry if necessary
59
60 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
61
62         * buffer.C (makeLaTeXFile): if the main latex file that is
63         processed is usually a subdocument of some master, then pretend
64         for a while that it is actually the master
65
66 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
67
68         * buffer.C (getLabelList):
69         (getBibkeyList): use getMasterBuffer()
70         (getMasterBuffer): new method. Returns the main document in the
71         case where one is using included documents.
72
73 2004-03-25  André Pönitz  <poenitz@gmx.net>
74
75         * Makefile.am:
76         * iterators.[Ch]:
77         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
78
79         * ParagraphList_fwd.h: change ParagraphList to a std::vector
80
81         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
82         text*.C over here. Rename namespace CutAndPaste to lyx::cap
83
84         * ParameterStruct.h: merge with ParagraphParameters
85
86         * lyxtext.h: remove LyXText::parOffset() and getPar()
87
88         * text3.C: Remove all 'manual' update calls. We do now one per user
89         interaction which is completely sufficient.
90
91         * Bidi.C:
92         * BufferView.[Ch]:
93         * BufferView_pimpl.C:
94         * FontIterator.[Ch]:
95         * MenuBackend.C:
96         * ParagraphParameters.[Ch]:
97         * buffer.C:
98         * buffer.h:
99         * bufferlist.C:
100         * cursor.[Ch]:
101         * cursor_slice.[Ch]:
102         * dociterator.[Ch]:
103         * errorlist.[Ch]:
104         * factory.C:
105         * lfuns.h:
106         * lyxfind.C:
107         * lyxfunc.C:
108         * output_docbook.[Ch]:
109         * output_latex.[Ch]:
110         * output_linuxdoc.[Ch]:
111         * output_plaintext.[Ch]:
112         * paragraph.[Ch]:
113         * paragraph_funcs.[Ch]:
114         * paragraph_pimpl.[Ch]:
115         * rowpainter.C:
116         * tabular.[Ch]:
117         * text.C:
118         * text2.C:
119         * toc.C:
120         * undo.[Ch]: adjust
121
122         * frontends/controllers/ControlDocument.C:
123         * frontends/controllers/ControlErrorList.C:
124         * frontends/controllers/ControlSpellchecker.C:
125         * insets/inset.C:
126         * insets/inset.h:
127         * insets/insetbase.h:
128         * insets/insetbibitem.C:
129         * insets/insetbox.C:
130         * insets/insetbranch.C:
131         * insets/insetcaption.C:
132         * insets/insetcharstyle.C:
133         * insets/insetcharstyle.h:
134         * insets/insetcollapsable.C:
135         * insets/insetcollapsable.h:
136         * insets/insetert.C:
137         * insets/insetfloat.C:
138         * insets/insetfoot.C:
139         * insets/insetmarginal.C:
140         * insets/insetnote.C:
141         * insets/insetoptarg.C:
142         * insets/insettabular.C:
143         * insets/insettext.C:
144         * insets/insettext.h:
145         * insets/insetwrap.C:
146         * mathed/math_mboxinset.C:
147         * mathed/math_nestinset.C:
148         * mathed/math_scriptinset.C:
149         * mathed/math_scriptinset.h:
150         * support/types.h:
151
152 2004-03-24  Angus Leeming  <leeming@lyx.org>
153
154         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
155         deal with any child processes that have finished but are waiting to
156         communicate this fact to the rest of LyX.
157
158 2004-03-24  Angus Leeming  <leeming@lyx.org>
159
160         64-bit compile fixes.
161
162         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
163         (c-tor): pass lyx::pos_types rather than ints.
164
165         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
166         lyx::pos_type.
167
168         * text.C (Delete): compile fix.
169         (getPar): ensure that function declaration is the same as that in
170         the header file.
171
172 2004-03-23  Angus Leeming  <leeming@lyx.org>
173
174         * ispell.C (LaunchIspell):
175         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
176         a boost::shred_ptr rather than a std::auto_ptr.
177
178 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
179
180         * lyxfunc.C (getStatus): handle read-only buffers correctly;
181         handle LFUN_FILE_INSERT_*
182
183         * lyxrc.C (setDefaults, getDescription, output, read):
184         * lyxrc.h: remove ps_command
185
186 2004-03-22  Angus Leeming  <leeming@lyx.org>
187
188         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
189         Ensure that error_handler is processed once only and that all data
190         is saved before attempting to output any warning messages.
191
192         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
193
194 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
195
196         * tabular.C (TeXRow): crash fix (from Kayvan and André)
197
198 2004-03-19  André Pönitz  <poenitz@gmx.net>
199
200         * cursor.[Ch] (reset): take main text inset as argument
201
202         * BufferView: adjust
203         * BufferView_pimpl.C: adjust
204
205         * paragraph.[Ch]: fix completely broken operator=()
206
207 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
208
209         * LColor.C (getFromLyXName): make sure that the color name is used
210         as lowercase.
211
212 2004-03-17  Angus Leeming  <leeming@lyx.org>
213
214         * lfuns.h:
215         * LyXAction.C (init): remove LFUN_FORKS_KILL.
216
217         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
218         dialog and to kill a forked process.
219
220 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
221
222         * text2.C (setCursorFromCoordinates): fix font problem
223
224 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
225
226         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
227         bogus "rebuild cursor" code
228
229 2004-03-11  André Pönitz  <poenitz@gmx.net>
230
231         * buffer.[Ch]: use InsetText instead of LyXText as container for
232         the main lyx text.
233
234         * dociterator.[Ch]: drop the BufferView * member which is not needed
235         anymore after the change to buffer.C
236
237         * paragraph_funcs.C:
238         * text.C:
239         * text2.C:
240         * BufferView.[Ch]:
241         * BufferView_pimpl.[Ch]:
242         * cursor.[Ch]:
243         * cursor_slice.[Ch]: adjust
244
245         * text3.C: fix bug in mathDispatch
246
247 2004-03-08  André Pönitz  <poenitz@gmx.net>
248
249         * undo.[Ch]: use 'StableDocumentIterator' as base for
250         the Undo struct.
251
252 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
253
254         * LaTeXFeatures.C:
255         * bufferparams.[Ch]: add jurabib support and param.
256
257         * LaTeX.C: add FIXME/comment.
258
259 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
260
261         * buffer.C: increment file format to 230.
262
263 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
264
265         * cursor.C (dispatch): avoid infinite loops
266
267 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
268
269         * rowpainter.C (paintSelection): fix x coordinates
270
271 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
272
273         * text.C (rowBreakPoint): fix breaking before displayed insets
274
275 2004-03-01  André Pönitz  <poenitz@gmx.net>
276
277         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
278
279         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
280
281         * Makefile.am:
282         * BufferView.C:
283         * BufferView_pimpl.C:
284         * buffer.C:
285         * lyxfind.C:
286         * lyxfunc.C:
287         * text.C:
288         * text2.C:
289         * text3.C: adjust
290
291 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
292
293         * lyxtext.h:
294         * text.C:
295         * text2.C:
296         * rowpainter.C:
297         * BufferView_pimpl.C: rename textwidth -> maxwidth,
298         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
299
300 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
301
302         * Bidi.[Ch] (computeTables): const correctness
303         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
304         fill_hfill, fill_label_hfill and x from Row
305         * lyxtext.h: prepareToPrint returns a RowMetrics
306         * rowPainter.C: adjust
307         * text.C (prepareToPrint): use width, not textWidth. adjust
308         (redoParagraphInternal, cursorX): adjust
309         * text2.C (getColumnNearX): adjust
310         (init): put a default value to the top LyXText::width
311
312 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
313
314         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
315
316 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
317
318         * lyxtext.h: add FontIterator class
319
320         * text.C (FontIterator, operator*, operator->, operator++): add
321         (rowBreakPoint, setRowWidth): adjust (fixing a
322         rebreaking bug)
323
324 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
325
326         * BufferView_pimpl.C (workAreaDispatch): allow also
327         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
328
329 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
330
331         * text.C (rowBreakPoint): fix a bug showing with very large insets
332
333 2004-02-25  André Pönitz  <poenitz@gmx.net>
334
335         * text3.C:
336         * cursor.[Ch]: move some mathed specific code to mathed
337
338 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
339
340         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
341         use_tempdir in preferences
342         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
343         tempfile creation
344         * lyx_main.C: ensure that tempdir is valid
345         * lyxlex.h: correct typo
346         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
347         * paragraph.[Ch] (isMultiLingual): make const
348         * cursor.[Ch] (openable): make const
349
350 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
351
352         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
353
354 2004-02-20  André Pönitz  <poenitz@gmx.net>
355
356         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
357
358         * cursor.[Ch]: prepare for localized getStatus()
359
360         * lyxtext.h:
361         * tabular.C:
362         * text.C:
363         * text2.C:
364         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
365
366 2004-02-20  André Pönitz  <poenitz@gmx.net>
367
368         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
369
370 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
371
372         * text2.C (setCursorFromCoordinates): switch to absolute coords
373         (cursorUp): adjust
374         (cursorDown): adjust
375         * text3.C (dispatch): adjust
376
377 2004-02-16  André Pönitz  <poenitz@gmx.net>
378
379         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
380           insets/ChangeLog)
381
382         * cursor_slice.[Ch]: remove unneeded acessor function
383
384         * lyxtext.h: rename rtl() to isRTL()
385
386         * rowpainter.C:
387         * tabular.C:
388         * text.C:
389         * text2.C:
390         * text3.C: adjust
391
392 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
393
394         * rowpainter.C (paintSelection): coord fix
395
396 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
397
398         * Spacing.C: compile fix
399
400 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
401
402         * cursor.C (dispatch): restore current_ before returning
403
404 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
405
406         * text2.C (cursorUp, cursorDown): fix coords
407         (moveUp): fix crash
408
409 2004-02-12  André Pönitz  <poenitz@gmx.net>
410
411         * lyxtext.h:
412         * text.C:
413         * text2.C:
414         * text3.C: add LCursor & parameter to most cursor movement functions
415           remove usage of LyXText::cursorRow() and cursorPar()
416
417         * cursor.[Ch]: add textRow() needed members
418
419         * BufferView.C:
420         * BufferView_pimpl.C:
421         * paragraph.[Ch]:
422         * BufferView.C:
423         * BufferView_pimpl.C: adjust
424
425 2004-02-11  André Pönitz  <poenitz@gmx.net>
426
427         * lyxfunc.C:
428         * BufferView.[Ch]:
429         * BufferView_pimpl.C: shift undo/redo handling
430
431         * cursor.[Ch]: fix mathed crash
432
433         * lyxfind.C:
434         * lyxtext.h: move selectionAsText to LCursor
435
436         * output_latex.C:
437         * paragraph.C:
438         * text.C:
439         * text2.C:
440         * text3.C: adjust
441
442         * rowpainter.C: fix excessive drawing
443
444 2004-02-06  André Pönitz  <poenitz@gmx.net>
445
446         * BufferView.[Ch]:
447         * BufferView_pimpl.[Ch]:
448         * text3.C: move some text specific LFUN handling
449
450 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
451
452         * text3.C (checkInsetHit): adjust coords
453         * text2.C (getColumnNearX): adjust coords
454         (edit): adjust coords
455         * text.C (getRowNearY): add two asserts
456
457 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
458
459         * converter.C:
460         * format.C: add using std::distance to compile on gcc 2.95/stlport
461
462 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
463
464         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
465
466 2004-02-04  André Pönitz  <poenitz@gmx.net>
467
468         * BufferView.[Ch] (insertInset):
469         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
470
471         * text2.C:
472         * text3.C: adjust
473
474 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
475
476         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
477         on the default clause of the switch
478         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
479         wasn't catched by LCursor::dispatch
480
481 2004-02-03  André Pönitz  <poenitz@gmx.net>
482
483         * BufferView.C:
484         * cursor.[Ch]: some additional asserts
485
486         * undo.[Ch]: remove LyXText dependency in interface
487
488         * lyxfunc.C: adjust
489
490         * lyxtext.h (firstPar, lastPar): remove dead functions
491
492         * text.C:
493         * text2.C:
494         * text3.C:
495         * paragraph.[Ch]: adjust
496
497 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
498
499         * lyxfind.C (find): fix argument order in call to ::find
500
501 2004-02-02  André Pönitz  <poenitz@gmx.net>
502
503         * cursor.[Ch]: remove direct access to anchor
504
505         * text.C: remove findText() hack
506
507 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
508
509         * iterators.[Ch] (lockPath): remove in favour of...
510         * BufferView.[Ch] (setCursor): this addition
511         * BufferView.C (putSelectionAt): adjust
512         * undo.C (performUndoOrRedo): adjust
513         * lyxfunc.C (dispatch): adjust
514
515 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
516
517         * iterators.C (lockPath): add a missing slice
518         * undo.C (performUndoOrRedo): remove redundant positioning code
519
520 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
521
522         * vc-backend.C (scanMaster): ";" -> ';'
523
524 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
525
526         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
527         std::binary_function
528
529         * lyxtextclass.C (compare_name): rename to...
530         (LayoutNamesEqual): ...this
531
532         * lyxlex_pimpl.C (compare_tags): inherit from
533         std::binary_function, put back into anon namespace
534
535         * lyxfind.C (MatchString): inherig from std::binary_function
536         (findChange): use empty() istead of !size()
537
538         * format.C (FormatNamesEqual): new functor
539         (getFormat): use it
540         (getNumber): use it
541         (add): use it
542         (erase): use it
543         (setViewer): use it
544
545         * converter.C (compare_Converter): rename to...
546         (ConverterEqual): ...this, and fixup a bit.
547         (getConverter): use it, and make function const
548         (getNumber): use it, and make function const
549         (add): use it
550         (erase): use it:
551
552         * bufferlist.C: add using boost::bind
553
554         * MenuBackend.C (MenuNamesEqual): new functor
555         (hasMenu): use it, and make function const
556         (hasSubmenu): use nested bind to get rid of compare_memfun.
557
558 2004-01-30  André Pönitz  <poenitz@gmx.net>
559
560         * BufferView_pimpl.C:
561         * cursor.C:
562         * cursor.h:
563         * cursor_slice.[Ch]:
564         * lyxfunc.C:
565         * lyxtext.h:
566         * paragraph_funcs.C:
567         * paragraph_funcs.h:
568         * rowpainter.C:
569         * text.C:
570         * text2.C:
571         * text3.C: move some of the edit(x,y) handling to the insets
572         some coordinate changes.
573
574 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
575
576         * text.C: add using statements for std::advance and std::distance
577
578         * paragraph.C: add using statement for std::distance
579
580         * lyxfind.C: add using statement for std::advance
581
582         * cursor.C (region): remove std:: from swap
583         (openable): use nucleus in stead of operator->
584
585         * BufferView.C: add using statements for std::distance and std::swap
586
587 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
588
589         * iterators.C: Remove the pimple, move the needed structures to
590         the header file. Create accessor for the positions stack.
591         (asPosIterator): remove function
592
593         * PosIterator.C (PosIterator): move constructors to top of file
594         (PosIterator): reimplement the constructor taking a ParIterator in
595         terms of setFrom.
596         (setFrom): new function
597         (operator!=): inline it
598
599 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
600
601         * lyxfind.C (replaceAll): use std::advance
602
603         * iterators.h: inherit from std::iterator.
604
605         * PosIterator.C (advance, distance): remove
606         * PosIterator.h: interit from std::iterator.
607
608 2004-01-26  André Pönitz  <poenitz@gmx.net>
609
610         * BufferView.[Ch]:
611         * BufferView_pimpl.[Ch]:
612         * InsetList.[Ch]:
613         * PosIterator.[Ch]:
614         * buffer.h:
615         * bufferview_funcs.C:
616         * cursor.[Ch]:
617         * cursor_slice.h:
618         * factory.[Ch]:
619         * iterators.[Ch]:
620         * lyxfind.C:
621         * lyxfunc.C:
622         * lyxtext.h:
623         * output_docbook.C:
624         * output_latex.C:
625         * output_linuxdoc.C:
626         * output_plaintext.C:
627         * paragraph.[Ch]:
628         * paragraph_funcs.[Ch]:
629         * paragraph_pimpl.[Ch]:
630         * rowpainter.C:
631         * tabular.C:
632         * tabular.h:
633         * text.C:
634         * text2.C:
635         * text3.C: more IU:  dumps most of the rest of the mathcursor
636     implementation into cursor.[Ch]; "globalize" a bit of it.
637
638 2004-01-25  Angus Leeming  <leeming@lyx.org>
639
640         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
641
642 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
643
644         * LaTeXFeatures.h: add nice_ and nice() const
645         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
646
647 2004-01-20  André Pönitz  <poenitz@gmx.net>
648
649         * BufferView.[Ch]:
650         * BufferView_pimpl.C:
651         * PosIterator.C:
652         * bufferview_funcs.C:
653         * cursor.[Ch]:
654         * cursor_slice.[Ch]:
655         * factory.C:
656         * iterators.C:
657         * lyx_cb.C:
658         * lyxfind.C:
659         * lyxfunc.C:
660         * lyxtext.h:
661         * rowpainter.C:
662         * text.C:
663         * text2.C:
664         * text3.C:
665         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
666           LCursor and mathcursor parts to LCursor and InsetBase.
667
668 2004-01-15  André Pönitz  <poenitz@gmx.net>
669
670         * cursor_slice.[Ch]: add a few covienience functions
671
672         * funcrequest.[Ch]: remove BufferView * member
673
674         * BufferView_pimpl.C:
675         * cursor.C:
676         * factory.[Ch]:
677         * lyxfind.[Ch]:
678         * lyxfunc.C:
679         * lyxtext.h:
680         * text3.C:
681         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
682
683 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
684
685         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
686         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
687
688 2004-01-13  André Pönitz  <poenitz@gmx.net>
689
690         * textcursor.[Ch]:
691         * lyxtext.h: hide cursor and selection anchor behind accessor function
692
693         * BufferView.C:
694         * BufferView_pimpl.[Ch]:
695         * PosIterator.C:
696         * bufferview_funcs.C:
697         * cursor.h:
698         * lyxfind.C:
699         * lyxfunc.C:
700         * text.C:
701         * text2.C:
702         * text3.C:
703         * undo.C: adjust
704
705         * cursor.h:
706         * cursor_slice.[Ch]: some integer type changes for inset unification
707
708         * lyxcursor.[hC]: remove, it's CursorSlice now.
709
710         * Makefile.am:
711         * BufferView_pimpl.[Ch]:
712         * bufferview_funcs.C:
713         * cursor_slice.C:
714         * lyxtext.h:
715         * text.C:
716         * text2.C:
717         * text3.C:
718         * textcursor.[Ch]: adjust
719
720 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
721
722         * text2.C (undoSpan): add and use
723         * text.C (breakParagraph): use undoSpan (fix bug 578)
724         * lyxtext.h: adjust
725
726 2004-01-08  Angus Leeming  <leeming@lyx.org>
727
728         * BufferView_pimpl.C (MenuInsertLyXFile):
729         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
730         * lyxfunc.C (menuNew, open, doImport):
731         FileFilterList change to the FileDialog open and save functions.
732
733 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
734
735         * ShareContainer.h: make isEqual and isUnique adaptable
736
737         * CutAndPaste.C: make resetOwnerAndChanges adaptable
738
739 2004-01-07  Angus Leeming  <leeming@lyx.org>
740
741         * LyXAction.C:
742         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
743
744         * BufferView_pimpl.C (dispatch): act on these LFUNs.
745
746         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
747         functions replacing find, replace and replaceAll.
748
749         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
750         LFUN_WORDFIND(FORWARD|BACKWARD).
751
752 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
753
754         * text.C (breakParagraph): remove an outdated #warning
755
756 2004-01-07  André Pönitz  <poenitz@gmx.net>
757
758         * lyxfind.C: somewhat clearer logic
759
760         * text.C: prevent crash in cursorX on unitialized row cache
761
762 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
763
764         * lyxcursor.[Ch] (operator>): add
765         * textcursor.C (selStart, selEnd): use std::min and std::max
766
767 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
768
769         * Chktex.C: include boost/format.hpp
770
771 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
772
773         * InsetList.C: replace functor MathcIt with adaptable functor
774         InsetTablePosLess
775         (insetIterator): modify accordingly
776
777         * BranchList.h: move the BranchNamesEqual functor here from...
778         * BranchList.C: ... to here
779
780         * BranchList.C: new BranchListEqual fuctor, use it. Remove
781         SameName and match.
782         (add): replace a finding loop with std::find_if.
783
784 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
785
786         * output_docbook.C: moving LatexParam functionality into
787         .layout files
788
789 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
790
791         * buffer.C: increment format to 229.
792
793 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
794
795         * LaTeXFeatures.C:
796         * lyx_sty.[Ch]: remove minipageindent_def
797
798         * LyXAction.C:
799         * factory.C:
800         * lfuns.h:
801         * lyxfunc.C:
802         * text3.C: remove LFUN_INSET_MINIPAGE
803
804 2003-12-28  Angus Leeming  <leeming@lyx.org>
805
806         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
807
808 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
809
810         * text2.C (setParagraph): fix off-by-one crash
811
812 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
813
814         * output_docbook.C: header stuff for AGU
815
816 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
817
818         * text2.C (redoCursor): remove
819         * text.C:
820         * text3.C:
821         * BufferView_pimpl.C: remove calls to redoCursor and
822         setCursor(cursor.par(), cursor.pos()) all around
823
824 2003-12-15  Angus Leeming  <leeming@lyx.org>
825
826         * buffer.C: up the format to 228.
827
828 2003-12-15  André Pönitz  <poenitz@gmx.net>
829
830         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
831         slices
832
833         * Makefile.am:
834
835         * BufferView_pimpl.C:
836         * cursor.[Ch]:
837         * lyxcursor.[Ch]:
838         * rowpainter.[Ch]:
839         * lyxtext.h:
840         * text.C:
841         * text2.C:
842         * text3.C: adjust
843
844 2003-12-15  Angus Leeming  <leeming@lyx.org>
845
846         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
847         than getFromGUIName to manipulate the color.
848
849 2003-12-14  Angus Leeming  <leeming@lyx.org>
850
851         * BranchList.[Ch]: minimize the API.
852         (Branch::getBranch, getColor): now return a 'const &'.
853         (Branch::setSelected) now returns a bool set to true if the
854         selection status changes.
855         (BranchList::clear, size, getColor, setColor, setSelected,
856         allBranches, allSelected, separator): removed.
857         (BranchList::find): new functions, returning the Branch with
858         the given name.
859         (BranchList::add, remove): return a bool indicating that
860         the operation was successful.
861
862         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
863         new InsetBranch::isBranchSlected member function.
864
865         * LColor.[Ch]: mimimize the API.
866         (fill): renamed as addColor and made private.
867         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
868         versions of these functions taking a string arg have been removed.
869
870         * bufferparams.C (readToken):
871         * lyxfunc.C (dispatch):
872         * lyxrc.C (read): changes due to the altered BranchList and
873         LColor APIs.
874
875         * factory.C (createInset, readInset): changes due to altered
876         InsetBranch c-tor.
877
878 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
879
880         * factory.C:
881         * lyxfunc.C: remove insetminipage. "minipage-insert"
882         now produces a frameless minipage box inset.
883
884 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
885
886         * textcursor.[Ch] (selStart,selEnd): add new methods
887         remove selection::start, end, use LyXCursor::operator<
888         * lyxcursor.[Ch] (operator<): add
889         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
890         * BufferView.[Ch] (unsetXSel): add
891         * text2.C (clearSelection): use unsetXSel,adjust
892         * text.C: adjust
893         * text3.C: adjust
894         * rowpainter.C: adjust
895         * bufferview_funcs.C (put_selection_at): adjust
896
897 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
898
899         * BufferView_pimpl.C: small coord. correction
900
901 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
902
903         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
904         dragging over the splash screen.
905
906 2003-12-11  Angus Leeming  <leeming@lyx.org>
907
908         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
909         as it is now handled in LyXText::dispatch.
910
911         * text3.C (doInsertInset): remove a level of nesting.
912
913 2003-12-11  Angus Leeming  <leeming@lyx.org>
914
915         * factory.C (createInset): changes due to the changed interface to
916         InsetCommandMailer::string2params.
917
918 2003-12-10  Angus Leeming  <leeming@lyx.org>
919
920         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
921         'dialog-show-new-inset <inset name>'
922
923 2003-12-10  Angus Leeming  <leeming@lyx.org>
924
925         * buffer.C: up the format to 227.
926
927         * factory.C: the box inset is now identified simply by 'Box'.
928
929 2003-12-10  Angus Leeming  <leeming@lyx.org>
930
931         * buffer.C: up the format to 226.
932
933         * factory.C: the note inset is now identified simply by 'Note'.
934
935 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
936
937         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
938         when a pit is enough. Standarize a couple of loops.
939
940 2003-12-05  Angus Leeming  <leeming@lyx.org>
941
942         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
943         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
944         data to the re-worked "log" dialog.
945
946 2003-12-03  André Pönitz  <poenitz@gmx.net>
947
948         * PosIterator.C:
949         * iterators.C:
950         * lyxtext.h:
951         * output_latex.C:
952         * paragraph_funcs.C:
953         * text.C:
954         * text2.C: use Inset::getText instead of Inset::getParagraph
955
956 2003-12-03  André Pönitz  <poenitz@gmx.net>
957
958         * buffer.[Ch]:
959         * lyxtext.h:
960         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
961         InsetText::read() as LyXText::read()
962
963 2003-12-02  Angus Leeming  <leeming@lyx.org>
964
965         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
966         type. Add a comment in the implementation that the function uses
967         the stream's bad() function rather than fail() as the std::streams
968         would do.
969
970 2003-12-02  André Pönitz  <poenitz@gmx.net>
971
972         * lyxlex.[Ch]: make interface more similar to std::stream
973
974         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
975
976 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
977
978         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
979
980 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
981
982         * vspace.[Ch]: remove VSpace::NONE
983
984 2003-12-01  André Pönitz  <poenitz@gmx.net>
985
986         * buffer.[Ch]:
987         * lyxtext.h: move ParagraphList member to LyXText
988         rename LyXText::ownerParagraphs to LyXText::paragraph
989
990         * CutAndPaste.C:
991         * bufferview_funcs.C:
992         * iterators.[Ch]:
993         * lyx_cb.C:
994         * paragraph.C:
995         * rowpainter.C:
996         * tabular.C:
997         * text.C:
998         * text2.C:
999         * text3.C: adjust
1000
1001         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1002
1003         * undo.C: fix cursor positioning
1004
1005 2003-12-01  John Levon  <levon@movementarian.org>
1006
1007         * BufferView_pimpl.C: fix a crash on exit with
1008         a buffer open
1009
1010 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1011
1012         * BranchList.C: fix setSelected() method.
1013
1014 2003-11-28  André Pönitz  <poenitz@gmx.net>
1015
1016         * ParagraphParameters.[Ch]:
1017         * ParameterStruct.h: remove space above/below from Paragraph to
1018          InsetVSpace
1019
1020         * BufferView_pimpl.C:
1021         * factory.C:
1022         * lyxfunc.C:
1023         * lyxtext.h:
1024         * output_latex.C:
1025         * paragraph.C:
1026         * paragraph_funcs.C:
1027         * rowpainter.[Ch]:
1028         * text.C:
1029         * text2.C:
1030         * text3.C: adjust
1031
1032 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1033
1034         * factory.C: Syntax change for CharStyles
1035
1036 2003-11-28  André Pönitz  <poenitz@gmx.net>
1037
1038         * BufferView.[Ch]:
1039         * BufferView.[Ch]:
1040         * buffer.[Ch]:
1041         * buffer.[Ch]: move LyXText member
1042
1043 2003-11-28  André Pönitz  <poenitz@gmx.net>
1044
1045         * BufferView.[Ch]: make LyXText * text a private member
1046
1047         * BufferView_pimpl.C:
1048         * cursor.C:
1049         * iterators.C:
1050         * lyx_cb.C:
1051         * lyxfind.C:
1052         * lyxtext.h:
1053         * rowpainter.[Ch]:
1054         * text.C:
1055         * text2.C:
1056         * undo.C: adjust
1057
1058         * output_plaintext.C: cleanup
1059
1060 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1061
1062         * buffer.C:
1063         * lyxtextclass.[Ch]: parametrize SGML document header
1064
1065 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1066
1067         * converter.[Ch]:
1068         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1069         getFlavor().
1070
1071 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1072
1073         * text2.C (setFont): rework using PosIterator (no more recursive)
1074         (setCharFont): no more needed
1075         (setLayout): no more selection cursors fiddling (done by redoCursor)
1076         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1077         destroy remaining ones)
1078
1079 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1080
1081         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1082         * lyxtext.h: ditto
1083         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1084         selection cursors
1085         * lyxfunc.C: adjust
1086         * text3.C: adjust + re-allow multi par depth changes
1087         * textcursor.C: simplify a bit
1088
1089 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1090
1091         * src/buffer.C:
1092         * src/lyxlayout.C:
1093         * src/lyxlayout.h:
1094         * src/lyxtext.h:
1095         * src/output_docbook.C:
1096         * src/output_latex.C:
1097         * src/paragraph.C:
1098         * src/paragraph.h:
1099         * src/sgml.C:
1100         * src/sgml.h:
1101         * src/text2.C: Introducing a number of tags parametrizing various
1102         XML formats that we may want to support
1103
1104 2003-11-25  André Pönitz  <poenitz@gmx.net>
1105
1106         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1107
1108         * lyxtext.h (leftMargin/rightMargin): simplify interface
1109
1110         * rowpainter.C:
1111         * text.C:
1112         * text2.C:
1113         * text3.C: adjust
1114
1115 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1116
1117         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1118         master file to any child files. Fixes bug 546.
1119
1120 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1121
1122         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1123
1124 2003-11-24  André Pönitz  <poenitz@gmx.net>
1125
1126         * rowpainter.C: simplification
1127
1128         * text2.C (updateCounters): remove call to redoParagraph on
1129         changed labels as this is far too expensive.
1130
1131 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1132
1133         * converter.C (convert): fix a crash: this function gets
1134         called with buffer == 0 from importer code.
1135
1136 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1137
1138         * text3.C (cursorPrevious): make sure that we do not compare
1139         iterators form different containers.
1140         (cursorNext): ditto
1141
1142         * rowpainter.C (paintSelection): make sure that we do not compare
1143         iterators from different containers.
1144
1145         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1146         iterators from different ParagraphList containers.
1147         [NEXT] ditto
1148
1149         * text2.C (LyXText): change order of initialization slightly
1150         (operator=): new function. copy all variables except cache_par_
1151         (moveUp): make sure that we do not compare iterators from
1152         different ParagraphList constainers.
1153         (moveDown): ditto
1154
1155         * text.C (firstPar): new function
1156         (lastPar): new function
1157         (endPar): new function
1158
1159         * lyxtext.h: move things around and group public functions, public
1160         variables, private functions, private variables
1161
1162 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1163
1164         * factory.C: change call to InsetERT constructor to avoid
1165         additional invocation of method status
1166         * text2.C (toggleInset): remove redundant update() call
1167         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1168         instead of a Bufferview pointer
1169
1170 2003-11-21  André Pönitz  <poenitz@gmx.net>
1171
1172         * rowpainter.C: simplification
1173
1174 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1175
1176         * text3.C (dispatch): make possible to extend a word/row selection
1177         with the mouse
1178
1179 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1180
1181         * lyxtext.h: x0_,y0_ -> xo_,yo_
1182         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1183         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1184         * rowpainter.C (paintRows): paint full paragraphs
1185
1186 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1187
1188         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1189         screen coordinates)
1190
1191 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1192
1193         * lyxtext.h: add x0_, y0_
1194         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1195         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1196
1197 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1198
1199         * text2.C (setCursorIntern): move the x_target update here *
1200         * text3.C: change some bv() to true/false in calls to
1201         cursorUp/Down/Right/Left
1202         * cursor.C: use helper function.
1203
1204 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1205
1206         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1207         * paragraph_funcs.[Ch]: correct comment
1208         * rowpainter.C: do not paint selections away from bv->cursor()
1209         Fix a long standing selection painting bug.
1210         * text3.C: generalize mouse-selection code to LyXTexts other that
1211         top one
1212         * textcursor.C: do not use y coords if we can use par offsets
1213
1214 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1215
1216         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1217         cursor position after e.g. inset insert)
1218
1219 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1220
1221         * lyxfind.C (replace): adjust to locking removal + some
1222         code simplification
1223
1224 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1225
1226         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1227         of the path
1228
1229 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1230
1231         * lyxlayout.[Ch]:
1232         * output_docbook.C: XML sanitation: new layout
1233         parameters InnerTag and CommandDepth
1234
1235 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1236
1237         * BufferView_pimpl.C:
1238         * factory.C:
1239         * text3.C: Fix the insertion and modification of button-style
1240         insets
1241
1242 2003-11-13  André Pönitz  <poenitz@gmx.net>
1243
1244         * InsetList.[Ch]: remove deleteLyXText
1245
1246         * paragraph.[Ch]: cache beginOfBody position
1247
1248         * Bidi.C:
1249         * text.C:
1250         * text2.C:
1251         * text3.C: remove superfluous update() calls
1252
1253         * vspace.C: cleanup
1254
1255 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1256
1257         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1258         * BufferView.C (fitLockedInsetCursor): remove
1259         * cursor.[Ch] (getDim): add
1260         * text.C (getRowNearY): add faster version
1261         * text3.C: remove some update calls
1262
1263 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1264
1265         * LaTeXFeatures.C:
1266         * LyXAction.C:
1267         * MenuBackend.C:
1268         * MenuBackend.h:
1269         * dispatchresult.h:
1270         * factory.C:
1271         * lfuns.h:
1272         * lyxfunc.C:
1273         * lyxtextclass.C:
1274         * lyxtextclass.h:
1275         * text3.C: The Character Style /XML short element patch.
1276
1277 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1278
1279         * text3.C:
1280         * factory.C: Small step to solving 'unable to insert some insets'
1281         problem
1282
1283 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1284
1285         * cursor.[Ch] (updatePos): new function for updating the y
1286         position of the tip inset
1287         * bufferview_funcs.C (put_selection_at):
1288         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1289
1290 2003-11-11  André Pönitz  <poenitz@gmx.net>
1291
1292         * text.C: remove big comment on invalid Paragraph pointers as it is
1293         not valid anymore
1294
1295 2003-11-11  André Pönitz  <poenitz@gmx.net>
1296
1297         * text_funcs.[Ch]: merge with ...
1298
1299         * text.C: ... this
1300
1301         * lyxtext.h:
1302         * text2.C:
1303         * text3.C: adjust
1304
1305         * Makefile.am: remove text_funcs.[Ch]
1306
1307 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1308
1309         * cursor.C (getPos): return absolute cached y coord
1310
1311         * BufferView_pimpl.C (fitCursor): new simplistic code
1312         (workAreaDispatch): add a fitCursor call
1313
1314 2003-11-10  André Pönitz  <poenitz@gmx.net>
1315
1316         * BufferView.[Ch]:
1317         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1318
1319 2003-11-10  André Pönitz  <poenitz@gmx.net>
1320
1321         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1322         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1323         indicate that the cursor needs to leave an inset
1324
1325         * lyxtext.h: remove inset locking
1326
1327         * cursor.[Ch]: re-implement functionality provided by inset locking
1328
1329         * BufferView.[Ch]:
1330         * BufferView_pimpl.[Ch]:
1331         * LyXAction.C:
1332         * bufferview_funcs.[Ch]:
1333         * factory.C:
1334         * funcrequest.[Ch]:
1335         * iterators.C:
1336         * lyx_cb.C:
1337         * lyxfind.C:
1338         * lyxfunc.C:
1339         * text.C:
1340         * text2.C:
1341         * text3.C:
1342         * undo.C: adjust
1343
1344 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1345
1346         * PosIterator.[Ch]: replace the stack with a vector, add inset
1347         accesor
1348         * iterators.[C]: adjust
1349
1350 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1351
1352         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1353         replaced
1354         * paragraph_funcs.C (readParToken): put the correct id in the
1355         error item, not the id of the top paragraph
1356
1357 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1358
1359         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1360         * bufferview_funcs.C (put_selection_at): use the above
1361
1362 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1363
1364         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1365
1366 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1367
1368         * output_linuxdoc.h:
1369         * output_plaintext.h:
1370         * output.h:
1371         * output_docbook.h: add #include statements
1372
1373 2003-11-05  José Matos  <jamatos@lyx.org>
1374
1375         * output_docbook.[Ch]:
1376         * output_latex.[Ch]:
1377         * output_linuxdoc.[Ch]:
1378         * output_plaintext.[Ch]: New files for output formats.
1379         * output.[Ch]: New file for helper functions.
1380
1381         * buffer.[Ch]:
1382         * paragraph_funcs.[Ch]: output functions moved to new files.
1383
1384         * outputparams.h: rename of latexrunparams.h
1385
1386         * LaTeX.[Ch]:
1387         * buffer.[Ch]:
1388         * bufferlist.[Ch]:
1389         * converter.[Ch]:
1390         * exporter.C:
1391         * paragraph.[Ch]:
1392         * paragraph_funcs.[Ch]:
1393         * paragraph_pimpl.[Ch]:
1394         * tabular.[Ch]: rename ascii to plaintext
1395         and LatexRunParams to OutputParams.
1396
1397 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1398
1399         * iterators.[Ch] (text): require bv argument
1400         * undo.C (recordUndo):
1401         * lyxfunc.C (dispatch):
1402         * bufferview_funcs.C (put_selection_at): adjust
1403
1404 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1405
1406         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1407
1408 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1409
1410         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1411         nestings
1412
1413 2003-11-04  André Pönitz  <poenitz@gmx.net>
1414
1415         * cursor.[Ch]: restructure
1416
1417         * BufferView.[Ch]:
1418         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1419
1420         * iterators.[Ch] (asCursor): remove
1421
1422         * lfuns.h: remove LFUN_INSET_EDIT
1423
1424         * lyxfunc.C:
1425         * tabular.C:
1426         * text.C:
1427         * text2.C:
1428         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1429
1430 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1431
1432         * lyxfind.[Ch]: complete overhaul
1433         * BufferView_pimpl.C:
1434         * lyxfunc.C: adjust
1435         * paragraph.[Ch] (insert): add
1436
1437 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1438
1439         * BufferView.[Ch]:
1440         * lyxtext.h:
1441         * text.C: remove dead spellcheck code
1442
1443 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1444
1445         * dispatchresult.h: add a val setter
1446
1447         * cursor.C (dispatch): use a tempvar for data_[i]
1448
1449 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1450
1451         * PosIterator.[Ch]: compile fix
1452
1453 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1454
1455         * text.C (cursorPar): deactivate the cursor cache
1456
1457 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1458
1459         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1460
1461 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1462
1463         * text3.C (dispatch): adjust for new DisptchResult semantics.
1464
1465         * lyxfunc.C (dispatch): handle update when return from
1466         Cursor::dispatch, adjust for new DispatchResult semantics.
1467
1468         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1469         DispatchResult(true) mean to not update. Add class functions for
1470         setting dispatched and update, as well as reading.
1471
1472         * cursor.C (dispatch): don't handle update here
1473
1474 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1475
1476         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1477         * trans_mgr.C: adjust
1478
1479         * paragraph_funcs.C (readParToken): exception safety
1480
1481         * lyxvc.h: store the vcs pointer in a scoped_ptr
1482         * lyxvc.C: adjust
1483
1484         * lyxsocket.C (serverCallback): exception safety
1485
1486         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1487
1488         * ispell.C (clone): make it return a auto_ptr
1489
1490         * factory.C (createInset): exception safety
1491         (readInset): exception safety
1492
1493         * bufferlist.C (newBuffer): exception safety
1494
1495         * Thesaurus.C (Thesaurus): use initialization for aik_
1496
1497         * MenuBackend.C (expandToc): exception safety.
1498
1499 2003-11-03  André Pönitz  <poenitz@gmx.net>
1500
1501         * buffer.C:
1502         * buffer.h:
1503         * bufferview_funcs.C: remove getInsetFromId()
1504
1505         * lyxcursor.[Ch]:
1506         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1507
1508         * lyxfunc.C:
1509         * text2.C:
1510         * text3.C: adjust
1511
1512 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1513
1514         * PosIterator.C (distance, advance): new
1515         * bufferview_funcs.[Ch] (put_selection_at): new
1516         * iterators.[Ch] (lockPath): new
1517
1518 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1519
1520         * iterators.[Ch] (asPosIterator): added
1521         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1522         * PosIterator.[Ch]: added
1523
1524 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1525
1526         * text3.C:
1527         * lyxfunc.C:
1528         * cursor.C (dispatch):
1529         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1530
1531         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1532         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1533         contructor, add a class function dispatched. Remove operator>=
1534
1535 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1536
1537         * debug.C: only use the default constructor for debugstream
1538         (lyxerr) here.
1539
1540         * main.C (main): include debug.h and setup the lyxerr streambuf
1541         here.
1542
1543 2003-10-31  José Matos  <jamatos@lyx.org>
1544
1545         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1546
1547         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1548         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1549         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1550         * paragraph_pimpl.C (simpleTeXSpecialC):
1551         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1552         add LatexRunParams argument.
1553
1554         * exporter.C (Export): change call accordingly.
1555
1556         * latexrunparams.h: add new member to take care of the other backends.
1557 2003-10-30  José Matos  <jamatos@lyx.org>
1558
1559         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1560         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1561         factorise code for paragraph output.
1562         * buffer.[Ch]:
1563         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1564         move functions.
1565
1566 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1567
1568         * text3.C (dispatch):
1569         * lyxfunc.C (dispatch):
1570         * cursor.C (dispatch):
1571         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1572
1573         * dispatchresult.h: make the dispatch_result_t ctor explicit
1574
1575 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1576
1577         * sgml.[Ch]:
1578         * buffer.C: small refactoring of docbook stuff
1579
1580 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1581
1582         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1583         meaning.
1584
1585 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1586
1587         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1588         operator dispatch_result_t, and operators for == != and >=
1589
1590         * cursor.C (dispatch): adjust for operator dispatch_result_t
1591         removal. comment out call to update
1592
1593         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1594
1595 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1596
1597         * text3.C:
1598         * text2.C:
1599         * text.C:
1600         * lyxtext.h:
1601         * lyxfunc.C:
1602         * cursor.C:
1603         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1604         (dispatch):
1605
1606         * dispatchresult.h: new file, DispatchResult broken out of
1607         insets/insetbase.h
1608
1609         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1610
1611 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1612
1613         * text.C (rowBreakPoint): put a hack inside #if 0
1614
1615 2003-10-28  André Pönitz  <poenitz@gmx.net>
1616
1617         * lyxtext.h:
1618         * metricsinfo.C:
1619         * paragraph_funcs.C:
1620         * rowpainter.C:
1621         * text.C:
1622         * text2.C: general cleanup (lots of small stuff)
1623
1624 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1625
1626         * text2.C (cursorEnd): simple fix to the "end key goes to one
1627         before the end on last row" bug
1628
1629 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1630
1631         * text.C (backspace): fix the "zombie characters"
1632
1633 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1634
1635         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1636
1637 2003-10-27  André Pönitz  <poenitz@gmx.net>
1638
1639         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1640
1641         * factory.C: handle new InsetPagebreak, InsetLine
1642
1643         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1644         and move handling into new InsetPagebreak, InsetLine
1645
1646         * BufferView_pimpl.C:
1647         * LyXAction.C:
1648         * ParagraphParameters.C:
1649         * ParameterStruct.h:
1650         * lyxfunc.C:
1651         * lyxtext.h:
1652         * paragraph.C:
1653         * paragraph.h:
1654         * paragraph_funcs.C:
1655         * paragraph_pimpl.C:
1656         * rowpainter.C:
1657         * text.C:
1658         * text2.C:
1659         * text3.C: adjust
1660
1661 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1662
1663         * text.C:
1664         * lyxrow_funcs.[Ch]:
1665         * Bidi.C:
1666         * paragraph.C:
1667         * lyxtext.h:
1668         * rowpainter.C:
1669         * text2.C:
1670         * text3.C: remove lastPos uses in favour of Row::endpos
1671
1672 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1673
1674         * undo.C (performUndoOrRedo): fix two crashes by setting a
1675         cursor by hand and reordering some calls. Use bv->lockInset instead
1676         of inset->edit because the latter loses cursor information
1677
1678 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1679
1680         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1681         by Martin
1682         (rowBreakPoint): fix width. change point to point + 1.
1683         Add a missing check.
1684
1685 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1686
1687         * MenuBackend.C:
1688         * lyxfunc.C: fix (at least partly) the problems
1689         with the Nav menu and headers inside branch insets
1690         reported by Kayvan
1691
1692 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1693
1694         * paragraph.C (getChar): add strong asserts
1695
1696         * lyxrow_funcs.C (lastPos): remove hideous hack
1697
1698         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1699         (fill): adjust to that (avoid an infinite loop)
1700
1701 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1702
1703         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1704
1705 2003-10-23  André Pönitz  <poenitz@gmx.net>
1706
1707         * RowList_fwd.h: change list<> to vector<> to gain speed
1708         after suggestion from Alfredo
1709
1710 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1711
1712         * lyxtext.h: move the bidi stuff from here...
1713         * text.C: and here
1714         * text2.C: and here
1715         * Bidi.[Ch]: ... to here
1716
1717 2003-10-23  André Pönitz  <poenitz@gmx.net>
1718
1719         * lyxtext.h:
1720         * text.C (isLastRow, isFirstRow): new functions
1721
1722         * paragraph.h: new width cache member
1723
1724         * rowpainter.C: replace RowList::iterator with Row & where possible
1725
1726         * lyxfunc.C: replace several view()->text with a single call
1727
1728         * toc.C: fix 'unused' warning
1729
1730 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1731
1732         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1733         when woring with stream::pos_type
1734         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1735
1736 2003-10-22  André Pönitz  <poenitz@gmx.net>
1737
1738         * lyxtext.h:
1739         * text.C: use Row & instead of RowList::iterator
1740
1741         * lyxrow.h: rename end() to endpos()
1742
1743         * rowpainter.C:
1744         * text.C:
1745         * text2.C: adjust
1746
1747 2003-10-22  Angus Leeming  <leeming@lyx.org>
1748
1749         * buffer.[Ch] (fully_loaded): new member function, returning true
1750         only when the file has been loaded fully.
1751         Used to prevent the premature generation of previews and by the
1752         citation inset to prevent computation of the natbib-style label.
1753
1754         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1755         templates are all set up.
1756
1757         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1758
1759 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1760
1761         * text.C: fixed an "oops" in the "is a bit silly"
1762         bug fix
1763
1764 2003-10-21  André Pönitz  <poenitz@gmx.net>
1765
1766         * FuncStatus.[Ch]: small stuff, whitespace
1767
1768         * lyxfont.[Ch]: operator<<() for debug reasons
1769
1770         * lyxfunc.C:
1771         * lyxrow_funcs.C:
1772         * lyxtext.h: whitespace, spelling
1773
1774         * paragraph.C: naming of variables
1775
1776         * text.C:
1777         * text2.C: small stuff
1778
1779
1780 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1781
1782         * text.C: (1) finish off the inset display() work;
1783         (2) fix the "is a bit silly" bug (accessing char
1784         past end of par).
1785
1786 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1787
1788         * text.C: re-introduce display() for insets, fixing the
1789         various bugs (stretch of line above, math inset
1790         positioning, ...)
1791
1792 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1793
1794         * text.C (rightMargin): remove spurious semicolon
1795
1796         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1797         1415)
1798
1799 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1800
1801         * text3.C: fix one crash due to wrong cursor def
1802
1803 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1804
1805         * vc-backend.C (scanMaster): make the regex static
1806
1807         * LaTeX.C (scanAuxFile): make the regexs static
1808
1809         * text3.C (doInsertInset, dispatch, dispatch):
1810         * text2.C (cursorUp, cursorDown):
1811         * text.C (selectNextWordToSpellcheck):
1812         * BufferView_pimpl.C (dispatch):
1813         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1814
1815 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1816
1817         * lyxsocket.C: include <cerrno>
1818
1819 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1820
1821         * lyxfunc.C (dispatch): remove textcache stuff
1822
1823         * bufferlist.C (release): remove textcache stuff
1824         (closeAll): ditto
1825
1826         * TextCache.C: delete file
1827         * TextCache.h: delete file
1828
1829         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1830
1831         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1832         delete of the bv_->text.
1833         (resizeCurrentBuffer): remove texcache stuff
1834         (workAreaResize): ditto
1835
1836 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1837
1838         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1839         action.
1840
1841 2003-10-16  André Pönitz  <poenitz@gmx.net>
1842
1843         * lyxrow.[Ch]:
1844         * paragraph.h:
1845         * rowpainter.C:
1846         * text.C:
1847         * text2.C:
1848         * text3.C: speed up by storing y positions per paragraph plus per-row
1849         offset instead of having a 'full' y position in the row.
1850
1851 2003-10-15  André Pönitz  <poenitz@gmx.net>
1852
1853         * iterators.[Ch]:
1854         * iterators.[Ch]:
1855         * undo.[Ch]: make undo aware of inner insets
1856
1857 2003-10-14  Angus Leeming  <leeming@lyx.org>
1858
1859         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1860         static member functions LyX::ref() and LyX::cref.
1861         (lastfiles): new accessor functions for the new lastfiles_ member var.
1862         (addLyXView, views_): add a new LyXView to the list of views_.
1863         (updateInset): loop over all LyXViews to call their own updateInset
1864         member function, returning a pointer to the Buffer owning the inset.
1865
1866         * BufferView_pimpl.C (loadLyXFile):
1867         * MenuBackend.C (expandLastfiles):
1868         * bufferlist.C (MenuWrite, QuitLyX):
1869         lastfiles is no longer a global variable.
1870         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1871
1872         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1873         static function. Access through LyX::cref().emergencyCleanup().
1874
1875 2003-10-14  André Pönitz  <poenitz@gmx.net>
1876
1877         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1878
1879         * undo.[Ch]: restoring part of 'undo in insets'
1880
1881         * Makefile.am:
1882         * undo_funcs.[Ch]: merge with undo.[Ch]
1883
1884         * tabular.C: small cleansing stuff
1885
1886 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1887
1888         * paragraph_funcs.C (readParToken): report unknown insets as error
1889         boxes. Use the outer paragraph as location (also for unknown
1890         tokens).
1891
1892         * factory.C (readInset): do not abort on reading an unknown inset.
1893         Eat it and return 0.
1894
1895 2003-10-13  Angus Leeming  <leeming@lyx.org>
1896
1897         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1898
1899         * lyxrc.C: displayTranslator is now a function,
1900         declared in GraphicsTypes.h.
1901
1902 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1903
1904         * format.C: new placeholder $$a to pass the socket address.
1905
1906         * bufferlist.[Ch]: new function getBufferFromTmp.
1907
1908         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1909           files in the temporary dir.
1910
1911 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1912
1913         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1914
1915         * Makefile.am: add lyxsocket.[Ch].
1916
1917         * lyx_main.C (error_handler): handle SIGPIPE.
1918
1919 2003-10-13  André Pönitz  <poenitz@gmx.net>
1920
1921         * BufferView_pimpl.C:
1922         * lyxtext.h:
1923         * text.C:
1924         * text2.C:
1925         * text3.C:
1926         * undo_funcs.[Ch]: use paroffset_type instead of
1927           ParagraphList::iterators to prevent multiple conversion
1928           (and get a more robust interface)
1929
1930 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1931
1932         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1933         * lyxtext.h: ditto
1934         * text3.C (dispatch): ditto
1935
1936 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1937
1938         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1939         move the onlyfile, use onlyfile instead of foundfile in a couple
1940         of places.
1941
1942         * DepTable.C (update): flush the error stream a bit more
1943
1944 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1945
1946         * lyxserver.C (callback): adjust
1947
1948         * lyxfunc.C (getStatus): add a missing brace in commented code
1949         (ensureBufferClean): reindent
1950         (dispatch): delete version taking a string
1951
1952 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1953
1954         * LaTeX.C (deplog): move found file handlig from here...
1955         (handleFoundFile): .. to new function here.
1956         (deplog): make sure to discover several files mentioned on the
1957         same log line.
1958
1959 2003-10-10  André Pönitz  <poenitz@gmx.net>
1960
1961         * lyxfunc.C:
1962         * lyxtext.h:
1963         * tabular.C:
1964         * text.C:
1965         * text2.C:
1966         * text3.C: fix some of the tabular crashes
1967
1968 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1969
1970         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1971
1972         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1973
1974 2003-10-09  André Pönitz  <poenitz@gmx.net>
1975
1976         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1977
1978         * BufferView.C:
1979         * BufferView_pimpl.C:
1980         * bufferview_funcs.C:
1981         * lyx_cb.C:
1982         * lyxcursor.C:
1983         * lyxfind.C:
1984         * lyxfunc.C:
1985         * lyxtext.h:
1986         * text.C:
1987         * text2.C:
1988         * text3.C:
1989         * text_funcs.[Ch]:
1990         * textcursor.[Ch]:
1991         * undo_funcs.C: adjust
1992
1993 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1994
1995         * text2.C (incrementItemDepth): new function, use a backtracking
1996         algorithm to discover the correct item depth.
1997         (resetEnumCounterIfNeeded): new function, use a backtracking
1998         algorithm to discover if counter reset is needed.
1999         (setCounter): use them. Simplify a bit. Add different labels for
2000         different item depths for itemize.
2001
2002         * paragraph.C (Paragraph): remove initialization of enumdepth
2003         (operator=): ditto
2004
2005         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2006         enumerate and itemize. Change the type of itemdepth to signed char.
2007
2008 2003-10-08  André Pönitz  <poenitz@gmx.net>
2009
2010         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2011           thing assignable.
2012         * text.C:
2013         * text2.C: adjust
2014
2015         * tabular.[Ch]: fix crash after 'row-insert'
2016
2017 2003-10-08  Angus Leeming  <leeming@lyx.org>
2018
2019         Fix doxygen warnings.
2020
2021         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2022         Remove CutAndPaste:: prefix from header file declaration.
2023
2024         * LColor.h (fill): remove LColor:: prefix from declaration.
2025
2026         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2027         use lyx::depth_type rather than Paragraph::depth_type so that
2028         header file and .C file match.
2029
2030         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2031
2032         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2033         * aspell.C: \file aspell_local.C -> \file aspell.C
2034         * gettext.C: \file gettext.C -> \file src/gettext.C
2035         * gettext.h: \file gettext.h -> \file src/gettext.h
2036         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2037         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2038         * text.C: \file text.C -> \file src/text.C
2039
2040         * toc.C: move comment so that doxygen is not confused.
2041
2042 2003-10-07  Angus Leeming  <leeming@lyx.org>
2043
2044         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2045
2046 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2047
2048         * aspell.C:
2049         * aspell_local.h: add forgotten std::string's.
2050
2051 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2052
2053         * LaTeXFeatures.C:
2054         * LyXAction.C:
2055         * factory.C:
2056         * lfuns.h:
2057         * lyxfunc.C:
2058         * text3.C: The Box patch. Fancybox support, minipage, parbox
2059
2060 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2061
2062         * CutAndPaste.h:
2063         * DepTable.h:
2064         * FloatList.h:
2065         * LaTeXFeatures.h:
2066         * ParagraphParameters.h:
2067         * TextCache.h:
2068         * Thesaurus.h:
2069         * bufferlist.h:
2070         * exporter.h:
2071         * importer.h:
2072         * lastfiles.h:
2073         * lyxfind.h:
2074         * lyxfont.h:
2075         * lyxlex.h:
2076         * lyxtextclasslist.h:
2077         * messages.h:
2078         * paragraph.h:
2079         * paragraph_pimpl.C:
2080         * textcursor.h: add <string> and other small fixes to make Lars'
2081         std::string patch compile with STLport.
2082
2083 2003-10-06  Angus Leeming  <leeming@lyx.org>
2084
2085         * LColor.h: Add missing #include <string>.
2086
2087 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2088
2089         * All most all file in all subdirs: Make <string> be the prefered
2090         way of getting to std::string, add using declarations.
2091
2092 2003-10-06  André Pönitz  <poenitz@gmx.net>
2093
2094         * metricsinfo.C: initialize LyXFont before changing attribute.
2095         (fixes the 'math in \emph is upright' bug)
2096
2097 2003-10-06  André Pönitz  <poenitz@gmx.net>
2098
2099         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2100
2101 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2102
2103         * graph.C:
2104         * paragraph_pimpl.C: Small fixes to build using STLport
2105
2106 2003-10-02  André Pönitz  <poenitz@gmx.net>
2107
2108         * lyxfunc.C:
2109         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2110
2111 2003-10-01  André Pönitz  <poenitz@gmx.net>
2112
2113         * factory.C: assert early
2114
2115 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2116
2117         * lyx_main.C: remove the global debug object
2118
2119         * debug.h: adjust for new debugstream
2120
2121         * debug.C: adjust for new debugstream and keep the global debug
2122         object here.
2123
2124 2003-09-22  Angus Leeming  <leeming@lyx.org>
2125
2126         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2127         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2128         an incomplete class LyXFont.
2129
2130 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2131
2132         * factory.C: bug fix in branches
2133
2134 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2135
2136         * lyxfunc.C (processKeySym): adjust
2137         (dispatch): adjust
2138         (dispatch): change arg name from ev to func, adjust
2139         (sendDispatchMessage): ditto
2140
2141         * lyx_main.C (defaultKeyBindings): adjust keybindings
2142         (deadKeyBindings): ditto
2143
2144         * kbsequence.C (addkey): return a FuncRequest
2145
2146         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2147
2148         * kbmap.C (bind): take a FuncRequest as arg, adjust
2149         (read): adjust
2150         (lookup): adjust
2151         (defkey): change to take a FuncRequest as arg, adjust
2152         (findbinding): take a FuncRequest as arg, adjust.
2153
2154         * funcrequest.h (operator=): added
2155
2156         * funcrequest.C (FuncRequest): default kb_action changed from
2157         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2158
2159         * buffer.C (dispatch): simplify
2160         (dispatch): adjust to take a FuncRequest as arg, adjust
2161
2162         * boost.C (assertion_failed): change assertion message slightly
2163
2164         * ToolbarBackend.C (read): simplify
2165
2166         * MenuBackend.C (binding): adjust call to findbinding, add a
2167         message if no binding is found.
2168         (read): simplify
2169         (expandToc): correct by adding a empty FuncRequest
2170
2171         * LyXAction.C: include <boost/assert.hpp>
2172         (isPseudoAction): delete function
2173         (LookupFunc): change name to...
2174         (lookupFunc): this. change return type to FuncRequest.
2175         (getActionName): take kb_action as arg, simplify
2176         (funcHasFlag): add an assert, simplify.
2177
2178 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2179
2180         * toc.C (action): return a FuncRequest, simplify
2181
2182         * lyxfunc.C (processKeySym): adjust
2183         (getStatus): delete version that takes an int.
2184         (getStatus): adjust
2185         (dispatch): delete version that takes action as int
2186         (dispatch): adjust
2187         (sendDispatchMessage): simplify and adjust
2188
2189         * funcrequest.C (getArg): take unsigned int as arg
2190
2191         * ToolbarBackend.C (read): adjust
2192         (add): delete version that takes func as a string.
2193         (getIton): take a FuncRequest as arg
2194
2195         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2196         action.
2197
2198         * MenuBackend.C (MenuItem): add a new construct that only takes a
2199         Kind, simplify the constructor use for submenus.
2200         (add): adjust
2201         (expandLastfiles): adjust
2202         (expandDocuments): adjust
2203         (expandFormats): adjust
2204         (expandFloatListInsert): adjust
2205         (expandFloatInsert): adjust
2206         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2207
2208         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2209         Remove class variables lyx_pseudo_map and lyx_arg_map
2210
2211         * LyXAction.C (searchActionArg): delete function
2212         (getPseudoAction): delete function
2213         (retrieveActionArg): delete function
2214         (LookupFunc): make it return kb_action, simplify.
2215         (getActionName): simplify
2216
2217         * factory.C (createInset): fix new bug
2218
2219 2003-09-19  Angus Leeming  <leeming@lyx.org>
2220
2221         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2222         masterFilename_ parameter in the include inset.
2223
2224         * factory.C (createInset): changes due to the changes to InsetInclude.
2225
2226 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2227
2228         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2229
2230 2003-09-18  Angus Leeming  <leeming@lyx.org>
2231
2232         * buffer.C:
2233         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2234         Inset::fillWithBibKeys.
2235         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2236
2237 2003-09-18  Angus Leeming  <leeming@lyx.org>
2238
2239         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2240         variables.
2241         (ctor): pass and store a 'Buffer const &'
2242         (buffer): new member function.
2243
2244         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2245         '*this' to the LaTeXFeatures ctor.
2246
2247 2003-09-18  Angus Leeming  <leeming@lyx.org>
2248
2249         * LColor.h:
2250         * lyxfont.C:
2251         * lyxfont.h:
2252         * lyxtext.h:
2253         * text.C: rename EnumLColor as LColor_color.
2254
2255 2003-09-18  Angus Leeming  <leeming@lyx.org>
2256
2257         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2258         remove #include "insets/insetbase.h" from cursor.h.
2259
2260 2003-09-18  Angus Leeming  <leeming@lyx.org>
2261
2262         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2263         InsetOld_code to remove #include "inset.h".
2264
2265         * iterators.C: add #include "insets/inset.h"
2266
2267 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2268
2269         * BufferView.C: remove more locking stuff that apparently doesn't
2270         do anything sensible.
2271
2272 2003-09-16  André Pönitz  <poenitz@gmx.net>
2273
2274         * paragraph.[Ch]:
2275         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2276           performance boost.
2277
2278 2003-09-16  Angus Leeming  <leeming@lyx.org>
2279
2280         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2281
2282         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2283         arg/return type.
2284
2285         * paragraph.h: remove #include "lyxfont.h". Forward declare
2286         LyXFont_size.
2287
2288 2003-09-16  Angus Leeming  <leeming@lyx.org>
2289
2290         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2291         of support/textutils.h.
2292         (isWord): move the contents of support/textutils.h's IsWordChar here.
2293
2294         * buffer.C:
2295         * lyxfind.C:
2296         * rowpainter.C:
2297         * text.C:
2298         * text2.C: add #include "paragraph.h".
2299
2300         * rowpainter.C:
2301         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2302
2303 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2304
2305         * main.C:
2306         * lyx_main.C:
2307         * lyx_cb.C:
2308         * buffer.C:
2309         * LaTeX.C: use namespace alias for lyx::support::os
2310
2311 2003-09-16  Angus Leeming  <leeming@lyx.org>
2312
2313         * bufferparams.C:
2314         * bufferview_funcs.C:
2315         * factory.C:
2316         * lyxfunc.C:
2317         * paragraph_pimpl.C:
2318         * rowpainter.C:
2319         * text.C: add #include "LColor.h".
2320
2321 2003-09-16  Angus Leeming  <leeming@lyx.org>
2322
2323         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2324         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2325         return LyXFont &.
2326         Store the FontBits::color variable as an int rather than as an
2327         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2328         file.
2329
2330         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2331         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2332         string calls together.
2333
2334         * lyxrc.C: add #include "LColor.h".
2335
2336 2003-09-15  Angus Leeming  <leeming@lyx.org>
2337
2338         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2339         a cow_ptr.
2340
2341 2003-09-15  Angus Leeming  <leeming@lyx.org>
2342
2343         * LColor.h: add an EnumLColor wrapper for LColor::color.
2344
2345         * lyxfont.[Ch] (color, setColor, realColor):
2346         * lyxtext.h, text.C (backgroundColor):
2347         pass EnumLColor args to/from the functions, rather than LColor::color
2348         ones.
2349
2350         * lyxfont.h:
2351         * lyxtext.h: forward declare EnumLColor.
2352
2353         * lyx_main.C: add #include "LColor.h".
2354
2355 2003-09-15  Angus Leeming  <leeming@lyx.org>
2356
2357         * .cvsignore: add lyx-gtk.
2358
2359 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2360
2361         * Chktex.C
2362         * LaTeX.C
2363         * LaTeXFeatures.C
2364         * ParagraphParameters.C
2365         * Spacing.C
2366         * buffer.C
2367         * bufferparams.C
2368         * bufferview_funcs.C
2369         * chset.C
2370         * counters.C
2371         * funcrequest.C
2372         * lyxfont.C
2373         * lyxgluelength.C
2374         * lyxlength.C
2375         * paragraph.C
2376         * paragraph_funcs.C
2377         * text3.C
2378         * vc-backend.C: remove usage of STRCONV
2379
2380 2003-09-15  Angus Leeming  <leeming@lyx.org>
2381
2382         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2383         explicitly define the color passed to the painter.
2384
2385 2003-09-15  Angus Leeming  <leeming@lyx.org>
2386
2387         * bufferparams.C (BufferParams): reorder member initializers to avoid
2388         compiler warning.
2389
2390 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2391
2392         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2393         * text.C (updateRowPositions): remove an unusual nop
2394
2395 2003-09-12  André Pönitz  <poenitz@gmx.net>
2396
2397         * BufferView_pimpl.C:
2398         * Bullet.C:
2399         * layout.h:
2400         * lyxfunc.C:
2401         * lyxlayout.[Ch]:
2402         * lyxtextclass.C:
2403         * rowpainter.C:
2404         * text.C:
2405         * text2.C:
2406         * Counters.[Ch]: finish the 'automatic counters' job
2407
2408 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2409
2410         * aspell.C: include <boost/assert.cpp> (compile fix)
2411
2412 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2413
2414         * boost.C (assertion_failed): use lyx::support::abort instead of
2415         assert.
2416
2417 2003-09-10  Angus Leeming  <leeming@lyx.org>
2418
2419         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2420         with their _fwd progeny.
2421
2422 2003-09-09  Angus Leeming  <leeming@lyx.org>
2423
2424         134 files throughtout the source tree: replace 'using namespace abc;'
2425         directives with the appropriate 'using abc::xyz;' declarations.
2426
2427 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2428
2429         * boost.C (emergencyCleanup): moved here from LAssert.c
2430         (assertion_failed): new function, called by BOOST_ASSERT
2431
2432         * several files: change Assert to BOOST_ASSERT
2433
2434 2003-09-09  Angus Leeming  <leeming@lyx.org>
2435
2436         * buffer.[Ch]: Add an Impl class and move Buffer's member
2437         variables into it. As a result move several header files out of
2438         buffer.h.
2439
2440         Add header files to lots of .C files all over the tree as a result.
2441
2442 2003-09-09  Angus Leeming  <leeming@lyx.org>
2443
2444         * buffer.[Ch]: make Buffer's member variables private. Add
2445         accessor functions.
2446
2447         Lots of changes all over the tree as a result.
2448
2449 2003-09-08  Angus Leeming  <leeming@lyx.org>
2450
2451         * graph.C: #include <config.h>.
2452
2453 2003-09-08  Angus Leeming  <leeming@lyx.org>
2454
2455         * BranchList.C:
2456         * BufferView.C:
2457         * BufferView_pimpl.C:
2458         * CutAndPaste.C:
2459         * DepTable.C:
2460         * LaTeX.C:
2461         * LaTeXFeatures.C:
2462         * LyXAction.C:
2463         * MenuBackend.C:
2464         * TextCache.C:
2465         * aspell.C:
2466         * buffer.C:
2467         * bufferlist.C:
2468         * changes.C:
2469         * chset.C:
2470         * converter.C:
2471         * counters.C:
2472         * debug.C:
2473         * graph.C:
2474         * ispell.C:
2475         * lyx_cb.C:
2476         * lyxfind.C:
2477         * lyxfunc.C:
2478         * lyxlex_pimpl.C:
2479         * lyxrc.C:
2480         * lyxrow.C:
2481         * paragraph.C:
2482         * rowpainter.C:
2483         * texrow.C:
2484         * text.C:
2485         * text2.C:
2486         * toc.C: remove redundant using directives.
2487
2488 2003-09-07  Angus Leeming  <leeming@lyx.org>
2489
2490         * LaTeXFeatures.h: remove #include "support/types.h".
2491         * ToolbarBackend.h: remove #include <algorithm>.
2492         * changes.h: remove #include <ctime>.
2493         * debug.h: remove #include <iosfwd>.
2494         * graph.h: remove #include "support/std_string.h".
2495         * lyx_main.h: remove #include <csignal>.
2496         * lyxlex_pimpl.h: remove #include <fstream>.
2497         * sgml.h: remove #include <algorithm>, <utility>.
2498         * toc.h: remove #include "support/std_ostream.h".
2499         Add #include <iosfwd>.
2500
2501 2003-09-07  Angus Leeming  <leeming@lyx.org>
2502
2503         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2504
2505         * converter.h: forward declare LatexRunParams.
2506         * encoding.h: remove #include "lyxrc.h".
2507         * lyxtext.h: remove #include "LColor.h".
2508         * lyxtextclass.h: remove #include "support/types.h".
2509         * trans.h: remove #include "tex-accent.h".
2510         * trans_mgr.h: remove #include "tex-accent.h".
2511         * insets/inset.h: remove #include "support/types.h", <vector>.
2512         * insets/insetcollapsable.h: remove #include "LColor.h".
2513         * insets/insetinclude.h: remove #include "dimension.h".
2514         * insets/insetlatexaccent.h: remove #include "dimension.h".
2515         * insets/insetoptarg.h:: remove #include "insettext.h".
2516         * insets/insettext.h: remove #include "dimension.h",
2517         <boost/shared_ptr.hpp>
2518
2519         * insets/renderers.h: add #include "dimension.h".
2520         * insets/updatableinset.h: add #include "support/types.h".
2521
2522         * many .C files: Associated changes.
2523
2524 2003-09-06  Angus Leeming  <leeming@lyx.org>
2525
2526         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2527         one, inside testInvariant.
2528
2529         * PrinterParams.C: new file.
2530         * PrinterParams.[Ch]: move the function bodies out of line.
2531
2532 2003-09-06  Angus Leeming  <leeming@lyx.org>
2533
2534         * ParagraphParameters.h: forward declare ParameterStruct rather than
2535         including its header file.
2536         (depth): moved out-of-line.
2537
2538 2003-09-06  Angus Leeming  <leeming@lyx.org>
2539
2540         * BufferView_pimpl.h:
2541         * kbmap.h:
2542         * kbsequence.h:
2543         * lyxfunc.h: forward declare LyXKeySym rather than
2544         #include "frontends/LyXKeySym.h".
2545
2546         * BufferView_pimpl.C:
2547         * kbmap.C:
2548         * kbsequence.C:
2549         * lyxfunc.C: associated changes.
2550
2551 2003-09-06  Angus Leeming  <leeming@lyx.org>
2552
2553         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2554         As a result, can remove the #include "insets/inset.h" from BufferView.h
2555
2556 2003-09-06  Angus Leeming  <leeming@lyx.org>
2557
2558         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2559         As a result, can remove the #include "insets/inset.h" from BufferView.h
2560
2561 2003-09-06  Angus Leeming  <leeming@lyx.org>
2562
2563         * buffer_funcs.C:
2564         * buffer.h:
2565         * bufferlist.C:
2566         * BufferView.C:
2567         * bufferview_funcs.C:
2568         * BufferView_pimpl.C:
2569         * CutAndPaste.C:
2570         * lyx_cb.C:
2571         * lyxfunc.C:
2572         * paragraph.h:
2573         * ParagraphParameters.C:
2574         * tabular.C:
2575         * text3.C:
2576         * toc.C:
2577         * undo_funcs.C:
2578         * frontends/controllers/ControlDocument.C:
2579         * insets/insetcaption.C: rearrange the #includes into some sort of
2580         coherent order.
2581
2582         * buffer.h: remove #includes ErrorList.h, undo.h
2583
2584 2003-09-06  Angus Leeming  <leeming@lyx.org>
2585
2586         * support/types.h: add a 'depth_type' typedef, used to store the
2587         nesting depth of a paragraph.
2588
2589         * paragraph.h:
2590         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2591         defining explicitly.
2592
2593         * buffer.h:
2594         * paragraph_funcs.h:
2595         * ParagraphParameters.h:
2596         * sgml.h: use lyx::depth_type rather than Paragraph or
2597         ParameterStruct's depth_type.
2598
2599         * buffer.h
2600         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2601
2602         * BufferView.C:
2603         * BufferView_pimpl.C:
2604         * CutAndPaste.C:
2605         * ParagraphParameters.C:
2606         * buffer_funcs.C:
2607         * bufferlist.C:
2608         * bufferview_funcs.C:
2609         * lyx_cb.C:
2610         * lyxfunc.C:
2611         * tabular.C:
2612         * text3.C:
2613         * toc.C:
2614         * undo_funcs.C:
2615         * frontends/LyXView.C:
2616         * frontends/controllers/ControlDocument.C:
2617         * frontends/controllers/ControlErrorList.C:
2618         * insets/insetbibitem.C:
2619         * insets/insetbranch.C:
2620         * insets/insetcaption.C:
2621         * insets/insetcollapsable.C:
2622         * insets/insetenv.C:
2623         * insets/insetert.C:
2624         * insets/insetfloat.C:
2625         * insets/insetfoot.C:
2626         * insets/insetfootlike.C:
2627         * insets/insetnewline.C:
2628         * insets/insetquotes.C:
2629         * insets/insettabular.C:
2630         * insets/insettext.C:
2631         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2632
2633         * frontends/controllers/ControlChanges.C: #include "changes.h".
2634
2635 2003-09-06  Angus Leeming  <leeming@lyx.org>
2636
2637         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2638         than #including paragraph.h.
2639
2640         * ParagraphList.h:
2641         * RowList.h: deleted. Superfluous.
2642
2643         * CutAndPaste.h:
2644         * iterators.h:
2645         * lyxcursor.h:
2646         * lyxtext.h:
2647         * text_funcs.h:
2648         * undo.h:
2649         * undo_funcs.h:
2650         * insets/inset.h:
2651         * insets/insettext.h: use ParagraphList_fwd.h rather than
2652         ParagraphList.h.
2653
2654         * paragraph.h: don't forward declare ParagraphList.
2655
2656         * buffer.h:
2657         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2658         rather than ParagraphList.h. paragraph.h is still needed for the
2659         Paragraph::depth_type parameters.
2660
2661         * textcursor.h: enable it to compile stand-alone in light of the
2662         above changes.
2663
2664         * bufferview_funcs.C:
2665         * iterators.C:
2666         * lyxfunc.C:
2667         * lyxrow_funcs.C:
2668         * paragraph.C:
2669         * rowpainter.C:
2670         * text.C:
2671         * text2.C:
2672         * text3.C:
2673         * text_funcs.C:
2674         * textcursor.C:
2675         * undo.C:
2676         * frontends/controllers/ControlParagraph.C:
2677         * frontends/controllers/ControlTabular.C:
2678         * insets/insetmarginal.C:
2679         * insets/insetminipage.C:
2680         * insets/insetnote.C:
2681         * insets/insetoptarg.C: add header files needed to compile again.
2682
2683 2003-09-06  Angus Leeming  <leeming@lyx.org>
2684
2685         * RowList_fwd.h: new file, forward-declaring Row rather than
2686         #including lyxrow.h.
2687
2688         * lyxrow_funcs.h:
2689         * lyxtext.h:
2690         * paragraph.h:
2691         * insets/insettext.h: use it instead of RowList.h
2692
2693         * bufferview_funcs.C:
2694         * lyxfunc.C:
2695         * lyxrow_funcs.C:
2696         * paragraph.C:
2697         * rowpainter.C:
2698         * text.C:
2699         * text2.C:
2700         * text3.C: #include "RowList.h".
2701
2702 2003-09-05  Angus Leeming  <leeming@lyx.org>
2703
2704         * factory.C (createInset):
2705         * vspace.C (c-tor): replace sscanf call with an istringstream.
2706         * ispell.C: re-add missing HP/UX headers.
2707         * lyxserver.C: re-add missing  os2 headers.
2708
2709 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2710
2711         * BranchList.C:
2712         * graph.C:
2713         * ispell.C:
2714         * lastfiles.C:
2715         * lyx_cb.C:
2716         * lyxserver.C:
2717         * texrow.C:
2718         * text3.C: re-add missing system headers, needed for 2.95.2.
2719
2720 2003-09-05  Angus Leeming  <leeming@lyx.org>
2721
2722         Changes most place everywhere due to the removal of using directives
2723         from support/std_sstream.h.
2724
2725 2003-09-05  Angus Leeming  <leeming@lyx.org>
2726
2727         Replace LString.h with support/std_string.h,
2728         Lsstream.h with support/std_sstream.h,
2729         support/LIstream.h with support/std_istream.h,
2730         support/LOstream.h with support/std_ostream.h.
2731
2732         Changes resulting throughout the tree.
2733
2734 2003-09-05  Angus Leeming  <leeming@lyx.org>
2735
2736         * sgml.h: ensure that the header file can be compiled stand-alone.
2737         * *.C: strip out redundant #includes. (320 in total.)
2738
2739 2003-09-04  Angus Leeming  <leeming@lyx.org>
2740
2741         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2742         here (from getPackages).
2743
2744         * debug.[Ch]: add a new EXTERNAL tag.
2745
2746 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2747
2748         * text2.C (cursorEnd): simplify
2749         (setCursor): adjust
2750         (getColumnNearX): adjust
2751
2752         * text.C (computeBidiTables): adjust
2753         (fill): adjust
2754
2755         * rowpainter.C (paintChars): adjust
2756         (paintSelection): adjust
2757         (paintChangeBar): adjust
2758         (paintText): adjust
2759
2760         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2761         lastPos instead.
2762         (numberOfSeparators): adjust
2763
2764 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2765
2766         * LyXAction.C:
2767         * box.[Ch]:
2768         * lfuns.h:
2769         * lyxfunc.C:
2770         * text3.C: Restricts the mouse click functionality
2771         of insets like bibtex, include, toc and floatlist to the visible
2772         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2773         up the dialogs. Cursor has to be in front of the inset (i.e.
2774         start of row) for this to function.
2775
2776 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2777
2778         * bufferview_funcs.C (currentState): output row information
2779
2780 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2781
2782         * bufferview_funcs.C (currentState): output paragraph position
2783
2784 2003-09-04  Angus Leeming  <leeming@lyx.org>
2785
2786         * FloatList.h: move out #include "Floating.h".
2787         * LaTeX.h: move out #include "DepTable.h".
2788         * LyXAction.h: move out #include "funcrequest.h".
2789         * buffer.h: move out #include "author.h", "iterators.h".
2790         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2791         * lyx_main.h: move out #include "errorlist.h".
2792         * lyxfunc.h: move out #include "FuncStatus.h".
2793         * lyxtext: move out #include "lyxcursor.h".
2794         * paragraph_pimpl.h: move out #include "counters.h".
2795
2796 2003-09-03  Angus Leeming  <leeming@lyx.org>
2797
2798         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2799         preamble_snippets list, enabling us to add snippets to the preamble
2800         only if the snippet was not there already.
2801
2802 2003-09-04  Angus Leeming  <leeming@lyx.org>
2803
2804         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2805
2806 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2807
2808         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2809         update
2810
2811 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2812
2813         * BranchList.C: point fix, earlier forgotten
2814
2815 2003-09-02  Angus Leeming  <leeming@lyx.org>
2816
2817         * box.C (contains): renamed from 'contained' after a fantastic
2818         amount of hot air.
2819
2820 2003-09-02  John Levon  <levon@movementarian.org>
2821
2822         * BufferView.C:
2823         * lyxcursor.h:
2824         * lyxcursor.C:
2825         * lyxfunc.C:
2826         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2827
2828 2003-09-02  John Levon  <levon@movementarian.org>
2829
2830         * text2.C: simplification of cursorEnd(), including partial
2831         fix for bug 1376
2832
2833 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2834
2835         * buffer.C (readFile): add a space
2836
2837 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2838
2839         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2840
2841 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2842
2843         * buffer.C (readFile): new function, take a filename and a
2844         ParagraphList::iterator
2845         (readFile): adjust
2846         (readFile): adjust, make it private. don't use setStream, make
2847         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2848         always contain the filename.
2849
2850         * BufferView.C (insertLyXFile): simplify and make it work for
2851         gzipped files.
2852
2853 2003-08-30  John Levon  <levon@movementarian.org>
2854
2855         * Makefile.am: fix dist (from Kayvan)
2856
2857 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2858
2859         * most files: change to use const Buffer refs
2860
2861 2003-08-27  André Pönitz  <poenitz@gmx.net>
2862
2863         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2864         on top of ownerPar().
2865
2866 2003-08-27  John Levon  <levon@movementarian.org>
2867
2868         * funcrequest.C: properly initialise POD members
2869
2870 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2871
2872         * lyxtext.h (top_y): move top_y from here
2873         * text.C:
2874         * text2.C:
2875         * text3.C:
2876         * BufferView.[Ch]:
2877         * BufferView_pimpl.[Ch]: to here
2878         * frontends/screen.C:
2879         * insets/insettabular.C:
2880         * insets/insettext.C: adjust
2881         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2882
2883 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2884
2885         * BufferView.[Ch]:
2886         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2887
2888 2003-08-26  André Pönitz  <poenitz@gmx.net>
2889
2890         * paragraph_func.[Ch] (outerPar): new function
2891
2892         * paragraph.C:
2893         * paragraph_funcs.C:
2894         * paragraph_funcs.h:
2895         * paragraph_pimpl.C:
2896         * text2.C: remove Inset::par_owner
2897
2898 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2899
2900         * lyxrow_funcs.C:
2901         * lyxtext.h:
2902         * text.C:
2903         * text2.C: eliminates the needFullRow/display() stuff
2904         altogether, putting the logic in metrics/draw in the insets.
2905
2906 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2907
2908         * text2.C (redoParagraphInternal, redoParagraphs):
2909         * text.C (redoParagraph): add a call to updateRowPositions at the
2910         end of each 'metrics-like' call. Remove all others.
2911         (getRow): remove the 'y-computing' version.
2912         (getRowNearY): do not compute nor return the real y. Solve the
2913         'y < 0' problem and simplify.
2914
2915 2003-08-22  Angus Leeming  <leeming@lyx.org>
2916
2917         * *.[Ch]: clean-up of licence and author blurbs.
2918         Also move config.h out of a few .h files and into a few .C files.
2919
2920 2003-08-22  André Pönitz  <poenitz@gmx.net>
2921
2922         * lyxrow.[Ch]: add x_ and *fill_ members
2923
2924         * lyxtext.h:
2925         * text.C:
2926         * rowpainter.C:
2927         * text2.C: adjust/remove prepareToPrint() calls
2928
2929 2003-08-22  André Pönitz  <poenitz@gmx.net>
2930
2931         * lyxrow.[Ch]: add  end_ member
2932
2933         * lyxrow_funcs.C: use LyXRow::end_
2934
2935         * lyxtext.h (singleWidth): add LyXFont parameter
2936
2937         * rowpainter.C:
2938         * text2.C: adjust LyXText::singleWidth() calls
2939
2940         * text.C (redoParagraph): simplify row breaking logic
2941
2942
2943 2003-08-19  André Pönitz  <poenitz@gmx.net>
2944
2945         * funcrequest.C: initialize button_ member
2946
2947         * text3.C:
2948         * rowpainter.[Ch]: interface consolidation
2949
2950 2003-08-18  André Pönitz  <poenitz@gmx.net>
2951
2952         * BufferView.C:
2953         * BufferView_pimpl.C:
2954         * lyxfind.C:
2955         * paragraph_funcs.C:
2956         * rowpainter.C:
2957         * text3.C: remove LyXScreen::draw() and fitCursor calls
2958
2959         * BranchList.h: remove spurious semicolons
2960
2961         * MenuBackend.C: fix branchlist related crash
2962
2963 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2964
2965         * BranchList.[Ch]:
2966         * InsetList.[Ch]:
2967         * LColor.[Ch]:
2968         * LyXAction.C:
2969         * Makefile.am:
2970         * MenuBackend.[Ch]:
2971         * bufferparams.[Ch]:
2972         * factory.C:
2973         * lfuns.h:
2974         * lyxfunc.C:
2975         * text3.C: implements the 'branch inset'
2976         idea. This allows the output of various versions of a document
2977         from a single source version, selectively outputing or suppressing
2978         output of parts of the text.
2979         This implementation contains a 'branch list editor' in a separate
2980         tab of the document settings dialog. Branches are user definable
2981         and have a "display colour" to distinguish them on-screen.
2982
2983         ColorHandler was somewhat cleaned up.
2984         (1) make possible a dynamically growing LColor list by allowing
2985         the graphic context cache to grow along (vector);
2986         (2) eliminate an IMHO unnecessary step in colour allocation.
2987
2988 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2989
2990         * BufferView_pimpl.C: compile fix
2991
2992 2003-08-15  André Pönitz  <poenitz@gmx.net>
2993
2994         * rowpainter.C: remove extra metrics calls
2995
2996         * lyxtext.h: merge the two constructors into a single one,
2997           pass reference to owner's par list
2998
2999         * BufferView_pimpl.C:
3000         * text.C:
3001         * text2.C: adjust
3002
3003 2003-08-15  André Pönitz  <poenitz@gmx.net>
3004
3005         * lyxrow_funcs.[Ch]:
3006         * lyxtext.h:
3007         * paragraph.h:
3008         * paragraph_funcs.C:
3009         * rowpainter.C:
3010         * text.C:
3011         * text2.C:
3012         * text3.C:
3013         * text_funcs.C: split LyXText::rowlist_ into individual
3014         Paragraph::rows_ chunks
3015
3016         * BufferView.[Ch]:
3017         * BufferView_pimpl.[Ch]:
3018         * lyxfind.C:
3019         * lyxtext.h:
3020         * text3.C: remove toggleSelection()
3021
3022 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3023
3024         * bufferlist.C: beautify two alerts (shorter text of buttons)
3025         * buffer.C: Remove redundant ' ' from message
3026         * tabular.h:
3027         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3028         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3029         rename VALIGN_CENTER to VALIGN_MIDDLE
3030
3031 2003-08-11  André Pönitz  <poenitz@gmx.net>
3032
3033         * lyxtext.h (getPar):
3034         * text.C: new function
3035
3036 2003-08-11  André Pönitz  <poenitz@gmx.net>
3037
3038         * Makefile.am:
3039         * tracer.[Ch]: remove unneeded files
3040
3041         * InsetList.[Ch]: remove resizeInsetsLyXText()
3042
3043         * lyxtext.h:
3044         * text.C:
3045         * text2.C:
3046         * text3.C: merge insertParagraphs() and appendParagraph()
3047         remove breakAgain(), update()
3048
3049         * BufferView_pimpl.[Ch]:
3050         * bufferview_funcs.[Ch]:
3051         * lyxfunc.C:
3052         * paragraph.[Ch]:
3053         * rowpainter.C:
3054         * tabular.C: adjust after text & InsetList changes.
3055
3056 2003-08-08  André Pönitz  <poenitz@gmx.net>
3057
3058         * text.C (insertChar, backspace): replace rowlist fiddling
3059         with rebreak of full par
3060
3061         * lyxtext.h:
3062         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3063         checkParagraph, updateInset): removed
3064
3065 2003-08-07  André Pönitz  <poenitz@gmx.net>
3066
3067         * paragraph.C:
3068         * text3.C: merge some LFUN handlers, remove dead code
3069
3070 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3071
3072         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3073
3074 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3075
3076         * text2.C (DEPM): fix part of bug 1255 and 1256
3077
3078 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3079
3080         * BufferView_pimpl.C (workAreaDispatch): change to use
3081         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3082         that are no mouse related.
3083
3084 2003-08-05  André Pönitz  <poenitz@gmx.net>
3085
3086         * BufferView.[Ch]:
3087         * BufferView_pimpl.[Ch]:
3088         * bufferview_funcs.C:
3089         * text2.C:
3090         * text3.C: rip out "deep update"
3091
3092         * textcursor.[Ch] (last_sel_cursor): remove unused member
3093
3094 2003-08-04  André Pönitz  <poenitz@gmx.net>
3095
3096         * BufferView.[Ch]:
3097         * BufferView_pimpl.[Ch]:
3098         * ParagraphParameters.C:
3099         * bufferview_funcs.C:
3100         * lyx_cb.C:
3101         * lyxfind.C:
3102         * lyxfunc.C:
3103         * text.C:
3104         * text2.C:
3105         * text3.C: replace "complicated" BufferView::update(...) calls with
3106         simpler ones.
3107
3108         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3109
3110 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3111
3112         * Makefile.am (lyx_SOURCES): add paper.h
3113
3114 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3115
3116         * Makefile.am: move things around so that both lyx-qt and
3117         lyx-xforms can be built (according to --with-frontend). Then lyx
3118         is a symbolic link to lyx-[firstfrontend]
3119
3120 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3121
3122         * Always use std::endl with lyxerr
3123
3124 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3125
3126         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3127
3128 2003-08-01  André Pönitz  <poenitz@gmx.net>
3129
3130         * BufferView.[Ch]:
3131         * BufferView_pimpl.[Ch]:
3132         * lyxfunc.C:
3133         * text3.C: merge BufferView::repaint() and BufferView::update()
3134
3135 2003-08-01  José Matos  <jamatos@lyx.org>
3136
3137         * buffer.[Ch]: file_format is no longer a buffer data element.
3138
3139 2003-08-01  André Pönitz  <poenitz@gmx.net>
3140
3141         * BufferView.C:
3142         * lyxtext.h:
3143         * text.C:
3144         * text2.C: make redoParagraph more independent of current cursor
3145
3146         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3147         * text.C:
3148         * text2.C: remove unneeded members
3149
3150 2003-07-30  André Pönitz  <poenitz@gmx.net>
3151
3152         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3153
3154         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3155           create a single function...
3156
3157         * paragraph_funcs.C (moveItem): ... here.
3158
3159         * text.C:
3160           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3161
3162 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3163
3164         * LColor.[Ch]: Add comment and greyedout logical colors.
3165
3166 2003-07-30  André Pönitz  <poenitz@gmx.net>
3167
3168         * tabular.C: don't use Assert too heavily. This crashes where it
3169           shouldn't
3170
3171 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3172
3173         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3174         is disabled (bug 1232)
3175
3176 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3177
3178         * factory.C: limited 'arg' scope
3179
3180 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3181
3182         * factory.C: fixed Note submenu issues
3183
3184 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3185
3186         * factory.C: submenu for Note/Comment/Greyedout
3187
3188 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3189
3190         * lyx_main.C (LyX):
3191         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3192
3193 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3194
3195         * LaTeXFeatures.C:
3196         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3197         greyedout. Patch provided by Jürgen Spitzmüller.
3198
3199 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3200
3201         * kbmap.C (read): fix error message when reading bind files
3202
3203 2003-07-29  Angus Leeming  <leeming@lyx.org>
3204
3205         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3206         certainly does not do what it purports to do. I am doing it, and
3207         us, a favour by killing it.
3208
3209 2003-07-28  José Matos  <jamatos@lyx.org>
3210
3211         * buffer.C (readBody, do_writeFile):
3212         * paragraph.C(readParagraph): \end_document replaces \the_end.
3213
3214 2003-07-29  André Pönitz  <poenitz@gmx.net>
3215
3216         * BufferView.[Ch]:
3217         * BufferView_pimpl.[Ch]:
3218         * lyxfunc.C:
3219         * text2.C:
3220         * text3.C:
3221         * textcursor.[Ch]: remove toggleToggle & Co
3222
3223 2003-07-28  José Matos  <jamatos@fep.up.pt>
3224
3225         * buffer.C (readParagraph):
3226         * params_func (readParToken, readParagraph):
3227         * paragraph.C (write): \layout -> \begin_layout.
3228
3229 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3230
3231         * lyxlex_pimpl.C (setFile): clean up slightly.
3232
3233         * bufferparams.h: add compressed var
3234
3235         * buffer_funcs.C (readFile): adjust for LyXLex change
3236         (newFile): ditto + simplify
3237
3238         * buffer.C (writeFile): handle writing of compressed files
3239
3240         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3241         Check if the file is compressed and set a bufferparm if so.
3242
3243         * Makefile.am (lyx_LDADD): remove explicit -lz
3244
3245 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3246
3247         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3248         makeDocBookFile): put the real LyX version in the first line of
3249         the file
3250
3251         * version.h:
3252         * version.C.in: remove lyx_docversion
3253
3254         * tabular.C (write_attribute): add a template-based version to
3255         write enums properly
3256
3257 2003-07-28  André Pönitz  <poenitz@gmx.net>
3258
3259         * lyxtext.h:
3260         * text.C:
3261         * text2.C:
3262         * text3.C: use doubles again for x-coordinates. They are needed.
3263
3264 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3265
3266         * messages.C (getLocaleDir): use lyx_localedir()
3267
3268         * lyxlex_pimpl.C (setFile): compress stuff
3269
3270         * buffer.C (writeFile): add some compression stuff
3271         (do_writeFile): new func, dont call expliti close... will this
3272         breake anything?
3273
3274         * Makefile.am (lyx_LDADD): add -lz
3275
3276 2003-07-28  José Matos  <jamatos@fep.up.pt>
3277
3278         * buffer.C: increment file format.
3279         * paragraph_funcs (readParagraph, readParToken):
3280         * paragraph.C (readParagraph): add \end_layout.
3281
3282 2003-07-27  Angus Leeming  <leeming@lyx.org>
3283
3284         * Makefile.am: remove special casing for configure-time setting of
3285         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3286
3287         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3288         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3289
3290 2003-07-26  André Pönitz  <poenitz@gmx.net>
3291
3292         * paragraph_func.[Ch]:
3293         * paragraph.C (realizeFont): inline it whereever it is used
3294
3295         * rowpainter.C:
3296         * text.C:
3297         * text2.C:
3298         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3299
3300
3301 2003-07-26  André Pönitz  <poenitz@gmx.net>
3302
3303         *       lyxtext.h:
3304         * text.C:
3305         * text2.C: get rid of LyXText::need_break_row
3306
3307 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3308
3309         * toc.[Ch]: put namespace toc inside namespace lyx
3310
3311         * MenuBackend.C (expandToc2): adjust for lyx::toc
3312         (expandToc): ditto
3313
3314         * lyxfunc.C (dispatch): adjust for lyx::find
3315
3316         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3317         lyx::find instead. Reorganize a bit.
3318         (LyXReplace): rename to replace
3319         (LyXFind): rename to find
3320
3321         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3322         (dispatch): ditto
3323
3324 2003-07-26  André Pönitz  <poenitz@gmx.net>
3325
3326         * text.C (setHeightOfRow): restrict scope of temporary variable
3327
3328         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3329           code (never has been used?)
3330
3331 2003-07-27  Asger Alstrup  <alstrup@local>
3332
3333         * text.C (fill): Optimise algorithm to exploit that we can reuse
3334         the LyXFont for many characters.
3335         (setHeightOfRow): Same thing.
3336         (rowBreakPoint): Same thing.
3337
3338 2003-07-26  Asger Alstrup  <alstrup@local>
3339
3340         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3341
3342         * text.C (singleWidth): Spurious font copying in hot-spot
3343         singleWidth avoided. Reorder tests for arabic for efficiency.
3344
3345         * text.C (fill): handle empty paragraphs better.
3346
3347 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3348
3349         * ispell.C:
3350         * encoding.h: add includes
3351
3352         * lyxrc.C: remove reading of bind files
3353
3354         * lyx_main.C (init): setup bindings and menus only if we have a
3355         gui.
3356
3357         * kbmap.C (read): new method. Do the actual reading of bind
3358         files.
3359
3360         * converter.C (dvipdfm_options):
3361         * bufferparams.C:
3362         * lyxrc.C (read):
3363         (output): adapt PAPER_* enums.
3364
3365         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3366
3367         * bufferparams.h: remove paper-related enums from there
3368
3369         * paper.h: New file. A trivial header file to hold paper-related
3370         enums. It should later expand to contain many paper-related
3371         horrors access.
3372
3373         * lyxrc.C: declare extern displayTranslator
3374
3375 2003-07-27  José Matos  <jamatos@fep.up.pt>
3376
3377         * tabular.[Ch] (linuxdoc): add support for tables and figures
3378         (linuxdoc).
3379
3380 2003-07-27  José Matos  <jamatos@fep.up.pt>
3381
3382         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3383         consistency in both functions.
3384         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3385
3386 2003-07-26  Asger Alstrup  <alstrup@local>
3387
3388         * rowpainter.C (paintRows): Change algorithm to work directly on
3389         the insets rather than asking every character in the document
3390         whether its an inset.
3391
3392 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3393
3394         * buffer.C (openFileWrite): factorize some code
3395
3396 2003-07-26  Angus Leeming  <leeming@lyx.org>
3397
3398         * lyx_cb.C:
3399         * lyx_main.[Ch]: replace occurances of system_tempdir with
3400         os::getTmpDir().
3401
3402 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3403
3404         * rename Inset to InsetOld
3405
3406 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3407
3408         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3409         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3410         which I think is a bit clearer. EDIT is gone, since it was
3411         premature optimisation, and broken for mathed anyway.
3412         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3413         with cursor positioning in insets as well (math insets still do not
3414         work, but that's a different story anyway.) It mysteriously
3415         crashes sometimes with undo in the first paragraph, but I'm fairly
3416         confident that this is a compiler bug.
3417
3418 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3419
3420         * paragraph.C (Paragraph): adjust for new clone return type
3421         (operator==): ditto
3422         (copyIntoMinibuffer): ditto
3423
3424 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3425
3426         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3427         by not having a special case, and always doing a full rebreak of
3428         the document after undo.
3429
3430 2003-07-23  Angus Leeming  <leeming@lyx.org>
3431
3432         * factory.C (createInset): InsetExternal::setParams now takes a
3433         Buffer const * arg.
3434
3435 2003-07-23  Angus Leeming  <leeming@lyx.org>
3436
3437         * factory.C (createInset): changed interface to the external and
3438         graphics mailers' string2params functions.
3439
3440 2003-07-23  Angus Leeming  <leeming@lyx.org>
3441
3442         * factory.C (createInset): pass a
3443         Buffer const * parameter to InsetExternalMailer's string2params.
3444
3445 2003-07-22  John Levon  <levon@movementarian.org>
3446
3447         * Thesaurus.h: include the right aiksaurus header
3448
3449 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3450
3451         * MenuBackend.C (expand): check menu shortcuts unconditionally
3452
3453 2003-07-21  Angus Leeming  <leeming@lyx.org>
3454
3455         * factory.C (createInset): pass a
3456         buffer_path parameter to InsetGraphicsMailer's string2params.
3457
3458 2003-07-21  Angus Leeming  <leeming@lyx.org>
3459
3460         * BufferView_pimpl.C (buffer):
3461         * buffer.C (d-tor):
3462         * lyx_main.C (LyX):
3463         * lyxfunc.C (dispatch):
3464         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3465         rather than the grfx shortcut.
3466
3467 2003-07-21  André Pönitz  <poenitz@gmx.net>
3468
3469         * rowpainter.C: remove unused variables
3470
3471         * tabular_funcs.C:
3472         * tabular_funcs.h: move to tabular.C
3473         * Makefile.am: adjust
3474
3475         * tabular.[Ch]: basic optical cleaning
3476
3477         * author.h: pass references, not values
3478
3479 2003-07-18  André Pönitz  <poenitz@gmx.net>
3480
3481         * lyxtext.h:
3482         * metricsinfo.C:
3483         * metricsinfo.h:
3484         * rowpainter.C:
3485         * text.C:
3486         * text2.C:
3487         * text3.C: two-phase drawing for InsetText and InsetTabular
3488         some float -> int changes.
3489
3490 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3491
3492         * lyx_main.C: fix the fix
3493
3494 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3495
3496         * lyx_main.C: fix a crash in batch mode if no files specified
3497         * converter.C: ws
3498
3499 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3500
3501         * format.[Ch] (papersize): moved to BufferParams
3502         * converter.[Ch] (dvips_options): moved to BufferParams
3503         (dvipdfm_options): moved to anon namespace
3504         * bufferparams.[Ch]: added above functions.
3505
3506 2003-07-17  André Pönitz  <poenitz@gmx.net>
3507
3508         * lyxtext.h:
3509         * rowpainter.C:
3510         * text2.C: don't call inset->update() anymore
3511
3512         * metricsinfo.[Ch]: add convenience constructor
3513
3514 2003-07-16  André Pönitz  <poenitz@gmx.net>
3515
3516         * lyxcursor.[Ch]:
3517         * lyxfunc.[Ch]:
3518         * text.C:
3519         * text2.C: replace the LyXCursor::irow_ member with
3520          on-demand computation of the value
3521
3522 2003-07-16  John Levon  <levon@movementarian.org>
3523
3524         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3525
3526 2003-07-15  André Pönitz  <poenitz@gmx.net>
3527
3528         * text.C:
3529         * text2.C: remove no more needed refresh_row
3530
3531 2003-07-15  André Pönitz  <poenitz@gmx.net>
3532
3533         * lyxtext.h:
3534         * rowpainter.C:
3535         * text2.C:
3536         * text3.C: refresh_status tristate -> need_update bool
3537
3538 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3539
3540         * lyxtext.h (init): remove reinit argument (act as if always true)
3541         * text2.C: adjust to that
3542
3543 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3544
3545         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3546         * text3.C: use it to delete selections in some cases
3547         (bugs 441, 673, 702, 954).
3548
3549 2003-07-14  André Pönitz  <poenitz@gmx.net>
3550
3551         * rowpainter.[Ch]: reduce interface
3552
3553 2003-07-14  André Pönitz  <poenitz@gmx.net>
3554
3555         * BufferView_pimpl.C:
3556         * text2.C: adjust after removing unused BufferView * argument
3557
3558 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3559
3560         * text2.C (init): fix a crash fired on resize
3561
3562 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3563
3564         * buffer.[Ch]: added new closing signal
3565         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3566         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3567         BufferView::Pimpl via the closing the signal
3568
3569 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3570
3571         * buffer.[Ch]: take out all bv-related from buffer
3572         * BufferView.C:
3573         * BufferView_pimpl.[Ch]: connect to new signals
3574         * CutAndPaste.C: removed useless asserts
3575         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3576         * lyxvc.[Ch]:
3577         * vc-backend.[Ch]:
3578         * lyxfunc.C: moved view-related funciontality from vc here
3579         * paragraph.C: removed outdated comments
3580         * text.C: ws
3581
3582 2003-07-10  André Pönitz  <poenitz@gmx.net>
3583
3584         * BufferView_pimpl.C:
3585         * tabular.h:
3586         * tabular_funcs.C:
3587         * text.C:
3588         * text2.C: remove InsetText::InnerCache, clean up consequences
3589
3590 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3591
3592         * ispell.C: fix two typos in error messages
3593
3594 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3595
3596         * Extend Note inset to other forms of annotation like Comment
3597         and Greyedout. Right button click gives dialog.
3598
3599         Files modified or added (+):
3600
3601         * insetnote.[Ch]
3602         * FormNote.[Ch]      +
3603         * ControlNote.[Ch]   +
3604         * form_note.fd       +
3605         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3606         frontends/controllers
3607         * xforms/Dialogs.C
3608         * factory.C
3609
3610 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3611
3612         * aspell.C: add missing namespace lyx::support
3613
3614 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3615
3616         * BufferView.[Ch] (newFile): Add
3617         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3618         * LaTeX.[Ch] (message): added this signal and use it
3619         * buffer.[Ch] (busy, message): added these signals and use them
3620         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3621         * converter.C:
3622         * exporter.C:
3623         * format.C:
3624         * importer.C: use buffer signals instead of direct bv calling
3625         * lyx_cb.[Ch] (ShowMessage): removed
3626         * lyx_main.C:
3627         * lyxfunc.C:
3628         * paragraph_funcs.C:
3629         * text2.C: use buffer signals
3630
3631 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3632
3633         * introduce namespace lyx::graphics
3634
3635 2003-07-02  André Pönitz  <poenitz@gmx.net>
3636
3637         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3638
3639 2003-07-01  André Pönitz  <poenitz@gmx.net>
3640
3641         * text.C:
3642         * text2.C:
3643         * text3.C:
3644         * text_funcs.[Ch]:
3645         * textcursor.h:
3646         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3647           text*.C to text_func.C
3648
3649 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3650
3651         * introduce namespace lyx::support
3652
3653 2003-06-30  André Pönitz  <poenitz@gmx.net>
3654
3655         * Chktex.C:
3656         * funcrequest.C:
3657         * lyxtext.h:
3658         * text.C: re-enable --with-included-string
3659
3660 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3661
3662         * textcursor.C: add <config.h>
3663
3664         * text.C (getWord): remove const from word_location arg
3665
3666         * lyxvc.C (getLogFile): fix const type order
3667
3668         * lyxtext.h: remove const from word_location arg, add arg name
3669
3670         * lyxlayout.h: currect type on labeltype.
3671
3672         * importer.C: correct \file
3673
3674         * converter.C (intToFormat): use std:: on ret val, ws changes
3675
3676         * bufferlist.h: correct \file
3677
3678         * buffer.C (makeLinuxDocFile): fix const type order
3679         (makeDocBookFile): ditto
3680         (fillWithBibKeys): use std:: on stdlib args.
3681
3682         * CutAndPaste.C: fix authors.
3683         (availableSelections): use std:: on return vector
3684
3685 2003-06-27  André Pönitz  <poenitz@gmx.net>
3686
3687         * BufferView_pimpl.C:
3688         * bufferview_funcs.C:
3689         * lyxcursor.C:
3690         * lyxcursor.h:
3691         * lyxfunc.C:
3692         * lyxtext.h:
3693         * rowpainter.C:
3694         * text.C:
3695         * text2.C:
3696         * text3.C: remove LyXCursor::row_ member
3697
3698         * lyxtext.h:
3699         * text.C: rename fullRebreak() to partialRebreak() and implement
3700           a fullRebreak() that really bereks fully
3701
3702         * textcursor.h: new struct for cursor-related data
3703
3704 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3705
3706         * lyx_main.C (LyX): get full path of document loaded on the
3707         command line
3708
3709 2003-06-26  André Pönitz  <poenitz@gmx.net>
3710
3711         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3712           remove unused/broken operator>,<,>=.
3713
3714         *       text.C: remove only use of broken operator<= in an Assert().
3715
3716 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3717
3718         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3719         moved errorlist_.clear to showErrorList
3720
3721 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3722
3723         * converter.C (scanLog, runLaTeX):
3724         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3725         move the bv->showErrorList call to the callers
3726         * lyxfunc.C: i.e. here...
3727         * text2.C: and here
3728         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3729         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3730         namespace, the second to...
3731         * buffer_funcs (BufferFormat, parseErrors): added
3732         * errorlist.C (ErrorList(TeXErrors const &)): removed
3733
3734 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3735
3736         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3737
3738 2003-06-24  "Garst R. Reese" <reese@isn.net>
3739
3740         * debug.C: fix typo
3741
3742 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3743
3744         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3745
3746         * version.C.in: change docversion to 1.4
3747
3748 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3749
3750         * buffer.C: fix a bug just introduced
3751
3752 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3753
3754         * buffer.[Ch]: added the parseError signal and use it, removed
3755         sgmlError
3756         * BufferView.[Ch] (addError): moved to ...
3757         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3758         to the Buffer::parseError signal to catch (guess what) parse errors
3759         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3760
3761 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3762
3763         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3764         ability to create a buffer and to return an existing one from
3765         the list. Moved these functions to...
3766         * buffer_funcs.[Ch]: added
3767         * BufferView.[Ch] (loadLyXFile): added
3768         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3769         job removed from bufferlist::loadLyXFile.
3770         * buffer.C (setReadOnly): make it work without view
3771         (i.e added an if (users))
3772
3773 2003-06-19  Angus Leeming  <leeming@lyx.org>
3774
3775         * lfuns.h:
3776         * LyXAction.C (init):
3777         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3778         with LFUN_DIALOG_SHOW <name> <data>.
3779
3780 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3781
3782         * CutAndPaste.C (availableSelections): small compilation fix for
3783         ancient (gcc 2.9x) compilers
3784
3785 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3786
3787         * text3.C (cursorNext): add tmp var
3788
3789         * text2.C (updateCounters): for function calling out of for clause
3790         (replaceSelectionWithString): ditto
3791         (insertStringAsParagraphs): ditto
3792         (getColumnNearX): add tmp var
3793         (setCursorFromCoordinates): add tmp var
3794         (cursorDownParagraph): add tmp var
3795         (deleteEmptyParagraphMechanism): add tmp var
3796
3797         * text.C (insertChar): add tmp var
3798
3799         * rowpainter.C (paintDepthBar): add tmp var
3800
3801         * CutAndPaste.C (availableSelections): potentially check all
3802         paragraphs in a cut to fill the shown strings.
3803
3804 2003-06-18  André Pönitz  <poenitz@gmx.net>
3805
3806         * kbmap.[Ch]: use vector<> instead of list<>
3807
3808 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3809
3810         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3811         pasteSelection with index
3812
3813         * text2.C (pasteSelection): modify, call pasteSelection with index
3814
3815         * paragraph.C (asString): reimplement version with no interval to
3816         call the one with interval.
3817
3818         * lyxtext.h: add index arg to pasteSelection
3819
3820         * MenuBackend.C (MenuItem): handle PasteRecent
3821         (Menu::read::Menutags): add md_pasterecent
3822         (read): handle it
3823         (expandPasteRecent): new function
3824         (expand): use it
3825
3826         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3827
3828         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3829         the limited stack
3830         (availableSelections): new function
3831
3832 2003-06-17  Angus Leeming  <leeming@lyx.org>
3833
3834         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3835
3836 2003-06-17  Angus Leeming  <leeming@lyx.org>
3837
3838         * lfuns.h:
3839         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3840
3841         * lyxfunc.C (dispatch): invoke it.
3842
3843 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3844
3845         * iterators.C (operator++, ParPosition): reintroduce some
3846         const_cast for the benefit of older compilers.
3847
3848 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3849
3850         * text3.C (dispatch): do not modify clipboard when doing
3851         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3852         LFUN_DELETE_SKIP on a selection selection
3853
3854 2003-06-16  André Pönitz  <poenitz@gmx.net>
3855
3856         * BufferView.C:
3857         * buffer.C:
3858         * buffer.h:
3859         * paragraph.C:
3860         * tabular.[Ch]: IU of clone() and getLabelList();
3861
3862 2003-06-13  André Pönitz  <poenitz@gmx.net>
3863
3864         * tabular.h: compactification
3865
3866 2003-06-12  André Pönitz  <poenitz@gmx.net>
3867
3868         * tabular.C:
3869         * tabular.h:
3870         * tabular_funcs.h: some renaming plus whitespace
3871
3872 2003-06-12  André Pönitz  <poenitz@gmx.net>
3873
3874         * BufferView.C:
3875         * BufferView_pimpl.C:
3876         * CutAndPaste.C:
3877         * buffer.C:
3878         * iterators.[Ch]:
3879         * lyxfunc.C:
3880         * text.C:
3881         * toc.C: Return a Paragraph & for ParIterator::operator*()
3882
3883 2003-06-11  John Levon  <levon@movementarian.org>
3884
3885         * lyx_main.C:
3886         * ToolbarBackend.h:
3887         * ToolbarBackend.C: add "Toolbars" section and
3888         put the flags there
3889
3890 2003-06-10  Angus Leeming  <leeming@lyx.org>
3891
3892         * lfuns.h:
3893         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3894
3895         * lyxfunc.C (dispatch): invoke it.
3896
3897 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3898
3899         * main.C: protect <ios> with HAVE_IOS
3900         (main): protect sync_with_stdio with HAVE_IOS
3901
3902 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3903
3904         * text2.C (cutSelection): adjust
3905         (pasteSelection): adjust
3906
3907         * messages.C: handle get of empty string
3908
3909         * main.C (main): use sync_with_stdio(false)
3910
3911         * lyxfunc.C (dispatch): adjust
3912
3913         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3914         (WriteAs): remove unneeded BufferView arg.
3915
3916         * bufferparams.h: use correct types on papersize, papersize2 and
3917         paperpackage.
3918
3919         * bufferparams.C (readToken): adjust for type
3920         (writeLaTeX): add missing cases to switch.
3921
3922         * bufferlist.C (quitWriteBuffer): adjust
3923         (close): adjust
3924
3925         * buffer.C (asciiParagraph): remove some commented code.
3926
3927         * CutAndPaste.C: remove current_view extern variable.
3928         (cutSelection): add BufferParams arg.
3929         (eraseSelection): add BufferParams arg.
3930         (pasteSelection): add Buffer const & arg
3931
3932 2003-06-07  John Levon  <levon@movementarian.org>
3933
3934         * buffer.C:
3935         * paragraph_funcs.C:
3936         * paragraph_pimpl.C:
3937         * text.C:
3938         * text2.C:
3939         * paragraph.h:
3940         * paragraph.C: allow InsetERT to freely space lines,
3941         and some consolidation of code
3942
3943 2003-06-06  José Matos  <jamatos@fep.up.pt>
3944
3945         * buffer.C (makeDocBookFile): fix bug #821
3946
3947 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3948
3949         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3950
3951 2003-06-04  Angus Leeming  <leeming@lyx.org>
3952
3953         * buffer.C: bump format to 224.
3954
3955 2003-06-05  André Pönitz  <poenitz@gmx.net>
3956
3957         * text2.C (redoParagraphs): remove two const_cast<>
3958
3959 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3960
3961         * ParagraphList.h: remove last remnants of NO_STD_LIST
3962
3963 2003-06-03  Angus Leeming  <leeming@lyx.org>
3964
3965         * factory.C (createInset): small change to the way InsetExternal's params
3966         are set.
3967
3968 2003-06-04  André Pönitz  <poenitz@gmx.net>
3969
3970         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3971
3972         * paragraph_pimpl.h:
3973         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3974
3975         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3976
3977         * undo_funcs.C: make some simple cases of undo work again
3978
3979 2003-06-03  John Levon  <levon@movementarian.org>
3980
3981         * ispell.C: HPUX doesn't have sys/select.h
3982         (from Albert Chin)
3983
3984 2003-06-03  John Levon  <levon@movementarian.org>
3985
3986         * CutAndPaste.C: update tabular and include inset
3987         buffer references
3988
3989         * buffer.h:
3990         * paragraph.h:
3991         * paragraph.C: remove owningBuffer(), don't pass Buffer
3992         to clone()
3993
3994         * factory.C: insetGraphicsParams changed
3995
3996 2003-06-02  John Levon  <levon@movementarian.org>
3997
3998         * LyXAction.C:
3999         * factory.C:
4000         * lfuns.h:
4001         * lyxfunc.C:
4002         * text3.C: remove insetparent
4003
4004 2003-06-02  John Levon  <levon@movementarian.org>
4005
4006         * buffer.h:
4007         * buffer.C: fix inset_iterator.end(), move out of line
4008         (bug 1149)
4009
4010 2003-06-01  John Levon  <levon@movementarian.org>
4011
4012         * text3.C: use a proper cut/paste when doing inset
4013         insert (from Jürgen Spitzmüller)
4014
4015 2003-06-01  John Levon  <levon@movementarian.org>
4016
4017         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4018
4019 2003-05-30  André Pönitz  <poenitz@gmx.net>
4020
4021         * rowpainter.C: unify second drawing phase
4022
4023 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4024
4025         * trans_mgr.C: remove one case of current_view
4026
4027         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4028
4029         * paragraph_funcs.h: remove paragraph.h include
4030
4031         * paragraph.h: delete NO_STD_LIST stuff
4032
4033         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4034
4035         * buffer.h: remove paragraph.h include
4036
4037         * ParagraphList.C: delete file
4038
4039         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4040
4041         * toc.C (getTocList): adjust
4042
4043         * paragraph_pimpl.C (validate): adjust
4044
4045         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4046
4047         * paragraph.C (Paragraph): adjust
4048         (getPositionOfInset): use const_iterator, adjust
4049         (bibitem): use const_iterator, adjust
4050         (setInsetOwner): adjust
4051
4052         * iterators.C (operator++): adjust
4053
4054         * InsetList.[Ch]: Replace selfmade iterator with standard
4055         vector::iterator also introduce const_iterator. Remove getPos,
4056         getInset and setInset from InsetTable. Adjust accordingly.
4057
4058         * BufferView.C (lockInset): adjust
4059         (ChangeInsets): adjust
4060
4061         * tabular.[Ch]: delete commented same_id functions
4062
4063 2003-05-28  John Levon  <levon@movementarian.org>
4064
4065         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4066
4067 2003-05-28  André Pönitz  <poenitz@gmx.net>
4068
4069         * metricsinfo.[Ch]: remove 'fullredraw' member
4070
4071 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4072
4073         * lyxtextclass.C (operator): remove caching.
4074
4075 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4076
4077         * text3.C: adjust
4078
4079         * text2.C (cursorBottom): adjust
4080         (setCounter): use ParagraphList::find, adjust
4081
4082         * text.C (workWidth): use ParagraphList::find, adjust
4083
4084         * lyxcursor.C (LyXCursor): adjust
4085
4086         * buffer.C (inset_iterator): adjust
4087
4088         * ParagraphList.h: make iterator(value_type) private, make
4089         ParagraphList a friend of iterator.
4090
4091         * ParagraphList.C (find): new function
4092
4093         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4094
4095 2003-05-27  André Pönitz  <poenitz@gmx.net>
4096
4097         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4098
4099 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4100
4101         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4102
4103 2003-05-26  John Levon  <levon@movementarian.org>
4104
4105         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4106
4107 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4108
4109         * remove same_id from function signatures, adjust.
4110
4111 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4112
4113         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4114
4115         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4116
4117         * paragraph.C (Paragraph): get rid of same_ids parameter
4118
4119         * ParagraphList.C (insert): adjust
4120         (push_back): adjust
4121
4122 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4123
4124         * paragraph_funcs.C (breakParagraph): adjust
4125         (breakParagraphConservative): adjust
4126
4127         * buffer.C (readParagraph): adjust
4128
4129         * ParagraphList.C (insert): take a reference instead of a pointer
4130         (insert): adjust
4131
4132         * paragraph.[Ch] (id): new function
4133
4134         * bufferlist.C (newFile): adjust
4135
4136         * ParagraphList.C (ParagraphList): adjust
4137         (assign): adjust
4138         (push_back): take a reference instead of a pointer.
4139
4140         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4141
4142         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4143         instead.
4144
4145         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4146         set else use old code.
4147
4148         * ParagraphList.C: remove all NO_NEXT code and only compile this
4149         code of NO_STD_LIST is set.
4150
4151 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4152
4153         * BufferView_pimpl.C:
4154         * TextCache.C:
4155         * TextCache.h:
4156         * bufferlist.C:
4157         * errorlist.h:
4158         * format.C:
4159         * format.h:
4160         * graph.C:
4161         * lyxfunc.C:
4162         * lyxrc.C:
4163         * graphics/GraphicsConverter.C:
4164         * graphics/PreviewLoader.C: header adjustment
4165
4166 2003-05-23  Angus Leeming  <leeming@lyx.org>
4167
4168         * LaTeXFeatures.[Ch] (useBabel): new method.
4169         * bufferparams.C (writeLaTeX): use it.
4170
4171 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4172
4173         * ParagraphList.h (set): remove unused function.
4174
4175 2003-05-23  André Pönitz  <poenitz@gmx.net>
4176
4177         * BufferView.C:
4178         * BufferView_pimpl.C:
4179         * buffer.C:
4180         * buffer.h:
4181         * lyxfunc.C:
4182         * undo_funcs.C: setUndo reworked
4183
4184         * iterators.[Ch]: add access to topmost ParagraphList
4185
4186         * lyxtext.[Ch] (workWidth): add a const
4187
4188 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4189
4190         * texrow.[Ch] (increasePos): remove function
4191         * exporter.C (export): removed unused var and outdated comment
4192
4193 2003-05-23  Angus Leeming  <leeming@lyx.org>
4194
4195         * latexrunparams.h: rename fragile as moving_arg.
4196         * paragraph.C (simpleTeXOnePar): ditto.
4197         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4198
4199 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4200
4201         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4202         (createUndo): ditto
4203         (textUndoOrRedo): comment out a currently unused var.
4204
4205         * paragraph.h (NO_NEXT): enable NO_NEXT
4206
4207         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4208
4209         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4210
4211         * exporter.C (Export): adjust for removeAutoInsets removal.
4212
4213         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4214
4215         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4216
4217         * BufferView.[Ch] (removeAutoInsets): delete function
4218
4219 2003-05-22  Angus Leeming  <leeming@lyx.org>
4220
4221         * latexrunparams.h: add a free_spacing variable.
4222
4223         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4224         to pass moving_arg, as the data is stored in runparams.fragile.
4225
4226         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4227         to Inset::latexOptional or to simpleTeXOnePar.
4228
4229         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4230         free_spacing arg to Inset::latexOptional.
4231
4232         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4233         free_spacing arg.
4234
4235 2003-05-22  Angus Leeming  <leeming@lyx.org>
4236
4237         * latexrunparams.h: add fragile and use_babel variables.
4238
4239         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4240         * buffer.C (makeLaTeXFile): store this returned value in
4241         runparams.use_babel, thus passing it to the inset::latex methods.
4242
4243         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4244         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4245
4246         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4247         longer has a fragile arg, as it is stored in runparams.fragile.
4248
4249         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4250         moving_arg parameter as the data is stored in runparams.fragile.
4251
4252         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4253         a fragile parameter as the data is stored in runparams.fragile.
4254
4255 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4256
4257         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4258
4259 2003-05-22  Angus Leeming  <leeming@lyx.org>
4260
4261         * latexrunparams.h: add a 'bool nice' which defaults to false.
4262
4263         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4264         now encapsulated within runparams.
4265
4266         * bufferlist.C (updateIncludedTeXfiles):
4267         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4268
4269 2003-05-22  Angus Leeming  <leeming@lyx.org>
4270
4271         * latexrunparams.h: new file containing struct LatexRunParams.
4272         * Makefile.am: add new file.
4273
4274         * LaTeX.[Ch] (c-tor, run):
4275         * buffer.[Ch] (makeLaTeXFile):
4276         * bufferlist.[Ch] (updateIncludedTeXfiles):
4277         * converter.C (convert, scanLog):
4278         * converter.[Ch] (runLaTeX):
4279         * exporter.C (Export):
4280         * paragraph.[Ch] (simpleTeXOnePar):
4281         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4282         * paragraph_funcs.[Ch] (latexParagraphs):
4283         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4284         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4285         pass around a LatexRunParams parameter.
4286
4287 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4288
4289         * paragraph.[Ch]: remove unused constructor
4290
4291         * ParagraphList.C (erase): new function, taking two iterators
4292
4293 2003-05-22  André Pönitz  <poenitz@gmx.net>
4294
4295         * undo_funcs.C: remove duplicated code
4296
4297         * iterator.[Ch]: operator=
4298
4299 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4300
4301         * tabular.C (SetMultiColumn): ws changes
4302
4303         * rowpainter.C (paintFirst): get rid of a ->previous
4304
4305         * lyx_cb.C (getPossibleLabel): parlist simplification
4306
4307         * BufferView.C (ChangeInsets): simplify slightly.
4308
4309 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4310
4311         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4312         * lfuns.h: new LFUN_SPACE
4313         * lyxfunc.C: protected space has a new lfun
4314         * paragraph_funcs.C: read new space insets
4315         * text3.C:
4316         * factory.C: handle new space insets
4317
4318 2003-05-22  André Pönitz  <poenitz@gmx.net>
4319
4320         * BufferView.C:
4321         * BufferView_pimpl.C:
4322         * buffer.[Ch]:
4323         * lyxfunc.C:
4324         * undo_funcs.C: return a ParIterator from getParFromID.
4325
4326         * iterators.[Ch]: add two const's
4327
4328 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4329
4330         * toc.C (getTocList): adjust
4331
4332         * iterators.[Ch]: rework for parlist
4333
4334         * buffer.C (par_iterator_begin): adjust
4335         (par_iterator_end): adjust
4336
4337         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4338
4339         * BufferView.C (removeAutoInsets): adjust
4340         (ChangeInsets): adjust
4341
4342 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4343
4344         * text.C (top_y): fix bug 1110
4345
4346 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4347
4348         * errorlist.[Ch]: added
4349         * buffer.C:
4350         * BufferView.[Ch]:
4351         * BufferView_pimpl.C:
4352         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4353         instead
4354
4355 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4356
4357         * Makefile.am: ensure that lyx is relinked upon changes to the
4358         various "convenience" libs.
4359
4360 2003-05-20  Angus Leeming  <leeming@lyx.org>
4361
4362         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4363         files are compiled in alphabetical order again.
4364
4365         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4366
4367 2003-05-19  Angus Leeming  <leeming@lyx.org>
4368
4369         * gettext.[Ch]: remove "char const * _(char const *)".
4370
4371 2003-05-19  André Pönitz  <poenitz@gmx.net>
4372
4373         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4374
4375         * Makefile.am:
4376         * BufferView.C:
4377         * DepTable.h:
4378         * LaTeXFeatures.C:
4379         * buffer.C:
4380         * lyxfont.C:
4381         * lyxlex.h:
4382         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4383
4384 2003-05-19  André Pönitz  <poenitz@gmx.net>
4385
4386         * buffer.C:
4387         * lyxlayout.[Ch]:
4388         * lyxtextclass.[Ch]:
4389         * paragraph.C:
4390         * paragraph_funcs.[Ch]:
4391         * text2.C:
4392         * text3.C: more insetenv work
4393
4394 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4395
4396         * ParagraphParameters.C (params2string): small bug fixed
4397
4398 2003-05-16  André Pönitz  <poenitz@gmx.net>
4399
4400         * debug.C:
4401         * bufferview_funcs.C: patch from Kornel Benko to prevent
4402           crash when _(...) is called twice in a statement
4403
4404 2003-05-16  André Pönitz  <poenitz@gmx.net>
4405
4406         * BufferView.C:
4407         * lyxfunc.C:
4408         * text.C:
4409         * text2.C:
4410         * text3.C:
4411         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4412
4413 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4414
4415         * lyx_main.C (init): remove spurious static_cast
4416
4417 2003-05-14  André Pönitz  <poenitz@gmx.net>
4418
4419         * BufferView.C: fix format string
4420
4421 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4422
4423         * BufferView.[Ch] (insertErrors): removed
4424         * BufferView.[Ch] (showErrorList): added
4425         * buffer.C (runChkTeX):
4426         * converter.C (scanLog): call showErrorList instead of inserterrors
4427
4428 2003-05-13  André Pönitz  <poenitz@gmx.net>
4429
4430         * BufferView_pimpl.C:
4431         * buffer.C:
4432         * bufferview_func.C:
4433         * MenuBackend.C:
4434         * lyxfunc.C:
4435         * lyxrc.C:
4436         * tex-accent.C:
4437         * text3.C:
4438         * toc.C:
4439         * tabular_funcs.h: tostr() from its own header
4440
4441         * ParagraphParameters.C:
4442         * ToolbarBackend.C:
4443         * bufferparams.C:
4444         * format.C:
4445         * lyxlex_pimpl.C:
4446         * text3.C: STRCONV()
4447
4448 2003-05-12  André Pönitz  <poenitz@gmx.net>
4449
4450         * BufferView.C:
4451         * BufferView_pimpl.C:
4452         * CutAndPaste.C:
4453         * LaTeX.C:
4454         * LaTeXFeatures.C:
4455         * ParagraphParameters.C:
4456         * buffer.C:
4457         * bufferlist.C:
4458         * bufferparams.C:
4459         * bufferview_funcs.C:
4460         * converter.C:
4461         * counters.C:
4462         * debug.C:
4463         * exporter.C:
4464         * format.C:
4465         * importer.C:
4466         * lyx_cb.C:
4467         * lyx_main.C:
4468         * lyxfont.C:
4469         * lyxfunc.C:
4470         * lyxvc.C:
4471         * paragraph.C:
4472         * paragraph_funcs.C:
4473         * tabular.C:
4474         * tabular_funcs.C:
4475         * text2.C:
4476         * text3.C:  boost::format -> bformat  all over the place
4477
4478
4479 2003-05-09  André Pönitz  <poenitz@gmx.net>
4480
4481         * LColor.[Ch]: Pimpl the #include <map> away
4482
4483 2003-05-09  John Levon  <levon@movementarian.org>
4484
4485         * bufferlist.C: never remove emergency saves
4486
4487 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4488
4489         * Makefile.am: better lib building
4490
4491 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4492
4493         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4494         instead.
4495         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4496         (simpleTeXSpecialChars): adjust
4497         (simpleTeXSpecialChars): adjust
4498         * paragraph.C (simpleTeXOnePar): adjust
4499         * buffer.C (makeLaTeXFile): adjust
4500
4501         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4502
4503         * text2.C (changeDepth): parlist cleanup
4504         (getColumnNearX): ditto
4505
4506         * rowpainter.C (getLabelFont): parlist cleanup
4507
4508         * bufferlist.C (newFile): parlist cleanup
4509
4510         * CutAndPaste.C (eraseSelection): parlist cleanup
4511
4512         * BufferView_pimpl.C (trackChanges): parlist cleanup
4513         (dispatch): ditto
4514
4515         * BufferView.C (lockInset): parlist cleanup.
4516         (ChangeInsets): ditto
4517
4518 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4519
4520         * CutAndPaste.h: Update file header.
4521
4522         * CutAndPaste.C: Update file header.
4523         Store the parts cut out of the Document in a limited_stack.
4524         (copySelection): adjust
4525         (pasteSelection): new function, takes the index in the limited stack.
4526         (nrOfParagraphs): adjust
4527         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4528         simplify error inset insertion.
4529         (checkPastePossible): adjust
4530
4531 2003-05-06  John Levon  <levon@movementarian.org>
4532
4533         * text2.C: don't cast wrap inset to float
4534
4535 2003-05-05  André Pönitz  <poenitz@gmx.net>
4536
4537         * iterator.C:
4538         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4539
4540         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4541           few naked Paragraph *.
4542
4543 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4544
4545         * bufferparams.C: Output warning if a document with missing
4546         TeX document class is loaded
4547         * exporter.C: Disable TeX exports if the document class is missing
4548         * lyxtextclass.C:
4549         * lyxtextclass.h:
4550         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4551         isTeXClassAvailable()
4552
4553 2003-05-03  John Levon  <levon@movementarian.org>
4554
4555         * BufferView.h:
4556         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4557         explicit cursor show/hide
4558
4559         * BufferView_pimpl.h:
4560         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4561         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4562
4563         * lyxfunc.C: hide cursor before dispatching.
4564
4565         * lyx_cb.C:
4566         * lyxfind.C:
4567         * text.C:
4568         * text3.C: remove explicit cursor hides
4569
4570 2003-05-02  André Pönitz  <poenitz@gmx.net>
4571
4572         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4573
4574         * undo_funcs.C:
4575         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4576           linked lists
4577
4578         * text2.C: tiny whitespace
4579
4580 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4581
4582         * undo_funcs.C: almost only ws changes.
4583
4584         * ParagraphList.C (splice): just return if pl is empty.
4585
4586 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4587
4588         * ParagraphList.C (splice): new function.
4589
4590         * CutAndPaste.C (pasteSelection): use it
4591
4592 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4593
4594         * CutAndPaste.C (pasteSelection): remove the last next and
4595         previous from this file.
4596
4597 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4598
4599         * CutAndPaste.C (pasteSelection): more clean up, user proper
4600         ParagraphList functions for pasteing.
4601
4602         * ParagraphList.C (insert): new function, three arg insert
4603
4604 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4605
4606         * ParagraphList.C (insert): new function, three arg insert
4607
4608         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4609         not on paragraphs.
4610
4611 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4612
4613         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4614
4615 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4616
4617         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4618
4619 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4620
4621         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4622         (copySelection): clean up a bit.
4623         (pasteSelection): use make_pair
4624
4625         * ParagraphList.C (ParagraphList): implement copy constructor
4626         (operator=): implement, base on copy constructor.
4627         (assign): new func
4628
4629         * paragraph.C (erase): return a bool
4630
4631         * paragraph_pimpl.C (erasePos): remove function, move contents...
4632         (erase): ... here. Return a bool.
4633         (erase): call erase instead of erasePos.
4634
4635 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4636
4637         * ParagraphList.h: define PitPosPair
4638         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4639         ParagraphList, fix a bug on pasting multiple pars
4640         * text2.C: change interface to C&P
4641
4642 2003-04-30  André Pönitz  <poenitz@gmx.net>
4643
4644         * undo_func.C: revert part of yesterday's patch 2
4645
4646 2003-04-30  John Levon  <levon@movementarian.org>
4647
4648         * LColor.C: s/tabular/table/
4649
4650 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4651
4652         * text3.C (dispatch): do not convert iterator -> pointer
4653         * undo_funcs.C (setCursorParUndo): ditto
4654         * text_funcs.C (transposeChars): ditto
4655
4656         * text2.C (setLayout): ws changes only
4657
4658         * text.C (breakParagraph): do not convert iterator -> pointer
4659         (insertChar): ditto
4660         (acceptChange): ditto
4661         (rejectChange): ditto
4662         (changeCase): ditto
4663         (Delete): ditto
4664         (backspace): ditto
4665
4666         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4667         pointer
4668
4669 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4670
4671         * text3.C (gotoInset): YABG (yet another bad getChar)
4672
4673 2003-04-29  André Pönitz  <poenitz@gmx.net>
4674
4675         * paragraph.h: make operator= private unimplemented as long as
4676           it is unusable
4677
4678         * ParagraphList.C: whitespace
4679
4680         * paragraph.[Ch]:
4681         * paragraph_pimpl.[Ch]:
4682         * paragraph_funcs.C:
4683         * CutAndPaste.C:
4684         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4685
4686         * text2.C:
4687           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4688
4689 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4690
4691         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4692         * paragraph.[Ch] (erase):
4693         * paragraph_pimpl.[Ch] (erase): change return type and value
4694         * text2.C (cutSelection): some rework
4695
4696 2003-04-28  John Levon  <levon@movementarian.org>
4697
4698         * bufferlist.C: changes for unsaved changes dialog
4699
4700 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4701
4702         * bufferlist.C (newFile): set language (messages_) for new
4703         documents also.
4704
4705         * buffer.C (readFile): ws changes only.
4706
4707 2003-04-28  André Pönitz  <poenitz@gmx.net>
4708
4709         * undo_funcs.C:
4710         * lyxfunc.C:
4711         * buffer.[Ch]:
4712         * BufferView_pimpl.C:
4713         * BufferView.C: getParFromID related ParagraphList::iterator changes
4714
4715 2003-04-28  André Pönitz  <poenitz@gmx.net>
4716
4717         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4718           Changes
4719
4720 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4721
4722         * messages.C: remove one more localedir class variable.
4723
4724 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4725
4726         * messages.C (getLocaleDir): singleton generation function
4727         (Pimpl): use it.
4728         (Messages): add a default constructor.
4729
4730         * main.C (main): do not setup localedir here, do not call
4731         gettext_init.
4732
4733         * gettext.C (_): use it.
4734         (gettext_init): delete funciton
4735
4736 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4737
4738         * gettext.C (getLyXMessages): new singleton generating function.
4739
4740         * buffer.C (updateDocLang): adjust
4741
4742         * Makefile.am (messages.o): add target
4743         (main.o): remove target
4744
4745 2003-04-27  John Levon  <levon@movementarian.org>
4746
4747         * bufferlist.C:
4748         * lyx_cb.C:
4749         * lyxfunc.C:
4750         * lyxvc.C: specify cancel button in Alert::prompt
4751
4752 2003-04-26  John Levon  <levon@movementarian.org>
4753
4754         * text3.C:
4755         * lyxfunc.C:
4756         * lfuns.h:
4757         * LyXAction.C: add LFUN_INSET_SETTINGS
4758
4759         * lyxfunc.C: don't enable tabular-feature when there's
4760         just any locking inset
4761
4762 2003-04-26  John Levon  <levon@movementarian.org>
4763
4764         * bufferlist.C: re-add Cancel to buffer close question
4765
4766         * lyxfunc.C: fix import UI a bit
4767
4768 2003-04-25  John Levon  <levon@movementarian.org>
4769
4770         * gettext.C: remove the broken asserts for now
4771
4772 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4773
4774         * messages.C: make case where setlocale cannot comply work better.
4775
4776         * buffer.C (updateDocLang): new function
4777         (changeLanguage): use it
4778         (readFile): use it
4779
4780         * text2.C (setCounter): use B_ a bit.
4781
4782         * lyxlayout.C (Read): be sure to trim the label strings.
4783
4784         * messages.C (Messages): fix typo in comment
4785
4786         * buffer.C (readFile): set message_ after file is loaded.
4787         (makeDocBookFile): remove double return
4788         (changeLanguage): reset message_ upon language change.
4789         (B_): new func, use this to get translated buffer strings.
4790
4791         * main.C: add myself and Jean Marc as authors.
4792
4793 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4794
4795         * messages.[hC]: pimplify Messages, and three different pimpls to be
4796         used in different circumstances.
4797
4798         * gettext.[Ch]: change for use with new message code.
4799
4800 2003-04-24 André Pönitz <poenitz@gmx.net>
4801
4802         * factory.C: support for eqref
4803
4804 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4805
4806         * messages.[Ch]: add missing char
4807
4808         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4809
4810         * messages.[Ch]: New files
4811
4812 2003-04-18  John Levon  <levon@movementarian.org>
4813
4814         * BufferView.h:
4815         * BufferView.C:
4816         * BufferView_pimpl.C:
4817         * lfuns.h:
4818         * LyXAction.C:
4819         * lyxtext.h:
4820         * text2.C: remove layout-copy/paste (bug 778)
4821
4822 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4823
4824         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4825
4826 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4827
4828         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4829         if they succeed. Act accordingly.
4830
4831 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4832
4833         * text2.C (setCharFont): adjust
4834         (setCounter): adjust
4835         (insertStringAsLines): adjust
4836
4837         * text.C (leftMargin): adjust
4838         (setHeightOfRow): adjust
4839
4840         * rowpainter.C (paintFirst): adjust
4841         (paintLast): adjust
4842
4843         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4844         (outerHook): ditto
4845         (isFirstInSequence): ditto
4846         (getEndLabel): ditto
4847         (outerFont): adjust
4848
4849         * paragraph.C (getParLanguage): comment out some hard stuff.
4850
4851         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4852         (sgmlError): ditto
4853         (simpleDocBookOnePar): ditto
4854         (makeDocBookFile): use ParagraphList::iterator
4855
4856         * CutAndPaste.C (pasteSelection): adjust
4857
4858 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4859
4860         * text2.C (getFont): adjust
4861         (getLayoutFont): adjust
4862         (getLabelFont): adjust
4863
4864         * paragraph_funcs.C (TeXOnePar): adjust
4865
4866         * buffer.C (simpleLinuxDocOnePar): adjust
4867         (simpleDocBookOnePar): adjust
4868
4869         * CutAndPaste.C (pasteSelection): adjust
4870
4871         * BufferView.C (getEncoding): adjust
4872
4873         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4874
4875 2003-04-16  John Levon  <levon@movementarian.org>
4876
4877         * lyxfind.C: use parlist stuff for search/changes
4878
4879 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4880
4881         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4882
4883         * text2.C (deleteEmptyParagraphMechanism): adjust
4884
4885         * text2.[Ch] (ownerParagraph): delete func (both of them
4886
4887 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4888
4889         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4890
4891 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4892
4893         * ParagraphList.C: prepare for NO_NEXT
4894
4895 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4896
4897         * text2.C (getFont): adjust
4898         (getLayoutFont): adjust
4899         (getLabelFont): adjust
4900
4901         * paragraph.C (getFont): adjust
4902         (getLabelFont): adjust
4903         (getLayoutFont): adjust
4904
4905         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4906
4907 2003-04-15  John Levon  <levon@movementarian.org>
4908
4909         From Angus Leeming
4910
4911         * lyx_main.C: handle Include in .ui files
4912
4913 2003-04-15  John Levon  <levon@movementarian.org>
4914
4915         * MenuBackend.C: make the doc files length shorter
4916
4917         * ToolbarBackend.h:
4918         * ToolbarBackend.C: handle toolbar placement flags,
4919         Minibuffer
4920
4921 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4922
4923         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4924         adjust
4925
4926         * paragraph_funcs.C (TeXOnePar): adjust
4927
4928         * paragraph.C (getLabelFont): add outerfont arg, adjust
4929         (getLayoutFont): ditto
4930         (simpleTeXOnePar): adjust
4931
4932         * paragraph_pimpl.C (realizeFont): delete func
4933
4934 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4935
4936         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4937         row argument, constify cur argument.
4938
4939 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4940
4941         * text2.C (getFont): adjust
4942         (getLayoutFont): adjust
4943         (getLabelFont): adjust
4944
4945         * paragraph_funcs.C (TeXOnePar): adjust
4946         (outerFont): new func...
4947         (realizeFont): ...moved out from here, changed this to facilitate
4948         transition
4949
4950         * paragraph.C (getFont): take outerfont as arg, adjust
4951         (simpleTeXOnePar): add outerfont arg, adjust
4952
4953         * buffer.C (simpleLinuxDocOnePar): adjust
4954         (simpleDocBookOnePar): adjust
4955
4956         * CutAndPaste.C (pasteSelection): adjust
4957
4958         * BufferView.C (getEncoding): adjust
4959
4960 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4961
4962         * text2.C (setCharFont): adjust
4963         (setCounter): adjust
4964
4965         * text.C (leftMargin): adjust
4966         (setHeightOfRow): adjust
4967
4968         * rowpainter.C (paintFirst): adjust
4969         (paintLast): adjust
4970
4971         * paragraph_pimpl.C (realizeFont): adjust
4972
4973         * paragraph.C (isFirstInSequence): move from here...
4974         * paragraph_funcs.C (isFirstInSequence): ...to here
4975
4976         * paragraph.C (outerHook): move from here...
4977         * paragraph_funcs.C (outerHook): ...to here
4978
4979         * paragraph.C (depthHook): move from here...
4980         * paragraph_funcs.C (depthHook): ...to here
4981
4982         * paragraph.C (getEndLabel): move from here...
4983         * paragraph_funcs.C (getEndLabel): ...to here
4984
4985         * text2.C (realizeFont): move from here...
4986         * paragraph_funcs.C (realizeFont): ...to here
4987
4988 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4989
4990         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4991
4992 2003-04-14  Angus Leeming  <leeming@lyx.org>
4993
4994         * LColor.[Ch]: scrap LColor mathcursor.
4995
4996 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4997
4998         * lyxlex.[Ch] (text): delete function
4999         * trans.C (Load): adjust
5000         * paragraph_funcs.C (readParToken): adjust
5001
5002 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5003
5004         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5005         vector<char> instead of a char[].
5006
5007         * lyxlex_pimpl.C (getString): adjust
5008         (next): adjust
5009         (lex): use getString
5010         (eatLine): adjust
5011         (nextToken): adjust
5012
5013         * lyxlex.C (text): use pimpl_->getString()
5014         (getBool): ditto
5015         (findToken): ditto
5016
5017 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5018
5019         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5020         (makeFontEntriesLayoutSpecific): temp var for par.size()
5021         (setLayout): temp var for ownerParagraphs().end()
5022         (fullRebreak): temp var for rows().end()
5023         (selectionAsString): temp var for boost::next(startpit), realize
5024         that the while really is a regular for loop.
5025         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5026         setCursor in one place.
5027         (setParagraph): temp vr for ownerParagraphs().end()
5028         (updateCounters): make the while loop a for loop
5029         (cutSelection): temp var for ownerParagraphs().end()
5030         (updateInset): make the do {} while() a regular for loop
5031         (getCursorX): use temp vars
5032         (setCurrentFont): use temp vars
5033         (getColumnNearX): use temp vars
5034
5035 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5036
5037         * text.C (transformChar): use temp var for getChar
5038         (computeBidiTables): use temp var for row->par()
5039         (fill): move temp vars for row->par() and pit->layout() earlier in
5040         the function.
5041         (labelFill): use temp var for row->par()
5042         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5043         asc and desc, realize that pit never changes and that firstpit is
5044         just a duplicate and not needed. Exchange rit->par() with pit in a
5045         lot of places.
5046         (breakAgain): use a temp var for boost::next(rit)
5047         (breakAgainOneRow): ditto
5048         (breakParagraph): use a temp var for rows().begin()
5049         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5050         (cursorRightOneWord): use temp var for cursor.par() and
5051         cursor.pos(), remove usage of tmpcursor.
5052         (cursorLeftOneWord): use temp var for cursor.par() and
5053         cursor.pos() only set cur at end of function.
5054
5055 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5056
5057         * text.C, text2.C: exchange all usage of Paragraph::next with
5058         boost::next(ParagraphList::iterator)
5059
5060         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5061
5062         * text2.C (cursorTop): simplify implementation
5063         (cursorBottom): ditto
5064         (setParagraph): use ParagraphList::iterator
5065         (setCurrentFont): adjust
5066         (getColumnNearX): adjust
5067         (cursorRight): adjust
5068         (cursorLeft): remove usage of Paragraph::previous
5069         (cursorUpParagraph): ditto
5070         (deleteEmptyParagraphMechanism): slight cleanup
5071
5072         * text.C (isBoundary): take a Paragraph const & instead of a
5073         pointer as arg.
5074         (addressBreakPoint): ditto
5075         (leftMargin): remove usage of Paragraph::previous.
5076         (setHeightOfRow): ditto
5077         (cursorLeftOneWord): ditto
5078         (selectNextWordToSpellcheck): ditto
5079         (Delete): ditto
5080         (backspace): ditto
5081         (breakParagraph): remove one usage of Paragraph::next
5082         (redoParagraph): ditto
5083         (acceptChange): ditto
5084         (insertChar): adjust
5085         (rowBreakPoint): adjust
5086
5087         * bufferview_funcs.C (toggleAndShow): adjust
5088
5089 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5090
5091         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5092         methods to access it.
5093         * lyxtext.h:
5094         * text.C: Added updateRowPositions to compute all row positions.
5095         Make top_y and getRowNearY() to use the cached y position
5096
5097 2003-04-11  John Levon  <levon@movementarian.org>
5098
5099         * text.C (rowBreakPoint): reintroduce the labelEnd
5100         checks, code copied from the row fill stuff. Deep voodoo.
5101
5102         * text.C (fill): add a comment and debugging for the
5103         next poor soul.
5104
5105 2003-04-11  John Levon  <levon@movementarian.org>
5106
5107         * text.C: make sure fullrow insets get wrapped to the next line,
5108         even when they're in a manual label
5109
5110 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5111
5112         * text2.C (insertParagraph): make it take ParagraphList::iterator
5113         as arg.
5114         (setLayout): make it return ParagraphList::iterator
5115         (redoParagraphs): ditto
5116         (setCounter): ditto
5117         (checkParagraph): ditto
5118
5119         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5120
5121         * text2.C: adjust several funcs.
5122         (realizeFont): take a ParagraphList::iterator as arg.
5123         (getLayoutFont): ditto
5124         (getLabelFont): ditto
5125         (setCharFont): ditto
5126
5127         * text.C: adjust several funcs.
5128
5129 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5130
5131         * text.C (selectNextWordToSpellcheck): don't accidentally
5132         skip insets
5133
5134 2003-04-10  John Levon  <levon@movementarian.org>
5135
5136         * ToolbarBackend.C (getIcon): special handling for
5137         LFUN_MATH_DELIM
5138
5139 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5140
5141         * text2.C (cursorRight): a getChar assert fixed
5142
5143 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5144
5145         * text2.C (getFont): change to take a ParagraphList::iterator
5146         instead of Paragraph*
5147         Adjust several functions.
5148
5149         * text.C (transformChar): change to take a ParagraphList::iterator
5150         instead of Paragraph*
5151         (singleWidth): ditto
5152         Adjust several functions.
5153
5154         * rowpainter.C: adjust several functions
5155         * rowpainter.h:store a ParagraphList::iterator and not a
5156         Paragraph&.
5157
5158
5159 2003-04-09  John Levon  <levon@movementarian.org>
5160
5161         * lyxfunc.C:
5162         * lfuns.h:
5163         * LyXAction.h:
5164         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5165         and the "help" bits as well
5166
5167 2003-04-09  John Levon  <levon@movementarian.org>
5168
5169         * ToolbarBackend.h:
5170         * ToolbarBackend.C: allow multiple toolbars
5171
5172 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5173
5174         * undo_funcs.C (setCursorParUndo): adjust
5175
5176         * text_funcs.C (transposeChars): adjust
5177
5178         * text3.C (gotoNextInset): adjust
5179         (dispatch): adjust
5180
5181         * text2.C (setLayout): adjust
5182         (changeDepth): adjust
5183         (setFont): adjust
5184         (redoParagraphs): adjust
5185         (selectionAsString): adjust
5186         (setParagraph): adjust
5187         (insertInset): adjust
5188         (cutSelection): adjust
5189         (copySelection): adjust
5190         (pasteSelection): adjust
5191         (insertStringAsLines): adjust
5192         (updateInset): adjust
5193         (setCursor): change to take a ParagraphList::iterator parameter
5194         (setCursorIntern): change to take a ParagraphList::iterator parameter
5195         (setCurrentFont): adjust
5196         (cursorLeft): adjust
5197         (cursorRight): adjust
5198         (deleteEmptyParagraphMechanism): adjust
5199
5200         * text.C (breakParagraph): adjust
5201         (insertChar): adjust
5202         (acceptChange): adjust
5203         (rejectChange): adjust
5204         (selectNextWordToSpellcheck): adjust
5205         (changeCase): adjust
5206         (Delete): adjust
5207         (backspace): adjust
5208
5209         * lyxfind.C (SearchForward): adjust
5210         (SearchBackward): adjust
5211         (nextChange): adjust
5212
5213         * lyxcursor.C (par): adjust
5214
5215         * lyxcursor.h: store a ParagraphList::iterator instead of a
5216         Paragraph*
5217
5218         * lyx_cb.C (getPossibleLabel): adjust
5219
5220         * bufferview_funcs.C (toggleAndShow): adjust
5221
5222         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5223         (dispatch): adjust
5224
5225         * BufferView.C (removeAutoInsets): adjust
5226         (lockedInsetStoreUndo): adjust
5227
5228 2003-04-09  John Levon  <levon@movementarian.org>
5229
5230         * ToolbarBackend.C: try icon without argument
5231         if with argument fails
5232
5233 2003-04-08  John Levon  <levon@movementarian.org>
5234
5235         * ToolbarBackend.h:
5236         * ToolbarBackend.C: add getIcon(), handle tooltip,
5237         and change from "Icon" to "Item".
5238
5239 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5240
5241         * BufferView.C (lockInset): another bad getchar crunched
5242
5243 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5244
5245         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5246         again)
5247
5248 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5249
5250         * lyxfind.C (searchForward, searchBackwards): bug 782
5251
5252 2003-04-07  John Levon  <levon@movementarian.org>
5253
5254         * paragraph.C: remove dead comment
5255
5256         * text.C: remove troublesome depth-fiddling code
5257         in leftMargin() and rightMargin() (bug 1017)
5258
5259         * text.C: fix breaking of rows in nested lists
5260         (bug 1004)
5261
5262         * text2.C (updateCounters): fix up depth values
5263         (bug 1013)
5264
5265 2003-04-07  John Levon  <levon@movementarian.org>
5266
5267         * BufferView_pimpl.C: clear message when doc finishes resizing,
5268         and after a mouse event
5269
5270         * lyxfunc.C: clear message after exiting inset
5271
5272 2003-04-07  John Levon  <levon@movementarian.org>
5273
5274         * bufferview_funcs.C: show math status not outside
5275         status in the statusbar
5276
5277 2003-04-07  John Levon  <levon@movementarian.org>
5278
5279         * lyxfunc.C: note status changed after a depth change
5280
5281 2003-04-04  Angus Leeming  <leeming@lyx.org>
5282
5283         * LaTeX.h: move AuxInfo operator==, != out of line.
5284         Remove LaTeX virtual destructor; nothing derives from it.
5285         Move operator()() out of public area and rename it startscript().
5286         Change protected for private.
5287
5288 2003-04-04  Angus Leeming  <leeming@lyx.org>
5289
5290         * lyxfunc.C:
5291         * text2.C: remove unneeded #includes.
5292
5293 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5294
5295         * text2.C (dEPM): fix the heigth of the next row
5296
5297 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5298
5299         * text.C: squashed an invalid getChar requester + some ws changes
5300
5301 2003-04-03  John Levon  <levon@movementarian.org>
5302
5303         * bufferview_funcs.h:
5304         * bufferview_funcs.C:
5305         * lyxfunc.C:
5306         * lyxtext.h:
5307         * text2.C: make getStatus work for the env depth lfuns
5308
5309 2003-04-03  John Levon  <levon@movementarian.org>
5310
5311         * bufferview_funcs.h:
5312         * bufferview_funcs.C:
5313         * lyxfunc.C:
5314         * lyxtext.h:
5315         * text2.C: parlistize decDepth(), by merging it with incDepth()
5316
5317 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5318
5319         * lyxrow.h: store a ParagraphList::iterator instead of a
5320         Paragraph* and adjust other class functions to suit.
5321
5322         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5323         above.
5324
5325 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5326
5327         * text2.C (setCursor): do not anchor to cursor row for the time being
5328
5329 2003-04-02  John Levon  <levon@movementarian.org>
5330
5331         * LyXAction.C:
5332         * lfuns.h:
5333         * lyx_main.C:
5334         * lyxtext.h:
5335         * text.C:
5336         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5337
5338 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5339
5340         * paragraph.h: make ParagraphList and ParagraphList::iterator
5341         friends of Paragraph.
5342
5343         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5344
5345         * ParagraphList.C: Use the private next_ and previous_ from
5346         Paragraph.
5347
5348 2003-04-01  John Levon  <levon@movementarian.org>
5349
5350         * ToolbarBackend.h:
5351         * ToolbarBackend.C:
5352         * Makefile.am: rename, remove defaults gunk
5353
5354         * MenuBackend.h:
5355         * MenuBackend.C: remove defaults gunk
5356
5357         * Languages.h:
5358         * Languages.C: remove defaults gunk
5359
5360         * lyx_main.h:
5361         * lyx_main.C: error out if files couldn't be found.
5362
5363 2003-04-02  John Levon  <levon@movementarian.org>
5364
5365         * text2.C: make incDepth() use parlist
5366
5367 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5368
5369         * undo_funcs.C (firstUndoParagraph): adjust
5370
5371         * text3.C (gotoInset): adjust
5372         (dispatch): adjust, and rewrite loop.
5373
5374         * text2.C (init): adjust, and rewrite loop.
5375         (redoParagraphs): adjust
5376         (updateInset): adjust, and rewrite loop.
5377         (deleteEmptyParagraphMechanism): adjust
5378
5379         * tabular.C (LyXTabular): adjust
5380         (SetMultiColumn): adjust
5381         (TeXRow): adjust
5382
5383         * lyxtext.[Ch] (ownerParagraph): delete function
5384         (ownerParagraphs): new function returns a ParagraphList.
5385
5386         * BufferView.C (removeAutoInsets): adjust
5387         (insertErrors): adjust
5388         (setCursorFromRow): adjust
5389
5390 2003-04-01  Angus Leeming  <leeming@lyx.org>
5391
5392         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5393         in the frontends.
5394
5395 2003-04-02  John Levon  <levon@movementarian.org>
5396
5397         * lyxtext.h:
5398         * text.C:
5399         * Makefile.am:
5400         * text_funcs.h:
5401         * text_funcs.C: make transposeChars a free function
5402
5403         * lyxrow_funcs.C: remove wrong comment
5404
5405 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5406
5407         * lyxtext.h: adjust
5408         * rowpainter.C: adjust
5409         * text.C: adjust
5410         * text2.C: adjust
5411         * text3.C: adjust
5412
5413         * lyxrow_funcs. [Ch]: new files
5414
5415         * lyxrow.[Ch]: remove next and previous pointers
5416         (next,previous): remove accessor functions
5417         (isParEnd): move to lyxrow_funcs
5418         (lastPos): move to lyxrow_funcs
5419         (nextRowIsAllInset): move to lyxrow_funcs
5420         (lastPrintablePos): move to lyxrow_funcs
5421         (numberOfSeparators): move to lyxrow_funcs
5422         (numberOfHfills): move to lyxrow_funcs
5423         (numberOfLabelHfills): move to lyxrow_funcs
5424         (hfillExpansion): move to lyxrow_funcs
5425
5426         * lyxfunc.C: adjust
5427
5428         * bufferview_funcs.C (toggleAndShow): adjust
5429
5430         * RowList.h: Remove class RowList from file leave just a
5431         std::list<Row>.
5432
5433         * RowList.C: delete file
5434
5435         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5436         and lyxrow_funcs.h
5437
5438 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5439
5440         * text3.C (cursorPrevious): adjust
5441         (cursorNext): adjust
5442         (dispatch): adjust
5443
5444         * text2.C (redoHeightOfParagraph): adjust
5445         (redoDrawingOfParagraph): adjust
5446         (setCursor): adjust
5447
5448         * text.C (breakParagraph): adjust
5449         (insertChar): adjust
5450         (backspace): adjust
5451
5452         * rowpainter.C (RowPainter): adjust
5453         (leftMargin): simplify and adjust
5454         (most rowpainter functions): adjust.
5455
5456         * rowpainter.h: store the row as RowList::iterator not as Row*
5457
5458         * lyxcursor.C (row): taka RowList::iterator as arg
5459         (irow): ditto
5460
5461         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5462         of Row*.
5463
5464 2003-04-01  Angus Leeming  <leeming@lyx.org>
5465
5466         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5467         stuff like bool Bool.
5468
5469 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5470
5471         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5472         rewrite a loop
5473
5474 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5475
5476         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5477         RowList::iterator.
5478
5479         * lyxtext.h (rows): drop one version and leve a const variant that
5480         returns a RowList::iterator.
5481
5482 2003-03-31  Angus Leeming  <leeming@lyx.org>
5483
5484         * text.C (fill): ensure that the signature is the same as that in the
5485         header file.
5486
5487 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5488
5489         * text2.C (redoParagraphs): adjust
5490         (updateCounters): adjust
5491         (checkParagraph): adjust
5492         (getColumnNearX): adjust and reformat a bit.
5493
5494         * text.C (top_y): adjust
5495         (workWidth): adjust
5496         (leftMargin): adjust
5497         (prepareToPrint): adjust
5498         (getRow): adjust
5499         (getRowNearY): adjust
5500
5501         * lyxtext.h: make rowlist_ mutable.
5502
5503         * RowList.h: add const_iterator
5504         * RowList.C: adjust for RowList::const_iterator.
5505
5506         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5507         adjust.
5508
5509 2003-03-31  John Levon  <levon@movementarian.org>
5510
5511         * lyxrc.h:
5512         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5513
5514         * lyx_main.C: set default fonts from using lyx_gui funcs
5515
5516         * exporter.C: pdf_mode moved from lyxrc
5517
5518         * lyx_cb.C:
5519         * lyxfunc.C: changes from above
5520
5521 2003-03-31  John Levon  <levon@movementarian.org>
5522
5523         * lyx_main.C: fix to the last fix
5524
5525 2003-03-31  John Levon  <levon@movementarian.org>
5526
5527         * bufferlist.C: "Load original" -> "Load Original"
5528
5529         * converter.C:
5530         * exporter.C:
5531         * importer.C:
5532         * lyx_main.C:
5533         * format.C: more Alert cleanups
5534
5535 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5536
5537         * text2.C (removeParagraph): make it take a RowList::iterator as
5538         arg, adjust.
5539         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5540         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5541
5542         * text.C (anchor_row): make it take a RowList::iterator as arg,
5543         adjust.
5544         (computeBidiTables): make it take a const reference to Row instead
5545         of Row pointer, adjust.
5546         (leftMargin): make it take a RowList::iterator as arg, adjust.
5547         (rowBreakPoint): adjust
5548         (breakAgainOneRow): make it take a RowList::iterator as arg,
5549         adjust.
5550         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5551
5552         * bufferview_funcs.C (toggleAndShow): adjust
5553
5554 2003-03-30  John Levon  <levon@movementarian.org>
5555
5556         * Makefile.am:
5557         * BoostFormat.h:
5558         * boost-inst.C: moved to support
5559
5560         * several files: changes as a result
5561
5562 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5563
5564         * text2.C (LyXText): adjust.
5565         (init): adjust
5566         (removeRow): make it take a RowList::iterator as arg, adjust.
5567         (fullRebreak): adjust
5568         (deleteEmptyParagraphMechanism): adjust
5569         (clearPaint): adjust
5570         (postPaint): adjust
5571
5572         * text.C (top_y): adjust
5573         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5574         (breakAgain): make it take a RowList::iterator as arg, adjust.
5575         (breakParagraph): adjust
5576         (insertChar): adjust
5577         (backspace): adjust
5578
5579         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5580         need_break_row, and refresh_row.
5581
5582         * text3.C (dispatch): adjust
5583
5584         * text2.C (checkParagraph): adjust
5585         (setCursor): adjust
5586         (setCursorFromCoordinates): adjust
5587
5588         * text.C (top_y): adjust
5589         (workWidth): adjust
5590         (getRow): make it return a RowList::iterator, adjust
5591         (getRowNearY): make it return a RowList::iterator, adjust
5592
5593         * text2.C (init): adjust
5594         (insertRow): remove function
5595         (insertParagraph): adjust
5596         (redoParagraphs): adjust
5597         (fullRebreak): adjust
5598         (updateCounters): adjust
5599
5600         * text.C (top_y): rewrite to use RowList iterators.
5601         (top_y): adjust
5602         (setHeightOfRow): rewrite to sue RowList iterators.
5603         (appendParagraph): adjust
5604         (breakAgain): adjust
5605         (breakAgainOneRow): adjust
5606         (breakParagraph): adjust
5607         (getRow): adjust
5608         (getRowNearY): adjust, and remove commented code.
5609
5610         * lyxtext.h (firstRow): delete function
5611         (lastRow): delete function
5612         (rows): new function (const and non-const versions.)
5613         (insertRow): delete function
5614
5615         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5616
5617 2003-03-29  John Levon  <levon@movementarian.org>
5618
5619         * BufferView_pimpl.C: always update scrollbar top
5620         because pasting text when we're anchored could mean we
5621         miss an update altogether
5622
5623 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5624
5625         * text2.C (init): use rowlist_.end() and not 0.
5626         (insertRow): change to take a RowList::iterator as arg, adjust
5627         for this.
5628         (insertParagraph): change to take a RowList::iterator as arg,
5629         adjust for this.
5630         (redoParagraphs): remove some debug msgs.
5631
5632         * text.C (appendParagraph): change to take a RowList::iterator
5633         arg, adjust for this.
5634         (breakAgain): add an assert
5635         (breakAgainOneRow): ditto
5636
5637 2003-03-29  John Levon  <levon@movementarian.org>
5638
5639         * text2.C: do not clear selection after inc/decDepth
5640         (bug 550)
5641
5642 2003-03-29  John Levon  <levon@movementarian.org>
5643
5644         * BufferView.C:
5645         * buffer.C: fix broken strerrors according to Lars
5646
5647 2003-03-29  John Levon  <levon@movementarian.org>
5648
5649         * converters.C: more Alert cleanups
5650
5651 2003-03-29  John Levon  <levon@movementarian.org>
5652
5653         * bufferview_funcs.C: remove pointless Alert
5654
5655         * buffer.C: fix confusing error message when
5656         a template is chmoded 000
5657
5658 2003-03-29  John Levon  <levon@movementarian.org>
5659
5660         * BufferView.C:
5661         * BufferView.h:
5662         * BufferView_pimpl.C: Alert fixes
5663
5664         * Makefile.am:
5665         * tabular.C:
5666         * tabular-old.C: remove unused table compat reading
5667
5668 2003-03-29  John Levon  <levon@movementarian.org>
5669
5670         * BufferView.C:
5671         * buffer.C:
5672         * lyx_cb.h:
5673         * lyx_cb.C: more Alert cleanups
5674
5675         * lyxfunc.C: don't allow chktex if not latex document
5676
5677 2003-03-29  John Levon  <levon@movementarian.org>
5678
5679         * lyx_cb.C:
5680         * BufferView.C:
5681         * buffer.C: warnings pushed down from support/,
5682         kill err_alert
5683
5684 2003-03-29  John Levon  <levon@movementarian.org>
5685
5686         * lyxfunc.C: safety check for C-r (revert)
5687
5688 2003-03-29  John Levon  <levon@movementarian.org>
5689
5690         * bufferlist.h:
5691         * bufferlist.C: several UI fixes using Alert::prompt.
5692         Fix the pointless looping quit code. Fix stupid revert
5693         behaviour (bug 938)
5694
5695         * lyxvc.h:
5696         * lyxvc.C:
5697         * lyx_cb.C: use Alert::prompt
5698
5699         * lyx_main.C: remove a silly question
5700
5701         * lyxfunc.C: remove a couple of silly questions,
5702         use Alert::prompt
5703
5704 2003-03-28  John Levon  <levon@movementarian.org>
5705
5706         * text2.C: fix bug 974 (End on empty par)
5707
5708 2003-03-28  John Levon  <levon@movementarian.org>
5709
5710         * BufferView_pimpl.C:
5711         * LyXAction.C:
5712         * lfuns.h: remove do-nothing math greek lfuns
5713
5714 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5715
5716         * lyxgluelength.h (isValidGlueLength): add default arg on
5717         parameter 2. Remove default arg from friend in class.
5718
5719         * lyxlength.h (isValidLength): add default arg on parameter 2.
5720         Remove default arg from friend in class.
5721
5722         * text2.C (LyXText): adjust, initialize refresh_row.
5723         (init): adjust
5724         (removeRow): adjust
5725         (insertRow): adjust
5726         (insertParagraph): adjst
5727         (redoParagraphs): adjust
5728         (fullRebreak): adjust
5729         (updateCounters): adjust
5730         (deleteEmptyParagraphMechanism): first attempt at fixing a
5731         crashing bug.
5732
5733         * text.C (top_y): adjust
5734         (setHeightOfRow): adjust
5735         (getRow): adjust
5736         (getRowNearY): adjust
5737
5738         * lyxtext.h: include RowList.h
5739         (~LyXText): not needed anymore, deleted.
5740         (firstRow): modify for RowList
5741         (lastRow): new function
5742         Delete firstrow and lastrow class variables, add a Rowlist
5743         rowlist_ class variable.
5744
5745         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5746         paragraph is empty.
5747
5748         * RowList.C (insert): fix case where it == begin().
5749
5750 2003-03-26  Angus Leeming  <leeming@lyx.org>
5751
5752         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5753         the thesaurus dialog.
5754
5755 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5756
5757         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5758
5759         * RowList.[Ch]: new files
5760
5761         * ParagraphList.C (erase): handle the case where it == begin
5762         correctly.
5763
5764 2003-03-25  John Levon  <levon@movementarian.org>
5765
5766         * Makefile.am:
5767         * aspell_local.h:
5768         * aspell.C: add new aspell support
5769
5770         * lyxrc.h:
5771         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5772         have it accessible.
5773
5774 2003-03-25  Angus Leeming  <leeming@lyx.org>
5775
5776         * lfuns.h:
5777         * LyXAction.C (init): new LFUN_INSET_INSERT.
5778
5779         * BufferView_pimpl.C (dispatch): split out part of the
5780         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5781
5782         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5783         LFUN_INSET_APPLY.
5784
5785 2003-03-25  Angus Leeming  <leeming@lyx.org>
5786
5787         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5788
5789 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5790
5791         * text2.C:
5792         * text3.C: remove useless row->height(0)
5793
5794 2003-03-25  John Levon  <levon@movementarian.org>
5795
5796         * lyxtext.h:
5797         * text2.C:
5798         * text3.C: rename the refreshing stuff to better names
5799
5800 2003-03-24  John Levon  <levon@movementarian.org>
5801
5802         * BufferView_pimpl.h:
5803         * BufferView_pimpl.C: update layout choice on a mouse
5804         press/release
5805
5806 2003-03-23  John Levon  <levon@movementarian.org>
5807
5808         * Makefile.am: fix commandtags.h reference
5809
5810 2003-03-22  John Levon  <levon@movementarian.org>
5811
5812         * BufferView_pimpl.C:
5813         * lyxtext.h:
5814         * rowpainter.C:
5815         * rowpainter.h:
5816         * text.C:
5817         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5818
5819 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5820
5821         * lyxtext.h:
5822         * text.C: take the rtl methods out of line
5823
5824 2003-03-21 André Pönitz <poenitz@gmx.net>
5825
5826         * metricsinfo.[Ch]: new files containing structures to be passed around
5827         during the two-phase-drawing...
5828
5829 2003-03-21 André Pönitz <poenitz@gmx.net>
5830
5831         * lyxtextclass.C: read 'environment' tag.
5832
5833 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5834
5835         * text2.C (removeRow): fix bug 964
5836
5837 2003-03-20  John Levon  <levon@movementarian.org>
5838
5839         * rowpainter.C:
5840         * text.C:
5841         * text2.C: paint cleanups. Inset::update() dropped font
5842         parameter
5843
5844 2003-03-19  John Levon  <levon@movementarian.org>
5845
5846         * lyxfunc.C: only fitcursor/markDirty if available()
5847
5848 2003-03-19  John Levon  <levon@movementarian.org>
5849
5850         * commandtags.h: rename to ...
5851
5852         * lfuns.h: ... this, and renumber / cleanup
5853
5854 2003-03-19  John Levon  <levon@movementarian.org>
5855
5856         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5857         fit the cursor after an lfun
5858
5859         * BufferView.h:
5860         * BufferView.C:
5861         * BufferView_pimpl.h:
5862         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5863
5864         * LyXAction.C: layout-character should have ReadOnly
5865
5866         * ParagraphParameters.C:
5867         * buffer.C:
5868         * bufferview_funcs.C:
5869         * lyx_cb.C:
5870         * lyxfind.C:
5871         * lyxtext.h:
5872         * text.C:
5873         * text2.C:
5874         * text3.C:
5875         * undo_funcs.C: changes from above
5876
5877 2003-03-18  John Levon  <levon@movementarian.org>
5878
5879         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5880         remove it from update()
5881
5882         * lyxfunc.C: update layout choice after an lfun
5883
5884         * text3.C: remove extra updateLayoutChoice()s
5885
5886 2003-03-18  John Levon  <levon@movementarian.org>
5887
5888         * text.C: top_y change means full repaint, fix
5889         a drawing bug with cursor movement
5890
5891 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5892
5893         * lyxtext.h:
5894         * text.C:
5895         * text2.C: anchor row on setCursor
5896
5897 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5898
5899         * lyxtext.h: remove almost all mutable keywords
5900         * text.C:
5901         * text2.C:
5902         * text3.C: remove const keywords accordingly
5903
5904 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5905
5906         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5907         anon namespace
5908         (TeXEnvironment): ditto
5909         (TeXOnePar): ditto
5910
5911 2003-03-17  John Levon  <levon@movementarian.org>
5912
5913         * text.C (rowBreakPoint): remove attempt to fix displayed
5914         math insets inside a manual label
5915
5916 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5917
5918         * lyxtext.h: remove BufferView* as first arg from almost all class
5919         functions.
5920         * other files: adjust.
5921
5922 2003-03-17  John Levon  <levon@movementarian.org>
5923
5924         * lyxtext.h:
5925         * undo_funcs.C:
5926         * text2.C: more paint cleanups
5927
5928         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5929
5930         * rowpainter.h:
5931         * rowpainter.C: remove "smart" background painting code
5932
5933 2003-03-16  John Levon  <levon@movementarian.org>
5934
5935         * lyxtext.h:
5936         * text.C:
5937         * text2.C:
5938         * text3.C: add helper functions for setting refresh_row/y
5939
5940 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5941
5942         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5943         newline inset which *can* get inserted in the pass_thru layouts.
5944         This is primarily for literate documents.
5945
5946 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5947
5948         * buffer.C: increment LYX_FORMAT to 223
5949
5950 2003-03-14 André Pönitz <poenitz@gmx.net>
5951
5952         * textclass.h: prepare for environment handling, ws changes
5953         * lyxlayout.C: read latexheader and latexfooter tags
5954
5955 2003-03-14  John Levon  <levon@movementarian.org>
5956
5957         * text2.C: rewrite ::status() a bit
5958
5959 2003-03-13  John Levon  <levon@movementarian.org>
5960
5961         * lyxtext.h: add some docs
5962
5963 2003-03-13  John Levon  <levon@movementarian.org>
5964
5965         * lyxtext.h:
5966         * text.C:
5967         * text2.C:
5968         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5969
5970 2003-03-13  John Levon  <levon@movementarian.org>
5971
5972         * text3.C: fix appendix redrawing
5973
5974 2003-03-13  John Levon  <levon@movementarian.org>
5975
5976         * text.C (setHeightOfRow):
5977         * rowpainter.h:
5978         * rowpainter.C: make appendix mark have the text
5979           "Appendix" so the user knows what it is
5980
5981         * LColor.h:
5982         * LColor.C: s/appendixline/appendix/ from above
5983
5984 2003-03-13  John Levon  <levon@movementarian.org>
5985
5986         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5987
5988         * text.C: fix a getChar(pos) bug properly
5989
5990 2003-03-13  Angus Leeming  <leeming@lyx.org>
5991
5992         * commandtags.h:
5993         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5994         Probably only temporary. Let's see how things pan out.
5995
5996         * BufferView.C (unlockInset):
5997         * BufferView_pimpl.C (fitCursor):
5998         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5999
6000         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6001         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6002
6003         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6004         new functions that convert ParagraphParameters to and from a string.
6005
6006         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6007         BufferView::Pimpl's dispatch.
6008         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6009
6010 2003-03-13 André Pönitz <poenitz@gmx.net>
6011
6012         * lyxfunc.C:
6013         * text3.C:
6014         * factory.C: make it aware of InsetEnv
6015
6016 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6017
6018         * text2.C (setCursor): never ask for one past last
6019         (setCursor): add some debugging messages.
6020
6021         * text.C (singleWidth): never ask for one past last
6022         (singleWidth): ditto
6023         (leftMargin): ditto
6024         (rightMargin): ditto
6025         (rowBreakPoint): ditto
6026         (setHeightOfRow): ditto
6027         (prepareToPrint): ditto
6028
6029         * rowpainter.C (paintBackground): never ask for one past last
6030         (paintText): never ask for one past last
6031
6032         * paragraph_pimpl.C (getChar): make the assert stricter, never
6033         allow the one past last pos to be taken
6034
6035         * paragraph.C (getChar): ws changes only
6036
6037         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6038         (numberOfSeparators): ditto
6039         (numberOfHfills): ditto
6040
6041 2003-03-12  John Levon  <levon@movementarian.org>
6042
6043         * author.h:
6044         * author.C:
6045         * bufferparams.h:
6046         * bufferparams.C:
6047         * paragraph_funcs.C: fix per-buffer authorlists
6048
6049 2003-03-12  John Levon  <levon@movementarian.org>
6050
6051         * text.C: fix newline in right address
6052
6053 2003-03-12  Angus Leeming  <leeming@lyx.org>
6054
6055         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6056         duplicate those in LyXFunc::dispatch.
6057
6058         * commandtags.h:
6059         * LyXAction.C:
6060         * ToolbarDefaults.C:
6061         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6062         Add LFUN_FONTFREE_UPDATE.
6063
6064         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6065         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6066
6067         * bufferview_func.[Ch]: several new functions to facilliate
6068         transfer of data to and from the character dialog.
6069
6070 2003-03-12  John Levon  <levon@movementarian.org>
6071
6072         * buffer.C:
6073         * paragraph.h:
6074         * paragraph.C:
6075         * paragraph_funcs.C:
6076         * paragraph_pimpl.C:
6077         * sgml.C:
6078         * tabular.C:
6079         * text.C:
6080         * text3.C: remove META_NEWLINE in favour of an inset
6081
6082         * rowpainter.h:
6083         * rowpainter.C: remove paintNewline (done by inset)
6084
6085 2003-03-12  John Levon  <levon@movementarian.org>
6086
6087         * paragraph_pimpl.C: complain about bad getChar()s
6088         for a while at least
6089
6090 2003-03-12  John Levon  <levon@movementarian.org>
6091
6092         * buffer.h:
6093         * buffer.C: move paragraph read into a separate function,
6094         a little renaming to reflect that.
6095
6096         * bufferparams.h:
6097         * bufferparams.C: remove the author_ids map, not necessary now
6098
6099         * factory.h:
6100         * factory.C: moved Buffer::readInset to here
6101
6102         * paragraph_funcs.h:
6103         * paragraph_funcs.C: readParagraph free function moved from
6104         buffer.C
6105
6106         * tabular.C: name change
6107
6108 2003-03-12  John Levon  <levon@movementarian.org>
6109
6110         * buffer.C:
6111         * ParagraphParameters.C: move par params input to
6112         a read() method
6113
6114         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6115         behave like a normal read from the stream wrt reading
6116         a line vs. a \\token
6117
6118 2003-03-12  John Levon  <levon@movementarian.org>
6119
6120         * paragraph.C:
6121         * ParagraphParameters.h:
6122         * ParagraphParameters.C: move output code to a
6123         ::write() method
6124
6125 2003-03-12  John Levon  <levon@movementarian.org>
6126
6127         * BufferView.C (insertLyXFile):
6128         * buffer.h:
6129         * buffer.C:
6130         * tabular.C: use a parlist iterator for creating the
6131           document.
6132
6133 2003-03-12  John Levon  <levon@movementarian.org>
6134
6135         * buffer.C: make current_change static local not
6136           static file-scope
6137
6138 2003-03-12  John Levon  <levon@movementarian.org>
6139
6140         * buffer.C: fix insertStringAsLines for change tracking
6141
6142 2003-03-12  John Levon  <levon@movementarian.org>
6143
6144         * BufferView.C:
6145         * tabular.C:
6146         * buffer.h:
6147         * buffer.C:
6148         * bufferparams.h:
6149         * bufferparams.C: move author list into params. Rename some
6150           functions. Move the header reading into a separate token
6151           loop. Move the header token reading into BufferParams.
6152
6153 2003-03-12  John Levon  <levon@movementarian.org>
6154
6155         * changes.C: put debug inside lyxerr.debugging() checks
6156
6157 2003-03-11 André Pönitz <poenitz@gmx.net>
6158
6159         * factory.C: make it aware of InsetHFill
6160
6161 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6162
6163         * buffer.C (latexParagraphs): move function from here...
6164         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6165         args.
6166
6167 2003-03-10  Angus Leeming  <leeming@lyx.org>
6168
6169         * LyXAction.C (init): fix bug in poplating array with multiple entries
6170         with the same LFUN (spotted by JMarc).
6171
6172 2003-03-10  John Levon  <levon@movementarian.org>
6173
6174         * text.C:
6175         * text2.C: move getColumnNearX() near its
6176         only call site
6177
6178 2003-03-10  John Levon  <levon@movementarian.org>
6179
6180         * text.C: fix break before a minipage
6181
6182 2003-03-10  John Levon  <levon@movementarian.org>
6183
6184         * text.C: fix the last commit
6185
6186 2003-03-09  John Levon  <levon@movementarian.org>
6187
6188         * lyxtext.h:
6189         * text.C:
6190         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6191         bug 365 (don't break before insets unless needed). Don't
6192         return a value > last under any circumstances.
6193
6194 2003-03-09  Angus Leeming  <leeming@lyx.org>
6195
6196         * BufferView_pimpl.C (trackChanges, dispatch): call
6197         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6198
6199 2003-03-09  Angus Leeming  <leeming@lyx.org>
6200
6201         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6202         than Dialogs::showAboutlyx().
6203
6204 2003-03-09  Angus Leeming  <leeming@lyx.org>
6205
6206         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6207         than Dialogs::showTabularCreate().
6208
6209 2003-03-09  John Levon  <levon@movementarian.org>
6210
6211         * lyxtext.h:
6212         * text.C:
6213         * text2.C: 3rd arg to nextBreakPoint was always the same.
6214           Use references.
6215
6216 2003-03-08  John Levon  <levon@movementarian.org>
6217
6218         * lyxrow.C:
6219         * paragraph.C:
6220         * paragraph.h:
6221         * rowpainter.C:
6222         * text.C:
6223         * text2.C: Remove the "main" bit from the "main body"
6224           notion.
6225
6226 2003-03-08  John Levon  <levon@movementarian.org>
6227
6228         * text.C (leftMargin): The left margin of an empty
6229         manual label paragraph should not include the label width
6230         string length.
6231
6232         * text.C (prepareToPrint): don't attempt to measure hfills
6233         for empty manual label paragraphs - the answer should be 0
6234
6235 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6236
6237         * CutAndPaste.C: remove commented code and reindent.
6238
6239 2003-03-08  John Levon  <levon@movementarian.org>
6240
6241         * lyxfunc.h:
6242         * lyxfunc.C: move reloadBuffer()
6243
6244         * BufferView.h:
6245         * BufferView.C: to here
6246
6247         * lyxvc.C: add comment
6248
6249         * vc-backend.h:
6250         * vc-backend.C: call bv->reload() to avoid
6251           getStatus() check on MENURELOAD
6252
6253 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6254
6255         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6256         to an old format .dep file.
6257
6258 2003-03-07  Angus Leeming  <leeming@lyx.org>
6259
6260         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6261         when the LFUN_MOUSE_RELEASE should have been handled by
6262         inset->localDispatch.
6263
6264 2003-03-07  Angus Leeming  <leeming@lyx.org>
6265
6266         * BufferView_pimpl.C (dispatch):
6267         * LyXAction.C (init):
6268         * ToolbarDefaults.C (init):
6269         * commandtags.h:
6270         * lyxfunc.C (getStatus):
6271         remove LFUN_INSET_GRAPHICS.
6272
6273         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6274
6275 2003-03-07  Angus Leeming  <leeming@lyx.org>
6276
6277         * commandtags.h:
6278         * LyXAction.C (init):
6279         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6280
6281         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6282
6283         * commandtags.h:
6284         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6285
6286         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6287         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6288
6289 2003-03-07  Angus Leeming  <leeming@lyx.org>
6290
6291         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6292         remove "ert".
6293
6294 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6295
6296         * ParagraphList.C (front): new function
6297         (back): implement
6298
6299 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6300
6301         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6302         and top_row_offset_. removed var first_y.
6303         * text.C (top_y):
6304         * text2.C (LyXText, removeRow):
6305         * text3.C:
6306         * BufferView_pimpl.C:
6307         use these methods instead of using first_y
6308
6309 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6310
6311         * text2.C (pasteSelection): adjust for checkPastePossible
6312
6313         * CutAndPaste.C: remove Paragraph * buf and replace with
6314         ParagraphList paragraphs.
6315         (DeleteBuffer): delete
6316         (cutSelection): change the tc type to textclass_type
6317         (copySelection): change the tc type to textclass_type
6318         (copySelection): adjust for ParagraphList
6319         (pasteSelection): change the tc type to textclass_type
6320         (pasteSelection): adjust for Paragraphlist
6321         (nrOfParagraphs): simplify for ParagraphList
6322         (checkPastePossible): simplify for ParagraphList
6323         (checkPastePossible): remove unused arg
6324
6325         * ParagraphList.C (insert): handle the case where there are no
6326         paragraphs yet.
6327
6328         * CutAndPaste.h: make CutAndPaste a namespace.
6329
6330         * text3.C (dispatch): adjust
6331
6332         * text.C (breakParagraph): add a ParagraphList as arg
6333
6334         * paragraph_funcs.C (breakParagraph): change to take a
6335         BufferParams and a ParagraphList as args.
6336         (breakParagraphConservative): ditto
6337         (mergeParagraph): ditto
6338         (TeXDeeper): add a ParagraphList arg
6339         (TeXEnvironment): ditto
6340         (TeXOnePar): ditto
6341
6342         * buffer.C (readLyXformat2): adjust
6343         (insertStringAsLines): adjust
6344         (latexParagraphs): adjust
6345
6346         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6347         (cutSelection): adjust
6348         (pasteSelection): adjust
6349
6350         * BufferView_pimpl.C (insertInset): adjust
6351
6352 2003-03-05  Angus Leeming  <leeming@lyx.org>
6353
6354         * commandtags.h:
6355         * LyXAction.C (init):
6356         * BufferView_pimpl.C (dispatch):
6357         * lyxfunc.C (getStatus):
6358         remove LFUN_CHILD_INSERT.
6359
6360         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6361
6362 2003-03-05  Angus Leeming  <leeming@lyx.org>
6363
6364         * commandtags.h:
6365         * LyXAction.C (init):
6366         * src/factory.C (createInset):
6367         * lyxfunc.C (getStatus):
6368         * text3.C (dispatch):
6369         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6370
6371         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6372
6373 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6374
6375         * ParagraphList.C (insert): handle insert right before end()
6376         (erase): fix cases where it can be first or last paragraph.
6377
6378 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6379
6380         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6381         Paragraph::next and Paragraph::previous
6382         (TeXOnePar): ditto
6383
6384         * text.C (breakParagraph): adjust
6385
6386         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6387         BufferParams& as arg.
6388         (breakParagraph): use ParagraphList::insert
6389         (breakParagraphConservative): take a Buffer* instead of a
6390         BufferParams& as arg.
6391         (breakParagraphConservative): use ParagraphList::insert.
6392
6393         * buffer.C (insertStringAsLines): un-const it
6394         (insertStringAsLines): adjust
6395
6396         * ParagraphList.C (insert): new function
6397
6398         * CutAndPaste.C (pasteSelection): adjust
6399
6400         * text.C (backspace): adjust
6401
6402         * tabular.C (SetMultiColumn): adjust
6403
6404         * CutAndPaste.C (cutSelection): adjust
6405         (pasteSelection): adjust
6406
6407         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6408         Buffer const * as arg
6409
6410         * ParagraphList.C (erase): new function
6411         * paragraph_funcs.C (mergeParagraph): use it
6412         (mergeParagraph): make it take a Buffer* instead of a
6413         BufferParams* as arg
6414
6415         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6416         as arg
6417         (breakParagraphConservative): ditto
6418
6419         * paragraph.h: remove the breakParagraph friend
6420
6421         * paragraph.C (eraseIntern): new function
6422         (setChange): new function
6423
6424         * paragraph_funcs.C (mergeParagraph): make it take a
6425         ParagraphList::iterator instead of a Paragraph *, adjust
6426         accordingly.
6427
6428         * paragraph.h: move an #endif so that the change tracking stuff
6429         also works in the NO_NEXT case.
6430
6431 2003-03-04  Angus Leeming  <leeming@lyx.org>
6432
6433         * commandtags.h:
6434         * LyXAction.C: new LFUN_INSET_MODIFY.
6435
6436         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6437         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6438
6439 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6440
6441         * several files: ws changes only
6442
6443         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6444         (TeXEnvironment): ditto
6445         (TeXDeeper): ditto
6446
6447         * buffer.C (makeLaTeXFile): adjust
6448         (latexParagraphs): make it take ParagraphList::iterator as args
6449
6450 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6451
6452         * buffer.C (latexParagraphs): adjust
6453
6454         * paragraph.C (TeXOnePar): move function...
6455         (optArgInset): move function...
6456         (TeXEnvironment): move function...
6457         * paragraph_pimpl.C (TeXDeeper): move function...
6458         * paragraph_funcs.C: ...here
6459
6460         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6461
6462 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6463
6464         * buffer.C (readInset): remove compability code for old Figure and
6465         InsetInfo insets
6466
6467 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6468
6469         * buffer.C: ws changes
6470         (readInset):
6471
6472         * BufferView_pimpl.C: ditto
6473         * author.C: ditto
6474         * buffer.h: ditto
6475         * bufferlist.h: ditto
6476         * changes.h: ditto
6477         * lyxfunc.C: ditto
6478
6479 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6480
6481         * converter.[Ch]: split into itself +
6482         * graph.[Ch]
6483         * format.[Ch]
6484         * Makefile.am: += graph.[Ch] + format.[Ch]
6485         * MenuBackend.C
6486         * buffer.C
6487         * exporter.C
6488         * importer.C
6489         * lyx_main.C
6490         * lyxfunc.C
6491         * lyxrc.C: added #include "format.h"
6492
6493 2003-02-27  Angus Leeming  <leeming@lyx.org>
6494
6495         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6496           a label.
6497
6498         * factory.C (createInset): add "label" to the factory.
6499
6500         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6501           string and do no more.
6502
6503 2003-02-27  Angus Leeming  <leeming@lyx.org>
6504
6505         * commandtags.h:
6506         * LyXAction.C (init):
6507         * factory.C (createInset):
6508         * BufferView_pimpl.C (dispatch):
6509           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6510
6511         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6512
6513         * lyxfunc.C (dispatch):
6514         * text3.C (dispatch): pass name to params2string.
6515
6516 2003-02-26  Angus Leeming  <leeming@lyx.org>
6517
6518         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6519           blocks together.
6520           Rearrange the ~includes. Strip out the unnecessary ones.
6521
6522         * factory.C (createInset): reformat.
6523           create new insets for the various LFUN_XYZ_APPLY lfuns.
6524
6525 2003-02-26  John Levon  <levon@movementarian.org>
6526
6527         * lyxrow.h:
6528         * lyxrow.C: add isParStart,isParEnd helpers
6529
6530         * paragraph.h: make isInserted/DeletedText take refs
6531
6532         * paragraph_funcs.h:
6533         * paragraph_funcs.C: remove #if 0'd code
6534
6535         * lyxtext.h:
6536         * text3.C:
6537         * text2.C:
6538         * text.C: use lyxrow helpers above.
6539           Move draw and paint routines to RowPainter.
6540           Make several methods use refs not pointers.
6541           Make backgroundColor() const.
6542           Add markChangeInDraw(), isInInset().
6543           Merge changeRegionCase into changeCase.
6544           Make workWidth() shouldn't-happen code into an Assert.
6545
6546         * rowpainter.h:
6547         * rowpainter.C: new class for painting a row.
6548
6549         * vspace.h:
6550         * vspace.C: make inPixels take a ref
6551
6552 2003-02-26  Angus Leeming  <leeming@lyx.org>
6553
6554         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6555         LFUN_REF_APPLY.
6556
6557 2003-02-25  John Levon  <levon@movementarian.org>
6558
6559         * ispell.C: give the forked command a more accurate name
6560
6561 2003-02-22  John Levon  <levon@movementarian.org>
6562
6563         * toc.h:
6564         * toc.C: make TocItem store an id not a Paragraph *
6565           (bug #913)
6566
6567 2003-02-21  Angus Leeming  <leeming@lyx.org>
6568
6569         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6570           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6571           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6572           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6573           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6574           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6575
6576         * BufferView_pimpl.C (dispatch):
6577         * LyXAction.C (init):
6578         * factory.C (createInset):
6579         * lyxfunc.C (getStatus, dispatch):
6580         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6581
6582 2003-02-21  Angus Leeming  <leeming@lyx.org>
6583
6584         * BufferView_pimpl.C (MenuInsertLyXFile):
6585         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6586         * lyxfunc.C (menuNew, open, doImport):
6587           no longer pass a LyXView & to fileDlg.
6588
6589 2003-02-21  Angus Leeming  <leeming@lyx.org>
6590
6591         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6592         * LyXAction.C: change, BIBKEY to BIBITEM.
6593         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6594         Change InsetBibKey to InsetBibitem.
6595         Change BIBKEY_CODE to BIBITEM_CODE.
6596         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6597         * factory.C: replace insetbib.h with insetbibitem.h.
6598         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6599         * paragraph.C: replace insetbib.h with insetbibitem.h.
6600         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6601         Change bibkey() to bibitem().
6602         * text.C: remove insetbib.h.
6603         * text2.C: replace insetbib.h with insetbibitem.h.
6604         change bibkey() to bibitem().
6605         * text3.C: remove insetbib.h.
6606         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6607
6608 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6609
6610         * lyxrc.C (output): enclose user email in quotes (in case there are
6611         several words)
6612
6613 2003-02-18  John Levon  <levon@movementarian.org>
6614
6615         * buffer.h: add std::
6616
6617 2003-02-17  John Levon  <levon@movementarian.org>
6618
6619         * SpellBase.h:
6620         * ispell.h:
6621         * ispell.C:
6622         * pspell.h:
6623         * pspell.C: reworking. Especially in ispell, a large
6624           number of clean ups and bug fixes.
6625
6626         * lyxfunc.C: fix revert to behave sensibly
6627
6628 2003-02-17 André Pönitz <poenitz@gmx.net>
6629
6630         * LyXAction.C:
6631         * commandtags.h: new LFUN_INSERT_BIBKEY
6632
6633         * layout.h:
6634         * lyxlayout.C:
6635         * buffer.C:
6636         * factory.C:
6637         * text.C:
6638         * text2.C:
6639         * text3.C:
6640         * paragraph.[Ch]:
6641         * paragraph_func.C: remove special bibkey handling
6642
6643 2003-02-17  John Levon  <levon@movementarian.org>
6644
6645         * text.C (Delete): fix case where delete at the end of
6646           the very first paragraph would not merge the pars
6647
6648 2003-02-17  John Levon  <levon@movementarian.org>
6649
6650         * lyxrow.C: fix lastPrintablePos()
6651
6652 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6653
6654         * bufferparams.C (writeLaTeX): add a std:here
6655
6656         * buffer.C: and remove a using directive there
6657
6658 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6659
6660         * buffer.C (makeLaTeXFile): move the code that generates the
6661           preamble...
6662
6663         * bufferparams.C (writeLaTeX): ... in this new method
6664
6665         * LaTeXFeatures.C (getEncodingSet): make const
6666           (getLanguages): make const
6667
6668         * MenuBackend.C (binding): returns the binding associated to this
6669           action
6670           (add): sets the status of each item by calling getStatus. Adds
6671           some intelligence.
6672           (read): add support for OptSubMenu
6673           (expand): remove extra separator at the end of expanded menu
6674
6675 2003-02-15  John Levon  <levon@movementarian.org>
6676
6677         * BufferView.C:
6678         * BufferView_pimpl.C:
6679         * bufferlist.h:
6680         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6681           inset code that had no actual effect. Remove unneeded status
6682           code.
6683
6684 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6685
6686         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6687           in preamble
6688
6689 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6690
6691         * text.C (drawLengthMarker): also draw an arrow marker for
6692           symbolic lengths (medskip...)
6693
6694 2003-02-14  John Levon  <levon@movementarian.org>
6695
6696         * tabular.h:
6697         * tabular.C: better method names
6698
6699 2003-02-14  John Levon  <levon@movementarian.org>
6700
6701         * BufferView_pimpl.C:
6702         * bufferlist.C:
6703         * buffer.C:
6704         * converter.C:
6705         * lyx_cb.C:
6706         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6707           it's a more accurate name. Remove some pointless uses.
6708
6709 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6710
6711         * text2.C (LyXText): change order of initilizers to shut off
6712           warnings
6713
6714 2003-02-14  John Levon  <levon@movementarian.org>
6715
6716         * buffer.C: use ParIterator for getParFromID()
6717
6718         * paragraph.h:
6719         * paragraph.C:
6720         * paragraph_pimpl.h:
6721         * paragraph_pimpl.C: remove unused getParFromID()
6722
6723 2003-02-14  John Levon  <levon@movementarian.org>
6724
6725         * buffer.C: remove some very old #if 0'd parse code
6726
6727 2003-02-13  John Levon  <levon@movementarian.org>
6728
6729         * text.h:
6730         * text.C:
6731         * text2.C: move hfillExpansion(), numberOfSeparators(),
6732           rowLast(), rowLastPrintable(), numberofHfills(),
6733           numberOfLabelHfills() ...
6734
6735         * lyxrow.h:
6736         * lyxrow.C: ... to member functions here.
6737
6738         * paragraph.h:
6739         * paragraph.C:
6740         * lyxtext.h:
6741         * text.C: remove LyXText::beginningOfMainBody(), and call
6742           p->beginningOfMainBody() directly. Move the check for
6743           LABEL_MANUAL into the latter.
6744
6745         * text.h:
6746         * text.C:
6747         * text2.C:
6748         * vspace.C:
6749         * BufferView.h:
6750         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6751
6752         * text.h:
6753         * text.C:
6754         * text2.C:
6755         * text3.C:
6756         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6757           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6758
6759 2003-02-13  John Levon  <levon@movementarian.org>
6760
6761         * CutAndPaste.C: remove debug
6762
6763 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6764
6765         * paragraph.C (asString): remove two unused variables
6766
6767         * lyxtextclass.C (readTitleType):
6768           (Read):
6769           (LyXTextClass): handle new members titletype_ and titlename_
6770
6771         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6772
6773 2003-02-09  John Levon  <levon@movementarian.org>
6774
6775         * buffer.h:
6776         * buffer.C: replace hand-coded list with a map for the dep clean
6777
6778 2003-02-08  John Levon  <levon@movementarian.org>
6779
6780         * LaTeX.C: consolidate code into showRunMessage() helper
6781
6782 2003-02-08  John Levon  <levon@movementarian.org>
6783
6784         * lyxfind.C:
6785         * lyxtext.h:
6786         * text2.C:
6787         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6788           and pass the size in explicitly
6789
6790         * BufferView_pimpl.h:
6791         * BufferView_pimpl.C:
6792         * BufferView.h:
6793         * BufferView.C: add getCurrentChange()
6794
6795         * BufferView_pimpl.h:
6796         * BufferView_pimpl.C: handle change lfuns
6797
6798         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6799           for changes. Mark pasted paragraphs as new.
6800
6801         * support/lyxtime.h:
6802         * support/lyxtime.C:
6803         * DepTable.C: abstract time_t as lyx::time_type
6804
6805         * LColor.h:
6806         * LColor.C: add colours for new text, deleted text, changebars
6807
6808         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6809           package use "usenames" option.
6810
6811         * commandtags.h:
6812         * lyxfunc.C:
6813         * LyXAction.C: add change lfuns
6814
6815         * Makefile.am:
6816         * author.h:
6817         * author.C: author handling
6818
6819         * buffer.h:
6820         * buffer.C: add a per-buffer author list, with first entry as
6821           current author. Handle new .lyx tokens for change tracking. Output
6822           author list to .lyx file. Output dvipost stuff to .tex preamble.
6823           Bump lyx format to 222.
6824
6825         * bufferlist.h:
6826         * bufferlist.C: add setCurrentAuthor() to reset current author details
6827           in all buffers.
6828
6829         * bufferparams.h:
6830         * bufferparams.C: add param for tracking
6831
6832         * bufferview_funcs.C: output change info in minibuffer
6833
6834         * Makefile.am:
6835         * changes.h:
6836         * changes.C: add change-tracking structure
6837
6838         * debug.h:
6839         * debug.C: add CHANGES debug flag
6840
6841         * lyxfind.h:
6842         * lyxfind.C: add code for finding the next change piece
6843
6844         * lyxrc.h:
6845         * lyxrc.C: add user_name and user_email
6846
6847         * lyxrow.h:
6848         * lyxrow.C: add a metric for the top of the text line
6849
6850         * lyxtext.h:
6851         * text.C: implement accept/rejectChange()
6852
6853         * lyxtext.h:
6854         * text.C: paint changebars. Paint new/deleted text in the chosen
6855         colours. Strike through deleted text.
6856
6857         * paragraph.h:
6858         * paragraph.C:
6859         * paragraph_pimpl.h:
6860         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6861           in the current change to the insert functions. Rework erase to
6862           mark text as deleted, adding an eraseIntern() and a range-based
6863           erase(). Implement per-paragraph change lookup and
6864           accept/reject.
6865
6866         * paragraph_funcs.C: Fixup paste for change tracking.
6867
6868         * tabular.C: mark added row/columns as new.
6869
6870         * text.C: fix rowLast() to never return -1. Don't allow
6871           spellchecking of deleted text. Track transpose changes. Don't
6872           allow paragraph break or merge where appropriate.
6873
6874         * text2.C: leave cursor at end of selection after a cut.
6875
6876 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6877
6878         * text.C (getLengthMarkerHeight):
6879         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6880         visible on screen too.
6881
6882 2003-02-07  John Levon  <levon@movementarian.org>
6883
6884         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6885
6886 2003-02-05  Angus Leeming  <leeming@lyx.org>
6887
6888         * lyxserver.C (read_ready): revert my patch of 11 September last year
6889         as it sends PC cpu through the roof. Presumably this means that
6890         the lyxserver will no longer run on an Alpha...
6891
6892 2003-01-30  Angus Leeming  <leeming@lyx.org>
6893
6894         * factory.C (createInset): create an InsetCommandParam of type "index"
6895         and use it to 'do the right thing'.
6896
6897         * text2.C (getStringToIndex): ensure that cursor position is always
6898         reset to the reset_cursor position.
6899
6900 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6901
6902         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6903         disabled.
6904
6905 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6906
6907         * bufferview.C:
6908         * lyxcb.C:
6909         * lyxfunc.C: Output messages with identical spelling, punctuation,
6910         and spaces
6911
6912 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6913
6914         * MenuBackend.C (expandFormats): List only viewable export formats
6915         in "View" menu
6916
6917         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6918         message
6919
6920         * lyxfunc.C (getStatus): Make sure that formats other than
6921         "fax" can also be disabled
6922
6923 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6924
6925         * text3.C (dispatch): put the lfuns that insert insets in 3
6926         groups, and call doInsertInset with appropriate arguments.
6927         (doInsertInset): new function, that creates an inset and inserts
6928         it according to some boolean parameters.
6929
6930 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6931
6932         * buffer.C (readFile): remember to pass on 'par' when calling
6933         readFile recursively.
6934
6935 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6936
6937         * MenuBackend.C (expandFormats): add "..." to import formats.
6938
6939 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6940
6941         * paragraph.C (asString): Remove XForms RTL hacks.
6942
6943 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6944         * buffer.C: fix typo
6945
6946 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6947
6948         * Makefile.am (LIBS): delete var
6949         (lyx_LDADD): add @LIBS@ here instead.
6950
6951 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6952
6953         * Clarify the meaning of "wheel mouse jump"
6954
6955 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6956
6957         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6958         tabular in a float
6959
6960 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6961
6962         * importer.C (Loaders): do not preallocate 3 elements in the
6963         vector, since one ends up with 6 elements otherwise
6964
6965 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6966
6967         * DepTable.C (write): write the file name as last element of the
6968         .dep file (because it may contain spaces)
6969         (read): read info in the right order
6970
6971 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6972
6973         * paragraph_pimpl.C (simpleTeXBlanks):
6974         (simpleTeXSpecialChars):
6975         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6976
6977         * tabular.C (latex): add some missing case statements. Reindent.
6978
6979         * MenuBackend.C (expandToc): remove unused variable.
6980
6981 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6982
6983         * LColor.C:
6984         * LaTeX.C:
6985         * LyXAction.C:
6986         * MenuBackend.C:
6987         * buffer.C:
6988         * exporter.C:
6989         * lyxfunc.C:
6990         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6991         and the like.
6992
6993 2003-01-05  John Levon  <levon@movementarian.org>
6994
6995         * BufferView.h:
6996         * BufferView.C: add getEncoding()
6997
6998         * kbsequence.h:
6999         * kbsequence.C: do not store last keypress
7000
7001         * lyxfunc.h:
7002         * lyxfunc.C: store last keypress here instead. Pass encoding
7003           to getISOEncoded()
7004
7005 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7006
7007         * lyx_main.C (init): remove annoying error message when following
7008         symbolic links (bug #780)
7009
7010 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7011
7012         * text.C (insertChar):
7013         * lyxrc.C (getDescription): remove extra spaces
7014
7015 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7016
7017         * lyxrc.C (getDescription): remove extra spaces
7018
7019 2002-12-20  John Levon  <levon@movementarian.org>
7020
7021         * text3.C: hack fix for page up/down across tall rows
7022
7023 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7024
7025         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7026         not been invoked
7027
7028 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7029
7030         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7031         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7032         thesaurus is not compiled in
7033
7034 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7035
7036         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7037
7038 2002-12-16  Angus Leeming  <leeming@lyx.org>
7039
7040         * lyxrc.[Ch]:
7041         * lyx_main.C (init): remove override_x_deadkeys stuff.
7042
7043 2002-12-12  John Levon  <levon@movementarian.org>
7044
7045         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7046           insert. Only remove shift modifier under strict
7047           circumstances.
7048
7049 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7050
7051         * MenuBackend.C (expandToc): fix crash.
7052
7053 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7054
7055         * MenuBackend.C (expandToc): gettext on float names.
7056
7057 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7058
7059         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7060         implement bool empty() [bug 490]
7061
7062 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7063
7064         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7065
7066 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7067
7068         * several files: ws changes
7069
7070 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7071
7072         * text2.C (setCounter): clean up a bit, use boost.format.
7073         (updateCounters): initialize par upon declaration.
7074
7075         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7076         if the layout exists. We do not just store the layout any more.
7077         (SwitchLayoutsBetweenClasses): use boost.format
7078
7079 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7080
7081         * converter.C (convert): if from and to files are the same, use a
7082         temporary files as intermediary
7083
7084 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7085
7086         * commandtags.h:
7087         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7088
7089 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7090
7091         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7092
7093 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7094
7095         * tabular.C (asciiPrintCell): use string(size, char) instead of
7096         explicit loop.
7097
7098         * sgml.C (openTag): fix order of arguments to string constructor
7099         (closeTag): ditto
7100
7101         * lyxfunc.C (dispatch): use boost.format
7102
7103         * lots of files: change "c" -> 'c'
7104
7105 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7106
7107         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7108
7109 2002-11-25  Angus Leeming  <leeming@lyx.org>
7110
7111         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7112
7113         * lyx_main.C (init): compile fix.
7114
7115 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7116
7117         * lyx_cb.C (start): boost.formatify
7118         do not include <iostream>
7119
7120         * lengthcommon.C: ws only
7121
7122         * boost-inst.C,BoostFormat.h: add more explict instantations
7123
7124 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7125
7126         * lots of files: handle USE_BOOST_FORMAT
7127
7128 2002-11-21  John Levon  <levon@movementarian.org>
7129
7130         * pspell.C: fix compile
7131
7132 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7133
7134         * lyxfunc.C (dispatch): use boost::format
7135         (open): ditto
7136         (doImport): ditto
7137
7138         * lyxfont.C (stateText): use boost::format
7139
7140         * lyx_main.C (LyX): use boost::format
7141         (init): ditto
7142         (queryUserLyXDir): ditto
7143         (readRcFile): ditto
7144         (parse_dbg): ditto
7145         (typedef boost::function): use the recommened syntax.
7146
7147         * importer.C (Import): use boost::format
7148
7149         * debug.C (showLevel): use boost::format
7150
7151         * converter.C (view): use boost::format
7152         (convert): ditto
7153         (move): ditto
7154         (scanLog): ditto
7155
7156         * bufferview_funcs.C (currentState): use boost::format
7157
7158         * bufferlist.C (emergencyWrite): use boost::format
7159
7160         * buffer.C (readLyXformat2): use boost::format
7161         (parseSingleLyXformat2Token): ditto
7162
7163         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7164
7165         * LaTeX.C (run): use boost::format
7166
7167         * Chktex.C (scanLogFile): use boost::format
7168
7169         * BufferView_pimpl.C (savePosition): use boost::format
7170         (restorePosition): ditto
7171         (MenuInsertLyXFile): ditto
7172
7173         * BoostFormat.h: help file for explicit instation.
7174
7175 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7176
7177         * tabular.C (latex): Support for block alignment in fixed width
7178         columns.
7179
7180 2002-11-17  John Levon  <levon@movementarian.org>
7181
7182         * BufferView_pimpl.C:
7183         * lyx_cb.C:
7184         * lyxfunc.C: split filedialog into open/save
7185
7186 2002-11-08  Juergen Vigna  <jug@sad.it>
7187
7188         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7189         by my last patch (hopefully).
7190
7191 2002-11-08  John Levon  <levon@movementarian.org>
7192
7193         * iterators.h:
7194         * iterators.C:
7195         * buffer.h:
7196         * buffer.C:
7197         * paragraph.h:
7198         * paragraph.C:
7199         * toc.h:
7200         * toc.C: ParConstIterator, and use it (from Lars)
7201
7202 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7203
7204         * lyxtextclass.[Ch]: revise and add doxygen comments
7205
7206 2002-11-07  John Levon  <levon@movementarian.org>
7207
7208         * text.C: fix progress value for spellchecker
7209
7210         * toc.C: fix navigate menu for insetwrap inside minipage
7211
7212         * paragraph_funcs.C: added FIXME for suspect code
7213
7214 2002-11-07  John Levon  <levon@movementarian.org>
7215
7216         * BufferView_pimpl.C: fix redrawing of insets
7217           on buffer switch
7218
7219 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7220
7221         * text2.C (updateCounters): fix bug 668
7222
7223 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7224
7225         * text3.C (dispatch): Do not make the buffer dirty when moving the
7226         cursor.
7227
7228 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7229
7230         * vc-backend.C: STRCONV
7231         (scanMaster): ditto
7232
7233         * text2.C (setCounter): STRCONV
7234
7235         * paragraph.C (asString): STRCONV
7236
7237         * lyxlength.C (asString): STRCONV
7238         (asLatexString): ditto
7239
7240         * lyxgluelength.C (asString): STRCONV
7241         (asLatexString): ditto
7242
7243         * lyxfunc.C (dispatch): STRCONV
7244         (open): ditto
7245
7246         * lyxfont.C (stateText): STRCONV
7247
7248         * importer.C (Import): STRCONV
7249
7250         * counters.C (labelItem): STRCONV
7251         (numberLabel): ditto
7252         (numberLabel): remove unused ostringstream o
7253
7254         * chset.C: STRCONV
7255         (loadFile): ditto
7256
7257         * bufferview_funcs.C (currentState): STRCONV
7258
7259         * buffer.C (readFile): STRCONV
7260         (asciiParagraph): ditto
7261         (makeLaTeXFile): ditto
7262
7263         * Spacing.C (writeEnvirBegin): STRCONV
7264
7265         * LaTeXFeatures.C (getLanguages): STRCONV
7266         (getPackages): ditto
7267         (getMacros): ditto
7268         (getBabelOptions): ditto
7269         (getTClassPreamble): ditto
7270         (getLyXSGMLEntities): ditto
7271         (getIncludedFiles): ditto
7272
7273         * LaTeX.C: STRCONV
7274         (run): ditto
7275         (scanAuxFile): ditto
7276         (deplog): ditto
7277
7278         * LString.h: add the STRCONV macros
7279
7280         * BufferView_pimpl.C (savePosition): STRCONV
7281         (restorePosition): ditto
7282         (MenuInsertLyXFile): ditto
7283
7284         * vc-backend.C (scanMaster): change from submatch[...] to
7285         submatch.str(...)
7286
7287         * funcrequest.C: include config.h
7288
7289         * factory.C: include config.h
7290
7291         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7292
7293         * box.C: include config.h
7294
7295         * LaTeX.C (scanAuxFile): change from submatch[...] to
7296         submatch.str(...)
7297         (deplog): ditto
7298
7299 2002-10-25  Angus Leeming  <leeming@lyx.org>
7300
7301         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7302
7303         * ispell.[Ch] (setError): new method.
7304         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7305         Use setError() insetead of goto END.
7306
7307         * lyx_cb.C (AutoSave): move out child process into new class
7308         AutoSaveBuffer.
7309
7310 2002-10-30  John Levon  <levon@movementarian.org>
7311
7312         * text3.C: make start appendix undoable
7313
7314 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7315
7316         * lyxlength.C (inPixels): Fix returned value.
7317
7318         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7319         environment.
7320
7321 2002-10-24  Angus Leeming  <leeming@lyx.org>
7322
7323         * lyxgluelength.h: no need to forward declare BufferParams
7324         or BufferView, so don't.
7325
7326 2002-10-21  John Levon  <levon@movementarian.org>
7327
7328         * BufferView.C: menuUndo ->undo, redo
7329
7330         * BufferView.h: document, remove dead, make some methods private
7331
7332         * paragraph_funcs.h:
7333         * paragraph_funcs.C:
7334         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7335
7336         * buffer.h:
7337         * buffer.C:
7338         * sgml.h:
7339         * sgml.C: move sgml open/close tag into sgml.C
7340
7341         * bufferview_funcs.h: unused prototype
7342
7343         * lyxfunc.h:
7344         * lyxfunc.C: remove unused
7345
7346         * lyxtext.h:
7347         * text.C: remove unused
7348
7349 2002-10-21  John Levon  <levon@movementarian.org>
7350
7351         * BufferView.h:
7352         * BufferView.C:
7353         * BufferView_pimpl.h:
7354         * BufferView_pimpl.C: fix mouse wheel handling based on
7355           patch from Darren Freeman
7356
7357 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7358
7359         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7360
7361 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7362
7363         * lyxlength.C (inPixels): Fix hanfling of negative length.
7364         Fix LyXLength::MU case.
7365
7366 2002-10-16  John Levon  <levon@movementarian.org>
7367
7368         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7369
7370 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7371
7372         * converter.C (view): add support for $$i (file name) and $$p
7373         (file path) for the viewer command. If $$i is not specified, then
7374         it is appended to the command (for compatibility with old syntax)
7375
7376 2002-10-14  Juergen Vigna  <jug@sad.it>
7377
7378         * undo_funcs.C (textHandleUndo): alter the order in which the
7379         new undopar is added to the LyXText, as we have to set first
7380         the right prev/next and then add it as otherwise the rebuild of
7381         LyXText is not correct. Also reset the cursor to the right paragraph,
7382         with this IMO we could remove the hack in "redoParagraphs()".
7383
7384 2002-10-09  Angus Leeming  <leeming@lyx.org>
7385
7386         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7387         to turn off an optimisation if a new inset is to be inserted.
7388
7389 2002-10-11 André Pönitz <poenitz@gmx.net>
7390
7391         * lyxtext.h: make some functions public to allow access
7392         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7393
7394 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7395
7396         * text3.C (dispatch): when changing layout, avoid an infinite loop
7397         [bug #652]
7398
7399 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7400
7401         * lyxrc.C (read): treat a viewer or converter command of "none" as
7402         if it were empty.
7403
7404         * MenuBackend.C (expandFormats): for an update, also allow the
7405         formats that are not viewable
7406
7407         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7408         script if it is newer than the lyxrc.defaults in user directory
7409
7410 2002-10-07 André Pönitz <poenitz@gmx.net>
7411
7412         * text.C: Vitaly Lipatov's small i18n fix
7413
7414 2002-09-25  Angus Leeming  <leeming@lyx.org>
7415
7416         * ispell.h: doxygen fix.
7417
7418 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7419
7420         * buffer.h (readFile): Add a new argument to the method, to allow
7421         reading of old-format templates.
7422
7423 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7424
7425         * toc.C (getTocList): Get TOC from InsetWrap.
7426
7427 2002-09-16  John Levon  <levon@movementarian.org>
7428
7429         * lyxfunc.C: check tabular for cut/copy too
7430
7431 2002-09-12  John Levon  <levon@movementarian.org>
7432
7433         * LyXAction.C: tidy
7434
7435         * factory.h:
7436         * factory.C: add header
7437
7438         * paragraph_funcs.h:
7439         * paragraph_funcs.C: cleanup
7440
7441 2002-09-11  John Levon  <levon@movementarian.org>
7442
7443         * PrinterParams.h: odd/even default to true
7444
7445 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7446
7447         * PrinterParams.h: update printer parameters for new xforms dialog
7448
7449 2002-09-11  Angus Leeming  <leeming@lyx.org>
7450
7451         * lyxserver.C (read_ready): re-write to make it more transparent
7452         and to make it work in coherent fashion under Tru64 Unix.
7453
7454 2002-09-11  André Pönitz <poenitz@gmx.net>
7455
7456         * commandtags.h:
7457         * LyXAction.C:
7458         * text3.C: implement LFUN_WORDSEL
7459
7460 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7461
7462         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7463         make floatlist_ a boost::shared_ptr<FloatList>
7464
7465         * lyxtextclass.C: include FloatList.h
7466         (LyXTextClass): initialize floatlist_
7467         (TextClassTags): add TC_NOFLOAT
7468         (Read): match "nofloat" to TC_NOFLOAT and use it.
7469         (readFloat): modify call to floatlist_
7470         (floats): ditto
7471         (floats): ditto
7472
7473         * FloatList.[Ch] (FloatList): remove commented out float
7474         initialization.
7475         (erase): new function
7476
7477 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7478
7479         * MenuBackend.C (expandToc): fix crash when there is no document
7480         open
7481
7482 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7483
7484         * many files: Add insetwrap.
7485
7486 2002-09-09  John Levon  <levon@movementarian.org>
7487
7488         * text2.C: remove confusing and awkward depth wraparound
7489
7490 2002-09-09  John Levon  <levon@movementarian.org>
7491
7492         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7493
7494         * buffer.h:
7495         * buffer.C: remove getIncludeonlyList()
7496
7497         * paragraph.C:
7498         * lyxfunc.C: remove headers
7499
7500 2002-09-09  Juergen Vigna  <jug@sad.it>
7501
7502         * text.C (getColumnNearX): fix form Michael this is most
7503         probably a cut&paste bug.
7504
7505 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7506
7507         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7508
7509         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7510         references, ws changes.
7511
7512         * text2.C (init): update counters after init
7513         (insertParagraph): no need to set counter on idividual paragraphs.
7514         (setCounter): access the counters object in the textclass object
7515         on in the buffer object.
7516         (updateCounters): ditto
7517
7518         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7519         shared_ptr<Counters> to avoid loading counters.h in all
7520         compilation units.
7521         (LyXTextClass): initialize ctrs_
7522         (TextClassTags): add TC_COUNTER, and ...
7523         (Read): use it here.
7524         (CounterTags): new tags
7525         (readCounter): new function
7526         (counters): new funtion
7527         (defaultLayoutName): return a const reference
7528
7529         * counters.C (Counters): remove contructor
7530         (newCounter): remove a couple of unneeded statements.
7531         (newCounter): simplify a bit.
7532         (numberLabel): some small formatting changes.
7533
7534         * buffer.[Ch]: remove all traces of counters, move the Counters
7535         object to the LyXTextClass.
7536
7537 2002-09-06  Alain Castera  <castera@in2p3.fr>
7538
7539         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7540         package to set the horizontal alignment on fixed width columns.
7541
7542         * lyx_sty.C:
7543         * lyx_sty.h: added tabularnewline macro def.
7544
7545         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7546
7547 2002-09-06  John Levon  <levon@movementarian.org>
7548
7549         * LyXAction.C: tooltips for sub/superscript
7550
7551         * MenuBackend.C: a bit more verbose
7552
7553         * lyxfunc.C: tiny clean
7554
7555         * undo_funcs.C: document undo_frozen
7556
7557 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7558
7559         * counters.C (Counters): add missing algorithm counter.
7560
7561         * text2.C (setCounter): lookup the counter with layouts latexname
7562         instead of by section number.
7563         (setCounter): use a hackish way to lookup the correct enum
7564         counter.
7565         a float name->type change
7566         reset enum couners with counter name directly instead of depth value.
7567
7568         * counters.C (Counters): remove the push_backs, change to use the
7569         float type not the float name.
7570         (labelItem): remove unused string, float name->type change
7571
7572         * counters.h: don't include vector, loose the enums and sects vectors
7573
7574 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7575
7576         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7577         (Read): add float->TC_FLOAT to textclassTags
7578         (Read): and handle it in the switch
7579         (readFloat): new function
7580
7581         * FloatList.C (FloatList): comment out the hardcoded float
7582         definitions.
7583
7584         * lyxlayout.h: ws change.
7585
7586 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7587
7588         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7589
7590 2002-09-03  Angus Leeming  <leeming@lyx.org>
7591
7592         * BufferView_pimpl.h: qualified name is not allowed in member
7593         declaration: WorkArea & Pimpl::workarea() const;
7594
7595         * factory.C: added using std::endl directive.
7596
7597         * text3.C: added using std::find and std::vector directives.
7598
7599 2002-08-29  André Pönitz <poenitz@gmx.net>
7600
7601         * lyxtext.h:
7602         * text2.C: remove unused member number_of_rows
7603
7604         * Makefile.am:
7605         * BufferView2.C: remove file, move contents to...
7606         * BufferView.C: ... here
7607
7608         * BufferView_pimpl.C:
7609         * factory.C: move more inset creation to factory
7610
7611         * vspace.C: avoid direct usage of LyXText, ws changes
7612
7613         * BufferView.[Ch]:
7614                 don't provide direct access to WorkArea, use two simple
7615                 acessors haveSelction() and workHeight() instead
7616
7617
7618 2002-08-29  John Levon  <levon@movementarian.org>
7619
7620         * BufferView_pimpl.C (dispatch): do not continue when
7621           no buffer
7622
7623 2002-08-28  André Pönitz <poenitz@gmx.net>
7624
7625         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7626
7627         * BufferView.h:
7628         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7629
7630 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7631
7632         * buffer.C: increment LYX_FORMAT to 221
7633
7634         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7635         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7636
7637         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7638
7639         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7640
7641 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7642
7643         * factory.C (createInset): use LyXTextClass::floats
7644
7645         * MenuBackend.C (expandFloatListInsert):
7646         (expandFloatInsert):
7647         (expandToc):
7648
7649         * text2.C (setCounter):
7650
7651         * LaTeXFeatures.C (useFloat):
7652         (getFloatDefinitions):
7653
7654         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7655
7656         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7657         floatlist_, with accessor floats().
7658
7659         * FloatList.h: remove global FloatList
7660
7661 2002-08-26  André Pönitz <poenitz@gmx.net>
7662
7663         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7664
7665         * BufferView.h:
7666         * BufferView2.C:
7667         * BufferView_pimpl.C:
7668         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7669
7670 2002-08-25  John Levon  <levon@movementarian.org>
7671
7672         * LyXAction.C: fix margin note description
7673
7674 2002-08-24  John Levon  <levon@movementarian.org>
7675
7676         * buffer.C:
7677         * bufferlist.C:
7678         * bufferview_funcs.C:
7679         * lyxfont.C:
7680         * undo_funcs.C: cleanups
7681
7682         * lyxfunc.C: disable CUT/COPY when no selection
7683
7684 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7685
7686         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7687         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7688
7689         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7690         Add backward compatibility to "mono", "gray" and "no".
7691
7692 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7693
7694         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7695         (and file_format >= 200).
7696
7697 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7698
7699         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7700
7701 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7702
7703         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7704
7705 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7706
7707         * BufferView_pimpl.C:
7708         * LyXAction.C:
7709         * buffer.C:
7710         * commandtags.h:
7711         * lyxfunc.C:
7712         * paragraph.[Ch]:
7713         * text2.C:
7714         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7715         inset and code to make it  work with the paragraph code. The inset
7716         can be anywhere in the paragraph, but will only do the expected
7717         thing in LaTeX if the layout file contains the parameter line
7718                         OptionalArgs    1
7719         (or more generally, a nonzero value) for that layout.
7720
7721 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7722
7723         * paragraph.h: remove the declaration of undefined counters class
7724         function.
7725
7726 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7727
7728         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7729         Dr. Richard Hawkins.
7730
7731 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7732
7733         * paragraph_funcs.h: remove some unneeded includes
7734
7735         * text.C (backspace): pasteParagraph now in global scipe
7736
7737         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7738         (pasteSelection): ditto
7739
7740         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7741         * paragraph_funcs.C (pasteParagraph): ... here
7742
7743 2002-08-20  André Pönitz <poenitz@gmx.net>
7744
7745         * commandtags.h: new LFUNs for swapping/copying table row/colums
7746
7747         * LyXAction.C:
7748         * lyxfunc.C: support for new lfuns
7749
7750 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7751
7752         * tabular.C:
7753         * buffer.[Ch]: remove NO_COMPABILITY stuff
7754
7755 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7756
7757         * boost.C (throw_exception): new file, with helper function for
7758         boost compiled without exceptions.
7759
7760         * paragraph.h:
7761         * lyxlength.C:
7762         * buffer.C:
7763         * ParameterStruct.h:
7764         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7765
7766         * bufferlist.C (emergencyWriteAll): use boost bind
7767
7768         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7769
7770         * text.C: include paragraph_funcs.h
7771         (breakParagraph): breakParagraph is now in global scope
7772
7773         * paragraph_funcs.[Ch]: new files
7774
7775         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7776         global scope
7777
7778         * buffer.C: include paragraph_funcs.h
7779         (insertStringAsLines): breakParagraph is now in global scope
7780
7781         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7782         paragraph_funcs.C
7783
7784         * CutAndPaste.C: include paragraph_funcs.h
7785         (cutSelection): breakParagraphConservative is now in global scope
7786         (pasteSelection): ditto
7787
7788         * buffer.h: declare oprator== and operator!= for
7789         Buffer::inset_iterator
7790
7791         * bufferlist.C (emergencyWrite): don't use fmt(...)
7792
7793         * text3.C: add using std::endl
7794
7795         * BufferView.C (moveCursorUpdate): remove default arg
7796
7797 2002-08-20  André Pönitz <poenitz@gmx.net>
7798
7799         * buffer.[Ch]: move inline functions to .C
7800
7801         * BufferView2.C:
7802         * BufferView_pimpl.C:
7803         * text.C:
7804         * buffer.[Ch]: use improved inset_iterator
7805
7806         * buffer.C:
7807         * paragraph.[Ch]: write one paragraph at a time
7808
7809 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7810
7811         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7812         style if style is not specified.
7813
7814 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7815
7816         * text2.C (setCounter): when searching for right label for a
7817         caption, make sure to recurse to parent insets (so that a caption
7818         in a minipage in a figure float works) (bug #568)
7819
7820 2002-08-20  André Pönitz <poenitz@gmx.net>
7821
7822         * text3.C: new file for LyXText::dispatch() and helpers
7823
7824         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7825
7826         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7827
7828 2002-08-19  André Pönitz <poenitz@gmx.net>
7829
7830         * lyxtext.h:
7831         * text.C: new LyXText::dispatch()
7832
7833         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7834
7835 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7836
7837         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7838
7839         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7840         Hebrew text.
7841
7842 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7843
7844         * Makefile.am: use $(variables) instead of @substitutions@
7845
7846 2002-08-15  André Pönitz <poenitz@gmx.net>
7847
7848         * lyxfunc.C:
7849         * BufferView_pimpl.C: streamlining mathed <-> outer world
7850         interaction
7851
7852         * commandtags.h:
7853         * LyXAction.C: remove unused LFUN_MATH
7854
7855 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7856
7857         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7858
7859 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7860
7861         * paragraph.C (Paragraph): reformat a bit
7862         (cutIntoMinibuffer): use builtin InsetList function instad of
7863         doing it manually.
7864         (getInset): ditto
7865
7866         * buffer.C: include boost/bind.hpp, add using std::for_each
7867         (writeFileAscii): use ParagraphList iterators
7868         (validate): use for_each for validate traversal of paragraphs
7869         (getBibkeyList): use ParagraphList iterators
7870         (resizeInsets): use for_each to resizeInsetsLyXText for all
7871         paragraphs.
7872         (getParFromID): use ParagraphList iterators
7873
7874         * BufferView2.C (lockInset): use paragraph list and iterators
7875
7876 2002-08-14  John Levon  <levon@movementarian.org>
7877
7878         * lyxserver.C: remove spurious xforms include
7879
7880 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7881
7882         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7883
7884 2002-08-13  André Pönitz <poenitz@gmx.net>
7885
7886         * LyXAction.[Ch]:
7887         * lyxfunc.C: further cleaning
7888
7889 2002-08-13  André Pönitz <poenitz@gmx.net>
7890
7891         * funcrequest.h: new constructor
7892
7893         * funcrequest.C: move stuff here from .h
7894
7895         * Makefile.am:
7896         * BufferView_pimpl.C:
7897         * LyXAction.C:
7898         * toc.C:
7899         * lyxfunc.C: subsequent changes
7900
7901         * lyxfunc.h: new view() member function
7902
7903         * lyxfunc.C: subsequent changes
7904
7905 2002-08-13  Angus Leeming  <leeming@lyx.org>
7906
7907         * BufferView2.C:
7908         * BufferView_pimpl.C:
7909         * buffer.C:
7910         * converter.C:
7911         * importer.C:
7912         * lyxfunc.C:
7913         * lyxvc.C:
7914         * toc.C:
7915         * vc-backend.C:
7916         changes due to the changed LyXView interface that now returns references
7917         to member variables not pointers.
7918
7919 2002-08-13  Angus Leeming  <leeming@lyx.org>
7920
7921         * WordLangTuple (word, lang_code): return references to strings,
7922         not strings.
7923
7924         * BufferView.h:
7925         * SpellBase.h:
7926         * lyxtext.h: forward-declare WordLangTuple.
7927
7928         * BufferView2.C:
7929         * ispell.C:
7930         * pspell.C:
7931         * text.C: #include "WordLangTuple.h".
7932
7933         * lyxtext.h:
7934         * text.C: (selectNextWordToSpellcheck): constify return type.
7935
7936 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7937
7938         * buffer.C:
7939         * buffer.h:
7940         * lyxtext.h:
7941         * paragraph.C:
7942         * paragraph_pimpl.h:
7943         * text.C:
7944         * text2.C:
7945         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7946         suggested by Angus.
7947         Made updateCounter always count from start of buffer, and removed
7948         second argument (par).
7949         Reverted floats number display to '#'. Perhaps I'll try again when the
7950         code base is sanitized a bit.
7951
7952 2002-08-12  Angus Leeming  <leeming@lyx.org>
7953
7954         * buffer.[Ch] (getLabelList): constify.
7955
7956 2002-08-07  André Pönitz <poenitz@gmx.net>
7957
7958         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7959
7960         * funcrequest.h: extension to keep mouse (x,y) position
7961
7962 2002-08-12  Juergen Vigna  <jug@sad.it>
7963
7964         * BufferView2.C (insertErrors): forbid undo when inserting error
7965         insets.
7966
7967         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7968
7969 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7970
7971         * ParagraphList.[Ch]: new files
7972
7973         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7974
7975         * BufferView2.C (lockInset): ParagraphList changes
7976         * toc.C: ditto
7977         * text2.C: ditto
7978         * bufferlist.C: ditto
7979         * buffer.h: ditto
7980         * buffer.C: ditto
7981
7982 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7983
7984         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7985         unused class variable counter_,
7986
7987         * paragraph.[Ch] (getFirstCounter): delete unused function
7988
7989         * counters.C: include LAssert.h
7990         (reset): add a new function with no arg, change other version to
7991         not have def. arg and to not allow empty arg.
7992
7993         * text2.C (setCounter): remove empty arg from call to Counters::reset
7994
7995 2002-08-11  John Levon  <levon@movementarian.org>
7996
7997         * Makefile.am: add WordLangTuple.h
7998
7999 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8000
8001         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8002         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8003
8004         * insets/insettext.C: InsetList changes
8005
8006         * graphics/GraphicsSupport.C (operator()): InsetList changes
8007
8008         * toc.C (getTocList): InsetList changes
8009
8010         * paragraph_pimpl.[Ch]: InsetList changes
8011
8012         * paragraph.[Ch]: InsetList changes
8013
8014         * buffer.C (inset_iterator): InsetList changes
8015         (setParagraph): ditto
8016         * buffer.h (inset_iterator): ditto
8017         * iterators.C (operator++): ditto
8018         * iterators.h: ditto
8019
8020         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8021
8022         * InsetList.[Ch]: new files, most InsetList handling moved out of
8023         paragraph.C.
8024
8025         * BufferView2.C (removeAutoInsets): InsetList changes
8026         (lockInset): ditto
8027         (ChangeInsets): ditto
8028
8029 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8030
8031         * paragraph_pimpl.h (empty): new function
8032
8033         * paragraph.[Ch] (empty): new function
8034
8035         * other files: use the new Paragraph::empty function
8036
8037 2002-08-09  John Levon  <levon@movementarian.org>
8038
8039         * lyxtext.h: remove unused refresh_height
8040
8041 2002-08-09  John Levon  <levon@movementarian.org>
8042
8043         * Makefile.am:
8044         * sgml.h:
8045         * sgml.C:
8046         * buffer.C:
8047         * paragraph.h:
8048         * paragraph.C: move sgml char escaping out of paragraph
8049
8050         * paragraph.h:
8051         * paragraph.C: remove id setter
8052
8053         * buffer.C:
8054         * paragraph.C:
8055         * paragraph_pimpl.C: remove dead tex_code_break_column
8056
8057         * bufferview_funcs.C: small cleanup
8058
8059         * lyxfunc.C: remove dead proto
8060
8061         * lyxtext.h: make some stuff private. Remove some dead stuff.
8062
8063         * lyxgluelength.C: make as[LyX]String() readable
8064
8065 2002-08-08  John Levon  <levon@movementarian.org>
8066
8067         * LyXAction.h:
8068         * LyXAction.C:
8069         * MenuBackend.C:
8070         * ToolbarDefaults.C:
8071         * lyxfunc.C:
8072         * lyxrc.C:
8073         * toc.C: lyxaction cleanup
8074
8075 2002-08-08  John Levon  <levon@movementarian.org>
8076
8077         * BufferView2.C: small cleanup
8078
8079         * lyxfind.h:
8080         * lyxfind.C: move unnecessary header into the .C
8081
8082 2002-08-08  John Levon  <levon@movementarian.org>
8083
8084         * funcrequest.h: just tedious nonsense
8085
8086         * lyx_main.h:
8087         * lyx_main.C: cleanups
8088
8089         * buffer.C:
8090         * vspace.C: remove dead header lyx_main.h
8091
8092 2002-08-07  Angus Leeming  <leeming@lyx.org>
8093
8094         * Paragraph.[Ch]:
8095         * paragraph_pimpl.h:
8096         Forward declare class Counters in paragraph.h by moving the ctrs member
8097         variable into Paragraph::Pimpl.
8098         (counters): new method, returning a reference to pimpl_->ctrs.
8099
8100         * text2.C: ensuing changes.
8101
8102 2002-08-07  John Levon  <levon@movementarian.org>
8103
8104         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8105
8106         * BufferView_pimpl.C: announce X selection on double/triple
8107           click
8108
8109         * lyx_main.C: use correct bool in batch dispatch
8110
8111         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8112
8113 2002-08-07  André Pönitz <poenitz@gmx.net>
8114
8115         * funcrequest.h: new class to wrap a kb_action and its argument
8116
8117         * BufferView.[Ch]:
8118         * BufferView_pimpl[Ch]:
8119         * LaTeX.C:
8120         * LyXAction.[Ch]:
8121         * lyxfunc.[Ch]:
8122         * lyxrc.C: subsequent changes
8123
8124
8125 2002-08-07  John Levon  <levon@movementarian.org>
8126
8127         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8128           document options change.
8129
8130 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8131
8132         * counters.[Ch]
8133         * text2.C
8134         * paragraph.[Ch]
8135         * makefile.am: move counters functionality over from
8136         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8137
8138 2002-08-06  John Levon  <levon@movementarian.org>
8139
8140         * WordLangTuple.h: new file for word + language code tuple
8141
8142         * SpellBase.h:
8143         * pspell.h:
8144         * pspell.C:
8145         * ispell.h:
8146         * ispell.C:
8147         * lyxtext.h:
8148         * text.C:
8149         * text2.C:
8150         * BufferView.h:
8151         * BufferView2.C: use WordLangTuple
8152
8153         * layout.h:
8154         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8155
8156 2002-08-06  John Levon  <levon@movementarian.org>
8157
8158         * lyx_main.C: fix cmdline batch handling
8159
8160 2002-08-06  André Pönitz <poenitz@gmx.net>
8161
8162         * lyxrc.C: set default for show_banner to true
8163
8164 2002-08-06  John Levon  <levon@movementarian.org>
8165
8166         * pspell.C: fix a crash, and allow new aspell to work
8167
8168 2002-08-06  John Levon  <levon@movementarian.org>
8169
8170         * lyxfunc.C:
8171         * kbmap.C: small cleanup
8172
8173         * vspace.h:
8174         * vspace.C: add const
8175
8176 2002-08-05  John Levon  <levon@movementarian.org>
8177
8178         * LyXAction.C: back to tabular-insert
8179
8180 2002-08-04  John Levon  <levon@movementarian.org>
8181
8182         * BufferView.h:
8183         * BufferView.C: cosmetic change
8184
8185         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8186
8187         * bufferlist.C:
8188         * buffer.h:
8189         * buffer.C:
8190         * lyxcb.h:
8191         * lyxcb.C:
8192         * lyxserver.C:
8193         * lyxvc.C:
8194         * vc-backend.C:
8195         * BufferView2.C: purge all "Lyx" not "LyX" strings
8196
8197         * lyxcursor.h:
8198         * lyxcursor.C: attempt to add some documentation
8199
8200         * lyxfunc.C:
8201         * commandtags.h:
8202         * LyXAction.C:
8203         * ToolbarDefaults.C:
8204         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8205           merge with LFUN_TABULAR_INSERT
8206
8207         * Makefile.am:
8208         * SpellBase.h:
8209         * ispell.h:
8210         * ispell.C:
8211         * pspell.h:
8212         * pspell.C: split up i/pspell implementations into separate
8213           files, many cleanups
8214
8215         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8216
8217         * text2.C: some cleanup
8218
8219         * lyxfunc.C: don't check for isp_command == "none" any more, it
8220           didn't make any sense
8221
8222 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8223
8224         * counters.[Ch]
8225         * text2.C
8226         * paragraph.[Ch]
8227         * makefile.am: move counters functionality over
8228         from text2.C/paragraph.[Ch] to counters.[Ch], and
8229         make proper C++.
8230 2002-08-02  John Levon  <levon@movementarian.org>
8231
8232         * buffer.C: s/lyxconvert/lyx2lyx/
8233
8234 2002-08-02  Angus Leeming  <leeming@lyx.org>
8235
8236         * lyxlex.C: revert John's change as it breaks reading of the user
8237         preamble.
8238
8239 2002-08-02  Angus Leeming  <leeming@lyx.org>
8240
8241         * importer.C (Import):
8242         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8243         changes due to LyXView::view() now returning a boost::shared_ptr.
8244
8245 2002-08-02  John Levon  <levon@movementarian.org>
8246
8247         * lyxlex.C: small cleanup
8248
8249 2002-08-02  John Levon  <levon@movementarian.org>
8250
8251         * text2.C (status): small cleanup, no logic change
8252
8253 2002-08-01  John Levon  <levon@movementarian.org>
8254
8255         * buffer.h:
8256         * buffer.C (writeFile): don't output alerts, caller
8257           handles this
8258
8259         * bufferlist.C:
8260         * lyx_cb.C: from above
8261
8262         * lyxfunc.C: allow to open non-existent files
8263
8264 2002-07-31  John Levon  <levon@movementarian.org>
8265
8266         * lyxserver.C: don't let incidental errors get
8267           in the way (errno)
8268
8269 2002-07-30  John Levon  <levon@movementarian.org>
8270
8271         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8272
8273 2002-07-30  John Levon  <levon@movementarian.org>
8274
8275         * lyxserver.h:
8276         * lyxserver.C: remove I/O callback too
8277
8278 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8279
8280         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8281         log.
8282
8283 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8284
8285         * many files: strip,frontStrip -> trim,ltrim,rtrim
8286
8287 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8288
8289         * PrinterParams.h: remove extern containsOnly, and include
8290         support/lstrings.h instead.
8291
8292         * LaTeX.C (scanAuxFile): modify because of strip changes
8293         (deplog): ditto
8294         * buffer.C (makeLaTeXFile): ditto
8295         * bufferparams.C (writeFile): ditt
8296         * lyxfont.C (stateText): ditto
8297         * lyxserver.C (read_ready): ditto
8298         * vc-backend.C (scanMaster): ditto
8299
8300         * BufferView_pimpl.h: ws changes
8301
8302         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8303
8304 2002-07-26  André Pönitz <poenitz@gmx.net>
8305
8306         * kb_sequence.C: remove unnedred usings
8307
8308 2002-07-26  Juergen Vigna  <jug@sad.it>
8309
8310         * lyxfind.C (LyXReplace): we have to check better if the returned
8311         text is not of theLockingInset()->getLockingInset().
8312
8313 2002-07-25  Juergen Vigna  <jug@sad.it>
8314
8315         * lyxfind.C (LyXReplace): don't replace if we don't get the
8316         right LyXText.
8317
8318         * undo_funcs.C (createUndo): remove debugging code.
8319
8320 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8321
8322         * buffer.C (parseSingleLyXformat2Token): Use default placement
8323         when reading old floats.
8324
8325         * FloatList.C (FloatList): Change the default placement of figure
8326         and tables to "tbp".
8327
8328 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8329
8330         * MenuBackend.C: using std::max
8331
8332 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8333
8334         * MenuBackend.C (expandToc):
8335         (expandToc2): code moved from xforms menu frontend. It is now
8336         generic and TOCs are transparent to menu frontends.
8337
8338 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8339
8340         * toc.C (getTocList): protect against buf=0
8341
8342         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8343         Menu as first parameter. Now, this calls itself recursively to
8344         expand a whole tree (this will be useful for TOC handling)
8345         (expandFloatInsert): remove 'wide' version of floats
8346
8347         * MenuBackend.h (submenuname): returns the name of the submenu.
8348         (submenu): returns the submenu itself, provided it has been
8349         created by MenuBackend::expand
8350
8351 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8352
8353         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8354         insets which have noFontChange == true. (bug #172)
8355
8356 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8357
8358         * BufferView_pimpl.C: add connection objects and use them...
8359         (Pimpl): here.
8360
8361 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8362
8363         * MenuBackend.C (expandLastfiles):
8364         (expandDocuments):
8365         (expandFormats):
8366         (expandFloatListInsert):
8367         (expandFloatInsert):
8368         (expand): split expand in parts
8369
8370 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8371
8372         * lyx_gui.C: use lyx_gui::exit()
8373
8374 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8375
8376         * LyXAction.C: show the failing pseudo action
8377
8378 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8379
8380         * buffer.C (readFile): Run the lyxconvert script in order to read
8381         old files.
8382
8383 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8384
8385         * LyXAction.C:
8386         * commandtags.h:
8387         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8388
8389 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8390
8391         * LyXAction.C:
8392         * commandtags.h:
8393         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8394
8395 2002-07-22  Herbert Voss  <voss@lyx.org>
8396
8397         * lengthcommon.C:
8398         * lyxlength.[Ch]: add support for the vertical lengths
8399
8400 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8401
8402         * toc.[Ch]: std:: fixes
8403
8404 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8405
8406         * lyxrc.C: do not include lyx_main.h
8407
8408         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8409         for layouts
8410
8411         * lyxrc.C:
8412         * encoding.C:
8413         * bufferlist.C:
8414         * BufferView2.C: include "lyxlex.h"
8415
8416         * tabular.h:
8417         * bufferparams.h: do not #include "lyxlex.h"
8418
8419         * lyxtextclasslist.C (Add): remove method
8420         (classlist): renamed to classlist_
8421
8422         * paragraph_pimpl.C:
8423         * paragraph.C:
8424         * text2.C:
8425         * CutAndPaste.C:
8426         * bufferview_funcs.C:
8427         * bufferlist.C:
8428         * text.C:
8429         * LaTeXFeatures.C:
8430         * buffer.C:
8431         * toc.C (getTocList): use BufferParams::getLyXTextClass
8432
8433         * toc.C (getTocList): use InsetFloat::addToToc
8434
8435         * toc.[Ch]: new files, containing helper functions to handle table
8436         of contents
8437
8438         * lyxfunc.C (dispatch): no need to remove spaces around command
8439         given as a string
8440         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8441         first command of the sequence; it is not very clever, but I do not
8442         have a better idea, actually
8443
8444         * LyXAction.C (LookupFunc): make sure to remove space at the
8445         beginning and end of the command
8446
8447 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8448
8449         * MenuBackend.C (getMenubar): new method: return the menubar of
8450         this menu set
8451         (read): treat differently reading of menu and menubar (in
8452         particular, the menubar has no name now)
8453         (Menu::menubar): remove
8454
8455         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8456         saving is finished
8457
8458 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8459
8460         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8461         a bibitem inset in a RTL paragraph.
8462
8463 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8464
8465         * paragraph_pimpl.C: constify
8466
8467         * BufferView_pimpl.C:
8468         * LaTeX.C:
8469         * lyxfunc.C: fix dispatch in a nicer way
8470
8471 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8472
8473         * lyxfunc.C (dispatch):
8474         * BufferView_pimpl.C:
8475         * BufferView_pimpl.h:
8476         * BufferView.C:
8477         * BufferView.h: rename Dispatch() to dispatch()
8478
8479         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8480
8481         * lyxlayout.C (Read): honor DependsOn tag
8482
8483         * lyxlayout.[Ch] (depends_on): new method
8484
8485         * version.C.in: update lyx_docversion
8486
8487         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8488
8489         * paragraph.C (validate): remove from here...
8490         * paragraph_pimpl.C (validate): ... and move here
8491         (isTextAt): make it const
8492
8493         * buffer.C (getLists): ws cleanup
8494
8495 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8496
8497         * language.C (read): Use iso8859-1 encoding in latex_lang
8498         (this prevents LyX from crashing when using iso10646-1 encoding).
8499
8500 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8501
8502         * text2.C (toggleInset): if cursor is inside an inset, close the
8503         inset and leave cursor _after_ it
8504
8505 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8506
8507         * lyxfunc.C: move minibuffer completion handling out of here
8508
8509 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8510
8511         * BufferView_pimpl.C:
8512         * LaTeX.C: fix dispatch calls
8513
8514 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8515
8516         * text.C (drawChars): Fix Arabic text rendering.
8517
8518 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8519
8520         * LyXAction.C:
8521         * commandtags.h:
8522         * lyxfunc.C: remove message-push/pop
8523
8524         * lyxserver.C:
8525         * lyxfunc.h:
8526         * lyxfunc.C: rationalise some code by removing verboseDispatch
8527           in favour of a bool argument to dispatch()
8528
8529 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8530
8531         * lyx_main.C (init): make sure to read symlinks as absolute paths
8532
8533 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8534
8535         * lyxfunc.h:
8536         * lyxfunc.C: no need for commandshortcut to be a member
8537
8538 2002-07-15  André Pönitz <poenitz@gmx.net>
8539
8540         * converter.C: add support for $$s (scripts from lib/scripts dir)
8541         * lyx_main.C: white space
8542
8543 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8544
8545         * bufferlist.C:
8546         * lyxrc.h:
8547         * lyxrc.C: remove second exit confirmation
8548
8549 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8550
8551         * BufferView.h:
8552         * BufferView.C:
8553         * BufferView2.C:
8554         * BufferView_pimpl.h:
8555         * BufferView_pimpl.C:
8556         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8557
8558 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8559
8560         * MenuBackend.C (expand): add numeric shortcuts to document menu
8561
8562         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8563
8564 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8565
8566         * lyxfont.C (setLyXFamily):
8567         (setLyXSeries):
8568         (setLyXShape):
8569         (setLyXSize):
8570         (setLyXMisc):
8571         (lyxRead):
8572         * debug.C (value):
8573         * buffer.C (asciiParagraph): use ascii_lowercase
8574
8575 2002-07-15  Mike Fabian  <mfabian@suse.de>
8576
8577         * lyxlex_pimpl.C (search_kw):
8578         * lyxlex.C (getLongString):
8579         * converter.h (operator<):
8580         * converter.C (operator<):
8581         * buffer.C (parseSingleLyXformat2Token):
8582         (asciiParagraph):
8583         * ToolbarDefaults.C (read):
8584         * MenuBackend.C (checkShortcuts):
8585         (read):
8586         * LColor.C (getFromGUIName):
8587         (getFromLyXName): use the compare_ascii_no_case instead of
8588         compare_no_case, because in turkish, 'i' is not the lowercase
8589         version of 'I', and thus turkish locale breaks parsing of tags.
8590
8591 2002-07-16  Angus Leeming  <leeming@lyx.org>
8592
8593         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8594         now takes a Buffer const & argument.
8595
8596 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8597
8598         * BufferView.C (resize): check there's a buffer to resize
8599
8600 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8601
8602         * lyxfunc.C: remove dead code
8603
8604         * lyxserver.h:
8605         * lyxserver.C: use lyx_guii::set_read_callback
8606
8607 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8608
8609         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8610         an inset in a RTL paragraph.
8611
8612 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8613
8614         * lyxfunc.C: repaint after a font size update
8615
8616 2002-07-15  André Pönitz <poenitz@gmx.net>
8617
8618         * lyxlength.C: inBP should be able to return negative values
8619
8620 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8621
8622         * lyxfunc.C: use lyx_gui::update_fonts()
8623
8624 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8625
8626         * lyxfunc.C: use lyx_gui::update_color()
8627
8628 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8629
8630         * bufferlist.C:
8631         * lyxfunc.h:
8632         * lyxfunc.C:
8633         * lyxrc.h:
8634         * lyxrc.C: remove file->new asks for name option, and let
8635           buffer-new take an argument
8636
8637 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8638
8639         * BufferView_pimpl.C: remove unneeded extra repaint()
8640
8641 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8642
8643         * LyXAction.C: allow command-sequence with NoBuffer
8644
8645         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8646
8647 2002-07-10  Angus Leeming  <leeming@lyx.org>
8648
8649         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8650
8651 2002-07-09  Angus Leeming  <leeming@lyx.org>
8652
8653         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8654
8655 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8656
8657         * lengthcommon.h: whitespace
8658
8659         * lyxfunc.C: update scrollbar after goto paragraph
8660
8661         * lyxtext.h: factor out page break drawing, and fix it so
8662           page break/added space paints as selected nicely
8663
8664 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8665
8666         * BufferView_pimpl.C: add FIXMEs, clean up a little
8667
8668 2002-07-09  André Pönitz <poenitz@gmx.net>
8669
8670         * lyxfont.[Ch]: support for wasy symbols
8671
8672 2002-07-08  André Pönitz <poenitz@gmx.net>
8673
8674         * BufferView_pimpl.C: apply John's patch for #93.
8675
8676 2002-07-05  Angus Leeming  <leeming@lyx.org>
8677
8678         * BufferView_pimpl.C (buffer): generate previews if desired.
8679
8680         * LColor.h: add "preview" to the color enum.
8681
8682         * LColor.C (LColor): add a corresponding entry to the items array.
8683
8684         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8685         with this buffer.
8686
8687 2002-07-05  Angus Leeming  <leeming@lyx.org>
8688
8689         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8690         The body of the code is now in the method that is passed an ostream &
8691         rather than a file name.
8692         Pass an additional only_preamble parameter, useful for the forthcoming
8693         preview stuff.
8694
8695 2002-07-03  André Pönitz <poenitz@gmx.net>
8696
8697         * lyxfunc.C: simplify getStatus() a bit for math stuff
8698
8699 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8700
8701         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8702
8703 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8704
8705         * text.C (changeRegionCase): do not change case of all the
8706         document when region ends at paragraph end (bug #461)
8707
8708 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8709
8710         * paragraph.C (startTeXParParams):
8711         (endTeXParParams): add \protect when necessary
8712
8713 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8714
8715         * BufferView_pimpl.C (workAreaExpose): remove warning
8716
8717 2002-06-27  Angus Leeming  <leeming@lyx.org>
8718
8719         * Makefile.am: add lyxlayout_ptr_fwd.h.
8720
8721 2002-06-26  André Pönitz <poenitz@gmx.net>
8722
8723         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8724
8725 2002-06-25  Angus Leeming  <leeming@lyx.org>
8726
8727         * lyxfunc.C (dispatch): Comment out the call to
8728         grfx::GCache::changeDisplay. The method no longer exists now that the
8729         pixmap generation part of the graphics loader has been moved into
8730         InsetGraphics.
8731
8732 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8733
8734         * text2.C: layout as layout
8735
8736         * text.C: layout as layout
8737
8738         * tabular.C (OldFormatRead): layout as layout
8739
8740         * paragraph_pimpl.C (TeXDeeper): layout as layout
8741         (realizeFont): layout as layout
8742
8743         * paragraph.C (writeFile): layout as layout
8744         (validate): layout as layout
8745         (getFont): layout as layout
8746         (getLabelFont): layout as layout
8747         (getLayoutFont): layout as layout
8748         (breakParagraph): layout as layout
8749         (stripLeadingSpaces): layout as layout
8750         (getEndLabel): layout as layout
8751         (getMaxDepthAfter): layout as layout
8752         (applyLayout): layout as layout
8753         (TeXOnePar): layout as layout
8754         (simpleTeXOnePar): layout as layout
8755         (TeXEnvironment): layout as layout
8756         (layout): layout as layout
8757         (layout): layout as layout
8758
8759         * lyxtextclass.C (compare_name): new functor to work with
8760         shared_ptr, layout as layout
8761         (Read): layout as layout
8762         (hasLayout): layout as layout
8763         (operator): layout as layout
8764         (delete_layout): layout as layout
8765         (defaultLayout): layout as layout
8766
8767         * lyxlayout_ptr_fwd.h: new file
8768
8769         * lyxlayout.C (Read): layout as layout
8770
8771         * lyx_cb.C (MenuInsertLabel): layout as layout
8772
8773         * bufferlist.C (newFile): layout as layout
8774
8775         * buffer.C (readLyXformat2): layout as layout
8776         (parseSingleLyXformat2Token): layout as layout
8777         (insertStringAsLines): layout as layout
8778         (asciiParagraph): layout as layout
8779         (latexParagraphs): layout as layout
8780         (makeLinuxDocFile): layout as layout
8781         (simpleLinuxDocOnePar): layout as layout
8782         (makeDocBookFile): layout as layout
8783         (simpleDocBookOnePar): layout as layout
8784         (getLists): layout as layout
8785
8786         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8787
8788         * CutAndPaste.C (cutSelection): layout as layout
8789         (pasteSelection): layout as layout
8790         (SwitchLayoutsBetweenClasses): layout as layout
8791
8792         * BufferView_pimpl.C (Dispatch): layout as layout
8793         (smartQuote): layout as layout
8794
8795         * BufferView2.C (unlockInset): layout as layout
8796
8797 2002-06-24  André Pönitz <poenitz@gmx.net>
8798
8799         * lyxfunc.C: fix #487
8800
8801 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8802
8803         * lyxrc.h:
8804         * lyxrc.C:
8805         * lyxfunc.C: remove display_shortcuts, show_banner
8806
8807 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8808
8809         * Buffer_pimpl.C: oops, update on resize
8810
8811 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8812
8813         * buffer.C:
8814         * converter.C:
8815         * exporter.C:
8816         * lyxfunc.C:
8817         * BufferView.h:
8818         * BufferView.C: use repaint()
8819
8820         * BufferView_pimpl.h:
8821         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8822           as it's a clearer description. Remove superfluous
8823           redraws.
8824
8825 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8826
8827         * text.C: fix bug 488. Not ideal, but getting
8828           getWord() to work properly for the insets that
8829           matter is more difficult ...
8830
8831 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8832
8833         * BufferView_pimpl.C:
8834         * LyXAction.C:
8835         * commandtags.h:
8836         * lyxfunc.C: remove the six million index lyxfuncs to just
8837           one, and DTRT (bug 458)
8838
8839 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8840
8841         * BufferView.h:
8842         * BufferView.C:
8843         * BufferView_pimpl.h:
8844         * BufferView_pimpl.C: clean up resize() stuff,
8845           and unnecessary updateScreen()s
8846
8847 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8848
8849         * BufferView.h:
8850         * BufferView.C:
8851         * BufferView_pimpl.h:
8852         * BufferView_pimpl.C:
8853         * lyxfind.h:
8854         * lyxfind.C:
8855         * minibuffer.C: remove focus management of workarea,
8856           not needed. Use screen's greyOut()
8857
8858 2002-06-17  Herbert Voss  <voss@lyx.org>
8859
8860         * converter.C: (convert) do not post a message, when converting
8861         fails, let the calling function decide what to do in this case
8862
8863 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8864
8865         * lyxfunc.C: tidy up a little
8866
8867 2002-06-16    <alstrup@diku.dk>
8868
8869         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8870         Got rid of FORMS_H_LOCATION include. Now we are
8871         GUII.
8872
8873 2002-06-15  LyX Development team  <lyx@rilke>
8874
8875         * buffer.[Ch] (sgmlOpenTag):
8876         (sgmlCloseTag): Added support for avoiding pernicious mixed
8877         content. Return number of lines written.
8878
8879         (makeLinuxDocFile):
8880         (makeDocBookFile): Fixed calls to sgml*Tag.
8881         Simple white space clean.
8882
8883         (simpleDocBookOnePar): Simple white space clean.
8884
8885         * tabular.[Ch] (docBook): Renamed to docbook and got another
8886         argument to related with the pernicious mixed content.
8887
8888         (docbookRow): Fixed calls for docbook inset method.
8889
8890 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8891
8892         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8893         so it's X11 independent.
8894
8895         * kb*.[Ch]: ditto.
8896
8897         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8898
8899 2002-06-15  Lyx Development team  <lyx@electronia>
8900
8901         * intl.h: Renamed getTrans to getTransManager.
8902
8903 2002-06-14  Angus Leeming  <leeming@lyx.org>
8904
8905         * Makefile.am: nuke forgotten stl_string_fwd.h.
8906
8907 2002-06-12  Angus Leeming  <leeming@lyx.org>
8908
8909         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8910
8911 2002-06-13  Angus Leeming  <leeming@lyx.org>
8912
8913         * LaTeX.C:
8914         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8915
8916 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8917
8918         * kbmap.C (getiso): add support for cyrillic and greek
8919
8920 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8921
8922         * BufferView.h:
8923         * BufferView.C:
8924         * BufferView_pimpl.h:
8925         * BufferView_pimpl.C: move bogus scrolling logic
8926           to xforms
8927
8928 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8929
8930         * lyxfunc.C:
8931         * BufferView_pimpl.C: view->resize() change
8932
8933 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8934
8935         * BufferView_pimpl.C: topCursorVisible
8936           prototype change
8937
8938 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8939
8940         * Makefile.am:
8941         * lyx_gui.h:
8942         * lyx_gui.C: move to frontends/
8943
8944         * main.C:
8945         * lyx_main.h:
8946         * lyx_main.C: changes from above
8947
8948 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8949
8950         * intl.C:
8951         * intl.h:
8952         * kbmap.C:
8953         * kbsequence.C:
8954         * lyx_cb.C:
8955         * lyx_main.C: minor tidy
8956
8957 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8958
8959         * BufferView_pimpl.h:
8960         * BufferView_pimpl.C:
8961         * BufferView.h:
8962         * BufferView.C: make painter() const,
8963           remove dead code
8964
8965         * BufferView2.C: use screen() accessor
8966
8967         * lyx_main.h:
8968         * lyx_main.C: some minor cleanup
8969
8970 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8971
8972         * BufferView_pimpl.h:
8973         * BufferView_pimpl.C: remove enter/leaveView,
8974           use workHeight()
8975
8976 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8977
8978         * BufferView.h:
8979         * BufferView.C:
8980         * BufferView2.C:
8981         * BufferView_pimpl.h:
8982         * BufferView_pimpl.C: only construct screen once,
8983           rename
8984
8985         * lyxrc.C: remove pointless comment
8986
8987 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8988
8989         * BufferView.h:
8990         * BufferView.C: remove active() and belowMouse()
8991
8992         * BufferView_pimpl.h:
8993         * BufferView_pimpl.C: use workarea() not workarea_,
8994           and make it use a scoped_ptr instead
8995
8996 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8997
8998         * lyx_gui.C: add debug message on BadWindow
8999
9000 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9001
9002         * sp_spell.C: fdopen is not part of the C++ standard.
9003
9004         * paragraph.C (InsetIterator): use >= instead of ==
9005
9006 2002-06-07  Angus Leeming  <leeming@lyx.org>
9007
9008         Fixes needed to compile with Compaq cxx 6.5.
9009         * BufferView_pimpl.C:
9010         * DepTable.C:
9011         * buffer.C:
9012         * converter.C:
9013         * encoding.C:
9014         * lyx_gui.C:
9015         * lyx_main.C:
9016         * lyxtextclasslist.C:
9017         * minibuffer.C:
9018         * sp_spell.C:
9019         * tabular_funcs.C:
9020         * vc-backend.C:
9021         all c-library variables have been moved into namespace std. Wrap
9022         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9023
9024         * lyxlength.C:
9025         * tabular-old.C:
9026         * tabular.C:
9027         Add a using std::abs declaration.
9028
9029         * kbmap.h (modifier_pair):
9030         * paragraph.h (InsetTable, InsetList):
9031         * lyxfont.h (FontBits):
9032         type definition made public.
9033
9034         * bufferlist.C (emergencyWriteAll): the compiler complains that
9035         there is more than one possible lyx::class_fun template to choose from.
9036         I re-named the void specialisation as lyx::void_class_fun.
9037
9038         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9039
9040         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9041         the compiler is is unable to find tostr in write_attribute.
9042
9043 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9044
9045         * buffer.C (sgmlError): hide #warning
9046
9047 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9048
9049         * xtl/*: get rid of xtl, which is not in use anyway
9050
9051         * LyXAction.C (init):
9052         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9053         were unimplemented xtl experimentation
9054
9055 2002-06-04  André Pönitz <poenitz@gmx.net>
9056
9057         * lyxfunc.C: disable array operation on simple formulae
9058
9059 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9060
9061         * converter.C: constify a bit
9062
9063 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9064
9065         * lyx_gui.C: check xforms version correctly
9066
9067 2002-04-30  Herbert Voss  <voss@lyx.org>
9068
9069         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9070         "keep" option
9071
9072 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9073
9074         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9075           attempt to register it with a VCS)
9076
9077 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9078
9079         * lyx_main.C (init): honor variables LYX_DIR_13x and
9080         LYX_USERDIR_13x
9081
9082 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9083
9084         * buffer.h:
9085         * buffer.C:
9086         * lyx_main.C: fix a crash on bad command line,
9087           and give a useful exit status on error
9088
9089         * lyxfunc.C (doImport): allow -i lyx to work
9090
9091 2002-03-30  André Pönitz <poenitz@gmx.net>
9092
9093         * lyxfunc.C: mathed font changes
9094
9095 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9096
9097         * LaTeX.C:
9098         * importer.h:
9099         * importer.C:
9100         * lyx_sty.h:
9101         * lyx_sty.C:
9102         * lyxlex.C:
9103         * lyxrow.h:
9104         * lyxtext.h:
9105         * paragraph.h:
9106         * paragraph.C:
9107         * texrow.h:
9108         * texrow.C:
9109         * text.C:
9110         * trans_mgr.h: srcdocs, and some minor cleanups
9111
9112 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9113
9114         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9115         call getFont all the time)
9116
9117 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9118
9119         * switch from SigC signals to boost::signals
9120
9121 2002-05-29  André Pönitz <poenitz@gmx.net>
9122
9123         * paragraph_pimpl.C (getChar): don't call size() too often...
9124
9125 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9126
9127         * paragraph_pimpl.C (insertChar): do not try to update tables when
9128         appending (pos == size())
9129
9130         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9131         in order to reduce drastically the number of comparisons needed to
9132         parse a large document
9133
9134 2002-05-29  André Pönitz <poenitz@gmx.net>
9135
9136         * text.C:
9137         * text2.C:
9138         * lyxtextclass.C:
9139         * sp_pspell.h:
9140         * textclasslist.[Ch]:
9141         * sp_ispell.h: whitespace change
9142
9143 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9144
9145         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9146         lyxaction directly now.
9147
9148 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9149
9150         * trans.C:
9151         * lyxfont.C:
9152         * lyxvc.C: remove unused headers
9153
9154 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9155
9156         * Makefile.am:
9157         * buffer.h:
9158         * undostack.h:
9159         * undostack.C:
9160         * undo_funcs.h:
9161         * undo_funcs.C: some cleanups. Use shared_ptr
9162           and a template for the undo stacks.
9163
9164 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9165
9166         * BufferView_pimpl.h:
9167         * BufferView_pimpl.C:
9168         * kbmap.h:
9169         * kbmap.C:
9170         * kbsequence.h:
9171         * kbsequence.C:
9172         * lyxfunc.h:
9173         * lyxfunc.C:
9174         * text2.C: use key_state/mouse_state
9175
9176 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9177
9178         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9179         and LSubstring
9180
9181         * chset.C: change include order
9182         (loadFile): use boost regex and get rid of LRegex and LSubstring
9183
9184         * Makefile.am (BOOST_LIBS): new variable
9185         (lyx_LDADD): use it
9186
9187         * LaTeX.C: change include order.
9188         (scanAuxFile): use boost regex and get rid of LRegex and
9189         LSubstring
9190         (deplog): ditto
9191
9192 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9193
9194         * ColorHandler.h:
9195         * ColorHandler.C:
9196         * FontInfo.h:
9197         * FontInfo.C: moved to frontends/xforms/
9198
9199         * FontLoader.h:
9200         * FontLoader.C: moved into frontends for GUIIzation
9201
9202         * Makefile.am:
9203         * lyx_gui.C:
9204         * lyxfont.C:
9205         * lyxfunc.C: changes from above
9206
9207 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9208
9209         * LColor.C: remove spurious X include
9210
9211         * BufferView_pimpl.C:
9212         * Makefile.am:
9213         * font.h:
9214         * font.C:
9215         * text.C:
9216         * text2.C: move font metrics to frontends/
9217
9218 2002-05-24  Juergen Vigna  <jug@sad.it>
9219
9220         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9221         setting the undo_cursor.
9222
9223         * ParagraphParameters.h: include local includes first.
9224
9225 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9226
9227         * BufferView_pimpl.C:
9228         * BufferView_pimpl.h:
9229         * Makefile.am:
9230         * WorkArea.h:
9231         * WorkArea.C:
9232         * screen.C: move WorkArea into frontends/
9233
9234         * lyxscreen.h:
9235         * screen.C:
9236         * text.C:
9237         * BufferView.C:
9238         * BufferView2.C: move LyXScreen into frontends/
9239
9240         * lyxlookup.h:
9241         * lyxlookup.C:
9242         * lyx_gui.C: move lyxlookup into frontends/xforms/
9243
9244 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9245
9246         * BufferView2.C:
9247         * BufferView_pimpl.C:
9248         * FontLoader.C:
9249         * LyXView.h:
9250         * LyXView.C:
9251         * Makefile.am:
9252         * WorkArea.C:
9253         * XFormsView.h:
9254         * XFormsView.C:
9255         * buffer.C:
9256         * bufferlist.C:
9257         * bufferview_funcs.C:
9258         * converter.C:
9259         * importer.C:
9260         * lyx_cb.C:
9261         * lyx_gui.C:
9262         * lyx_main.C:
9263         * lyx_find.C:
9264         * lyxfunc.C:
9265         * lyxvc.C:
9266         * minibuffer.C:
9267         * text.C:
9268         * text2.C:
9269         * trans.C:
9270         * vc-backend.C: move LyX/XFormsView into frontends/
9271
9272 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9273
9274         * Makefile.am:
9275         * PainterBase.C:
9276         * PainterBase.h:
9277         * Painter.C:
9278         * Painter.h:
9279         * WorkArea.C:
9280         * WorkArea.h:
9281         * screen.C:
9282         * tabular.C:
9283         * text.C:
9284         * text2.C: move Painter to frontends/
9285
9286 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9287
9288         * buffer.C: comment out some some code that depend upon lyx_format
9289         < 220
9290
9291         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9292         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9293
9294         * buffer.h (NO_COMPABILITY): turn off compability
9295
9296         * ColorHandler.C: include scoped_array.hpp
9297
9298         * font.C: Use more specific smart_ptr header.
9299         * Painter.C: ditto
9300         * gettext.C: ditto
9301         * ShareContainer.h: ditto
9302         * lyx_main.h: ditto
9303         * kbmap.h: ditto
9304         * FontInfo.h: ditto
9305         * BufferView_pimpl.h: ditto
9306         * ColorHandler.h: ditto
9307
9308         * kbmap.C (defkey): change call to shared_ptr::reset
9309
9310 2002-05-21  Juergen Vigna  <jug@sad.it>
9311
9312         * buffer.C (insertErtContents): fix to insert ert asis if it is
9313         non empty. Skip it completely if it contains only whitespaces.
9314
9315 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9316
9317         * BufferView_pimpl.C:
9318         * BufferView2.C: clear selection on paste (bug 393)
9319
9320 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9321
9322         * DepTable.C: include ctime
9323
9324 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9325
9326         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9327
9328 2002-05-14  Juergen Vigna  <jug@sad.it>
9329
9330         * text.C (breakParagraph): fixed function to honor the keepempty
9331         layout in the right maner and also to permit the right breaking
9332         algorithm on empty or non empyt keepempty paragraphs.
9333
9334         * paragraph.C (breakParagraph): we have to check also if the par
9335         is really empty (!size()) for isempty otherwise we do the wrong
9336         paragraph break.
9337
9338 2002-05-10  Juergen Vigna  <jug@sad.it>
9339
9340         * buffer.[Ch] : The following are only changes to the ert
9341         compatibility read reading old LaTeX layout and font stuff and
9342         convert it to ERTInsets.
9343
9344         * buffer.h: added isErtInset().
9345
9346         * buffer.C (struct ErtComp): add a fromlayout bool to check
9347         if we're inside a LaTeX layout.
9348         (isErtInset): new helper function.
9349         (insertErtContents): look for other ert insets before this one
9350         and insert the contents there, so that we don't have subsequent
9351         ERT insets with nothing between them. This way we create only one
9352         inset with multiple paragraphs. Also check if we don't insert only
9353         spaces ' ' as they are ignored anyway afterwards in the .tex file
9354         so if we have only spaces we will ignore this latex part in the
9355         new file.
9356         (parseSingleLyXformat2Token \\layout): better compatibility when
9357         reading layout-latex stuff.
9358         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9359         language tag.
9360         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9361         stuff after reading the inset only get the information back from
9362         the stack.
9363
9364 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9365
9366         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9367
9368         * LaTeXFeatures.C (getBabelOptions): New method.
9369
9370 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9371
9372         * BufferView_pimpl.C (Dispatch): work around missing argument for
9373         'layout'
9374
9375 2002-05-08  Juergen Vigna  <jug@sad.it>
9376
9377         * text.C (leftMargin): handle paragraph leftindent.
9378
9379         * paragraph.C (writeFile): write the new \\leftindent tag.
9380         (validate): handle leftindent code.
9381         (TeXEnvironment): handle paragraphleftindent code again.
9382
9383         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9384
9385         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9386         for paragrap_extra indent code and new token \\leftindent.
9387         (latexParagraphs): handle the leftindent as environment.
9388
9389         * ParameterStruct.h: added leftindent support.
9390
9391         * ParagraphParameters.C (leftIndent): added support functions for
9392         the paragraph left indent.
9393
9394         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9395         more appropriate.
9396
9397 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9398
9399         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9400         inside insetERT.
9401
9402         * text.C (computeBidiTables): No bidi in insetERT.
9403
9404         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9405         in RTL documents.
9406
9407 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9408
9409         * version.C.in: pre 5
9410
9411 2002-05-02  José Matos  <jamatos@fep.up.pt>
9412         * buffer.C (makeDocBookFile): white space changes, add newline to
9413         command styles.
9414         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9415
9416         * tabular.C (docBook): fix typo.
9417
9418 2002-05-03  Juergen Vigna  <jug@sad.it>
9419
9420         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9421         change in LyXText as we can not be sure it was not freed.
9422         (drawOneRow): remove unused code.
9423
9424         * text.C (drawInset): redo the calculation of the need_break_row as
9425         it could have a row which was already freed.
9426         (draw): look at the return value of drawInset and return false if
9427         it also returned false.
9428         (paintRowText): look at the return value of draw and return false if
9429         it also returned false.
9430
9431         * lyxtext.h: added bool return type to drawInset() and draw() so that
9432         if we have a change in the row so that the rowbreak has to be redone
9433         we abort drawing as it will be called again.
9434
9435 2002-05-02  Juergen Vigna  <jug@sad.it>
9436
9437         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9438         a change in the maintext also if we're inside an inset.
9439         (Dispatch): set the cursor again after a break line and after the
9440         screen has been updated as it could be we're in a different row.
9441
9442         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9443         to set the cursor behind the pargraph with > size().
9444         (setCursor): check also for the same paragraph when checking where
9445         to put the cursor if we have a NFR inset.
9446
9447         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9448         parts of layout read further up as it still was in the wrong
9449         position.
9450
9451 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9452
9453         * screen.C (drawFromTo): change sine fullRebreak always return
9454         true.
9455
9456         * buffer.C (parseSingleLyXformat2Token): reindent some
9457
9458         * BufferView_pimpl.C (update): change since fullRebreak always
9459         return true.
9460         (Dispatch): git rid of the last hardcoded "Standard"s.
9461
9462 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9463
9464         * text2.[Ch] (fullRebreak): make it return void now that we always
9465         returned true.
9466
9467 2002-04-30  Juergen Vigna  <jug@sad.it>
9468
9469         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9470         ert compatibility check for "latex" layout.
9471
9472 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9473
9474         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9475         minipages: use col% instead of p%, and also use the current font.
9476         (makeLaTeXFile): Fix use babel condition.
9477         (parseSingleLyXformat2Token): Correct font when reading old floats.
9478
9479 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9480
9481         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9482         inserting list of floats.
9483
9484 2002-04-25  Herbert Voss  <voss@lyx.org>
9485
9486         * MenuBackend.C (expand): don't add the graphics extensions to the
9487         export menu
9488
9489 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9490
9491         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9492         non-existing layout, do not complain if it was the default layout
9493         of the original class (bug #342)
9494
9495 2002-04-24  Juergen Vigna  <jug@sad.it>
9496
9497         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9498         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9499
9500 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9501
9502         * buffer.C (getBibkeyList): If using \bibliography, return the
9503         option field with the reference itself. Enables us to provide natbib
9504         support when using \bibliography.
9505
9506 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9507
9508         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9509
9510         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9511         natbib is provided by the LaTeX class.
9512
9513 2002-04-23  Juergen Vigna  <jug@sad.it>
9514
9515         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9516         Wakeup functions.
9517
9518         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9519
9520 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9521
9522         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9523
9524         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9525         ensuremath around textordmasculine, textordfeminine and
9526         textdegree.
9527
9528 2002-04-19  Juergen Vigna  <jug@sad.it>
9529
9530         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9531         reinitializing the buffer otherwise row-dimensions may be wrong.
9532         (update): reset also the selection cursors if they do exits otherwise
9533         their x/y positions may be wrong.
9534
9535         * text2.C (cursorDown): don't enter the inset if we came from a row
9536         above and are one row over the inset.
9537
9538         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9539         really leaving an inset.
9540
9541 2002-04-18  Juergen Vigna  <jug@sad.it>
9542
9543         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9544         of the selected paragraph does not have the selected layout also if
9545         the last one had!
9546
9547         * text2.C (setLayout): fixed bug which did not change last selected
9548         paragraph.
9549
9550         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9551         changed the read and substituted \\end_float with \\end_inset!
9552
9553         * BufferView_pimpl.C (cursorPrevious):
9554         (cursorNext): fixed to make it work with rows heigher than the work
9555         area without moving the cursor only the draw of the row.
9556         (workAreaMotionNotify): fix jumping over high rows.
9557
9558 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9559
9560         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9561         Ressler.
9562
9563 2002-04-16  Juergen Vigna  <jug@sad.it>
9564
9565         * text2.C (setCursor): set also the irow().
9566         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9567         (cursorUp):
9568         (cursorDown): support for locking an inset if the x_fix value goes
9569         inside it. That way I can transverse insets too with cursor up/down.
9570
9571         * lyxrow.h: added irow helper function same as other (i) functions.
9572
9573         * BufferView_pimpl.C (cursorPrevious):
9574         (cursorNext): fixed for insets!
9575
9576 2002-04-15  Juergen Vigna  <jug@sad.it>
9577
9578         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9579         position otherwise it is wrong in some cases.
9580
9581         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9582         inside the inset before the call.
9583
9584 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9585
9586         * buffer.[Ch] (getBibkeyList): make it const.
9587
9588 2002-04-12  Juergen Vigna  <jug@sad.it>
9589
9590         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9591
9592         * text2.C (getCursorX): new helper function
9593         (setCursor): compute also ix_
9594         (setCursorFromCoordinates): set also ix.
9595
9596         * lyxcursor.h: added ix_ and helper functions.
9597
9598         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9599
9600         * buffer.C (insertStringAsLines): dont break paragraph if the this
9601         paragraph is inside an inset which does not permit it!
9602
9603         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9604         also with no chars on this paragraph.
9605         (paintRowText): only paint stuff if it's inside the workarea!
9606
9607         * paragraph.C (breakParagraph): honor keepempty flag and break the
9608         paragraph always below not above.
9609
9610         * BufferView2.C (unlockInset): update the paragraph layout on inset
9611         unlock as we changed paragraph in such a case.
9612
9613         * lyxfind.C (LyXFind): clear the former selection if not found!
9614
9615         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9616         again called in insertChar().
9617
9618         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9619         an inset which uses the whole row!
9620         (rightMargin): ditto.
9621         (insertChar): force a rebreak if we inserted an inset!
9622
9623 2002-03-28  Herbert Voss  <voss@lyx.org>
9624
9625         * lyxlength.[Ch]: add inBP() to get the right PS-point
9626         units (BigPoint). With inPixels we have rounding errors
9627
9628 2002-04-11  Juergen Vigna  <jug@sad.it>
9629
9630         * text2.C (setCursorFromCoordinates): set iy to the right value.
9631         (setCursor): add check if row->previous exists!
9632
9633         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9634         an old float_type as this was the case in the old code!
9635
9636         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9637
9638         * BufferView2.C (showLockedInsetCursor): use iy
9639         (fitLockedInsetCursor): ditto
9640
9641         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9642         locked insets as there we have the right value now.
9643
9644         * lyxcursor.C: added iy_ variable and iy functions to set to the
9645         baseline of cursor-y of the locked inset.
9646
9647         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9648         (setCursor): fixed for insets which need a full row.
9649
9650         * text.C (rowLastPrintable): don't ignore the last space when before
9651         an inset which needs a full row.
9652         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9653         as last character of a row when before a inset which needs a full row.
9654
9655 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9656
9657         * version.C.in: update date
9658
9659         * text2.C (fullRebreak): try to always return true and see what
9660         happens...
9661
9662 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9663
9664         * MenuBackend.C (expand): use Floating::listName
9665
9666         * FloatList.C (FloatList): add listName argument to the built-in
9667         floats
9668
9669         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9670         text associated with the float.
9671
9672 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9673
9674         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9675
9676 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9677
9678         * ShareContainer.h: add a couple of missing typenames.
9679
9680 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9681
9682         * lyxrc.C (getDescription): use _() correctly rather than N_().
9683
9684 2002-03-28  Herbert Voss  <voss@lyx.org>
9685
9686         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9687         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9688
9689 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9690
9691         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9692         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9693
9694 2002-03-29  Juergen Vigna  <jug@sad.it>
9695
9696         * lyxfunc.C (dispatch): add a missing fitCursor call.
9697
9698         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9699         it was scrolled by a cursor move, so return the bool status.
9700
9701         * BufferView.C (fitCursor): return the bool flag also to the outside
9702         world as this is needed.
9703
9704         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9705
9706         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9707         call the edit() as it is not needed (and wrong) IMO.
9708         (workAreaButtonPress): set the screen_first variable before evt.
9709         unlock the inset as this may change screen_first and then we have
9710         a wrong y position for the click!
9711
9712 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9713
9714         * MenuBackend.C (expand): another translation that I missed
9715
9716 2002-03-28  Juergen Vigna  <jug@sad.it>
9717
9718         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9719
9720         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9721
9722 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9723
9724         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9725
9726         * MenuBackend.C (expand): fix export/view/update when there is no
9727         document open.
9728
9729 2002-03-27  Herbert Voss  <voss@lyx.org>
9730
9731         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9732         and text%
9733
9734 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9735
9736         * bufferview_funcs.C (currentState): only show paragraph number
9737         for is DEVEL_VERSION is set.
9738
9739         * lyxfunc.C (dispatch): put warning in INFO channel
9740
9741         * MenuBackend.C (expand): translate the name of floats
9742
9743         * FloatList.C (FloatList): mark the float names for translation
9744
9745         * converter.C (convert): use LibScriptSearch
9746
9747 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9748
9749         * MenuBackend.C (defaults): fix default menu (we might as well get
9750         rid of it...)
9751
9752 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9753
9754         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9755         directory.
9756
9757 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9758
9759         * lyxvc.C: reorder includes.
9760
9761 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9762
9763         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9764           properly
9765
9766 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9767
9768         * CutAndPaste.C: change layouts earlier on paste
9769           to avoid crashing when calling getFont()
9770
9771 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9772
9773         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9774         irritating #error.
9775
9776 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9777
9778         * WorkArea.C: remove 'Pending' debug message.
9779
9780         * most files: ws cleanup
9781
9782         * buffer.[Ch]: ws changes
9783
9784         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9785
9786 2002-03-21  Juergen Vigna  <jug@sad.it>
9787
9788         * tabular.C (SetMultiColumn): collapse also the contents of the
9789         cells and set the last border right. Added a Buffer const * param.
9790
9791 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9792
9793         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9794         linking or not.
9795
9796 2002-03-19  Juergen Vigna  <jug@sad.it>
9797
9798         * text2.C (clearSelection): reset also xsel_cache.
9799
9800         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9801         where it needs to be called (John tells us to do so too :)
9802         (selectionLost): reset sel_cache.
9803
9804         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9805
9806 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9807
9808         * text2.C (setCursorIntern): put debuging code in INSETS channel
9809
9810 2002-03-19  André Pönitz <poenitz@gmx.net>
9811
9812         * lyxfunc.C: tiny whitespace change
9813
9814 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9815
9816         * ToolbarDefaults.C (init):
9817         * LyXAction.C (init):
9818         * commandtags.h:
9819         * BufferView_pimpl.C (Dispatch):
9820         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9821
9822 2002-03-19  Allan Rae  <rae@lyx.org>
9823
9824         * exporter.C (Export): removeAutoInsets before doing anything else.
9825         While I've just introduced a dependency on BufferView this really is
9826         the best place to clean the buffer otherwise you need to cleanup in
9827         a dozen places before calling export or cleanup in a dozen functions
9828         that export calls.
9829
9830         * converter.C (runLaTeX):
9831         (scanLog): Better handling of removeAutoInsets and screen updates.
9832
9833         * lyxfunc.C (dispatch): small whitespace changes
9834
9835 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9836
9837         * WorkArea.C (C_WorkAreaEvent): return a value.
9838         (event_cb): return 1 if we handled the event, 0 otherwise.
9839
9840         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9841
9842 2002-03-18  Juergen Vigna  <jug@sad.it>
9843
9844         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9845         (GetAdditionalWidth): ditto.
9846         (RightLine): ditto.
9847         (LeftLine): ditto.
9848
9849         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9850         inset if we're there actually (probably not used right now but this
9851         is the direction to go for unifying code).
9852         (paste): disable code to clear the selection.
9853
9854         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9855         inside an InsetText and move the check further up as it is in the
9856         wrong place.
9857
9858         * text2.C (pasteSelection): set a selection over the pasted text.
9859
9860 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9861
9862         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9863         and libgraphics to build on Cygwin.
9864
9865 2002-03-15  Juergen Vigna  <jug@sad.it>
9866
9867         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9868         inserting an Inset into the paragraph. I know this is not the best
9869         fix but we already use current_view in CutAndPaste so we will remove
9870         all of it's using at the same time.
9871
9872         * buffer.C (sgmlError): deactivated function till it is rewritten in
9873         the right mode, now it can create problems.
9874
9875         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9876         before accessing it.
9877
9878 2002-03-14  Juergen Vigna  <jug@sad.it>
9879
9880         * undo_funcs.C (textHandleUndo): do the right thing when updating
9881         the inset after the undo/redo.
9882
9883         * text2.C (setCursor): just some testcode for #44 not ready yet.
9884
9885         * undo_funcs.C (textHandleUndo): set the next() and previous()
9886         pointers of the paragraph to 0 before deleting otherwise we have
9887         problems with the Paragraph::[destructor].
9888
9889         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9890         on a paragraph insertion.
9891
9892 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9893
9894         * buffer.C (asciiParagraph): use += operator for char append to
9895         string.
9896
9897         * paragraph.C (getFontSettings): compare >= not just >
9898         (highestFontInRange): ditto
9899         (setFont): ditto
9900
9901 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9902
9903         * paragraph.C: change several algorithm to be more appripriate for
9904         the problem domain. This is lookip in FontList and in the InsetList.
9905
9906 2002-03-13  André Pönitz <poenitz@gmx.net>
9907
9908         * commandtags.h:
9909         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9910
9911 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9912
9913         * commandtags.h:
9914         * LyXAction.C:
9915         * lyxfunc.C:
9916         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9917
9918 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9919
9920         * Painter.C (display): anon helper function, adjust code for this
9921         change.
9922         (pixmap): remove function.
9923
9924         * Painter.h: remove private display variable.
9925
9926         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9927
9928 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9929
9930         * WorkArea.[Ch]: remove figinset_canvas cruft.
9931
9932 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9933
9934         * lyxtextclass.C (operator): add one item cache optimization.
9935
9936         * bufferlist.h: doxy changes
9937
9938         * bufferlist.C: ws changes
9939
9940         * DepTable.[Ch] (ext_exist): place const in the right spot.
9941
9942         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9943         call resizeInsets.
9944         (workAreaExpose): call resizeInsets when the with BufferView changes.
9945         (Dispatch): adjust for protectedBlank removal
9946         (specialChar): call updateInset if the insert went ok.
9947
9948         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9949         specialChar instead.
9950
9951         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9952
9953         * BufferView.h: doxy change
9954
9955         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9956
9957         * lyxtextclass.C (operator[]): remove non-const version
9958         (defaultLayout): remove non-const version
9959
9960 2002-03-12  Juergen Vigna  <jug@sad.it>
9961
9962         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9963         did resize the LyXText too.
9964
9965         * buffer.C (readLyXformat2): set layout information on newly allocated
9966         paragraphs.
9967
9968         * tabular.C (OldFormatRead): set layout information on the paragraph.
9969
9970 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9971
9972         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9973
9974 2002-03-11  Juergen Vigna  <jug@sad.it>
9975
9976         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9977         plainly wrong.
9978         (resizeCurrentBuffer): force also the insets to resize themselfes.
9979         (moveCursorUpdate): fixed up for InsetText.
9980
9981 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9982
9983         * commandtags.h:
9984         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9985         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9986         value of Dialogs::tooltipsEnabled().
9987         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9988
9989 2002-03-08  Juergen Vigna  <jug@sad.it>
9990
9991         * BufferView_pimpl.C (updateInset): update inset inside inset also
9992         if it isn't inside theLockingInset().
9993
9994 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9995
9996         * buffer.C (asciiParagraph): redo some of the word and line length
9997         handling.
9998         (getLists): look for Caption instead of caption.
9999
10000 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10001
10002         * buffer.C (Buffer): initialize niceFile to true
10003         (makeLaTeXFile):
10004         (makeLinuxDocFile):
10005         (makeDocBookFile): make sure niceFile is true on exit
10006
10007 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10008
10009         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10010
10011 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10012
10013         * LyXSendto.C: remove.
10014         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10015         * lyx_gui.C: remove now-redundant comment.
10016         * ColorHandler.h: remove forward declaration of class WorkArea.
10017         * lyxfunc.C: remove #include "WorkArea.h".
10018
10019 2002-03-07  Juergen Vigna  <jug@sad.it>
10020
10021         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10022         got moved away with the DEPM and also set the inset_owner always
10023         right which before could have been omitted.
10024
10025 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10026
10027         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10028         wanted layout is not found.
10029
10030 2002-03-07  Juergen Vigna  <jug@sad.it>
10031
10032         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10033
10034 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10035
10036         * paragraph.C (breakParagraph): use default layout not layout of
10037         prev paragraph.
10038         (Paragraph): clear ParagraphParameters.
10039
10040 2002-03-06  Juergen Vigna  <jug@sad.it>
10041
10042         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10043         otherwise it would not be a valid lenght. Fixed a special case in
10044         the minipage compatibility read where we end the document with a
10045         minipage.
10046
10047         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10048         was set as it could be 0 for InsetTexts first entry.
10049
10050 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10051
10052         * paragraph.C (writeFile): if layout is empty write out
10053         defaultLayoutName().
10054
10055         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10056         file without named layout we set layout to defaultLayoutName().
10057
10058 2002-03-06  Juergen Vigna  <jug@sad.it>
10059
10060         * CutAndPaste.C (copySelection): set layout for new paragraph.
10061
10062         * text.C (prepareToPrint): leave ERT inset left aligned
10063         (leftMargin): don't indent paragraphs inside ERT insets
10064
10065 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10066
10067         * paragraph.C (breakParagraph): dont call clear do the work manually
10068
10069         * paragraph.[Ch] (clear): remove function
10070
10071 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10072
10073         * paragraph.C (Paragraph): dont call clear, the work has already
10074         been done.
10075
10076         * lyxtextclass.C (operator): assert if n is empty
10077
10078         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10079         work manually instead.
10080
10081 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10082
10083         * BufferView_pimpl.C: protect selectionLost against text == 0
10084
10085 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10086
10087         * text.C (breakParagraph): fix a setting layout to '0' problem.
10088
10089 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10090
10091         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10092         final location of file, for the included files, and graphics.
10093
10094 2002-03-05  Juergen Vigna  <jug@sad.it>
10095
10096         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10097
10098 2002-03-04  Juergen Vigna  <jug@sad.it>
10099
10100         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10101
10102         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10103         last column of multicolumn cells.
10104         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10105
10106 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10107
10108         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10109         file if it doesn't go to a temporary file.
10110
10111         * buffer.C (sgmlOpenTag):
10112         (sgmlCloseTag):  remove extra newline insertion.
10113
10114 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10115
10116         * text.C (getRowNearY): comment out debug msg
10117
10118 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10119
10120         * text2.C: first -> first_y
10121
10122         * text.C (getRowNearY): add some attemts at a possible
10123         optimization, not working.
10124
10125         * tabular.[Ch]: add BufferParams to several function so that newly
10126         created paragraph can be initialized to he default layotu for the
10127         buffers textclass.
10128
10129         * tabular-old.C (ReadOld): add buf->params to call of Init
10130
10131         * screen.C: rename text->first to text->first_y
10132
10133         * paragraph.C (breakParagraph): always set layout in the broken
10134         paragraph
10135
10136         * lyxtextclass.C (Read): remove lowercase
10137         (hasLayout): ditto
10138         (operator): ditto
10139         (delete_layout): ditto
10140
10141         * lyxtext.h: rename first -> first_y
10142
10143         * lyxlayout.C (Read): remove lowercase
10144         (name): ditto
10145         (setName): ditto
10146         (obsoleted_by): ditto
10147
10148         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10149
10150         * buffer.C (insertErtContents): add params are to InsetERT
10151         (parseSingleLyXformat2Token): add code to check if a paragraphs
10152         layout really exist.
10153         (parseSingleLyXformat2Token): add params to several inset
10154         constructors
10155         (asciiParagraph): remove lowercase, do the layout comparisons with
10156         no_case
10157
10158         * BufferView_pimpl.C (cursorNext): first -> first_y
10159         (resizeCurrentBuffer): first -> first_y
10160         (updateScrollbar): first -> first_y
10161         (scrollCB): first -> first_y
10162         (workAreaMotionNotify): first -> first_y
10163         (workAreaButtonPress): first -> first_y
10164         (checkInsetHit): first -> first_y
10165         (cursorPrevious): first -> first_y
10166         (cursorNext): first -> first_y
10167         (Dispatch): add buffer_->params to severl inset contructors
10168
10169 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10170
10171         * lyxlayout.C (Read): remove some debug info that I forgot.
10172
10173         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10174         clean up the code slightly.
10175         (makeLinuxDocFile): ditto
10176         (makeDocBookFile): ditto
10177
10178         * text2.C: layout as string
10179
10180         * text.C: layout as string
10181
10182         * paragraph_pimpl.C: layout as string
10183
10184         * paragraph.[Ch]: layout as string
10185
10186         * lyxtextclasslist.[Ch]: layout as string
10187
10188         * lyxtextclass.[Ch]: layout as string
10189
10190         * lyxtext.h: layout as string
10191
10192         * lyxlayout.[Ch]: layout as string
10193
10194         * lyx_cb.C: layout as string
10195
10196         * bufferview_funcs.C: layout as string
10197
10198         * bufferparams.C: layout as string
10199
10200         * buffer.C: layout as string
10201
10202         * LyXView.[Ch]: layout as string
10203
10204         * LaTeXFeatures.[Ch]: layout as string
10205
10206         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10207
10208         * BufferView_pimpl.C: change current_layout to string, remove
10209         lyx::layout_type.
10210         (Dispatch):
10211         (smartQuote):
10212         (insertInset):
10213         (workAreaButtonRelease): layout as string
10214
10215         * BufferView2.C (unlockInset): adjust
10216
10217         * vspace.C (asLatexCommand): use an explict temp variable.
10218
10219 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10220
10221         * Makefile.am: use FRONTEND_*
10222
10223 2002-03-01  Juergen Vigna  <jug@sad.it>
10224
10225         * tabular.C (SetWidthOfMulticolCell): changed to something better
10226         I hope but still work in progress.
10227         (recalculateMulticolumnsOfColumn): renamed function from
10228         recalculateMulticolCells as it is more appropriate now.
10229         (SetWidthOfCell): calculate multicols better.
10230
10231 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10232
10233         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10234
10235         * lyxfunc.C (processKeySym): print sequence also if it is
10236         `deleted' (complete)
10237
10238         * kbsequence.C (print): print sequence even if it is deleted
10239         (complete would be a better word, actually).
10240
10241         * lyxfunc.C (dispatch): print complete options after a prefix key
10242
10243         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10244
10245 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10246
10247         * text2.C (setCharFont): eliminate setCharFont code duplication.
10248
10249 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10250
10251         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10252         LFUN_TABULAR_FEATURE (bug #177)
10253
10254 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10255
10256         * Makefile.am: remove figure.h
10257
10258 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10259
10260         * Bufferview_pimpl.C:
10261         * CutAndPasteC:
10262         * LaTeX.C:
10263         * LyXSendto.C:
10264         * buffer.C:
10265         * bufferlist.C:
10266         * converter.C:
10267         * language.C:
10268         * lyxfunc.C:
10269         * lyxvc.C:
10270         * paragraph.C:
10271         * text.C:
10272         * text2.C: remove #include "lyx_gui_misc.h".
10273
10274         * LaTeX.C: added #include <cstdio>
10275
10276 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10277
10278         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10279         that the paragraph following this one can have.
10280
10281         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10282
10283         * vspace.C (asLatexCommand): fix bogus gcc warning
10284
10285         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10286
10287 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10288
10289         * text2.C (setLayout): get rid of redundant code
10290
10291 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10292
10293         * text2.C (incDepth): make sure depth cannot be increased beyond
10294         reasonable values.
10295
10296 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10297
10298         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10299         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10300
10301         * PainterBase.h (image):
10302         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10303         a LyXImage const *.
10304
10305 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10306
10307         * BufferView.C:
10308         * BufferView.h:
10309         * BufferView_pimpl.C:
10310         * BufferView_pimpl.h:
10311         * LaTeXFeatures.C:
10312         * LyXAction.C:
10313         * LyXView.C:
10314         * Makefile.am:
10315         * UpdateList.h:
10316         * UpdateList.C:
10317         * buffer.C:
10318         * figure.h:
10319         * figureForm.C:
10320         * figureForm.h:
10321         * figure_form.C:
10322         * figure_form.h:
10323         * lyx_cb.C:
10324         * lyx_gui.C:
10325         * lyx_gui_misc.C:
10326         * lyxfunc.C:
10327         * sp_base.h:
10328         * sp_ispell.h:
10329         * sp_pspell.h:
10330         * sp_spell.C: remove fig inset, and the crap house of
10331           cards that follows it
10332
10333 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10334
10335         * Makefile.am:
10336         * lyxserver.C:
10337         * os2_defines.h:
10338         * os2_errortable.h:
10339         * nt_defines.h: move .h into support/
10340
10341         * vms_defines.h: remove
10342
10343         * WorkArea.C: add space in debug output
10344
10345         * text2.C:
10346         * paragraph.C:
10347         * buffer.C: add WITH_WARNINGS
10348
10349         * vc-backend.h:
10350         * vc-backend.C:
10351         * bufferlist.C: s/retrive/retrieve/, add docs
10352
10353         * vspace.h:
10354         * vspace.C:
10355         * kbmap.h:
10356         * lyxlength.h:
10357         * lyxgluelength.h:
10358         * length_common.h:
10359         * chset.h:
10360         * chset.C: add docs
10361
10362         * lyxgui.C: add ID to X error handler
10363
10364         * lyxtestclass.c: fix typo
10365
10366 2002-02-26  Juergen Vigna  <jug@sad.it>
10367
10368         * tabular_funcs.C (write_attribute): changed so that some default
10369         attributes are not written at all.
10370         (getTokenValue): set default values before trying to read the
10371         value so we have the return value always set as default if we don't
10372         find the token we search for.
10373
10374         * tabular.C (Write): write bools as bools not as strings!
10375
10376 2002-02-22  Juergen Vigna  <jug@sad.it>
10377
10378         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10379         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10380
10381         * text.C (leftMargin): don't add an indent for paragraphs inside
10382         tabular cells (fix #208).
10383
10384 2002-02-21  José Matos  <jamatos@fep.up.pt>
10385
10386         * tabular.C (docBook): fixed support for long tables.
10387
10388 2002-02-20  Juergen Vigna  <jug@sad.it>
10389
10390         * text2.C (getFont): get the drawing font of the Inset if this
10391         paragraph is inside an inset (only important for InsetERT for now).
10392
10393         * buffer.C (insertErtContents): use new lanugage params in ERT
10394         constructor.
10395
10396         * CutAndPaste.C: commenting out seemingly uneeded code.
10397
10398 2002-02-19  Allan Rae  <rae@lyx.org>
10399
10400         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10401         Iterators might be simple to use but they also get invalidated.
10402         (removeAutoInsets): renamed saved cursor tracking variables and added
10403         some comments to clarify what everything does.
10404
10405 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10406
10407         * Chktex.C:
10408         * LaTeX.C:
10409         * LyXSendto.C:
10410         * converter.C:
10411         * lyx_cb.C:
10412         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10413         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10414
10415         * lyxfunc.C:
10416         * vc-backend.h: remove #include "support/syscall.h"
10417
10418         * LaTeX.C:
10419         * LyXSendto.C:
10420         * converter.C: rearrange #includes in Lars' approved fashion.
10421
10422         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10423         forward declare class Timeout in the header file.
10424
10425         * XFormsView.C: changes due to the above.
10426
10427         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10428         similar to LyXView.
10429
10430         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10431         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10432
10433 2002-02-18  José Matos  <jamatos@fep.up.pt>
10434
10435         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10436         insets contents.
10437
10438 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10439
10440         * a lot of small ws changes
10441         * add a lot of using std::XXX
10442         * use std construcs some places where approp.
10443         * use some exisint stuff from lyxfunctional where approp.
10444         * Make file changes to use partial linking (lets test this now...)
10445
10446 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10447
10448         * Chktex.C:
10449         * buffer.C:
10450         remove #include "support/syscontr.h" as it's redundant. Always has been.
10451
10452         * Chktex.C:
10453         * LaTeX.C:
10454         * LyXSendto.C:
10455         * converter.C:
10456         * lyx_cb.C:
10457         * vc-backend.C:
10458         change Systemcalls::System to Systemcalls::Wait and
10459         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10460         No change of functionality, just reflects the stripped down Systemcalls
10461         class.
10462
10463 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10464
10465         * debug.[Ch]: add a GRAPHICS type to the enum.
10466
10467 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10468
10469         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10470
10471         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10472         there is an inset.
10473
10474 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10475
10476         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10477         match the changes below.
10478
10479         * text2.C (toggleInset): if there is not editable inset at cursor
10480         position, try to see if cursor is _inside_ a collapsable inset
10481         and close it.
10482
10483 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10484
10485         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10486         document menu has a nice checkbox
10487
10488 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10489
10490         * lyxlength.C (asLatexString): change PW to output as percent of
10491         \textwidth.
10492
10493         * lengthcommon.C: change '%' to 't%'
10494
10495         * lyxfunc.C (dispatch): a few comments from Martin
10496
10497 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10498
10499         * WorkArea.h:
10500         * WorkArea.C:
10501         * BufferView_pimpl.h:
10502         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10503           the X selection.
10504
10505 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10506
10507         * vspace.C (inPixels): fix compiler warning
10508
10509 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10510
10511         * lyxfunc.C (getStatus): fix status message for disabled commands.
10512
10513 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10514
10515         * BufferView_pimpl.C: fix crash on close buffer
10516         during selection (#227)
10517
10518 2002-01-27  Herbert Voss  <voss@lyx.org>
10519
10520         * buffer.C: link old Figure to new graphic inset
10521
10522 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10523
10524         * FontLoader.C (getFontinfo): Change the latex font names in order
10525         to match the names of type1inst.
10526
10527 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10528
10529         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10530
10531         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10532         (extchanged): ditto
10533         (ext_exist): ditto
10534         (remove_files_with_extension): ditto
10535         (remove_file): ditto
10536         (write): ditto
10537
10538         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10539         document is smaller than the work area height. Do not initialize
10540         static variables to 0.
10541
10542 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10543
10544         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10545
10546         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10547         LFUN_LAYOUT_PARAGRAPHS.
10548
10549         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10550         tabular. It is possible to provide a possible cell, which will
10551         typically be the actcell from the corresponding insettabular
10552
10553         * lyxfunc.C (getStatus): small cleanup; disable
10554         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10555         true
10556
10557 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10558
10559         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10560
10561         * paragraph.C (startTeXParParams):
10562         (endTeXParParams): new methods. The LaTeX code to
10563         start/end paragraph formatting
10564         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10565         empty (fixes bug #200)
10566
10567         * vspace.C (inPixels): adapt to the change below
10568         (inPixels): [later] more cleanups (remove unused variables)
10569
10570         * lyxlength.C (inPixels): change to use a width and a height as
10571         parameter.
10572
10573 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10574
10575         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10576         Replaced with \paperwidth
10577
10578         * DepTable.C (insert): add std:: qualifier
10579
10580 2002-01-18  Allan Rae  <rae@lyx.org>
10581
10582         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10583         updated also?
10584
10585         * text.C (drawInset): Turned out I didn't know enough about how
10586         rebreaking worked.  This fixes most of the redraw problems.  I see
10587         an occasional cursor trail when a line is broken now and the cursor
10588         placement can seem out by a few pixels also after a rebreak.
10589
10590 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10591
10592         * buffer.C (parseSingleLyXformat2Token): update because minipage
10593         width is now a LyXLength
10594
10595         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10596
10597         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10598         math insets
10599
10600 2002-01-17  Juergen Vigna  <jug@sad.it>
10601
10602         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10603
10604         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10605         is set correctly and the inset is updated correctly.
10606
10607 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10608
10609         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10610         the beginning of the loop.
10611
10612 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10613
10614         * lyxrc.C: improve help for use_scalable_fonts
10615
10616 2002-01-17  Allan Rae  <rae@lyx.org>
10617
10618         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10619
10620 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10621
10622         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10623         make sure to set their inset_owner to the right value (bug #171)
10624
10625 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10626
10627         * DepTable.h
10628         * DepTable.C: Implement mtime checking to reduce time spent doing
10629         CRCs.
10630
10631 2002-01-16  Juergen Vigna  <jug@sad.it>
10632
10633         * tabular.C (GetAdditionalHeight): one of error fixed.
10634
10635         * lyxrc.C (output): small fix in writing use_pspell.
10636
10637 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10638
10639         * sp_base.h: #include LString.h
10640
10641 2002-01-16  Allan Rae  <rae@lyx.org>
10642
10643         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10644         Can someone check this please?
10645
10646         * text.C (drawInset): It was possible that p.row would be removed by
10647         breakAgainOneRow upsetting a few other settings.  There may be another
10648         small tweak possible by setting need_break_row = 0 when p.row has been
10649         removed but I don't know enough about the logic here.
10650
10651 2002-01-15  Allan Rae  <rae@lyx.org>
10652
10653         * text.C (insertChar): removed conditional truism.
10654
10655         * BufferView2.C (removeAutoInsets): More tweaks.
10656         cur_par_prev could be a stray pointer.  Check for trailing empty line
10657         in case last line was cur_par and only had an error inset on it.
10658
10659 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10660
10661         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10662         absolute
10663
10664         * vc-backend.C (most methods):
10665         * exporter.C (Export):
10666         * converter.C (convert):
10667         (runLaTeX):
10668         * LyXSendto.C (SendtoApplyCB):
10669         * lyxfunc.C (dispatch):
10670         (menuNew):
10671         (open):
10672         (doImport):
10673         * lyx_cb.C (AutoSave):
10674         (InsertAsciiFile):
10675         * BufferView_pimpl.C (MenuInsertLyXFile):
10676         * buffer.C (runChktex): use Buffer::filePath().
10677
10678         * buffer.h: rename filename to filename_; rename filepath to
10679         filepath_ and make it private
10680         (filePath): new method
10681
10682         * buffer.C (writeFile): use fileName()
10683         (getLatexName):
10684
10685         * lyx_main.C (init): fix starting  of LyX when the binary is a
10686         link from so,ewhere else.
10687
10688         * minibuffer.C: include <cctype> for isprint
10689
10690 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10691
10692         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10693         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10694         name clash with InsetCollapsable's width function.
10695
10696 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10697
10698         * lastfiles.C: include <iterator>
10699
10700 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10701
10702         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10703         std::count.
10704
10705         * buffer.C (makeLaTeXFile): ditto.
10706         Also make loop operation more transparent.
10707
10708 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10709
10710         * ToolbarDefaults.C: remove trailing comma closing namespace.
10711
10712         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10713
10714         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10715         as in WorkArea.
10716
10717         * trans.C (Load): comment out unused variable, allowed.
10718
10719 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10720
10721         * minibuffer.[Ch] (append_char): new method to recieve input from the
10722         drop-down completion browser. If a key was pressed, then recieve this
10723         char and append it to the existing string.
10724         (peek_event): modify the positioning data passed to the completion
10725         browser so that it can be placed above the minibuffer rather than below.
10726 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10727
10728         * LyXAction.C (init): alloe error-next for readonly documents.
10729
10730         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10731         count.
10732
10733 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10734
10735         * bufferlist.C (readFile): create the buffer _after_ checking that
10736         the file exists.
10737
10738         * lyxfunc.C (verboseDispatch): fix handling of arguments
10739
10740         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10741
10742         * lyxrc.C: use string::erase() instead of initializing to "".
10743
10744
10745 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10746
10747         * BufferView_pimpl.h:
10748         * BufferView_pimpl.C:
10749         * WorkArea.h:
10750         * WorkArea.C:
10751         * text2.C: tell X when we have made a selection for copying
10752
10753 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10754
10755         * BufferView_pimpl.C (MenuInsertLyXFile):
10756         * lyxfunc.C (menuNew):
10757         (open):
10758         (doImport): add shortcuts to directory buttons
10759
10760         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10761         open a float)
10762
10763         * lyxfunc.C (setStatusMessage):
10764         (getStatusMessage): new methods
10765         (getStatus):use setStatusMessage instead of setErrorMessage
10766         (dispatch): when function is disabled, set error message here
10767         [instead of in getStatus previously]
10768
10769         * BufferView_pimpl.C (workAreaButtonRelease): update
10770         toolbar/menubar here too.
10771
10772 2002-01-13  Allan Rae  <rae@lyx.org>
10773
10774         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10775         Now seems indestructible.  Remaining task is to audit all other
10776         code affected by deleteEmptyParagraphMechanism.  One small quirk
10777         left is that an empty document with an error in the preamble can
10778         be made to report an error but no error box appears.  I don't know
10779         where it goes.
10780         (removeAutoInsets): Improved comments.
10781
10782 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10783
10784         * Thesaurus.h:
10785         * Thesaurus.C: update for Aiksaurus 0.14
10786
10787 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10788
10789         * text2.C (firstParagraph): removed member function, all uses
10790         replaces with ownerParagraph
10791         (redoParagraphs): here
10792         (updateInset): here
10793         (toggleAppendix): here
10794         * BufferView2.C (insertErrors): here
10795         (setCursorFromRow): here
10796
10797 2002-01-13  Allan Rae  <rae@lyx.org>
10798
10799         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10800         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10801         There is still a way to segfault this although you may have to do this
10802         multiple times: Have an InsetERT with an unknown command in it.
10803         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10804         <down-arrow>, <Enter> again, View->DVI, BANG!
10805
10806         * text2.C (setCursor):
10807         (deleteEmptyParagraphMechanism):
10808         * lyxtext.h (setCursor):
10809         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10810         Making use of the return value may help fix other bugs.
10811
10812 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10813
10814         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10815
10816         * LyXView.C (updateMenubar): call MenuBar::update here
10817         (updateToolbar): but not here
10818         (showState): do not update toolbar/menubar
10819
10820         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10821         should need to care about that.
10822
10823         * lyxfunc.C (verboseDispatch): simplify a bit
10824         (getStatus): have a version which takes a pseudoaction, and
10825         another which requires a (kb_action,string).
10826
10827         * LyXAction.C (retrieveActionArg): make it work also when action
10828         is not a pseudo-action.
10829         (getActionName): simplify a bit
10830         (helpText):
10831
10832 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10833
10834         * lyxfunc.C (verboseDispatch): new families of methods with
10835         several ways to specify a command and a bool to indicate whether
10836         the command name and shortcut should be displayed in minibuffer
10837         (eventually, we could extend that to a finer bitmask like
10838         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10839         (dispatch): the pristine dispatch command which just, well,
10840         dispatchs! Note it still sets its result to minibuffer; I'm not
10841         sure we want that.
10842
10843         * lyxfunc.h: remove setHintMessage
10844
10845         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10846
10847 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10848
10849         * BufferView_pimpl.C (specialChar): delete new inset if we have
10850         not been able to insert it.
10851
10852         * kbmap.C: revert to using int instead of kb_action, since all we
10853         are dealing with is pseudo-actions.
10854
10855         * LyXAction.C (searchActionArg): change to return int instead of
10856         kb_action, since the result is a pseudoaction.
10857
10858 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10859
10860         * buffer.C (insertErtContents): Fix (partially) the font bug.
10861
10862 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10863
10864         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10865         as the other one is broken on my machine!
10866
10867 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10868
10869         * commandtags.h:
10870         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10871
10872 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10873
10874         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10875         reflect their actual use. Provide compatibility code for older lyxrc
10876         files.
10877
10878         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10879         FL_NORMAL_STYLE.
10880         change names of popup font variables in line with the changes to lyxrc.C
10881
10882 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10883
10884         * buffer.C (asciiParagraph): avoid outputing a word twice after
10885         an inset.
10886
10887         * lyxrc.C (getDescription): document that document_path and
10888         template_path can be empty.
10889
10890 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10891
10892         * LaTeXFeatures.C (getMacros):
10893         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10894
10895         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10896
10897         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10898         getPackages.
10899         (getPackages): rename feature "floats" to "float". Use an array to
10900         iterate over 'simple' features (i.e. just a \usepackage). Add
10901         handling of "amsmath" (renamed from "amsstyle").
10902
10903 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10904
10905         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10906         features list.
10907
10908 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10909
10910         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10911         FuncStaus::FuncStatus & FuncStaus::some_method().
10912
10913 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10914
10915         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10916         of the func_satus stuff. Edited and massaged in various ways by
10917         JMarc.
10918
10919         * lyxfunc.C (getStatus): use FuncStatus
10920
10921 2002-01-08  Juergen Vigna  <jug@sad.it>
10922
10923         * text.C (nextBreakPoint): use function Inset::isChar().
10924
10925         * paragraph.C (TeXOnePar): use function
10926         Inset::forceDefaultParagraphs.
10927
10928         * buffer.C (latexParagraphs): use function
10929         Inset::forceDefaultParagraphs.
10930
10931 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10932
10933         * lyx_gui.C (init): set the style of the menu popups to
10934         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10935
10936 2002-01-07  Juergen Vigna  <jug@sad.it>
10937
10938         * text.C (setHeightOfRow): small fix
10939         (prepareToPrint): don't look at alignment if we don't have the place
10940         for doing it.
10941
10942 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10943
10944         * box.C: New file. Move the Box methods and functions out of box.h,
10945         following Lars' suggestion.
10946
10947 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10948
10949         * box.h: #include "support/LOstream.h", needed for inlined function.
10950
10951         * lyxtextclass.C:
10952         * lyxtextclasslist.C: added some using std declarations.
10953
10954 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10955
10956         * box.h: make signed dimensions to allow insets wider than
10957           the screen (bug #162)
10958
10959         * BufferView_pimpl.C: add some insetHit debug
10960
10961 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10962
10963         * vc-backend.C: add FIXME
10964
10965 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10966
10967         * lyxfunc.C (getStatus): enable code for showing math font status
10968         in toolbar/menu.
10969
10970 2002-01-07  Juergen Vigna  <jug@sad.it>
10971
10972         * text.C (nextBreakPoint): removed debug output not needed anymore.
10973
10974 2002-01-06  Juergen Vigna  <jug@sad.it>
10975
10976         * text.C (nextBreakPoint): fixed up this function we had this bug
10977         since ever but now hopefully we break row better.
10978         (insertChar): we have to check if an inset is the next char as it
10979         could now happen that a large inset is causing a break.
10980
10981 2002-01-05  Juergen Vigna  <jug@sad.it>
10982
10983         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10984         if it doesn't like to be drawed.
10985
10986 2002-01-04  Juergen Vigna  <jug@sad.it>
10987
10988         * BufferView2.C (lockInset): forgot to set a cursor.
10989
10990         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10991
10992 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10993
10994         * FormMathsPanel.C:
10995         * FormMathsPanel.h
10996         * MathsSymbols.C:
10997         * form_maths_panel.C:
10998         * form_maths_panel.h:
10999         * form_maths_panel.fd: implemented sub- and super- buttons in math
11000         panel.
11001
11002         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11003         (or ^ space) to be used as in TeX (req'd by André).
11004
11005         * lyxfunc.C: Allow ^ and _ again to be used both as
11006         super/subscript (mathed) and as themselves (in text).
11007
11008 2002-01-03  Allan Rae  <rae@lyx.org>
11009
11010         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11011         "LyX" or the filename of the current buffer if it has one.  This is a
11012         modified form of John Levon's patch.
11013
11014         * XFormsView.C (setWindowTitle): also set icon title.
11015
11016         * LyXView.h (setWindowTitle): signature changed.
11017         * XFormsView.h (setWindowTitle): ditto.
11018
11019 2002-01-02  Juergen Vigna  <jug@sad.it>
11020
11021         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11022
11023 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11024
11025         * screen.C (topCursorVisible): introduce a temp var for
11026         text->cursor.row(), handle the case where this row is null. (kindo
11027         hachish)
11028
11029         * text2.C (setCursor): add a couple of asserts.
11030
11031         * paragraph.h (inset_iterator): add -> operator
11032
11033         * paragraph.[Ch] (autoDeleteInsets): remove member function
11034
11035         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11036         cursor pos correctly and handle inset deletion by itself.
11037         (insertErrors): move iterator declaration out of for expression
11038
11039         * lyxtextclass.C: add <algorithm>
11040
11041         * Makefile.am: added the new files to sources, removed layout.C
11042
11043         * layout.C: removed file
11044
11045         * layout.h: remove LYX_DUMMY_LAYOUT
11046
11047         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11048         layout.
11049
11050         * lyxlayout.[Ch]:
11051         * lyxtextclass.[Ch]:
11052         * lyxtextclasslist.[Ch]: new files
11053
11054         * include order changes to a lot of files, also changes because of
11055         the six new files.
11056
11057 2001-12-27  Juergen Vigna  <jug@sad.it>
11058
11059         * buffer.C (asciiParagraph): more fixes.
11060
11061         * tabular.C (ascii): make ascii export support export of only the
11062         data separated by a column-delimiter.
11063         (ascii): better support for ascii export.
11064
11065         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11066
11067 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11068
11069         * tabular_funcs.C: use a "using std::getline" instead of the
11070         previous fix from Angus (necessary for cxx + lyxstring)
11071
11072 2001-12-24  Juergen Vigna  <jug@sad.it>
11073
11074         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11075
11076         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11077         problems. First check a minipage also if we have some ert-contents
11078         (not only on par->size(), second set the right depth of the paragraph
11079         on the relink to the root-paragraph-list!
11080
11081         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11082         which then did not anymore update the main paragraphs on undo/redo!
11083
11084 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11085
11086         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11087         code. Support all font-changing funcs (even those which are not in
11088         menu currently). Support for reporting font settings in
11089         mathed (disabled until Andre provides a function on mathed's side).
11090
11091         * func_status.h (toggle): small helper function to set toggle
11092         state on a flag.
11093
11094 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11095
11096         * tabular_funcs.C: getline -> std::getline
11097
11098 2001-12-21  Juergen Vigna  <jug@sad.it>
11099
11100         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11101         accessed and could be 0 (I couldn't generate this but it seems
11102         Michael could!).
11103
11104 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11105
11106         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11107         * tabular_funcs.h: here and include iosfwd
11108
11109 2001-12-20  Juergen Vigna  <jug@sad.it>
11110
11111         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11112         inside inset but undo_par was.
11113
11114 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11115
11116         * Thesaurus.C: always include <config.h> in sources.
11117
11118         * Painter.h:
11119         * lyxlookup.h:
11120         * box.h: do not include <config.h> in header files
11121
11122         * text.C (paintLastRow): remove unused variable
11123
11124         * text.C (transformChar):
11125         (insertChar):
11126         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11127
11128         * Painter.C (text):
11129         * font.C (width): rewrite to use uppercase() instead of
11130         islower/toupper.
11131
11132         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11133
11134 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11135
11136         * lyxfind.C: clean up of find failure position change
11137
11138 2001-12-20  Juergen Vigna  <jug@sad.it>
11139
11140         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11141
11142         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11143         (TeXRow): added to LaTeX a single tabular row.
11144         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11145         (Latex): simplified and finally good LT-h/f support.
11146         (various_functions): just small adaptions for LT-h/f support.
11147
11148         * tabular_funcs.[hC]: added and moved here all not classfunctions
11149         of LyXTabular.
11150
11151 2001-12-19  Juergen Vigna  <jug@sad.it>
11152
11153         * tabular.[Ch]: better support for longtabular options (not finished
11154         yet!)
11155
11156 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11157
11158         * text.C (paintLastRow): use the label font instead of the font of
11159         the last character to compute the size of *_BOX. This makes more
11160         sense and avoids a crash with empty paragraphs.
11161         Use Painter::rectangle to draw EMPTY_BOX.
11162
11163 2001-12-19  Juergen Vigna  <jug@sad.it>
11164
11165         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11166         the paragraphs if the replaced paragraph is not the first one!
11167         Tried to delete not used paragraphs but does not work yet so for
11168         now it's inside #ifdef's and by default off!
11169
11170 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11171
11172         * MenuBackend.C: include "lyx_main.h" instead of declaring
11173         lastfiles (actually was declared as LastFiles* instead of a
11174         scoped_ptr).
11175
11176 2001-12-17  Juergen Vigna  <jug@sad.it>
11177
11178         * tabular.C (AppendColumn): applied John's fix
11179
11180 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11181
11182         * BufferView.h:
11183         * BufferView.C:
11184         * BufferView_pimpl.h:
11185         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11186
11187         * Makefile.am:
11188         * box.h: new start of class for above
11189
11190         * lyxfunc.C: ignore space-only minibuffer dispatches.
11191           Show the command name when it doesn't exist
11192
11193         * minibuffer.C: don't add empty lines to the history
11194
11195         * minibuffer.C: add a space on dropdown completion
11196
11197 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11198
11199         * text.C: fix line above/below drawing in insets
11200
11201 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11202
11203         * lyxlength.C (LyXLength): Initialize private variables.
11204
11205 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11206
11207         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11208         when inserting error insets.
11209
11210 2001-12-13  Juergen Vigna  <jug@sad.it>
11211
11212         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11213         actually sometimes the before-paragraph.
11214         (setUndo): don't clear the redostack if we're not actually undoing!
11215
11216 2001-12-06  Juergen Vigna  <jug@sad.it>
11217
11218         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11219         and fixed redoing of main paragraph, so we can use it now ;)
11220
11221         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11222
11223 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11224
11225         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11226         Juergen's request
11227
11228 2001-12-13  André Pönitz <poenitz@gmx.net>
11229
11230         * undostack.[Ch]:
11231         * undo_func.C: minor cleanup
11232
11233 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11234
11235         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11236         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11237         font in urw-fonts package which is marked as -urw-fontspecific and
11238         does not work (incidentally, changing the encoding in the
11239         fonts.dir of this package to -adobe-fontspecific fixes the
11240         problem).
11241
11242         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11243         is a crash when undoing first paragraph (Juergen, please take a
11244         look). THis does not mean the undo fix is wrong, just that it
11245         uncovers problems.
11246
11247         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11248         the (Paragraph*) version when needed instead of duplicating the
11249         code.
11250
11251         * text.C (workWidth): use Inset::parOwner to find out where the
11252         inset has been inserted. This is a huge performance gain for large
11253         documents with lots of insets. If Inset::parOwner is not set, fall
11254         back on the brute force method
11255
11256         * paragraph_pimpl.C (insertInset):
11257         * paragraph.C (Paragraph):
11258         (cutIntoMinibuffer): set parOwner of insets when
11259         inserting/removing them
11260
11261         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11262
11263 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11264
11265         * commandtags.h:
11266         * LyXAction.C:
11267         * lyx_main.C:
11268         * lyxfunc.C:
11269         * mathed/formulabase.C:
11270         * mathed/math_cursor.[Ch]:
11271         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11272
11273
11274 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11275
11276         * lyxlength.[Ch] (operator!=): new function
11277
11278 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11279
11280         * text.C (workWidth): use Inset::parOwner to find out where the
11281         inset has been inserted. This is a huge performance gain for large
11282         documents with lots of insets. If Inset::parOwner is not set, fall
11283         back on the brute force method
11284
11285         * paragraph_pimpl.C (insertInset):
11286         * paragraph.C (Paragraph):
11287         (cutIntoMinibuffer): set parOwner of insets when
11288         inserting/removing them
11289
11290         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11291
11292 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11293
11294         * tabular-old.C (getTokenValue):
11295         * tabular.C (getTokenValue):
11296         (write_attribute): new versions for LyXLength
11297         (everywhere): adjust the use of widths
11298
11299         * tabular.h: change the type of widths from string to LyXLength
11300
11301 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11302
11303         * paragraph.C: fixed missing line number count when exporting
11304         Environments to LaTeX file
11305
11306         * buffer.C: added informational message for checking line numbers.
11307
11308 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11309
11310         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11311         paragraph, do the 'double space' part, but not the 'empty
11312         paragraph' one.
11313
11314         * text.C (workWidth): small optimization
11315         (getLengthMarkerHeight): use minimal size for negative lengths.
11316
11317 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11318
11319         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11320
11321         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11322
11323 2001-12-11  André Pönitz <poenitz@gmx.net>
11324
11325         * FontLoader.C:
11326         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11327
11328 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11329
11330         * text2.C: keep selection on a setFont()
11331
11332 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11333
11334         * lyx_cb.C: another bv->text misuse, from insert label
11335
11336 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11337
11338         * kbsequence.h:
11339         * kbsequence.C: re-instate nmodifier mask
11340
11341 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11342
11343         * lyx_main.h: make lyxGUI private.
11344
11345 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11346
11347         * lyxfind.C: place the cursor correctly on failed search
11348
11349 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11350
11351         * text.C (getLengthMarkerHeight): for small heights, the arrows
11352         are not always on top/bottom of the text
11353         (drawLengthMarker): smaller arrows; take the left margin in
11354         account; draw also vfills.
11355         (paintFirstRow):
11356         (paintLastRow): remove special code for vfill and standard spaces,
11357         since everything is handled in drawLengthMarker now.
11358
11359 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11360
11361         * buffer.C (insertErtContents): try to handle font and language
11362         interaction a bit better.g
11363
11364         * ColorHandler.C (updateColor): change the hash to cover the whole
11365         LColor enum, ws cleanup
11366         (getGCLinepars): ditto
11367         (getGCLinepars): only lookup in the linecache once.
11368
11369 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11370
11371         * iterators.C (operator++): Make the iterator more robust
11372
11373         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11374         (John's patch)
11375         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11376
11377 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11378
11379         * lyxtext.h:
11380         * text.C: better added space drawing
11381
11382 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11383
11384         * LyXView.C:
11385         * BufferView2.C: fix layout combo update on inset unlock
11386
11387 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11388
11389         * Makefile.am: don't compile unused files
11390
11391 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11392
11393         * lyxfunc.C:
11394         * commandtags.h:
11395         * LyXAction.C: remove old LFUN_LAYOUTNO
11396
11397 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11398
11399         * paragraph_pimpl.h:
11400         * paragraph_pimpl.C: isTextAt() doesn't need font param
11401
11402 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11403
11404         * lyxlex.h:
11405         * lyxlex.C: little cleanup
11406
11407 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11408
11409         * BufferView_pimpl.C: fix insertAscii for insets
11410
11411 2001-12-05  Juergen Vigna  <jug@sad.it>
11412
11413         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11414         set the right font on the "multi" paragraph paste!
11415
11416 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11417
11418         * trans_decl.h:
11419         * trans_mgr.[Ch]:
11420         * trans.[Ch]:
11421         * lyxgluelength.C:
11422         * lyxlength.C: remove out-commented code.
11423
11424         * BufferView_pimpl:
11425         * CutAndPaste.C:
11426         * DepTable.C:
11427         * buffer.C:
11428         * chset.C:
11429         * lastfiles.C:
11430         * lyxlex.C:
11431         * lyxlex_pimpl.C:
11432         * lyxserver.C:
11433         * screen.C:
11434         * tabular-old.C:
11435         * tabular.C:
11436         * text.C:
11437         * trans_mgr.C:
11438         * vc-backend.C: change "while(" to "while ("
11439
11440         * lyxlength.[Ch]: add zero function to check if length is zero or
11441         not
11442         * lyxgluelength.C: use it
11443
11444 2001-12-05  Allan Rae  <rae@lyx.org>
11445
11446         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11447         Works for 2.95.3, from what I understand of Garst's reports this should
11448         work for other g++ versions.  We're screwed if the abs(int) definition
11449         changed between bugfix releases of gcc.
11450
11451 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11452
11453         * text.C: fix chapter label offset !
11454
11455 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11456
11457         * lyxtext.h:
11458         * text.C: fix hfill at end of line, clean up
11459
11460 2001-12-04  Juergen Vigna  <jug@sad.it>
11461
11462         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11463         that we force an update of the inset and it's owners if neccessary.
11464
11465 2001-12-03  Juergen Vigna  <jug@sad.it>
11466
11467         * text.C (rowLast): simplified code
11468
11469 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11470
11471         * lyxfunc.C: fix show options on timeout
11472
11473 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11474
11475         * screen.C (topCursorVisible): scroll half a page when the cursor
11476         reached top of bottom of screen
11477
11478 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11479
11480         * minibuffer.C: deactivate on loss of focus
11481
11482 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11483
11484         * vspace.[Ch] (operator!=): add operator.
11485
11486 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11487
11488         * BufferView_pimpl.C: refuse to open an inset when
11489         there's a selection.
11490
11491 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11492
11493         * BufferView_pimpl.C: allow to click on RHS of full row insets
11494
11495 2001-11-30  Juergen Vigna  <jug@sad.it>
11496
11497         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11498         insets for undo reasons.
11499
11500 2001-11-28  André Pönitz <poenitz@gmx.net>
11501
11502         * vspace.[Ch]: cosmetical changes
11503
11504 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11505
11506         * LyXAction.h:
11507         * LyXAction.C:
11508         * lyxfunc.h:
11509         * lyxfunc.C:
11510         * kbmap.h:
11511         * kbmap.C:
11512         * lyxrc.C:
11513         * kbsequence.h:
11514         * kbsequence.C: part re-write of old kb code
11515
11516         * Painter.C:
11517         * WorkArea.C: remove Lgb_bug_find_hack
11518
11519 2001-11-30  José Matos <jamatos@fep.up.pt>
11520
11521         * buffer.C (makeDocBookFile): add a comment to point a hack.
11522         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11523         Fixed a double write of labels.
11524
11525 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11526
11527         * LaTeX.C:
11528         * LaTeX.h Fixed bug in LaTeX class where it would not
11529         re-run latex if no depfiles were changed, but the .dvi was removed.
11530
11531 2001-11-28  André Pönitz <poenitz@gmx.net>
11532
11533         * all the files from the change on 2001/11/26:
11534         use lyx::layout_type instead of LyXTextClass::size_type
11535         use lyx::textclass_type instead of LyXTextClassList::size_type
11536
11537 2001-11-29  Juergen Vigna  <jug@sad.it>
11538
11539         * text.C: added support for paragraph::isFreeSpacing()
11540
11541         * buffer.C: same as above
11542
11543         * paragraph.h: inserted isFreeSpacing() function to enable
11544         FreeSpacing inside InsetERT.
11545
11546         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11547         of the paragraph's in the cut/copy buffer to 0!
11548
11549         * text2.C (removeRow): remove the assert as it can!
11550
11551         * lyxtext.h: added helper function firstRow returning firstrow and
11552         made firstrow private again.
11553
11554         * BufferView2.C (lockInset): don't relock if we're already locked!
11555
11556         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11557         the only paragraph.
11558         (removeRow): added Assert::(firstrow)
11559
11560         * debug.C: forgot to add INSETTEXT here.
11561
11562 2001-11-28  Juergen Vigna  <jug@sad.it>
11563
11564         * sp_spell.C (initialize): changed error text to more general
11565         spellchecker command use (not only ispell!)
11566
11567         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11568
11569         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11570
11571 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11572
11573         * vspace.C: initialise lyxgluelength on failure
11574
11575 2001-11-28  Allan Rae  <rae@lyx.org>
11576
11577         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11578         declaration & definition that looks like a function declaration.
11579
11580 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11581
11582         * BufferView2.C (copy):
11583         (copyEnvironment): do not clear the selection when doing a copy.
11584
11585         * text.C (paintFirstRow): compilation fix
11586
11587 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11588
11589         * tabular.C (Latex): correct line count when writing latex.
11590
11591 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11592
11593         * paragraph_pimpl.h:
11594         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11595           bug a bit
11596
11597 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11598
11599         * text.C:
11600         * LColor.h:
11601         * LColor.C: change vfillline->added_space
11602
11603         * text.C: add markers and text for added space
11604
11605         * vspace.C: fix comment
11606
11607 2001-11-28  André Pönitz <poenitz@gmx.net>
11608
11609         * paragraph.C: whitespace changes
11610         * all the other files from the change on 2001/11/26:
11611         change *::pos_type into lyx::pos_type
11612
11613 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11614
11615         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11616         language of the document when inserting error insets.
11617
11618 2001-11-26  André Pönitz <poenitz@gmx.net>
11619
11620         * BufferView_pimpl.[Ch]:
11621         *       CutAndPaste.C:
11622         * buffer.[Ch]:
11623         * lyxcursor.[Ch]:
11624         * lyxfind.C:
11625         * lyxfunc.C:
11626         * lyxrow.[Ch]:
11627         * paragraph.[Ch]:
11628         * paragraph_pimpl.[Ch]:
11629         * sp_spell.C:
11630         * text.C:
11631         * text2.C: reduce header dependencies, introduce type for positions
11632
11633 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11634
11635         * <various>: change to use Alert.h
11636
11637 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11638
11639         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11640         when encountering an unknown token.
11641         (readLyXformat2): Show an error message if there were unknown tokens.
11642
11643 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11644
11645         * BufferView2.C:
11646         * BufferView_pimpl.C:
11647         * buffer.C:
11648         * paragraph.h:
11649         * text.C:
11650         * text2.C: use par->isInset()
11651
11652 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11653
11654         * paragraph_pimpl.h:
11655         * paragraph_pimpl.C: cleanup
11656
11657 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11658
11659         * text2.C (removeRow):
11660         * text.C (setHeightOfRow): remove useless (and costly) call to
11661         getRow.
11662
11663 2001-11-20  Allan Rae  <rae@lyx.org>
11664
11665         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11666         Now need Inset*::checkInsertChar() to return true for appropriate
11667         cases so that the characters in the minibuffer will actually be
11668         inserted.
11669
11670 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11671
11672         * text.C: change the order of the includes.
11673         (workWidth): initialize it at once.
11674         (workWidth): make maxw unsigned
11675         (setHeightOfRow): remove unused variable (inset)
11676         (selectSelectedWord): remove unused variable (inset)
11677         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11678
11679 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11680
11681         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11682         server is not running.
11683         (openConnection):
11684         (closeConnection): add debug info when server is disabled.
11685
11686         * ColorHandler.C (getGCForeground): send debug message to GUI
11687         channel.
11688
11689         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11690
11691         * kbmap.C (bind): modify because return conventions of
11692         kb_sequence::parse have changed.
11693
11694         * kbsequence.C (parse): only ignore spaces and not any stupid
11695         control character. This avoids tests like s[i] <= ' ', which are
11696         guaranteed to fail with 8bit characters and signed chars.
11697         Change return code to string::npos when there have been no error
11698         (0 was a bad idea when error is at first character)
11699
11700 2001-11-14  José Matos  <jamatos@fep.up.pt>
11701
11702         * buffer.h:
11703         * buffer.C (simpleDocBookOnePar): removed unused argument.
11704
11705 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11706
11707         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11708         insets which are part of a word. Paragraph::isLetter takes care of
11709         that now. Use Paragraph::isInset to identify insets.
11710         (selectSelectedWord): do not test for hyphenation break.
11711
11712         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11713         that protected spaces are considered as spaces.
11714
11715         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11716         Inset::isLetter.
11717
11718 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11719
11720         * lyxserver.h:
11721         * lyxserver.C: fix it. and small cleanup.
11722
11723 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11724
11725         * BufferView_pimpl.C: use inline helpers
11726
11727         * LaTeXFeatures.h:
11728         * LaTeXFeatures.C: fix typos
11729
11730         * Spacing.h:
11731         * Spacing.C: move spacing_string into class
11732
11733         * ToolbarDefaults.C: move stuff into namespace anon
11734
11735         * layout.h: update enum
11736
11737         * lyxfunc.C: use better debug
11738
11739         * minibuffer.h: fix typo
11740
11741         * debug.h:
11742         * debug.C:
11743         * WorkArea.C: add and use Debug::WORKAREA
11744
11745         * lyxtext.h:
11746         * text.C:
11747         * text2.C: code re-organisation, inline helpers
11748
11749 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11750
11751         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11752         std::vector.empty().
11753
11754 2001-11-09  Allan Rae  <rae@lyx.org>
11755
11756         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11757         '\n's after tables.  Tabular and ERT inset work now makes this no
11758         longer necessary.
11759
11760 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11761
11762         * minibuffer.h:
11763         * minibuffer.C: fix crash, improve drop-down completion
11764
11765 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11766
11767         * lyxserver.h:
11768         * lyxserver.C: invalidate fd's when doing endPipe()
11769
11770 2001-11-08  José Matos  <jamatos@fep.up.pt>
11771
11772         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11773         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11774
11775         * paragraph.h:
11776         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11777
11778 2001-11-07  José Matos  <jamatos@fep.up.pt>
11779
11780         * buffer.h:
11781         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11782         const qualifier.
11783
11784         * buffer.C (sgmlOpenTag):
11785         * buffer.C (sgmlCloseTag): removed debug info.
11786
11787         * buffer.h (sgmlOpenTag):
11788         * buffer.h (sgmlCloseTag): made public.
11789
11790 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11791
11792         * buffer.C (saveParamsAsDefaults):
11793         * lyx_cb.C (MenuLayoutSave): remove
11794
11795         * LyXAction.C (init):
11796         * commandtags.h:
11797         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11798
11799 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11800
11801         * buffer.C (setPaperStuff): removed from here...
11802
11803         * bufferparams.C (setPaperStuff): ... and moved there.
11804
11805 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11806
11807         * minibuffer.h:
11808         * minibuffer.C:
11809         * XFormsView.C: add support for drop-down completion
11810
11811 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11812
11813         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11814         commands.
11815
11816 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11817
11818         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11819         disabled.
11820
11821 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11822
11823         * lyx_main.C: change ref to known bugs
11824
11825 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11826
11827         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11828         to work around older babel problems.
11829
11830 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11831
11832         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11833
11834 2001-10-24  Juergen Vigna  <jug@sad.it>
11835
11836         * tabular-old.C (ReadOld): below variable changes reflected.
11837
11838         * tabular.[Ch]: added ltType struct for longtable header/footer
11839         defines and changed all instances where they are used. Added
11840         future support for double top/bottom rows.
11841
11842 2001-10-24  José Matos  <jamatos@fep.up.pt>
11843
11844         * buffer.h (docbookHandleCaption):
11845         * buffer.C (docbookHandleCaption): removed unused function.
11846         (makeDocBookFile): moved docbook supported version to v4.1.
11847
11848 2001-10-24  José Matos  <jamatos@fep.up.pt>
11849
11850         * tabular.h:
11851         * tabular.C (docbookRow): new function to export docbook code of a row.
11852         (DocBook): now honors the longtable flags.
11853
11854 2001-10-23  José Matos  <jamatos@fep.up.pt>
11855
11856         * LaTeXFeatures.h:
11857         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11858         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11859
11860         * buffer.C (makeLinuxDocFile):
11861         (makeDocBookFile): reworked the preamble, more clean, and with
11862         support for lyx defined entities. Changed the document declaration
11863         to be more XML friendly.
11864
11865         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11866         if we need to output XML that should be done with a filter.
11867
11868 2001-10-22  Juergen Vigna  <jug@sad.it>
11869
11870         * sp_pspell.h (class PSpell): add alive function needed in the
11871         controller to see if the spellchecker could be started.
11872
11873 2001-10-22  Juergen Vigna  <jug@sad.it>
11874
11875         * buffer.C (insertStringAsLines): modify the font for inserting
11876         chars in certain conditions by calling checkInsertChar(font).
11877
11878 2001-10-19  Juergen Vigna  <jug@sad.it>
11879
11880         * text.C (workWidth): use getRow instead of wrong algorithm.
11881         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11882
11883 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11884
11885         * lyxserver.h:
11886         * lyxserver.C:
11887         * lyx_main.h:
11888         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11889
11890 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11891
11892         * text.C (workWidth): do not search for the exact row when
11893         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11894         optimization for big documents.
11895
11896 2001-10-18  Juergen Vigna  <jug@sad.it>
11897
11898         * text.C (workWidth): new function with added Inset * parameter.
11899
11900 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11901
11902         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11903
11904         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11905         change return type of getColumnNearX.
11906
11907
11908         * text.C (changeRegionCase): use uppercase/lowercase instead of
11909         toupper/tolower.
11910         (leftMargin):
11911         (rightMargin): simplify code by factoring out the uses of
11912         textclasslist.
11913         (labelFill):
11914         (numberOfHfills):
11915         (setHeightOfRow):
11916         (appendParagraph): use Paragraph::size_type
11917
11918 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11919
11920         * vspace.C (asLatexString): add a missing break
11921
11922 2001-10-15  Herbert Voss  <voss@perce.de>
11923
11924         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11925
11926 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11927
11928         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11929         is not available.
11930
11931 2001-10-10  André Pönitz <poenitz@gmx.net>
11932
11933         * lyxfunc.C: removed greek_kb_flag.
11934
11935 2001-10-10  Herbert Voss  <voss@perce.de>
11936
11937         * lyx_main.C: delete global string help_lyxdir.
11938
11939 2001-10-09  Herbert Voss  <voss@perce.de>
11940
11941         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11942
11943         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11944
11945         * lyx_main.C: added global string help_lyxdir.
11946
11947         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11948
11949 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11950
11951         * lyxrc.C (set_font_norm_type): support iso8859-4
11952
11953 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11954
11955         * LaTeX.C (deplog): add another regex for MikTeX
11956
11957 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11958
11959         * lyxrc.C (set_font_norm_type): support iso8859-3
11960
11961 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11962
11963         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11964
11965         * LaTeXFeatures.C: remove special case of french and index
11966
11967         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11968         before \begin{document}). This solves several incompatibilities.
11969
11970 2001-10-03  Garst Reese  <reese@isn.net>
11971
11972         * lyx_cb.C: change CheckTex error msg.
11973
11974 2001-10-03  José Matos  <jamatos@fep.up.pt>
11975
11976         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11977
11978 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11979
11980         * .cvsignore: update
11981
11982         * lyx_main.C (commandLineVersionInfo): use new style version info.
11983
11984         * buffer.C (writeFile):
11985         (makeLaTeXFile):
11986         (makeLinuxDocFile):
11987         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11988
11989         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11990
11991         * version.h: update to use stuff in version.C
11992
11993         * version.C.in: new file. Contains version information determined
11994         at compile time. This is a merging of version.h and
11995         version_info.h.in.
11996
11997 2001-10-03  Juergen Vigna  <jug@sad.it>
11998
11999         * BufferView_pimpl.C (update): don't change "dirty" status in
12000         updateInset call.
12001
12002 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12003
12004         * WorkArea.C (c-tor): re-position version string slightly.
12005
12006 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12007
12008         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12009         revert to previous code.
12010
12011         WorkArea.[Ch]: (show, destroySplash): methods removed.
12012
12013         WorkArea.C: rework code so that it's an amalgam of the codes before and
12014         after the splash screen was moved to WorkArea.
12015
12016 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12017
12018         * lyxrc.C (read):
12019         * vspace.C (inPixels):
12020         (lyx_advance):
12021         * kbmap.C (bind):
12022         * buffer.C (insertStringAsLines):
12023         (asciiParagraph): fix types to be large enough
12024
12025         * lyxlex_pimpl.h: change member status from short to int
12026
12027         * layout.h: fix type of endlabeltype
12028
12029         * kbmap.C (bind):
12030         * kbsequence.C (parse): change return type to string::size_type
12031
12032         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12033         variable
12034
12035         * Bullet.C (bulletSize):
12036         (bulletEntry): do not use short ints as parameters
12037
12038         * BufferView2.C (insertLyXFile): change a char to an int.
12039
12040         * WorkArea.C (WorkArea): remove unneeded floats in computation
12041
12042 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12043
12044         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12045
12046         * paragraph.C (asString): Do not ignore newline/hfill chars when
12047         copying to the clipboard.
12048
12049 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12050
12051         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12052         after a multi-line inset.
12053
12054 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12055
12056         * paragraph.C (validate): Set NeedLyXFootnoteCode
12057
12058 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12059
12060         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12061         and decrease-error to decrease.
12062
12063 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12064
12065         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12066         it more readable (should be equivalent)
12067
12068 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12069
12070         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12071
12072 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12073
12074         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12075         of a cursor (row, etc.) after a character has been deleted
12076         (deleteEmptyParagraphMechanism): call the method above on _all_
12077         cursors held by the LyXText when a double space has been
12078         detected/deleted.
12079
12080 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12081
12082         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12083         pixmap.
12084         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12085
12086         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12087         background. Use greyOut() and the new show() methods to toggle between
12088         the foreground and background. Add code to remove the splash after
12089         its initial showing.
12090
12091         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12092         (create_forms): no longer call Dialogs::showSplash.
12093
12094 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12095
12096         * .cvsignore: add version_info.h
12097
12098 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12099
12100         * version_info.h.in: new file
12101
12102         * Makefile.am: add version_info.h.in
12103
12104         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12105         version_info.h instead of VERSION_INFO
12106
12107 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12108
12109         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12110         The ERT inset now returns string().
12111
12112 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12113
12114         * lyxtext.h, text.C (selectNextWord): renamed as
12115         selectNextWordToSpellcheck.
12116
12117         * text.C (selectNextWordToSpellcheck): Modified to not select
12118         words inside an ERT inset.
12119
12120 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12121
12122         * lyx_cb.C (MenuLayoutSave): change a bit the question
12123
12124         * sp_base.h: include <sys/types.h>
12125
12126 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12127
12128         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12129
12130 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12131
12132         * several files: fix typos in user-visible strings
12133
12134 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12135
12136         * text2.C (pasteSelection): do not set the selection, since it
12137         will be cleared later. Actually, the intent was to fix the way the
12138         selection was set, but I figured rmoving the code was just as good.
12139
12140 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12141
12142         * FontLoader.C (available): Check if font is available without
12143         loading the font.
12144
12145 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12146
12147         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12148
12149 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12150
12151         * lyxrc.[Ch]: added display_graphics variable and associated code.
12152
12153 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12154
12155         * bufferparams.C (hasClassDefaults): new method. Returns true if
12156         the buffer parameters correspond to known class defaults
12157
12158 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12159
12160         * XFormsView.C (show): set minimum size to the main window.
12161
12162 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12163
12164         * text2.C (copySelection):
12165         (cutSelection):
12166         * lyxfind.C (LyXReplace):
12167         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12168         LyXText::selectionAsString.
12169
12170         * paragraph.C (asString): add "label" argument to the second form
12171
12172         * text2.C (selectionAsString): add "label" argument and pass it to
12173         Paragraph::asString.
12174
12175 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12176
12177         * lyx_main.C (commandLineHelp): remove version information
12178
12179 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12180
12181         * lyx_main.C: add -version commandline option
12182
12183 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12184
12185         * paragraph.h: make the optional constructor arg required instead.
12186         some modifications to other files because of this.
12187
12188         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12189
12190         * lyxserver.C (C_LyXComm_callback): make it static
12191
12192         * lyx_main.C (error_handler): make it static
12193
12194         * lyx_gui.C (LyX_XErrHandler): make it static
12195
12196         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12197
12198         * WorkArea.C: make the extern "C" methods static.
12199
12200         * Makefile.am (lyx_LDADD): simplify
12201
12202 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12203
12204         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12205         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12206
12207         * LyXAction.C (init):
12208         * lyxfunc.C (dispatch): associated code removal.
12209
12210 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12211
12212         * lyxfont.h (isSymbolFont): shut off warning
12213
12214         * text.C (setHeightOfRow):
12215         (getVisibleRow): fix crash with empty paragraphs which have a
12216         bottom line
12217
12218 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12219
12220         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12221         code.
12222
12223 2001-09-04  José Matos  <jamatos@fep.up.pt>
12224         * buffer.C
12225         * buffer.h
12226         * tabular.C (docbook): rename docBook method to docbook.
12227
12228 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12229
12230         * Makefile.am: add dependencies to main.o.
12231
12232 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12233
12234         * FontLoader.C (available): Return false if !lyxrc.use_gui
12235
12236 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12237
12238         * FontInfo.C (query):
12239         * converter.C (view):
12240         * importer.C (Import):
12241         * exporter.C (Export): Can not -> cannot.
12242
12243 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12244
12245         * BufferView_pimpl.C: allow to create index inset even if
12246           string is empty
12247
12248 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12249
12250         * buffer.C (getLists): replace boost::tie code with an explicit pair
12251         as boost::tie can break some compilers.
12252
12253         * iterators.h: Added a std:: declaration to the return type of
12254         ParIterator::size.
12255
12256 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12257
12258         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12259           case.
12260
12261 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12262
12263         * iterators.[Ch]: New files. Provide paragraph iterators.
12264
12265         * buffer.C (changeLanguage): Use paragraph iterators.
12266         (isMultiLingual): ditto
12267
12268         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12269
12270 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12271
12272         * FontLoader.C: Support for cmr font.
12273
12274 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12275
12276         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12277         (available): New method.
12278
12279         * FontInfo.C (getFontname): Use scalable fonts even when
12280         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12281         found.
12282
12283 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12284
12285         * converter.C (Formats::view): reverted! Incorrect fix.
12286
12287 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12288
12289         * converter.C (Formats::view): only output the -paper option
12290         if the dvi viewer is xdvi, thereby fixing bug #233429.
12291
12292 2001-08-23  Herbert Voss  <voss@perce>
12293
12294         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12295
12296 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12297
12298         * Spacing.h (Spacing): Set space to Default on in the default
12299         constructor.
12300
12301 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12302
12303         * vc-backend.h (RCS::versionString): add RCS to version
12304         (CVS::versionString): add CVS to version
12305
12306         * vc-backend.C (scanMaster): do not add CVS to version.
12307         (scanMaster): do not add RCS to version
12308
12309         * lyxvc.C (versionString): new method
12310
12311         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12312
12313 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12314
12315         * Spacing.C (set): initialize fval
12316
12317 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12318
12319         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12320         " or \.
12321
12322 2001-08-16  Juergen Vigna  <jug@sad.it>
12323
12324         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12325
12326 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12327
12328         * BufferView_pimpl.C:
12329         * figureForm.C:
12330         * lyxtext.h:
12331         * text2.C: setParagraph takes linespacing now
12332
12333 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12334
12335         * LyxAction.C: add internal LFUN_CITATION_INSERT
12336
12337         * LyXView.C: actually apply fix
12338
12339         * bufferlist.C: fix open non-existent file
12340
12341         * lyxfind.C: fix indentation
12342
12343         * lyxfunc.C: remove unneeded assert, fix typo
12344
12345 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12346
12347         * MenuBackend.C: use "Floatname List"
12348
12349 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12350
12351         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12352         when converting LaTeX layout to insetERT.
12353         Generate a non-collapsed float when reading old float
12354
12355 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12356
12357         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12358         ERT insets.
12359
12360 2001-08-13  Juergen Vigna  <jug@sad.it>
12361
12362         * text.C (fill): return 0 instead of 20 as this seems to be the more
12363         correct value.
12364
12365 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12366
12367         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12368         lyxrc.font_norm.
12369
12370 2001-08-13  Juergen Vigna  <jug@sad.it>
12371
12372         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12373         casesensitive off.
12374         (SearchBackward): comment out the unlocking of the inset_owner this
12375         should not be needed!
12376
12377 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12378
12379         * Many files: Remove inherit_language, and add latex_language
12380
12381         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12382         collapsible insets.
12383
12384 2001-08-10  Juergen Vigna  <jug@sad.it>
12385
12386         * text.C (prepareToPrint): fixed hfill-width in draw!
12387
12388         * BufferView2.C (selectLastWord): save the selection cursor as this
12389         now is cleared in the function LyXText::clearSelection!
12390
12391 2001-08-08  Juergen Vigna  <jug@sad.it>
12392
12393         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12394         BACKSPACE type functions.
12395
12396         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12397         is only cutted from the document but not put in the cut-buffer, where
12398         still the old stuff should be.
12399
12400         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12401
12402         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12403
12404         * tabular.C (SetWidthOfCell): fixed special case where the width
12405         was not updated!
12406         (LeftLine): handle '|' in align_special.
12407         (RightLine): ditto
12408         (LeftAlreadyDrawed): ditto
12409         (SetWidthOfCell): ditto
12410
12411 2001-08-07  Juergen Vigna  <jug@sad.it>
12412
12413         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12414
12415 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12416
12417         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12418         * lyxlex.[hC]: ditto
12419
12420 2001-08-06  Juergen Vigna  <jug@sad.it>
12421
12422         * text.C (getVisibleRow): fix up row clearing a bit.
12423
12424 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12425
12426         * minibuffer.C: make sure the X server sees the changes in the input.
12427
12428 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12429
12430         * paragraph.C (getFont): split into...
12431         (getLabelFont): this
12432         (getLayoutFont): and this
12433         * paragraph_pimpl.C (realizeFont): calling this
12434
12435         * text2.C (getFont): split into...
12436         (getLayoutFont): this
12437         (getLabelFont): and this
12438         (realizeFont): all three calling this
12439
12440         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12441         files where used.
12442
12443 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12444
12445         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12446
12447 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12448
12449         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12450         layouts from the Quote inset insertion.
12451
12452 2001-08-03  Juergen Vigna  <jug@sad.it>
12453
12454         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12455
12456         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12457         only if status not is already CHANGED_IN_DRAW (second level).
12458
12459         * text.C (draw): don't set the need_break_row when inside an
12460         InsetText LyXText.
12461
12462 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12463
12464         * buffer.C (parseSingleLyXformat2Token): handle more latex
12465         conversion cases.
12466
12467         * bufferview_funcs.[hC]: change function names to
12468         begin with small char, adjust other files.
12469
12470 2001-08-02  André Pönitz <poenitz@gmx.net>
12471
12472         * lyxfunc.C:
12473         BufferView_pimpl.C: remove broken special code for math-greek
12474
12475 2001-08-02  Juergen Vigna  <jug@sad.it>
12476
12477         * BufferView_pimpl.C (update): redone this function so that we
12478         update the text again if there was a CHANGE_IN_DRAW.
12479
12480         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12481         (drawFromTo): added a new internal bool which is used by draw() and
12482         redraw() function.
12483         (general): some cursor drawing problems fixed.
12484
12485 2001-08-01  Juergen Vigna  <jug@sad.it>
12486
12487         * lyxfind.C (LyXFind): fixed
12488         (SearchForward): ditto
12489         (SearchBackward): ditto
12490
12491         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12492         spurius drawing of the cursor in the main area.
12493
12494         * text2.C (status): small fix which could lead to a segfault!
12495         (clearSelection): remove unneeded BufferView param.
12496
12497 2001-08-01  André Pönitz <poenitz@gmx.net>
12498
12499         * lyxfunc.C: small change due to changed mathed interface
12500
12501 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12502
12503         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12504
12505 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12506
12507         * lyxfunc.c: fail gracefully if file doesn't exist
12508
12509         * LyXSendto.C:
12510         * buffer.C:
12511         * lyxfunc.C:
12512         * BufferView_pimpl.C: IsDirWriteable() proto changed
12513
12514         * LyXView.C: fix updateWindowTitle() to store the last title
12515
12516 2001-07-31  Juergen Vigna  <jug@sad.it>
12517
12518         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12519         the font (wrong since using of Paragraph::highestFontInRange).
12520
12521         * paragraph.C (highestFontInRange): added a default_size parameter.
12522
12523         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12524         (setHeightOfRow): reformat
12525
12526 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12527
12528         * converter.[hC] + affected files: move to (inital-char)lowercase
12529         function names.
12530
12531         * ParagraphParameters.C (ParagraphParameters): remove commented code
12532
12533         * PainterBase.[Ch]: remove commented code
12534
12535         * LaTeXFeatures.h: add "bool floats" for float.sty
12536
12537         * LaTeXFeatures.C (LaTeXFeatures): init floats
12538         (require): handle float
12539         (getPackages): do it with floats
12540
12541 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12542
12543         * BufferView_pimpl.C (Dispatch): improve handling of
12544         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12545
12546         * commandtags.h: #include lyxfont.h here temporarily to avoid
12547         keybinding bug.
12548
12549         * bufferlist.h: include LString.h here.
12550
12551 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12552
12553         * text2.C (getStringToIndex): new method.
12554
12555 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12556
12557         * *: Reduced header file dependencies all over.
12558
12559 2001-07-30  Baruch Even  <baruch@lyx.org>
12560
12561         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12562
12563 2001-07-29  Baruch Even  <baruch@lyx.org>
12564
12565         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12566
12567 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12568
12569         * ParameterStruct.h (endif): add a default constructor to make
12570         sure that all variables is initialized.
12571
12572         * ParagraphParameters.C (ParagraphParameters): adjust
12573
12574 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12575
12576         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12577         index; also, check that there is something to index, and that it
12578         does not span over several paragraphs.
12579         (doubleClick): use WHOLE_WORD_STRICT for double click.
12580
12581         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12582
12583         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12584         scheme.
12585
12586 2001-07-26  Baruch Even  <baruch@lyx.org>
12587
12588         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12589         an InsetFig figure, backwards compatible reading of old figure code.
12590
12591 2001-07-27  Juergen Vigna  <jug@sad.it>
12592
12593         * text2.C: font.realize function adaption.
12594
12595         * text.C (draw): add a warnings lyxerr text if needed.
12596
12597         * layout.C: font.realize function adaption.
12598
12599         * language.C: add inherit_language and implement it's handlings
12600
12601         * bufferview_funcs.C (StyleReset): remove language parameter from
12602         font creation (should be language_inherit now).
12603
12604         * bufferparams.C (writeFile): handle ignore_language.
12605
12606         * paragraph.C (getFontSettings): the language has to be resolved
12607         otherwise we have problems in LyXFont!
12608
12609         * lyxfont.C (lyxWriteChanges): added document_language parameter
12610         (update): removed unneeded language parameter
12611
12612         * paragraph.C (validate): fixed wrong output of color-package when
12613         using interface colors for certain fonts in certain environments,
12614         which should not seen as that on the final output.
12615
12616 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12617
12618         * BufferView_pimpl.C:
12619         * Thesaurus.h:
12620         * Thesaurus.C:
12621         * Makefile.am:
12622         * commandtags.h:
12623         * LyXAction.C: add thesaurus support
12624
12625         * lyxfind.h:
12626         * lyxfind.C: add "once" parameter, for thesaurus, to not
12627           move to the next match
12628
12629 2001-07-26  Juergen Vigna  <jug@sad.it>
12630
12631         * lyxfont.C (realize): honor ignore_language too!
12632         (resolved): ditto.
12633
12634         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12635
12636         * text.C (draw): one place more for ignore_language to not draw
12637         itself!
12638
12639 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12640
12641         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12642
12643 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12644
12645         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12646         the minipage conversion problem.
12647
12648 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12649
12650         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12651         insert an inset.
12652
12653 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12654
12655         * BufferView.h: don't forward declare WorkArea
12656
12657         * BufferView.C: don't include WorkArea.h
12658
12659 2001-07-25  André Pönitz <poenitz@gmx.net>
12660
12661         * commandtags.h:
12662         * LyXAction.C:
12663         * lyxfunc.C:  new LFUN 'math-space'
12664
12665         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12666
12667 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12668
12669         * text2.C (toggleInset): call open/close
12670
12671 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12672
12673         * lyxfunc.C (dispatch): add debug for the disabled case
12674
12675         * font.C (buttonText): make similar to rectText
12676
12677         * buffer.C (readInset): comment out parsing of insetlist and
12678         insttheorem
12679
12680         * PainterBase.C (rectText): small correction
12681
12682         * BufferView_pimpl.C: comment out insettheorem and insetlist
12683         * LyXAction.C: ditto
12684         * commandtags.h: ditto
12685
12686 2001-07-24  Juergen Vigna  <jug@sad.it>
12687
12688         * text.C (draw): honor the ignore_language.
12689
12690         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12691
12692 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12693
12694         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12695         char inset.
12696
12697 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12698
12699         * lyxtext.h: remove unused (and unimplemented) methods
12700
12701 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12702
12703         * text.C (getVisibleRow): honor background color
12704
12705         * PainterBase.h:
12706         * Painter.h: remove default color argument for fillRectangle
12707
12708         * text.C (backgroundColor): new method
12709
12710 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12711
12712         * text.C (getVisibleRow): adjust
12713
12714         * font.[Ch] (rectText): new method, metrics
12715         (buttonText): new method, metrics
12716
12717         * PainterBase.[hC]: make rectText and buttonText always draw and take
12718         fewer paramteres.
12719
12720 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12721
12722         * ToolbarDefaults.C (read):
12723         * MenuBackend.C (read): allow escaping in all strings
12724
12725         * BufferView_pimpl.C (insertAndEditInset): new method.
12726         (Dispatch): use insertAndEditInset whenever appropriate.
12727
12728         * BufferView_pimpl.C (insertNote): removed
12729
12730         * BufferView_pimpl.C (smartQuote): new method, moved from
12731         BufferView; if an insetquote cannot be inserted, insert a '"'
12732         character instead.
12733
12734         * BufferView2.C: remove insertCorrectQuote();
12735
12736         * lyxfunc.C (getStatus): Add support for all remaingin
12737         inset-insert lfuns.
12738
12739         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12740
12741         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12742         command (necessary to pass " as parameter of self-insert.
12743
12744         * text.C (selectWordWhenUnderCursor):
12745         (selectWord): add word_location parameter
12746         (selectWordWhenUnderCursor): same + remove special code for word
12747         boundary.
12748         (selectNextWord): use kind() to guess type of insetspecialchar,
12749         not latex().
12750
12751         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12752         (insertErtContents): create ert insets as collapsed.
12753         (readInset): better compatibility code for Info inset.
12754
12755 2001-07-20  Juergen Vigna  <jug@sad.it>
12756
12757         * lyxfunc.C (dispatch): use always LyXFind now!
12758
12759         * text2.C (init): add a reinit flag so that the LyXText can be
12760         reinited instead of deleted and reallocated (used in InsetText).
12761
12762         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12763
12764         * text.C: ditto
12765
12766         * text2.C: ditto
12767
12768 2001-07-18  Juergen Vigna  <jug@sad.it>
12769
12770         * text.C (selectNextWord): handle insets inside inset by calling
12771         always the bv->text functions so that we can go up the_locking_inset!
12772
12773         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12774         in strange locations when inside an inset!
12775
12776         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12777         handling to include insets.
12778
12779         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12780
12781 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12782
12783         * LyXAction.C (init):
12784         * commandtags.h:
12785         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12786         LIGATURE_BREAK, since the name is so stupid.
12787
12788 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12789
12790         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12791         InsetInfos.
12792
12793         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12794
12795         * sp_form.[Ch]: remove.
12796
12797         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12798
12799         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12800         InsetInfo.
12801
12802         * src/buffer.C (readInset): ditto.
12803
12804 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12805
12806         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12807         menuSeparator(), endOfSentenceDot(), ldots() and
12808         hyphenationPoint(), which are therefore removed.
12809         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12810
12811         * LyXAction.C (init):
12812         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12813
12814         * paragraph.C (getWord): removed.
12815
12816         * BufferView_pimpl.C (Dispatch): use last word or selection for
12817         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12818
12819         * lyx_main.C (queryUserLyXDir): do not ask before creating
12820         user_dir, except if it has been named explicitely.
12821
12822 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12823
12824         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12825         a document of zero size.
12826
12827 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12828
12829         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12830         approriately in the c-tor and in require().
12831         (getPackages): output the appropriate LaTeX for natbib support.
12832
12833         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12834         variables "use_natbib" and "use_numerical_citations" when reading the
12835         LyX file.
12836         (readInset): read the various natbib cite commands.
12837         (validate): white-space change.
12838
12839         * bufferparams.[Ch]: new variables "bool use_natbib" and
12840         "bool use_numerical_citations".
12841         (writeFile): output them in the LyX file.
12842
12843 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12844
12845         * lyxfunc.C (getStatus): add support for all the inset insertion
12846         commands.
12847
12848         * text2.C (insertInset):
12849         * paragraph.C (insetAllowed):
12850         * BufferView_pimpl.C (insertInset): update to take in account the
12851         renaming of insertInsetAllowed
12852
12853         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12854
12855         * text2.C (getInset): new method. returns inset at cursor position.
12856
12857         * BufferView_pimpl.C (Dispatch): changes because of this.
12858
12859         * LyXAction.C (init): rename open-stuff to inset-toggle.
12860
12861         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12862
12863         * text2.C (toggleInset): renamed from openStuff; use
12864         Inset::open().
12865
12866 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12867
12868         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12869
12870         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12871
12872 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12873
12874         * buffer.C (readLyXformat2): Add filename to the error dialog
12875
12876 2001-07-18  Juergen Vigna  <jug@sad.it>
12877
12878         * tabular.C (GetCellNumber): put an assert here instead of the check!
12879
12880 2001-07-17  Juergen Vigna  <jug@sad.it>
12881
12882         * BufferView_pimpl.C (toggleSelection): adapted too.
12883
12884         * text.C (selectNextWord): adapted for use with insets.
12885         (selectSelectedWord): ditto
12886
12887 2001-07-17  Juergen Vigna  <jug@sad.it>
12888
12889         * sp_spell.C (PSpell): fix initialitation order.
12890
12891 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12892
12893         * paragraph.C: spacing
12894
12895 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12896
12897         * sp_spell.C: repair language selection for pspell
12898
12899 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12900
12901         * lyxfunc.h: change more methods to begin with lower char.
12902
12903 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12904
12905         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12906         for unknown layouts.
12907
12908 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12909
12910         * buffer.C (readLyXformat2): Generate an error dialog if there are
12911         unknown layouts.
12912
12913 2001-07-16  Juergen Vigna  <jug@sad.it>
12914
12915         * sp_spell.C: always compile ISpell part.
12916
12917         * lyxrc.C: added use_pspell entry and it's handling.
12918
12919 2001-07-13  Juergen Vigna  <jug@sad.it>
12920
12921         * sp_spell.C: removed double includes.
12922
12923 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12924
12925         Consistent use of Lsstream.h:
12926         * Lsstream.h: added using std::stringstream for consistencies sake.
12927
12928         * buffer.C: removed using std::stringstream
12929
12930         * lyxfont.C (stateText):
12931         * paragraph.C (asString):
12932         * text.C (selectNextWord, selectSelectedWord):
12933         * text2.C (setCounter):
12934         * vspace.C (asString, asLatexString):
12935         std::ostringstream -> ostringstream.
12936
12937 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12938
12939         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12940         * commandtags.h: add LFUN_HELP_ABOUTLYX
12941         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12942
12943 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12944
12945         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12946         cursorToggle()
12947         * lyx_gui_misc.C: remove spellchecker
12948         * lyxfunc.C: showSpellchecker
12949         * sp_base.h: added
12950         * sp_ispell.h: added
12951         * sp_pspell.h: added
12952         * sp_spell.C: added
12953         * sp_form.[Ch]: removed
12954         * spellchecker.[Ch]: removed
12955
12956 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12957
12958         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12959         is set.
12960         (simpleTeXSpecialChars): Simply print the input character without
12961         any special translation if pass_thru is set.
12962
12963         * layout.h: Added bool pass_thru to layout class for being able to
12964         implement pass through of a paragraph for Literate Programming.
12965
12966         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12967         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12968         * layout.C (Read): add "passthru" to list of layout tags and add
12969         code to set the pass_thru boolean when it is read.
12970
12971 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12972
12973         * trans_decl.h: remove allowed from KmodInfo
12974
12975         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12976         remove allowed code
12977         (Load): adjust
12978
12979         * paragraph_pimpl.C (erase): use boost::prior
12980
12981         * Painter.C (text): use data() instead of c_str() when length is
12982         also provided.
12983         * WorkArea.C (putClipboard): ditto
12984         * font.h (width): ditto
12985
12986         * BufferView2.C: use it-> instead of (*it). for iterators
12987         * texrow.C: ditto
12988         * paragraph_pimpl.C: ditto
12989         * paragraph.C: ditto
12990         * minibuffer.C: ditto
12991         * language.C: ditto
12992         * kbmap.C: ditto
12993         * encoding.C: ditto
12994         * counters.C: ditto
12995         * converter.C: ditto
12996         * chset.C: ditto
12997         * Variables.C: ditto
12998         * TextCache.C: ditto
12999         * MenuBackend.C: ditto
13000         * LyXAction.C: ditto
13001         * LColor.C: ditto
13002         * FloatList.C: ditto
13003         * DepTable.C: ditto
13004         * ColorHandler.C (LyXColorHandler): ditto
13005
13006 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13007
13008         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13009
13010         * text2.C (openStuff): reintroduce this method (which had been
13011         nuked in NEW_INSETS frenzy).
13012
13013         * lyxfunc.C (Dispatch): when an action has not been handled, use
13014         its name in the error message, not its number.
13015
13016         * paragraph.C (inInset): change method name to begin with lowercase.
13017
13018         * undo_funcs.C:
13019         * text2.C: updates because of this.
13020
13021 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13022
13023         * ToolbarDefaults.C (add): add spaces in error message
13024
13025 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13026
13027         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13028         (readLyXformat2): rename return_par to first_par, use lyxlex's
13029         pushToken and remove the manual push handling.
13030         (parseSingleLyXformat2Token): add another ert comp. variable:
13031         in_tabular, rename return_par to first_par. handle newlines better
13032
13033 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13034
13035         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13036
13037 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13038
13039         * text2.C (getParFromID): removed
13040
13041         * buffer.C (getParFromID): new method moved form lyxtext.
13042         * BufferView2.C (insertErrors): adjust
13043         (setCursorFromRow): adjust
13044         * BufferView_pimpl.C (restorePosition): adjust
13045         * lyxfunc.C (Dispatch): adjust
13046         * undo_funcs.C (textUndo): adjust
13047         (textRedo): adjust
13048         (textHandleUndo): adjust
13049         (textHandleUndo): adjust
13050
13051 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13052
13053         * buffer.C: up' the LYX_FORMAT
13054
13055         * lyxfont.h: turn NO_LATEX on as default
13056
13057         * buffer.C (insertErtContents): new methods of tex style compability.
13058         (parseSingleLyXformat2Token): use it several places.
13059         * tabular.C (OldFormatRead): and here
13060
13061 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13062
13063         * text2.C: remove some commented code.
13064         reindent file.
13065
13066         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13067         * trans.C: changes because of the above.
13068
13069 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13070
13071         * text2.C (setCounter): Fix counters bug with bibliography layout.
13072
13073 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13074
13075         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13076         own member functions
13077         (simpleTeXSpecialChars): ditto
13078
13079 2001-07-06  Juergen Vigna  <jug@sad.it>
13080
13081         * a lot of files: changed the access to LyXText::status and the
13082         call of undo-functions.
13083
13084         * undo.[Ch]: added a inset_id to the undo informations.
13085
13086         * undo_funcs.[Ch]: added and moved here all undo functions.
13087
13088         * lyxtext.h: give the status enum a weight, made status_ a private
13089         variable and made accessor functions for it, removed the whole bunch
13090         of undo-functions as they are now in their own file, make some
13091         functions publically available. Added function ownerParagraph with
13092         int parameter.
13093
13094         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13095         made InInset() a const function, added getParFromID() function.
13096
13097         * buffer.[Ch]: added const version for inset_iterator functions,
13098         added getInsetFromID() function.
13099
13100         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13101         changed undo functions for new version.
13102
13103 2001-07-05  Juergen Vigna  <jug@sad.it>
13104
13105         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13106         unknow mechanism does not call the proper constructor but only this
13107         one also if I request the other!?
13108
13109 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13110
13111         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13112
13113         * text2.C (LyXText): use initialization lists.
13114
13115         * lyxtext.h (Selection): initialize set_ and mark_
13116         (init): remove method
13117
13118 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13119
13120         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13121
13122 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13123
13124         * screen.[Ch]: change method names to begin with lowercase
13125
13126         * BufferView_pimpl.C (updateScrollbar): simplify further and
13127         hopefully make it a bit faster.
13128
13129 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13130
13131         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13132         calling directly xforms functions.
13133
13134         * Painter.C (Painter):
13135         * lyx_cb.C (MenuWrite):
13136         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13137         fl_display.
13138
13139         * lyx_gui.C: remove bogus guiruntime extern declaration.
13140
13141 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13142
13143         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13144         in NEW_INSETS
13145         (redoDrawingOfParagraph): ditto
13146         (redoParagraphs): ditto
13147         (cutSelection): don't create a object for CutAndPaste use the
13148         static method directly
13149         (pasteSelection): ditto
13150
13151         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13152         LyXview (+ rename)
13153
13154 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13155
13156         * modifications to some other files because of this.
13157
13158         * Makefile.am (lyx_SOURCES): add XFormsView
13159
13160         * XFormsView.[Ch]: new files
13161
13162         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13163         the main window. Move the gui dependent stuff to XFormsView
13164
13165 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13166
13167         * tabular.C (GetCellInset): update cur_cell also in the row/col
13168         version of this function.
13169
13170         * lyxfunc.C: no need to include figure_form.h here.
13171
13172         * FontLoader.h:
13173         * lyxfunc.h:
13174         * lyxscreen.h:
13175         * text2.C:
13176         * lyxvc.C: no need to include forms.h here.
13177
13178 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13179
13180         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13181
13182         * lyxfunc.C (Dispatch):
13183         * Spacing.C (set):
13184         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13185         constructor argument.
13186
13187 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13188
13189         * paragraph.C (Paragraph): dont't clear, and just set layout.
13190         (makeSameLayout): use params's copy contructor.
13191
13192         * ParagraphParameters.[Ch] (makeSame): delete method
13193
13194 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13195
13196         * Variables.[Ch]: fix indentation, rename set to isSet
13197
13198 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13199
13200         * lyxfunc.C (Dispatch): fix typo
13201
13202 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13203
13204         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13205         upper_bound.
13206
13207         * bufferlist.C: include assert.h for emergencyWrite().
13208
13209 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13210
13211         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13212           give up at last (bug #425202) !
13213
13214 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13215
13216         * lyx_gui_misc.C:
13217         * sp_form.h:
13218         * sp_form.C:
13219         * spellchecker.h:
13220         * spellchecker.C: strip spellchecker options and bring up
13221           preferences tab instead
13222
13223 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13224
13225         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13226         the istringstream constructor
13227
13228 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13229
13230         * paragraph.C (getLayout): fix return value
13231
13232         * paragraph.h: do not declare getLayout as inline.
13233
13234         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13235
13236 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13237
13238         * lyxcursor.h (operator<): new func
13239         (operator>): new func
13240         (operator>=): new func
13241         (operator<=): new func
13242
13243         * text.C (changeCase): use selection.start and selection.end
13244         (changeRegionCase): require from to be <= to. Require par to be a
13245         valid paragraph.
13246
13247         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13248
13249 2001-06-27  Juergen Vigna  <jug@sad.it>
13250
13251         * text.C (cursorLeftOneWord): changed to return the cursor and added
13252         overlay with BufferView * parameter which calls this one.
13253         (getWord): added
13254         (selectWord): use new getWord function.
13255         (changeCase): renamed from changeWordCase as and extended to work
13256         also on selections.
13257
13258         * lyxtext.h: added enum word_location
13259
13260         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13261         changeCase as this operates now also on selections.
13262
13263 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13264
13265         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13266
13267         * many files: send debug output to Debug::INFO instead of
13268         Debug::ANY.
13269
13270         * converter.C (View):
13271         (Convert):
13272         (Move): send debug output to Debug::FILES instead of console.
13273
13274 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13275
13276         * lyxfunc.C (getStatus): use func_status
13277
13278         * func_status.h: new header, describing the results of
13279         LyXFunc::getStatus;
13280
13281         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13282         LFUN_MATH_HALIGN.
13283
13284 2001-06-25  The LyX Project  <jug@sad.it>
13285
13286         * buffer.C (sgmlOpenTag):
13287         (sgmlCloseTag):
13288         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13289
13290 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13291
13292         * text2.C: remove some dead code
13293
13294         * tabular.C (GetCellInset): store the last cell checked (gotten)
13295
13296         * tabular.h: add the helper for the speedup
13297
13298         * lyxtext.h: remove some dead code
13299
13300 2001-06-26  The LyX Project  <Asger>
13301
13302         * paragraph.C: Change export to LaTeX of alignment to
13303         \begin{center} and family for better roundtrip work with reLyX.
13304
13305         * Tune the math drawing a bit.
13306
13307 2001-06-25  The LyX Project  <Asger>
13308
13309         * LColor.C (LColor): New color for math background. New color
13310         for buttons.
13311
13312 2001-06-25  The LyX Project  <jug@sad.it>
13313
13314         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13315
13316         * lyxfunc.C (Open):
13317         * bufferlist.C (newFile): do not restrict to files ending with
13318         .lyx
13319
13320         * BufferView_pimpl.C (MenuInsertLyXFile):
13321
13322 2001-06-24  The LyX Project  <jug@sad.it>
13323
13324         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13325         of compare_no_case
13326
13327 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13328
13329         * lyxtext.h: rename most methods to begin with a small char.
13330         Lots of changes because of this.
13331
13332         * paragraph.C (Paragraph): do not call fitToSize
13333         (erase): call Pimpl::erase
13334         (insertChar): call Pimpl::insertChar
13335         (insertInset): call Pipl::insertInset
13336         (breakParagraph): do not call fitToSize
13337         (breakParagraphConservative): do not call fitToSize
13338         (fitToSize): remove method
13339
13340         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13341
13342 2001-06-24  The LyX Project  <Asger>
13343
13344         * Fix Qt compilation^2
13345
13346 2001-06-24  The LyX Project  <jug@sad.it>
13347
13348         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13349         depthHook(getDepth()-1).
13350
13351         * paragraph.h:
13352         * ParagraphParameters.h:
13353         * ParameterStruct.h: change type of depth to unsigned int ==
13354         depth_type. Many adaptations to other files before of that.
13355
13356 2001-06-24  The LyX Project  <Asger>
13357
13358         * Fix Qt compilation.
13359
13360 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13361
13362         * paragraph.h: renamed several methods to begin with small letter.
13363         several changes to many parts of the code because of this.
13364
13365 2001-06-23  The LyX Project  <jug@sad.it>
13366
13367         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13368         rewritten to discard all double spaces when KeepEmpty is off
13369         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13370         to only handle newlines but not fiddle with spaces and friends.
13371
13372         * lyxfunc.C (MenuNew): when doing 'new from template', use
13373         template_path as default directory
13374
13375 2001-06-23  The LyX Project  <Asger>
13376
13377         * Clean-up of header file includes all over
13378         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13379
13380 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13381
13382         * paragraph.h: renamed from lyxparagraph.h
13383
13384 2001-06-23  Asger  <lyx@violet.home.sad.it>
13385
13386         * Buffer.h: Removed Buffer::resize
13387         * BufferList.h: Removed BufferList::resize
13388         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13389         the document lazily when we change the width, or the font settings.
13390
13391 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13392
13393         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13394
13395 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13396
13397         * buffer.h: remove out of date comment
13398
13399 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13400
13401         * lyxscreen.h:
13402         * screen.C: fix "theoretical" GC leak
13403
13404 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13405
13406         * LaTeX.C (scanAuxFile):
13407         (deplog): remove trailing \r when reading stream (useful under
13408         win32)
13409
13410 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13411
13412         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13413         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13414         and BufferView::theLockingInset(Inset*), so should use them and not
13415         access bv_->text->the_locking_inset directly.
13416
13417         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13418
13419 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13420
13421         * Makefile.am:
13422         * tex-defs.h: remove old unused file
13423
13424 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13425
13426         * BufferView_pimpl.C: fix typo, remove minibuffer message
13427           when buffer has loaded
13428
13429 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13430
13431         * lyxfunc.C (Dispatch): use stringstream
13432         (MenuNew): use stringstream
13433         (Open): use stringstream
13434
13435         * importer.C (Import): use stringstream
13436
13437         * bufferview_funcs.C (CurrentState): use stringstream
13438
13439         * LaTeX.C (run): use stringstream
13440
13441         * BufferView_pimpl.C (savePosition): use stringstream
13442         (restorePosition): use stringstream
13443         (MenuInsertLyXFile): use stringstream
13444
13445 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13446
13447         * BufferView.C:
13448         * Bullet.C:
13449         * ColorHandler.C:
13450         * FontInfo.C:
13451         * FontLoader.C:
13452         * LColor.C:
13453         * LaTeXFeatures.C:
13454         * Painter.C:
13455         * gettext.C:
13456         * lyx_gui_misc.C:
13457         * lyxserver.C:
13458         * vspace.C: removed // -*- C++ -*- as first line.
13459
13460         * lyxfind.h:
13461         * version.h: added // -*- C++ -*- as first line.
13462
13463 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13464
13465         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13466
13467         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13468         of string
13469
13470 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13471
13472         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13473         of floats.
13474
13475 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13476
13477         * gettext.C: include LString.h even when --disable-nls is on.
13478
13479 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13480
13481         * converter.h (Get): changed argument type from int to
13482         FormatList::size_type to avoid unnecessary conversion.
13483
13484         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13485         before using it.
13486
13487 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13488
13489         * gettext.h: include LString.h even when --disable-nls is on.
13490
13491 2001-06-07  Juergen Vigna  <jug@sad.it>
13492
13493         * text.C (BreakAgain): subst spaces with tabs.
13494
13495         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13496         (resizeInsetsLyXText): set force on resizeLyXText.
13497
13498 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13499
13500         * gettext.h (gettext_init):
13501         (locale_init): use a real definition instead of a macro
13502
13503 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13504
13505         * Bufferview_pimpl.C:
13506         * LColor.h:
13507         * LColor.C: further lcolor tidies
13508
13509 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13510
13511         * BufferView_pimpl.C (updateScrollbar): simplify.
13512
13513         * BufferView2.C: don't include insets/insetinfo.h, change
13514         prototype for insertInset and call the Pimpl version. let
13515         updateInset call Pimpl version.
13516
13517         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13518         gotoInset to BufferView::Pimpl
13519
13520 2001-06-01  Juergen Vigna  <jug@sad.it>
13521
13522         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13523         inside a LockingInset (is the update needed at all?).
13524
13525 2001-05-31  Juergen Vigna  <jug@sad.it>
13526
13527         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13528         here not the old one otherwise how should we compare it afterwards
13529         if it's the same!
13530
13531 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13532
13533         * lyxfont.C:
13534         * tabular.C:
13535         * tabular-old.C:
13536         * FontInfo.C: bring C functions into global namespace when
13537         necessary
13538
13539 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13540
13541         * LString.h: make sure config.h has been loaded before LString.h.
13542
13543         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13544         (one for each char read by EatLine!).
13545
13546         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13547         variables.
13548
13549 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13550
13551         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13552         to the same as the par we break from
13553
13554 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13555
13556         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13557
13558         * MenuBackend.C (expand): also create menu entries for wide
13559         versions of the floats.
13560
13561         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13562
13563         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13564
13565         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13566         frontends/Makefile.am
13567
13568         * text2.C: adjust
13569         * text.C: adjust
13570
13571
13572         * tabular.C (getTokenValue): add std::
13573
13574         * tabular-old.C (getTokenValue): add std::
13575         (getTokenValue): ditto
13576         (getTokenValue): ditto
13577
13578         * screen.C (ToggleSelection): adjust
13579
13580         * lyxtext.h: put selection cursors inside a Selection struct.
13581
13582         * lyxfunc.C (moveCursorUpdate): adjust
13583
13584         * lyxfont.C (latexWriteStartChanges): add std::
13585
13586         * lyxfind.C: adjust
13587
13588         * font.h: delete with(char const *, LyXFont const &)
13589
13590         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13591
13592         * FontInfo.C (getFontname): add std::
13593
13594         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13595         (workAreaButtonPress): adjust
13596         (tripleClick): adjust
13597         (update): adjust
13598         (moveCursorUpdate): adjust
13599         (Dispatch): adjust
13600
13601         * BufferView2.C (gotoInset): adjust
13602
13603 2001-05-30  Juergen Vigna  <jug@sad.it>
13604
13605         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13606         to check pspell I add this as default as I now have new pspell
13607         libraries and they seem to use this.
13608
13609 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13610
13611         * text2.C (CutSelection): make the cursor valid before the call to
13612         ClearSelection.
13613
13614 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13615
13616         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13617         relied on 0 terminated strings and other horrors. Bug found due to
13618         the new assert in lyxstring!
13619
13620         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13621         KP_ keys.
13622
13623 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13624
13625         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13626         to latinkeys.bind.
13627
13628         * lyxfunc.C (processKeySym): change method of getting to the
13629         self-insert char.
13630
13631         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13632         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13633         * BufferView_pimpl.[Ch]: here as private methods.
13634
13635 2001-05-28  Juergen Vigna  <jug@sad.it>
13636
13637         * text.C (SetHeightOfRow): added the update() call again as it is
13638         needed to initialize inset dimensions!
13639
13640 2001-05-16  Juergen Vigna  <jug@sad.it>
13641
13642         * text2.C (SetCharFont): Add new function with BufferView * and
13643         bool toggleall parameters for setting insets internal fonts.
13644         (SetFont): Freeze the undo as we may change fonts in Insets and
13645         all this change should be inside only one Undo!
13646
13647         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13648         setting font's in insets as for them we have the SetFont function!
13649
13650 2001-05-15  Juergen Vigna  <jug@sad.it>
13651
13652         * text2.C (ClearSelection): to be sure we REALLY don't have any
13653         selection anymore!
13654
13655         * tabular.C (TeXCellPreamble): fixed the left border problem for
13656         multicolumn cells.
13657
13658 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13659
13660         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13661         dependancy file
13662
13663 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13664
13665         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13666         LFUN_BREAKPARAGRAPH.
13667
13668         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13669         help test to "internal only", similar for LFUN_INSERT_URL
13670
13671         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13672         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13673         auto_region_delete and deadkeys.
13674
13675 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13676
13677         * LColor.h:
13678         * LColor.C: remove some dead entries, tidy a little
13679
13680 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13681
13682         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13683         commented code.
13684         (Dispatch): implement LFUN_ESCAPE
13685
13686         * commandtags.h: add LFUN_ESCAPE
13687
13688         * LyXAction.C (init): add entry for LFUN_ESCAPE
13689
13690         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13691         Remove commented code.
13692         (insertNote): moved here
13693         (open_new_inset): moved here
13694
13695         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13696         BufferView_pimpl
13697
13698 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13699
13700         * kbmap.C (findbinding): clean it up and make it work correctly.
13701
13702         * lyx_main.C (init): do not pass argc and argv as parameters
13703
13704 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13705
13706         * buffer.C: fix path for OS/2 & Win32
13707
13708         * lyx_gui.C:
13709         * lyx_main:
13710         * lyx_main.C: Added os:: class.
13711
13712         * os2_defines.h: update
13713
13714 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13715
13716         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13717         better by trying again with reduced state.
13718
13719 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13720
13721         * lyxrc.C (read): print error about invalid key sequence only when
13722         debugging (because not all latinX keysyms are known to some X
13723         servers)
13724
13725         * kbsequence.C (getiso): add a few std:: qualifiers
13726         (getiso): comment out extra return statement.
13727
13728 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13729
13730         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13731         handling.
13732         (Dispatch): enhance the accent inset a bit. (not perfect)
13733
13734 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13735
13736         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13737
13738 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13739
13740         * bufferlist.C (emergencyWrite): fix assert() call
13741
13742 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13743
13744         * text.C (InsertChar): Added trivial patch to only send the "you
13745         can not do multiple spaces this way" message once during a
13746         session.
13747
13748 2001-05-08  Baruch Even  <baruch@lyx.org>
13749
13750         * Makefile.am: Changed order of libraries to get LyX to link properly
13751         with the gnome frontend.
13752
13753 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13754
13755         * LaTeXFeatures.h: add a std:: qualifier
13756
13757 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13758
13759         * paragraph.C (String): use stringstream
13760
13761 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13762
13763         * paragraph.C (writeFile): remove footflag arg
13764
13765         * buffer.C (makeLaTeXFile): use stringstream
13766         (latexParagraphs): remove footnot gurba
13767
13768         * LaTeXFeatures.C (getPackages): use stringstream
13769         (getMacros): likewise
13770         (getTClassPreamble): likewise
13771         (getFloatDefinitions): new method
13772
13773         * paragraph.C (writeFile): reindent
13774         (Erase): reindent
13775
13776         * WorkArea.h: revert the xpos + etc changes.
13777
13778         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13779
13780         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13781
13782         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13783         (pasteSelection): likewise
13784         * text2.C (CreateUndo): likewise
13785
13786 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13787
13788         * minibuffer.C (peek_event): temporarily reduce the functionality
13789         of the minibuffer (to allow args on lfuns)
13790
13791         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13792         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13793
13794         * buffer.C (readInset): add compability reading of old float
13795         lists, add reading of new style float list.
13796         (readInset): avoid reevaluation of inscmd.getCmdName()
13797         (getLists): reindent
13798
13799         * MenuBackend.C (MenuItem): implement parsing of
13800         md_floatlistinsert and md_floatinsert.
13801         (expand::LastFiles): move initalizaton of iterators out of loop,
13802         avoid reevaluation.
13803         (expand::Documents): introduce typdedef vector<string> Strings,
13804         and use it.
13805         (expand::ExportFormats): introduce typedef vector<Format const *>
13806         Formats, and use it.
13807         (expand): implement FloatListInsert and FloatInsert.
13808
13809         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13810         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13811         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13812
13813         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13814         handling.
13815         (Dispatch::LFUN_FLOAT_LIST): implement
13816
13817 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13818
13819         * LaTeX.C (run): Fix problem with --export code.
13820
13821 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13822
13823         * BufferView.[Ch] (workarea): removed.
13824         (getClipboard) new method; wrapper for workarea()->getClipboard()
13825
13826         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13827         bug.
13828
13829         * WorkArea.h (width, height, xpos, ypos): These methods all
13830         returned the dimensions of the work_area sub-area of WorkArea,
13831         resulting in a position error if the WorkArea were resized. Now
13832         return the dimensions of the entire WorkArea.
13833
13834         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13835
13836 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13837
13838         * LaTeX.C (deplog): correct the syntax of regex reg1
13839
13840 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13841
13842         * undo.C: remove !NEW_INSETS cruft
13843
13844 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13845
13846         * text2.C: remove !NEW_INSETS cruft
13847
13848         * text.C: remove !NEW_INSETS cruft
13849
13850         * tabular.C: remove !NEW_INSETS cruft
13851
13852         * spellchecker.C: remove !NEW_INSETS cruft
13853
13854         * lyxtext.h: remove !NEW_INSETS cruft
13855
13856         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13857
13858         * lyxfunc.C: remove !NEW_INSETS cruft
13859
13860         * lyxfind.C: remove !NEW_INSETS cruft
13861
13862         * lyx_cb.C: remove !NEW_INSETS cruft
13863
13864         * figureForm.C: remove  !NEW_INSETS cruft
13865
13866         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13867
13868         * buffer.[Ch]: remove !NEW_INSETS cruft
13869
13870         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13871
13872         * CutAndPaste.C: remove !NEW_INSETS cruft
13873
13874         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13875
13876         * BufferView2.C: remove !NEW_INSETS cruft
13877
13878         * BufferView.h: remove !NEW_INSETS cruft
13879
13880 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13881
13882         * Lsstream.h: include LString.h before the sstream headers to
13883         fix problem with gcc 2.95.3 and lyxstring
13884
13885 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13886
13887         * lyx_main.C: add using directives when needed for C functions
13888         declared in std:: namespace.
13889
13890 2001-04-27  Juergen Vigna  <jug@sad.it>
13891
13892         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13893         (SetHeightOfRow): comment out the update call should not be needed!
13894
13895 2001-04-13  Juergen Vigna  <jug@sad.it>
13896
13897         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13898         (LyXTabular): tried to minimize operator= operations (and realized
13899         hopfully Lars wish).
13900
13901 2001-04-27  Juergen Vigna  <jug@sad.it>
13902
13903         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13904
13905 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13906
13907         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13908
13909         * buffer.C (readInset): hack to make listof algorithm work
13910
13911         * BufferView_pimpl.C: hack to make listof algorithm work
13912
13913 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13914
13915         * LyXAction.C: removed all !NEW_INSETS cruft
13916         (init): moved lfun_item in method
13917
13918         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13919
13920 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13921
13922         * BufferView2.C (theLockingInset): white space.
13923
13924 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13925
13926         * minibuffer.C: include <iostream>
13927
13928         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13929
13930         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13931
13932         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13933
13934         * text.[Ch] (TransposeChars): new method
13935
13936 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13937
13938         * call message directly through LyXView instead of through LyXFunc
13939         * BufferView2.C: adjust
13940         * BufferView_pimpl.C: adjust
13941         * FontLoader.C: adjust
13942         * buffer.C: adjust
13943         * bufferview_funcs.C: adjust
13944         * converter.C: adjust
13945         * figureForm.C: adjust
13946         * importer.C: adjust
13947         * lyx_cb.C: adjust
13948         * lyx_gui_misc.C: adjust
13949         * lyxfunc.C: adjust
13950         * lyxvc.C: adjust
13951         * text2.C: adjust
13952         + more files in subdirs
13953
13954         * lyxparagraph.h (size): move up int file
13955         (GetLayout): ditto
13956
13957         * adjust all uses of Assert to lyx::Assert.
13958
13959         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13960         lyxfunctional in namespace lyx
13961         * layout.C (hasLayout): ditto
13962         (GetLayout): ditto
13963         (GetLayout): ditto
13964         (delete_layout): ditto
13965         (NumberOfClass): ditto
13966         * converter.C (GetFormat): ditto
13967         (GetNumber): ditto
13968         (Add): ditto
13969         (Delete): ditto
13970         (SetViewer): ditto
13971         * bufferlist.C (getFileNames): ditto
13972         (emergencyWriteAll): ditto
13973         (exists): ditto
13974         (getBuffer): ditto
13975         * MenuBackend.C (hasSubmenu): ditto
13976         (hasMenu): ditto
13977         (getMenu): ditto
13978         * BufferView_pimpl.C (getInsetByCode): ditto
13979
13980 2001-04-18  Juergen Vigna  <jug@sad.it>
13981
13982         * vspace.C (asLatexString): fixed the 100% problem.
13983
13984 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13985
13986         * lyxfunc.C (Dispatch):
13987         * minibuffer.C:
13988         * minibuffer.h: add a few std:: qualifiers
13989
13990 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13991
13992         * minibuffer.[Ch]: reimplement so that commands is initiated and
13993         run from lyxfunc, simplified som handling, and made the completion
13994         and history code for complete. wip.
13995
13996         * lyxfunc.C (processKeySym): call message
13997         (miniDispatch): new temporary method
13998         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13999         (LFUN_MESSAGE): implement
14000         (LFUN_MESSAGE_PUSH): implement
14001         (LFUN_MESSAGE_POP): implement
14002         (initMiniBuffer): the initial/defualt minibuffer message.
14003
14004         * lyxfont.[Ch]: inline some more getters
14005
14006         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14007
14008         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14009
14010         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14011         (AutoSave): use LFUN_MESSAGE
14012         (Reconfigure): ditto
14013
14014         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14015
14016         * figureForm.C: use LFUN_MESSAGE
14017
14018         * converter.C (runLaTeX): use LFUN_MESSAGE
14019
14020         * bufferview_funcs.C: use LFUN_MESSAGE
14021         (Melt): ditto
14022         (changeDepth): ditto
14023
14024         * bufferparams.h: use boost::
14025
14026         * bufferlist.h: inherit privately from noncopyable
14027
14028         * bufferlist.C (loadLyXFile): remove some commented code.
14029
14030         * buffer.C (runChktex): use LFUN_MESSAGE
14031
14032         * ShareContainer.h: inherit privately from noncopyable
14033
14034         * ParagraphParameters.[hC] (depth): inline it.
14035
14036         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14037         methods.
14038         (message): new method
14039         (messagePush): ditto
14040         (messagePop): ditto
14041         (show): init minibuffer
14042         (showState): direct call
14043
14044         * LaTeX.[Ch]: inherit privately from noncopyable
14045         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14046         instead of WriteStatus.
14047
14048         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14049
14050         * BufferView_pimpl.C (buffer): don't init minibuffer
14051         (workAreaButtonPress): use LFUN_MESSAGE
14052         (workAreaButtonRelease): ditto
14053         (savePosition): ditto
14054         (restorePosition): ditto
14055         (MenuInsertLyXFile): ditto
14056         (workAreaExpose): don't init minibuffer
14057         (update): remove commented code, simplify
14058
14059         * BufferView2.C (openStuff): use LFUN_MESSAGE
14060         (toggleFloat): ditto
14061         (menuUndo): ditto
14062         (menuRedo): ditto
14063         (copyEnvironment): ditto
14064         (pasteEnvironment): ditto
14065         (copy): ditto
14066         (cut): ditto
14067         (paste): ditto
14068         (gotoInset): ditto
14069         (updateInset): remove some commented code
14070
14071         * lastfiles.h: inherit privately from noncopyable
14072         * layout.h: ditto
14073         * lyx_gui.h: ditto
14074         * lyx_main.h: ditto
14075         * lyxlex.h: ditto
14076         * lyxlex_pimpl.h: ditto
14077
14078         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14079         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14080         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14081
14082         * LyXAction.h: inherit privately from noncopyable, add methods
14083         func_begin, func_end, returning iterators to the func map.
14084
14085         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14086         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14087         (func_begin): new method
14088         (func_end): new method
14089
14090         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14091         and not)
14092         (copySelection): ditto
14093         (pasteSelection): ditto
14094
14095         * BufferView.C: whitespace change
14096         * BufferView.h: inherit privately from noncopyable
14097
14098 2001-04-16  Allan Rae  <rae@lyx.org>
14099
14100         * tabular-old.C (l_getline):
14101         * spellchecker.C (sc_check_word):
14102         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14103         an unrecognised preprocessor directive.  So ensure they're wrapped.
14104
14105 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14106
14107         * src/exporter.C (Export): Give an error message when path to file
14108         contains spaces.
14109
14110 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14111
14112         * LaTeX.C (deplog): Always check that foundfile exists.
14113
14114 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14115
14116         * lyx_main.h:
14117         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14118
14119 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14120
14121         * tabular.[Ch] (getLabelList): implement new method
14122
14123         * minibuffer.h: comment ouf setTiimer
14124
14125         * minibuffer.C (ExecutingCB): constify res
14126         (peek_event): constify s
14127         (Set): constify ntext
14128         (Init): constify nicename
14129
14130         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14131
14132         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14133         (savePosition): use two params to Minibuffer::Set
14134         (restorePosition): ditto
14135
14136 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14137
14138         * lyx_main.C: include language.h
14139
14140         * Makefile.am (lyx_main.o): add language.h
14141
14142 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14143
14144         * exporter.C:
14145         * paragraph.C:
14146         * screen.C:
14147         * tabular.C:
14148         * CutAndPaste.C: include gettext.h
14149
14150         * lyxfont.h: remove old hack with ON and OFF.
14151
14152         * lyxparagraph.h:
14153         * lyxfont.h: do not include language.h...
14154
14155         * BufferView2.C:
14156         * LaTeXFeatures.C:
14157         * Painter.C:
14158         * bufferview_funcs.C:
14159         * font.C:
14160         * lyxfont.C:
14161         * text.C:
14162         * text2.C:
14163         * trans_mgr.C:
14164         * paragraph.C: ... but do it here instead
14165
14166 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14167
14168         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14169
14170         * tabular.C: small reformat
14171
14172         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14173         NEW_INSETS version
14174         (GetChar): ditto
14175         (BreakParagraph): ditto
14176         (SetOnlyLayout): ditto
14177         (SetLayout): ditto
14178
14179         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14180         with one arg less.
14181
14182         * lastfiles.C: removed most using decl, add std:: where needed
14183
14184         * buffer.C: ws changes
14185
14186         * MenuBackend.C (class compare_format): put into anon namespace
14187         (expand): constify label, names, action, action2
14188         (expand):
14189
14190         * text.C (SingleWidth): constify font
14191         (IsBoundary): constify rtl2
14192         (GetVisibleRow): constify ww
14193
14194         * LaTeX.C (deplog): constify logfile
14195
14196         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14197         start_x, end_x
14198         (workAreaExpose): constify widthChange, heightChange
14199
14200         * lyxrow.C (par): moved
14201         (height): moved
14202         (next): moved
14203         * lyxrow.h: as inlines here
14204
14205         * lyxfont.h (shape): moved from lyxfont.C
14206         (emph): moved from lyxfont.C
14207
14208         * lyxfont.C (LyXFont): use initialization list for all
14209         constructors
14210         (shape): move to lyxfont.h as inline
14211         (emph): move to lyxfont.h as inline
14212
14213
14214 2001-04-04  Juergen Vigna  <jug@sad.it>
14215
14216         * vspace.C: had to include stdio.h for use of sscanf
14217
14218 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14219
14220         * BufferView.h:
14221         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14222         independent of xforms.
14223
14224 2001-04-02  Juergen Vigna  <jug@sad.it>
14225
14226         * spellchecker.C: fixed namespace placing!
14227
14228 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14229
14230         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14231         the LyXParagraph * is 0.
14232
14233 2001-03-29  Juergen Vigna  <jug@sad.it>
14234
14235         * vspace.C: added support for %, c%, p%, l%.
14236         (stringFromUnit): added helper function.
14237         (asLatexString): changed to give right results for the %-values.
14238
14239         * buffer.C: convert the widthp in a width%.
14240
14241 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14242
14243         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14244         figureForm.[Ch].
14245
14246         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14247         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14248
14249         * lyx_cb.[Ch]: see above.
14250
14251         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14252         form1.[Ch].
14253
14254         * form1.[Ch]:
14255         * lyx.[Ch]: replaced by figure_form.[Ch].
14256
14257         * lyx_gui.C:
14258         * lyx_gui_misc.C:
14259         * lyxfunc.C: changed headers associated with above changes.
14260
14261 2001-03-27  Juergen Vigna  <jug@sad.it>
14262
14263         * BufferView_pimpl.C: set the temporary cursor right!
14264
14265 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14266
14267         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14268
14269 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14270
14271         * LString.h: removed "using std::getline"!
14272
14273         * BufferView_pimpl.C (Dispatch): changes due to changes in
14274         InsetInclude::Params.
14275
14276         * buffer.C (tag_name): removed redundant break statements as they were
14277         producing lots of warnings with my compiler.
14278
14279 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14280
14281         * LString.h: add "using std::getline" when using the real <string>.
14282
14283 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14284
14285         * buffer.C: removed bitset usage.
14286         PAR_TAG moved to an anonymous name space.
14287         (tag_name): new funtion, also in the anonymous namespace.
14288         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14289         (makeDocBookFile): clean code. Completed transition from string arrays
14290         to string vectors.
14291         (SimpleDocBookOnePar): code clean.
14292
14293 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14294
14295         * tabular.C: add some comments.
14296
14297 2001-03-22  Juergen Vigna  <jug@sad.it>
14298
14299         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14300         compatibility read a bit and fixed bug with minipage in different
14301         depth.
14302
14303 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14304
14305         * buffer.C (pop_tag): removed.
14306         (push_tag): removed.
14307         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14308         array replaced with vector. Added support for CDATA sections.
14309         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14310         at any nest level.
14311         (makeDocBookFile): XML conformant declaration of CDATA section,
14312         fixed bug related to <emphasis> in the first paragraph char.
14313         (sgmlOpenTag): exclude empty tags.
14314         (sgmlCloseTag): ditto.
14315
14316         * buffer.h (pop_tag): removed.
14317         (push_tag): removed.
14318
14319 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14320
14321         * language.h (Languages): added size_type and size().
14322
14323 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14324
14325         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14326         response on compability reading of minipages. One probliem is that
14327         the old usage of minipages was «flertydig»
14328
14329         * several files here and in subdirs: don't use static at file
14330         scope use anon namespaces instead.
14331
14332 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14333
14334         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14335         LaTeX output. This is necessary for Literate document
14336         processing.
14337
14338 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14339
14340         * buffer.C: insert hfill when needed.
14341
14342         * tabular.C (l_getline): use string::erase, small whitespace change.
14343
14344         * BufferView_pimpl.C: try the anon namespace.
14345         * WorkArea.C: ditto
14346
14347 2001-03-16  Juergen Vigna  <jug@sad.it>
14348
14349         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14350         otherwise it won't open options-dialogs.
14351
14352         * buffer.C: honor pextraWidth(p) on converting minipages.
14353
14354         * tabular.C (l_getline): changed the functions to strip trailing \r.
14355
14356 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14357
14358         * BufferView_pimpl.C:
14359         * minibuffer..C: added "using SigC::slot" declaration.
14360
14361 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14362
14363         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14364
14365         * text2.C: ditto
14366
14367         * text.C: ditto
14368
14369         * paragraph.C: ditto
14370
14371         * lyxtext.h: NO_PEXTRA
14372
14373         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14374
14375         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14376         * ParameterStruct.h: ditto
14377         * ParagraphParameters.h: ditto
14378         * lyxparagraph.h: ditto
14379
14380 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14381
14382         * buffer.C: add compability for minipage alignment.
14383         (latexParagraphs): remove unwanted pextra check.
14384
14385         * several files: remove CXX_WORKING_NAMESPACES
14386
14387         * buffer.C (pop_tag): tie is in namespace boost
14388
14389         * BufferView.h: noncopyable is in namespace boost
14390         * lyxlex.h: ditto
14391         * lyx_main.h: ditto
14392         * lyx_gui.h: ditto
14393         * layout.h: ditto
14394         * lastfiles.h: ditto
14395         * bufferlist.h: ditto
14396         * ShareContainer.h: ditto
14397         * LyXView.h: ditto
14398         * LyXAction.h: ditto
14399         * LaTeX.h: ditto
14400
14401 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14402
14403         * Merging changes from BRANCH_MVC back into HEAD.
14404
14405         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14406
14407 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14408
14409         * BufferView_pimpl.C: change from intl.C
14410
14411         * combox.h:
14412         * combox.C:
14413         * Makefile.am: move combox.*
14414
14415         * form1.h:
14416         * form1.C:
14417         * lyx_gui.C:
14418         * intl.h:
14419         * intl.C: remove dialog (covered by prefs)
14420
14421 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14422
14423         * lyxfunc.C (Dispatch): removed redundant break statement.
14424
14425 2001-03-14  Juergen Vigna  <jug@sad.it>
14426
14427         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14428
14429 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14430
14431         * buffer.C: add hack to fix compability reading of minipages.
14432
14433 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14434
14435         * buffer.C (getLists): Cleanup.
14436
14437 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14438
14439         * lyxfont.C (update): don't honor toggleall on font size.
14440
14441 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14442
14443         * bmtable.c:
14444         * bmtable.h:
14445         * Makefile.am: moved to frontends/xforms/
14446
14447         * lyx_gui_misc.C:
14448         * lyxfunc.C:
14449         * BufferView_pimpl.C: changes for moved mathpanel
14450
14451 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14452
14453         * gettext.h: fix gettext_init() in --disable-nls
14454
14455 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14456
14457         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14458
14459 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14460
14461         * lyx.C:
14462         * lyx.h: strip external form
14463
14464 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14465
14466         * BufferView_pimpl.C: add comment, destroySplash()
14467
14468 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14469
14470         * BufferView_pimpl.C:
14471         * LyXAction.C:
14472         * buffer.C:
14473         * commandtags.h:
14474         * lyxfunc.C: use re-worked insetinclude
14475
14476 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14477
14478         * buffer.C: add using std::stringstream.
14479
14480         * lyx_cb.C: readd using std::ios.
14481
14482         * buffer.C: add using std::map.
14483
14484         * BufferView_pimpl.C: add using std::vector.
14485
14486         * ShareContainer.h: add std:: to swap.
14487
14488         * buffer.h: add some typedefs
14489         * buffer.C (getLists): use them
14490         (getLists): renamed from getTocList.
14491         add a counter for the different float types and use it in the
14492         generated string.
14493         (getLists): use the same counter for the NEW_INSETS and the "non"
14494         NEW_INSETS
14495
14496         * lyx_cb.h: remove unused items, includes, using etc.
14497
14498         * ShareContainer.h: remove some commented code, add more comments
14499         and "documentation".
14500
14501 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14502
14503         * buffer.C (getTocList): make the list also when NEW_INSETS is
14504         defined.
14505
14506         * buffer.h: remove TocType
14507
14508         * buffer.C (getTocList): change to return a map<string,
14509         vector<TocItem> >, implement for dynamic number of list.
14510
14511         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14512         * text2.C (PasteSelection): adjust
14513         * CutAndPaste.C (pasteSelection): adjust
14514
14515         * FloatList.C (FloatList): update from the new_insets branch.
14516         * Floating.[Ch]: ditto
14517         * LaTeXFeatures.C: ditto
14518         * buffer.C: ditto
14519         * lyxlex_pimpl.C: ditto
14520
14521         * paragraph.C (Last): remove when NEW_INSETS is defined.
14522
14523         * other file: changes because of the above.
14524
14525 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14526
14527         * lyxparagraph.h: rename next to next_, previous to previous_,
14528         make them private for NEW_INSETS. Rename Next() to next(),
14529         Previous() to previous().
14530
14531         * other files: changes because of the above.
14532
14533 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14534
14535         * BufferView.h:
14536         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14537         problem.
14538
14539 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14540
14541         * main.C (main): pass lyx_localedir to gettext_init().
14542
14543         * gettext.h: remove locale_init and gettext_init macros
14544
14545         * gettext.C (locale_init): new function
14546         (gettext_init): new function
14547
14548         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14549         setlocale().
14550
14551 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14552
14553         * Moved credits to frontends:
14554         * credits.[Ch]: removed
14555         * credits_form.[Ch]: removed
14556         * lyx_gui_misc.C: remove credits stuff
14557         * Makefile.am:
14558
14559 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14560
14561         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14562
14563         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14564         unneeded destructor.
14565
14566         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14567         a standalone pointer again.
14568
14569         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14570
14571 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14572
14573         * Makefile.am:
14574         * filedlg.h:
14575         * filedlg.C:
14576         * LyXAction.C:
14577         * ToolbarDefaults.C:
14578         * bufferlist.C:
14579         * commandtags.h:
14580         * form1.C:
14581         * form1.h:
14582         * lyx_cb.C:
14583         * lyx_cb.h:
14584         * lyxfunc.h:
14585         * lyxfunc.C:
14586         * BufferView_pimpl.C: use new file dialog in GUII
14587
14588         * lyx_cb.h:
14589         * lyx_cb.C: remove LayoutsCB to Toolbar
14590
14591 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14592
14593         * ShareContainer.h (get): add std:: qualifier
14594
14595 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14596
14597         * ShareContainer.h: define a proper ShareContainer::value_type
14598         type (and use typename to please compaq cxx)
14599
14600 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14601
14602         * lyxparagraph.h: move serveral local vars to
14603         ParameterStruct/ParagraphParameters., use ShareContainer in
14604         FontTable., make vars in FontTable private and add getter and
14605         setter.
14606
14607         * paragraph.C: changes because of the above.
14608
14609         * lyxfont.h: remove copy constructor and copy assignment. (the
14610         default ones is ok), move number inside FontBits. move inlines to
14611         lyxfont.C
14612
14613         * lyxfont.C: add number to initializaton of statics, move several
14614         inlines here. constify several local vars. some whitespace
14615         cleanup. Dont hide outerscope variables.
14616
14617         * Spacing.h: add two new constructors to match the set methods.
14618
14619         * ShareContainer.h: new file, will perhaps be moved to support
14620
14621         * ParameterStruct.h: new file
14622
14623         * ParagraphParameters.h: new file
14624
14625         * ParagraphParameters.C: new file
14626
14627         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14628         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14629
14630         * BufferView_pimpl.C: ParagraphParameter changes.
14631         * buffer.C: Likewise.
14632         * bufferview_funcs.C: Likewise.
14633         * text.C: Likewise.
14634         * text2.C: Likewise.
14635
14636 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14637
14638         * lyxfind.C (LyXReplace): do not redefine default argument in
14639         implementation.
14640         (IsStringInText): ditto
14641         (SearchForward): ditto
14642         (SearchBackward): ditto
14643
14644 2001-03-06  Juergen Vigna  <jug@sad.it>
14645
14646         * lyxfind.C (IsStringInText): put parentes around expressions.
14647
14648 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14649
14650         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14651
14652 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14653
14654         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14655
14656         * stl_string_fwd.h: add comment
14657
14658         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14659
14660         * tabular.h:
14661         * tabular.C: remove unused DocBook methods
14662
14663         * intl.C:
14664         * language.C:
14665         * paragraph.C:
14666         * buffer.C:
14667         killed DO_USE_DEFAULT_LANGUAGE
14668
14669 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14670
14671         * lyx_gui.C: do not include language.h.
14672
14673         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14674         arguments in function implementation.
14675
14676 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14677
14678         * BufferView_pimpl.C: add <ctime>
14679
14680 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14681
14682         * BufferView_pimpl.C: add using std::find_if
14683
14684 2001-02-27  José Matos  <jamatos@fep.up.pt>
14685
14686         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14687         by OnlyPath.
14688
14689 2001-02-11  José Matos  <jamatos@fep.up.pt>
14690
14691         * buffer.C (makeDocBookFile): command styles now have a parameter as
14692         "title" by default.
14693
14694 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14695
14696         * layout_forms.[Ch]: removed
14697         * lyx_cb.[Ch]: out character
14698         * lyx_gui.C: out character
14699         * lyx_gui_misc.C: out character
14700         * bufferview_funcs.C: : out character,
14701         added toggleall as parameter in ToggleAndShow
14702
14703 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14704
14705         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14706
14707         * text2.C (SetCurrentFont): Disable number property at boundary.
14708
14709 2001-02-26  Juergen Vigna  <jug@sad.it>
14710
14711         * lyxfunc.C (getStatus): added a string argument override function so
14712         that this is correctly called from LyXFunc::Dispatch if it contains a
14713         do_not_use_argument which is used!
14714         (Dispatch): added check for "custom" export and call appropriate func.
14715
14716 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14717
14718         * lyxrc.C: Add language_command_local, language_use_babel and
14719         language_global_options.
14720
14721         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14722
14723         * buffer.C (makeLaTeXFile): Use language_use_babel and
14724         language_global_options.
14725
14726 2001-02-23  Juergen Vigna  <jug@sad.it>
14727
14728         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14729         which works with LyXText and putted it inside BufferView. Here now we
14730         only call for that part the BufferView::Dispatch() function.
14731
14732         * BufferView.C (Dispatch): added.
14733
14734         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14735         functions which needs to use a LyXText over from LyXFunc.
14736         (MenuInsertLyXFile): added
14737         (getInsetByCode): added
14738         (moveCursorUpdate): added
14739         (static TEXT): added
14740
14741 2001-02-22  Juergen Vigna  <jug@sad.it>
14742
14743         * BufferView_pimpl.C (update): call a status update to see if LyXText
14744         needs it.
14745
14746 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14747
14748         * vc-backend.C (revert): implement for CVS
14749         (getLog): implement for CVS
14750
14751 2001-02-20  Juergen Vigna  <jug@sad.it>
14752
14753         * text2.C (ClearSelection): added BufferView param for inset_owner call
14754
14755         * lyxfunc.C (TEXT): added this function and use it instead of
14756         directly owner->view()-text of getLyXText().
14757
14758 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14759
14760         * src/layout_forms.C: out preamble
14761         * src/layout_forms.h: out preamble
14762         * src/lyx_cb.C: out preamble
14763         * src/lyx_cb.h: out preamble
14764         * src/lyx_gui.C: out preamble
14765         * src/lyx_gui_misc.C: out preamble
14766         * src/lyxfunc.C: connect with guii preamble
14767
14768 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14769
14770         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14771
14772 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14773
14774         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14775         whether to run bibtex.
14776
14777 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14778
14779         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14780
14781 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14782
14783         * Makefile.am (lyx_SOURCES): removed bibforms.h
14784
14785         * vspace.h: doxygen
14786
14787         * text.C (GetVisibleRow): make several local vars const
14788
14789         * tabular.C: small cleanup.
14790
14791         * lyxserver.C (callback): use compare instead of strncmp
14792
14793         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14794         inlines to after class or to paragraph.C
14795
14796         * lyxfont.h: remove friend operator!=
14797
14798         * converter.h: move friend bool operator< to non friend and after
14799         class def.
14800
14801         * combox.h: small cleanup
14802
14803         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14804         to inlines after class def.
14805
14806         * buffer.C (pop_tag): use string operations instead of strcmp
14807
14808         * bmtable.c: doxygen, small cleanup
14809
14810         * LaTeX.h: remove friend operator==
14811
14812 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14813
14814         * screen.C:
14815         * lyxrc.[Ch]:
14816         * lyxfunc.C:
14817         * lyxfont.[Ch]:
14818         * lyx_cb.C:
14819         * intl.[Ch]:
14820         * commandtags.h:
14821         * buffer.C:
14822         * WorkArea.[Ch]:
14823         * LyXAction.C:
14824         * BufferView_pimpl.C:
14825         * BufferView.[Ch]: remove cruft
14826
14827 2001-02-14  Juergen Vigna  <jug@sad.it>
14828
14829         * lyxfunc.C: removed #if 0 unused code
14830
14831         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14832
14833         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14834
14835         * text2.C (SetSelection): added a BufferView * parameter
14836
14837 2001-02-13  Juergen Vigna  <jug@sad.it>
14838
14839         * lyxfunc.C (Dispatch): fixed protected blank problem.
14840         * BufferView2.C (protectedBlank): added LyxText * parameter.
14841
14842         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14843         (AppendColumn): same as above for column_info.
14844
14845         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14846         (moveCursorUpdate): use a LyXText param for support of InsetText.
14847
14848         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14849         (tripleClick): ditto
14850
14851         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14852
14853         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14854
14855         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14856
14857         * text2.C (SetSelection): set correct update status if inset_owner
14858         (ToggleFree): ditto
14859
14860 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14861
14862         * tabular.C: remove some commented code.
14863
14864 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14865
14866         * BufferView_pimpl.C: call hideSplash()
14867
14868         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14869
14870         * include_form.h:
14871         * bibforms.h: remove
14872
14873         * lyxfunc.C:
14874         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14875           add LFUN_CHILD_CREATE
14876
14877         * counters.h: fix tiny typo
14878
14879         * lyx_cb.C:
14880         * lyx.h:
14881         * lyx_gui.C:
14882         * lyx.C: move splash to frontends/xforms/
14883
14884         * lyx_gui_misc.C: move Include and Bibform to frontends
14885
14886         * lyxvc.h: clarify comment
14887
14888         * vspace.C: tiny housekeeping
14889
14890 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14891
14892         * text.C (PrepareToPrint): RTL Fix.
14893
14894         * paragraph.C (GetUChar): New method.
14895         (String):  Use GetUChar.
14896
14897         * buffer.C (asciiParagraph): Use GetUChar.
14898
14899 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14900
14901         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14902
14903 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14904
14905         * buffer.h:
14906         * buffer.C: rename to getLogName(), handle
14907           build log / latex log nicely
14908
14909 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14910
14911         * MenuBackend.C:
14912         * MenuBackend.h: remove support for reference menuitem type.
14913
14914 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14915
14916         * BufferView_pimpl.C: housekeeping
14917         * BufferView_pimpl.h:
14918         * LyXView.h:
14919         * Makefile.am:
14920         * Timeout.C:
14921         * Timeout.h:
14922         * minibuffer.h: move Timeout GUI-I
14923
14924 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14925
14926         * lyxrc.C (read): Update converters data-structures.
14927
14928 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14929
14930         * LaTeX.h (operator!=): add operator != for Aux_Info
14931
14932 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14933
14934         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14935
14936         * LaTeXLog.C: deleted, useful code moved to Buffer
14937
14938         * buffer.h:
14939         * buffer.C: new function getLatexLogName()
14940
14941         * lyx_gui_misc.C:
14942         * lyx_gui.C:
14943         * lyxvc.C:
14944         * lyxvc.h:
14945         * lyxfunc.C: use frontends for LaTeX and VC logs
14946
14947 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14948
14949         * LaTeX.h: yet another std:: that Allan forgot.
14950
14951         * Variables.C (set): renamed from isset(), because this clashes
14952         with some HP-UX macros (grr).
14953
14954 2001-02-06  Allan Rae  <rae@lyx.org>
14955
14956         * LaTeX.h: Another bug fix.  Missing std:: this time.
14957
14958 2001-02-04  Allan Rae  <rae@lyx.org>
14959
14960         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14961         floats problem. I've left it commented out because it's not quite
14962         correct.  It should also test that the current object is a table or
14963         figure inset.  But I haven't gotten around to figuring out how to do
14964         that.  I *think* it'll be something like: "table" == inset.type()
14965
14966         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14967         bool.
14968
14969 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14970
14971         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14972         all the citation/databases/styles in the auxilary file.
14973         (run): Rerun latex if there was a babel language error.
14974
14975 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14976
14977         * text.C (Backspace): Preserve the font when changing newline char
14978         with a space.
14979         (BreakParagraph): If the cursor is before a space, delete the space.
14980
14981         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14982
14983 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14984
14985         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14986         new argument (code).
14987         (ChangeCitationsIfUnique): New method.
14988
14989         * paragraph.C (GetPositionOfInset): Handle bibkey.
14990
14991 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14992
14993         * BufferView_pimpl.h: change type of Position::par_pos to
14994         LyXParagraph::size_type.
14995
14996 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14997
14998         * BufferView_pimpl.C (savePosition, restorePosition): Write
14999         messages to minibuffer.
15000
15001 2001-01-28  José Matos  <jamatos@fep.up.pt>
15002
15003         * buffer.C (makeDocBookFile): adds support for document language.
15004         A silly restriction on the name of LatexCommand types where removed.
15005         Added support for CDATA sections, allows to chars unescaped, used
15006         among others in code, to avoid escape < and >.
15007
15008 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15009
15010         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15011         saved positions instrad of a stack. Furthermore, a position is
15012         stored using paragraph id/paragraph position.
15013
15014         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15015         Remove LFUN_REF_BACK.
15016
15017 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15018
15019         * converter.C (dvipdfm_options): New method.
15020
15021 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15022
15023         * vspace.C (isValidLength): Fix for empty input string.
15024
15025 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15026
15027         * LyXAction.C (init): change description of LFUN_FIGURE to
15028         "Insert Graphics"
15029
15030 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15031
15032         * LaTeX.C: add using directive
15033
15034 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15035
15036         * MenuBackend.C (expand): Fix the sorting of the formats.
15037
15038 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15039
15040         * lyx_main.C: tiny error message fix
15041
15042 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15043
15044         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15045         calling fl_initialize(). This fixes the problem with ',' as
15046         decimal separator in text files.
15047
15048 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15049
15050         * trans.C (process): Fix the keymap bug.
15051
15052 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15053
15054         * LaTeX.C (scanAuxFiles): New method. Provides support for
15055         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15056         (scanLogFile) Scan for "run BibTeX" messages.
15057
15058         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15059         OT1 font encoding. Also, load the aecompl package if the ae
15060         package is loaded.
15061
15062         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15063
15064 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15065
15066         * texrow.C (increasePos): turn two error messages into debug
15067         messages.
15068
15069 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15070
15071         * LaTeX.C (scanAux): Handle the \@input macro.
15072         (runBibTeX): Use scanAux().
15073
15074         * language.C (latex_options_): New field.
15075
15076         * LaTeXFeatures.C (getMacros): Add language macros.
15077
15078         * buffer.C (makeLaTeXFile): Small fix.
15079
15080 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15081
15082         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15083
15084         * text2.C: add a using directive.
15085
15086 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15087
15088         * BufferView2.C:
15089         * lyx_gui_misc.h:
15090         * lyxfr1.C:
15091         * lyxfunc.C: kill LyXBell.
15092
15093 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15094
15095         * text.C (IsBoundary): Remove the error message
15096
15097         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15098
15099         * lyxrc.C (setDefaults): Correct initialization value for
15100         font_norm_type.
15101
15102 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15103
15104         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15105         gotoError().
15106
15107         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15108         and GotoNextNote().
15109
15110         * src/LyXAction.C: Added reference-next.
15111
15112         * text.C (InsertChar): Use contains instead of strchr.
15113
15114         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15115
15116 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15117
15118         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15119         alignment commands (when needed).
15120
15121         * text.C (InsertChar): Add ':' to number separator chars.